var current_popup     = ""; function WMEnterMenu(n) {	var layer_id = n;	if(WMShowLayer(n)) {		current_popup=n;	}}                function WMLeaveMenu() {	if(current_popup != ""){		var layer_id = current_popup;	 	WMHideLayer(layer_id);     }}function WMShowLayer(layerName){ if (document.layers) {	firstBit='document.layers["';	secondBit='"]';	styleRef='';	leftVar='.left';	topVar='.top';	heightVar='.clip.height';	widthVar='.clip.width';		mIncrement = 20;} else if (document.all) {	firstBit='document.all["';	secondBit='"]';	styleRef='.style';	leftVar='.posLeft';	topVar='.posTop';	heightVar='.clientHeight';	widthVar='.clientWidth';		mIncrement = 4;} else if (document.getElementById) {	firstBit='document.getElementById("';	secondBit='")';	styleRef='.style';	leftVar='.left';	topVar='.top';	heightVar='.clientHeight';	widthVar='.clientWidth';	mIncrement = 4;}	returnvalue = false;	if(!eval(firstBit+layerName+secondBit)) {	} else {		if(eval(firstBit+layerName+secondBit)!='undefined') {		eval(firstBit+layerName+secondBit+styleRef+'.visibility="visible"');		returnvalue = true;		}	}	return returnvalue;}function WMHideLayer(layerName){ if (document.layers) {	firstBit='document.layers["';	secondBit='"]';	styleRef='';	leftVar='.left';	topVar='.top';	heightVar='.clip.height';	widthVar='.clip.width';		mIncrement = 20;} else if (document.all) {	firstBit='document.all["';	secondBit='"]';	styleRef='.style';	leftVar='.posLeft';	topVar='.posTop';	heightVar='.clientHeight';	widthVar='.clientWidth';		mIncrement = 4;} else if (document.getElementById) {	firstBit='document.getElementById("';	secondBit='")';	styleRef='.style';	leftVar='.left';	topVar='.top';	heightVar='.clientHeight';	widthVar='.clientWidth';	mIncrement = 4;}	eval(firstBit+layerName+secondBit+styleRef+'.visibility="hidden"');}function processClicks() {	WMLeaveMenu();}if (window.Event) // Navigator 4.0x	document.captureEvents(Event.MOUSEUP);document.onmouseup = processClicks;