document.ondragstart = protect;
document.onselectstart = protect;
document.oncontextmenu = protect;
function protect() {
	//return false
}

function click(){
	if(event.button==2){
		return false;
	}
}
document.onmousedown=click;

isNN=0; isOp=0; isIE=0;
if(document.layers||(window.captureEvents&&(!(document.all)))) {
	isNN=1;
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=protect;
	self.blur();
} else if(window.captureEvents) {
	isOp=1;
	document.write("<input type=Text style='visibility:hidden;position:absolute' id=ht onblur='this.focus()'>");
	ht.focus();
} else if(document.all) {
	isIE=1;
	document.onselectstart=protect;
}

