document.onkeydown = myFunc;
function myFunc() { 
	if(window.event.ctrlKey && window.event.keyCode==78) {
			window.event.returnValue = false;
			window.event.keyCode = 0;
	}
} 

function disableselect(e){
	return false
}

function reEnable(){
	return true
}

//if IE4+
//document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
	//document.onmousedown=disableselect
	document.onclick=reEnable
}

function clickIE4(){
	if (event.button==2){
		return false;
	}
}

function clickNS4(e){
	if (document.layers||document.getElementById&&!document.all){
		if (e.which==2||e.which==3){
			return false;
		}
	}
}

if (document.layers){
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
	document.onmousedown=clickIE4;
}
document.oncontextmenu=new Function("return false")

function noStatusMsg() {
	if (document.getElementsByTagName) {
		var linkList = document.getElementsByTagName('A');
		for (var i=0; i<linkList.length; i++){
			linkList[i].onmouseover = function () { window.status = ""; return true; }
		}
	} 
	else if (document.links) {
		for (var i=0; i<document.links.length; i++){
			document.links[i].onmouseover = function () { window.status = ""; return true; }
		}
	}
}

function hidestatus(){ 
window.status='' 
return true 
} 
if (document.layers) 
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT) 
document.onmouseover=hidestatus 
document.onmouseout=hidestatus 