var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS) 
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);
function mischandler(){
if(EnableRightClick==1){ return true; }
else {return false; }
}
function mousehandler(e){
if(EnableRightClick==1){ return true; }
var myevent = (isNS) ? e : event;
var eventbutton = (isNS) ? myevent.which : myevent.button;
if((eventbutton==2)||(eventbutton==3)) return false;
}
function keyhandler(e) {
var myevent = (isNS) ? e : window.event;
if (myevent.keyCode==96)
EnableRightClick = 1;
return;
}
document.oncontextmenu = mischandler;
document.onkeypress = keyhandler;
document.onmousedown = mousehandler;
document.onmouseup = mousehandler
function highlight(who){
mince = who.src
tomato = mince.split('_')
bolognese = tomato[0]+'_over_'+tomato[1]
who.src = bolognese
}


function changeimg(picpath,pic)
{
	document.getElementById(pic).src=picpath;
	pic.src=picpath;
	if(pic.width>350)
	{

		 pic.width=350;
	}
}

function changedetails(detail,det)
{
	document.getElementById(det).innerHTML=detail;
}


