//Disable mouse
function click(blubb) {
	if (document.all) {
		if (event.button==2||event.button==3) {
			oncontextmenu='return false';
		}
	}
	if (document.layers) {
		if (blubb.which == 3) {
			oncontextmenu='return false';
		}
	}
}
if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
document.oncontextmenu = new Function("return false;")
//Disable select
function disableselect(blubb){
	return false
}
function reEnable(){
	return true
}
//IE4+
document.onselectstart=new Function ("return false")
//NS6
if (window.sidebar){
	document.onmousedown=disableselect
	document.onclick=reEnable
}