
var debug = true;
function right(e) 
{
	if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) 
	{
// alert('This Page is fully protected!');
		document.location= "noclick.html";
		return false;
	}
	else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3))
	{
		alert('This Page is fully protected!');
		return false;
	}

	return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;


//=====================

var cX = 0; var cY = 0; var rX = 0; var rY = 0;

function UpdateCursorPosition(e){ cX = e.pageX; cY = e.pageY;}

function UpdateCursorPositionDocAll(e){ cX = event.clientX; cY = event.clientY;}

if(document.all) { document.onmousemove = UpdateCursorPositionDocAll; }

else { document.onmousemove = UpdateCursorPosition; }


function HideContent(d) {

	if(d.length < 1) { return; }

	document.getElementById(d).style.display = "none";

}

function ShowContent(d) {

	if(d.length < 1) { return; }

	var dd = document.getElementById(d);

	AssignPosition(dd);

	dd.style.display = "block";

}

function ReverseContentDisplay(d) {

	if(d.length < 1) { return; }

	var dd = document.getElementById(d);

	AssignPosition(dd);

	if(dd.style.display == "none") { dd.style.display = "block"; }

	else { dd.style.display = "none"; }

}

