var message="Copying of these contents in not permitted."

function click(e)
{
	if (navigator.appName=="Microsoft Internet Explorer") 
  	{
    	if (event.ctrlKey || event.button == 2)
       {
         alert(message);
         return false;
       }
    }    

    if (navigator.appName=="Netscape")      
	{
	 
		 if (e.which == 3 || (e.modifiers && Event.CONTROL_MASK))
			{
				alert(message);
				return false;
			}
	}    

}
if (navigator.appName=="Netscape")
{
	document.captureEvents(Event.mousedown|Event.keydown);

}
function selstart() {
	alert(message)
	return false
}
document.onmousedown=click;//registering the click function as the doc's eventhandler for the mousedown event.
document.onkeydown=click;
document.onselectstart=selstart

