function ClearEvent()
{
	cancelBubble=false;
	if ( event.altKey && !event.leftaltKey) 
	{
		return true;
	}
	var sSrcTagName=event.srcElement.tagName.toLowerCase();
	return (sSrcTagName=="textarea" || sSrcTagName=="input" || sSrcTagName=="select");
}

function ClearKey()
{
	cancelBubble=false;
	var iKeyCode=event.keyCode;
	return !( (iKeyCode==78 && event.ctrlKey) || (event.ctrlKey && !event.ctrlLeft) );
}

with (window.document)
{
	oncontextmenu=onselectstart=ondragstart=oncut=oncopy=ClearEvent;
	onkeydown=ClearKey;
}

function StopImageCopy() { 
	return false; 
} 

function noImageCopy() { 
	if(document.images) 
		for(i=0;i<document.images.length;i++) 
			document.images[i].onmousedown = StopImageCopy; 
} 
noImageCopy();