function protect(evt){if(navigator.appName != 'Microsoft Internet Explorer'){if(evt.which != 3) return true;};
return false;}

function linkx(){if(document.links){if(navigator.appName != 'Microsoft Internet Explorer'){for(i=0;i<document.links.length;i++)
document.links[i].onmousedown = protect;}else{for(i=0;i<document.links.length;i++)
document.links[i].oncontextmenu = protect;}}}

function trap(){if(document.images){if(navigator.appName != 'Microsoft Internet Explorer'){for(i=0;i<document.images.length;i++)
document.images[i].onmousedown = protect;}else{for(i=0;i<document.images.length;i++)
document.images[i].oncontextmenu = protect;}}}

function disableselect(e){
if (typeof document.body.onselectstart!="undefined") //IE route
	document.body.onselectstart=function(){return false}
else if (typeof document.body.style.MozUserSelect!="undefined") //Firefox route
	document.body.style.MozUserSelect="none"
else //All other route (ie: Opera)
	document.body.onmousedown=function(){return false}
document.body.style.cursor = "default"}
