	// BrowserCheck Object
	function BrowserCheck() {
		var b = navigator.appName
		if (b=="Netscape") this.b = "ns"
		else if (b=="Microsoft Internet Explorer") this.b = "ie"
		else this.b = b
		this.version = navigator.appVersion
		this.v = parseInt(this.version)
		this.ns = (this.b=="ns" && this.v>=4)
		this.ns4 = (this.b=="ns" && this.v==4)
		this.ns5 = (this.b=="ns" && this.v==5)
		this.ie = (this.b=="ie" && this.v>=4)
		this.ie4 = (this.version.indexOf('MSIE 4')>0)
		this.ie5 = (this.version.indexOf('MSIE 5')>0)
		this.min = (this.ns||this.ie)
		this.v3 = (this.v<4)
		
	}
	is = new BrowserCheck()

	var navStatus = "active";
	var isie = 0;
	var loaded = 0;
	var usepopup = false;
	
	if ((is.ie) && (!is.v3)) {
		document.onmousemove = MoveHandler;
	} else if (!is.v3) {
		window.captureEvents(Event.MOUSEMOVE);
		window.onmousemove = MoveHandler;
	}
	
	function menuUp() {
		navMainMoveArray = new Array(0,0,-1,-2,-4,-9,-20,-30,-40,-50,-55,-60,-70,-80,-85,-90,-95,-100,-102,-104,-104,-104,-104)
		if (counterArray <= navMainMoveArray.length) {
			if (is.ie)
				navMain.style.posTop = navMainMoveArray[counterArray];
			else
				document.navBox.document.navMain.moveTo(0, navMainMoveArray[counterArray]);
			counterArray++;
			if (counterArray < navMainMoveArray.length) {
				navStatus = "moving";
				setTimeout("menuUp()",1);
			}
			if (counterArray >= navMainMoveArray.length) {
				navStatus="active";
				if (is.ie) {
					navBox.style.visibility = 'hidden';
					pulldown.style.visibility = 'visible';
				}
				else {
					document.navBox.visibility = 'hide';
					document.pulldown.visibility = 'show';
				}
			}
		}
	}
	
	function menuDown() {
		if (is.ie) {
			navBox.style.visibility = 'visible';
			pulldown.style.visibility = 'hidden';
		}
		else {
			document.navBox.visibility = 'show';
			document.pulldown.visibility = 'hide';
		}
		navMainMoveArray = new Array(-104,-100,-96,-90,-85,-80,-75,-70,-65,-60,-55,-40,-35,-25,-20,-15,-10,-8,-6,-5,-4,-2,-1,-1,0,0,0,0)
		if (counterArray <= navMainMoveArray.length) {
			if (is.ie)
				navMain.style.posTop = navMainMoveArray[counterArray];
			else
				document.navBox.document.navMain.moveTo(0, navMainMoveArray[counterArray]);
			counterArray++;
			if (counterArray < navMainMoveArray.length) {
				navStatus = "moving";
				setTimeout("menuDown()",1);
			}
			if (counterArray >= navMainMoveArray.length) {
				navStatus="inactive";
			}
		}
	}
	
	function MoveHandler(evnt) {
		Xpos = (is.ie) ? window.event.x : evnt.pageX;
		Ypos = (is.ie) ? window.event.y : evnt.pageY;
		//	window.status=loaded + " " + navStatus;
		if (usepopup) {
			var x = (nav) ? evnt.pageX : event.x+document.body.scrollLeft; 
			var y = (nav) ? evnt.pageY : event.y+document.body.scrollTop;

			skn.left = x - 60;
			skn.top  = y+20;
		}
		if (((Ypos > 190) || (Xpos < 161) || (Xpos > 552)) && (loaded)) {
			activate();
		}
	}		
	
	function deactivate() {
		if (navStatus == "active") {
			counterArray = 1;
			menuDown();
		//	alert('in there')
		}
	}
	
	function activate() {
		if (navStatus == "inactive") {  
			counterArray = 1;
			menuUp();
		//	alert('inhere')
		}
	}

	function gotosite(site) {
		if (site != "") window.top.location=site
	}

