// init used vars (global)
var layerRef="null",layerStyleRef="null",styleSwitch="null";
// Functions
function showLayer(layerName)
{
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="visible"');
}

function hideLayer(layerName)
{
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="hidden"');
}

function init()
{    
	if (document.all)     
	{
		layerStyleRef="layer.style.";
		layerRef="document.all";
		styleSwitch=".style";
	}    
	else if (document.layers)     
	{
		layerStyleRef="layer.";
		layerRef="document.layers";
		styleSwitch="";
	}
}


function right(e) {
		if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2))
			return false;
			else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
				alert("Lady Judith © 2004");
			return false;
			}
		return true;
}
// Mousedown Events
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.mousedown);
window.onmousedown=right;
