
function noRightClickNS(btnClick) {
	
	
	
	 if (navigator.appName == 'Netscape')
	 {
	 
	 	if( btnClick.which == 3) {
			alert('This function has been disabled.')
			return false;
		}	
		
		
		
	}
	
	

}

function noRightClickIE()
{


	if (navigator.appName == 'Microsoft Internet Explorer'  && event.button==2) {
			alert('This function has been disabled.')
			return false;
	
	}

}

function disabletext(e){

	//if(navigator.appName == 'Netscape')
	//{
		return false;
	//}	
	
}

function reEnable(){
return true
}



//if the browser is IE4+
document.onselectstart=new Function ("return false")

//if the browser is NS6
if (window.sidebar){
document.onmousedown=disabletext
document.onclick=reEnable

}
else
{
	document.onmousedown = noRightClickIE;
}


document.onmouseup =noRightClickNS;document.oncontextmenu=new Function("return false");
