function click(e)
{
	if (document.all)
	{
		if (event.button==1||event.button==2||event.button==3)
		{
			oncontextmenu='return false';
		}
	} 
	if (document.layers)
	{
		if (e.which == 3)
		{
			oncontextmenu='return false';
		} 
	} 
} 
if(document.layers)
{
	document.captureEvents(Event.MOUSEDOWN);
} 
document.onmousedown=click; 
document.oncontextmenu = new Function("return false;")
var travel=true 
var hotkey=17 
if (document.layers) 
document.captureEvents(Event.KEYDOWN)
function gogo(e)
{
	if (document.layers)
	{ 
		if (e.which==hotkey&&travel)
		{
			//alert("操作错误，右键被禁止!"); }
		}
		else if (document.all)
		{
			if (event.keyCode==hotkey&&travel)
			{
				//alert("对不起，复制被禁止!");
			}
		}
	} 
}
document.onkeydown=gogo
document.onselectstart=function()
{
	return false;
}