<!--
var loaded = false;
var xclTop, xclBottom, xclLeft, xcLRight;
var xobjName = null;
var xid = -1;
var inside = false;

var mLeft, mTop, mRight, mBottom;
var mDropName = null;

var isNav, isIE;
if(navigator.appName == 'Netscape'){isNav = true;}
else{isIE=true;}

function MM_showHideLayers() { //v2.0
	if(loaded){
 		var i, visStr, args, theObj;
  		args = MM_showHideLayers.arguments;
  		for (i=0; i<(args.length-2); i+=3) { //with arg triples (objNS,objIE,visStr)
    			visStr   = args[i+2];
    			if (navigator.appName == 'Netscape' && document.layers != null) {
      				theObj = eval(args[i]);
      				if (theObj) {theObj.visibility = visStr;}
    			} 
				else if (document.all != null ) { //IE
      				if (visStr == 'show') visStr = 'visible'; //convert vals
      				if (visStr == 'hide') visStr = 'hidden';
      				theObj = eval(args[i+1]);
      				if (theObj) theObj.style.visibility = visStr;
  				} 
				else if (  document.documentElement != null) { //DOM1
      				if (visStr == 'show') visStr = 'visible'; //convert vals
      				if (visStr == 'hide') visStr = 'hidden';
					var objString= args[i+1];
					var cl = objString.lastIndexOf("]") -1;
					var objname=objString.substring(14,cl);
					theObj=document.getElementById(objname);
      				if (theObj) theObj.style.visibility = visStr;
  				}
		}
	}
}



function init(){
	loaded = true;
	if(isNav){
		document.captureEvents(Event.MOUSEMOVE);
		}
	document.onmousemove = initBounds
	}


function hideClipAll(drop){
 	if(loaded){
  		var theObj = null;
    		if (navigator.appName == 'Netscape' && document.layers != null) {
			document.layers[drop].visibility = "hide";
    			} 
    		else if (document.all != null) { //IE
  			document.all[drop].style.visibility = 'hidden';
			}
			else if ( document.documentElement != null) { //IE
  			document.getElementById(drop).style.visibility = 'hidden';
			}
		}
	}

function hideAll(){
	hideClipAll('drop1lyr');
	hideClipAll('drop2lyr');
	hideClipAll('drop3lyr');
	hideClipAll('drop4lyr');
	hideClipAll('drop5lyr');
	hideClipAll('hilight1');
	hideClipAll('hilight2');
	hideClipAll('hilight3');
	hideClipAll('hilight4');
	hideClipAll('hilight5');
	}

function initBounds(evt){
	if(isNav){
		checkBounds(evt.pageX, evt.pageY);
		}
	else{
		checkBounds(window.event.clientX, window.event.clientY);
		}
	}

function checkBounds(x,y){
	if(inside){
		if(x < mLeft || x > mLeft + mRight || y < mTop || y > mTop + mBottom){
			inside = false;
			hideClip()
			if(mDropName != null){
				MM_showHideLayers("document.layers['" + mDropName + "']","document.all['" + mDropName + "']",'hide');
				}			
			}
		}
	}


function initMenu(left,top,right,bottom,drop){
	hideAll();
	mLeft = left;
	mTop = top;
	mRight = right;
   	mBottom = bottom;
	mDropName   = drop;
	inside  = true;
	}

function hideClip(){
	if(loaded){
    		var theObj = null;
    		if (navigator.appName == 'Netscape' && document.layers != null  && xobjName != null) {
			theObj = document.layers[xobjName];
			theObj.clip.top    = xclTop;
      			theObj.clip.bottom = xclBottom;
      			theObj.clip.left   = xclLeft;
      			theObj.clip.right  = xclRight;
			theObj.visibility = "hide";
    			} 
    		else if (document.all != null  && xobjName != null) { //IE
			document.all[xobjName].style.clip = "rect(" + xclTop + " " + xclRight + " " + xclBottom + " " + xclLeft + ")";
  			document.all[xobjName].style.visibility = 'hidden';
			}
			else if (document.documentElement != null  && xobjName != null) { //IE
			document.getElementById(xobjName).style.clip = "rect(" + xclTop + " " + xclRight + " " + xclBottom + " " + xclLeft + ")";
  			document.getElementById(xobjName).style.visibility = 'hidden';
			}
 	 	xobjName = null;
		}
    	}

function MM_showHideHilight(objName, visStr, clLeft, clTop, clRight, clBottom, id) { //v1.2
	if(loaded){
    		if(xid > 0 && xid != id){hideClip();}
    		var theObj = null;
    		if (navigator.appName == 'Netscape' && document.layers != null) {
			theObj = document.layers[objName];
			theObj.clip.top    = clTop;
      			theObj.clip.bottom = clBottom;
      			theObj.clip.left   = clLeft;
      			theObj.clip.right  = clRight;
			theObj.visibility  = visStr;
    			} 
    		else if (document.all != null) { //IE
      			if (visStr == 'show') visStr = 'visible'; //convert vals
      			if (visStr == 'hide') visStr = 'hidden';
			document.all[objName].style.clip = "rect(" + clTop + " " + clRight + " " + clBottom + " " + clLeft + ")";
  			document.all[objName].style.visibility = visStr;
			}
			else if (document.documentElement != null) { //IE
      			if (visStr == 'show') visStr = 'visible'; //convert vals
      			if (visStr == 'hide') visStr = 'hidden';
			document.getElementById(objName).style.clip = "rect(" + clTop + " " + clRight + " " + clBottom + " " + clLeft + ")";
  			document.getElementById(objName).style.visibility = visStr;
			}
    		xid       = id;
    		xclTop    = clTop;
    		xclBottom = clBottom;
    		xclLeft   = clLeft;
    		xclRight  = clRight;
    		xobjName  = objName;
		}
    }
//-->
