// get mouse & key events
document.oncontextmenu = new Function("return false;");
document.onmousedown = rightClick;
document.onkeypress = clearKey;
//Cancel right click
function rightClick(){
if ((event.shiftKey) && (window.event.button == 1)) {
	window.location.reload();
	return false;
	}
return true;
}
//Cancel keys
function clearKey(){
//alert("key: " + window.event.keyCode)
if (window.event.keyCode == 81) {
	alert("No Key");
 return false;}
return true;
}