<!--

var msver =  msieversion();
var path = parser("fun.jar");

function errorHandler(){
	event.cancelBubble = true;
	return true;
}

function keydownhandler(){
	return false;
}

function keypresshandler(){

if (event.shiftKey && event.keyCode == 13){
	event.cancelBubble = true;
	window.event.returnValue = false;
	return false;
}
}

function mousedownhandler(){

if(event.button==2  &&  msver < 5){
	alert("www.softnsolv.com");
	event.cancelBubble = true;
	window.event.returnValue = false;
	return false;
  }

}

function cancelLink(){
	if(window.event.shiftKey){
        if(window.event.srcElement.tagName == "A" || window.event.srcElement.tagName == "IMG"){
			event.cancelBubble = true;
			window.event.returnValue = false;
			return false;
         }
	}

}

function cancelcontextmenu()
{
event.cancelBubble = true;
 event.returnValue = false;
 return false;
}

function noselection()
{
 event.cancelBubble = true
 event.returnValue = false;
 return false;
}

function msieversion()
// return Microsoft Internet Explorer (major)
{
	var ua = window.navigator.userAgent 
	var msie = ua.indexOf ( "MSIE " )
	return parseInt ( ua.substring ( msie+5, ua.indexOf ( ".", msie ) ) ) 
}

function imageOver(filename){
	event.srcElement.src=filename;
}

function imageOut(filename){
	event.srcElement.src=filename;
}

function imageDown(filename){
  if(event.button==1)
	event.srcElement.src=filename;

}

function playAdv(sndfile){

	var srcfile= path + "Sound" + "\\" + sndfile;
	myPlayer.src=srcfile; 
	
}

function Disabled(str){
		return false;
}

window.onerror = errorHandler;
document.oncontextmenu = cancelcontextmenu;
document.onselectstart = noselection;
document.ondragstart = noselection;
document.onclick = cancelLink;
document.oncontextmenu = Disabled;
document.onmousedown = mousedownhandler;
//document.onkeydown = keydownhandler;
//document.onkeypress = keypresshandler;

// -->




