function clickExplorer() 
{
	if( document.all ) 
	{
		alert('This page is copy protected - Copyright © Smith Light');
	}
	return false;
}

function clickOther(e)
{
	if( document.layers || ( document.getElementById && !document.all ) ) 
	{
		if ( e.which == 2 || e.which == 3 )
		{
			alert('This page is copy protected - Copyright © Smith Light');
			return false;
		}
	}
}

if( document.layers ) 
{
	document.captureEvents( Event.MOUSEDOWN );
	document.onmousedown=clickOther;
}
else 
{
	document.onmouseup = clickOther;
	document.oncontextmenu = clickExplorer;
}

function disableSelection(target)
{
	if (typeof target.onselectstart!="undefined") //IE route
		target.onselectstart=function(){return false}
	else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
		target.style.MozUserSelect="none"
	else //Other route (Opera etc)
		target.onmousedown=function(){return false}
	target.style.cursor = "default"
}
$(document).ready(function()
{
	document.body.oncopy = function() 
	{
		alert('This page is copy protected - Copyright © Smith Light');
		return false;
	}
});
