	var x = 0;
	var xx=00;

	var yy=20;
	var yn=20;

	var y = 0;
	var showit = 0;
	
	
	// BROWSER
	ns = (document.layers)? true:false
	ie4 = (document.all)? true:false
	ie5 = false;
	
	if (ie4) {
		if (navigator.userAgent.indexOf('MSIE 5')>0 || navigator.userAgent.indexOf('MSIE 6')>0 || navigator.userAgent.indexOf('MSIE 7')>0) {
			ie5 = true;
		}
	}
	
	// MACOS
	if (navigator.platform.substring(0,3).toUpperCase() == "MAC" && (ie4 || ie5)) {
		mac = true;
	} else {
		mac = false;
	}
	
	if ((ns) || (ie4)) {
	
		if (ns) over = document.popDiv;
		if (ie4) over = popDiv.style;

		document.onmousemove = mouseMove;
		if (ns) document.captureEvents(Event.MOUSEMOVE);
	
	}
	
	
	function wtl(txt) {
	
		if (ns) {
			var lll = document.popDiv.document
			lll.write(txt)
			lll.close()
		} else {
	
			if (ie4) {
				document.all["popDiv"].innerHTML = txt
			}
		}
	}
	
	
	function show(obj) {
	
		if (ns) {
			obj.visibility = "show"
		} else if (ie4) {
			obj.visibility = "visible"
		}
	}
	
	
	
	function hide(obj) {
	
		if (ns) { 
			obj.visibility = "hide"
		} else if (ie4) {
			obj.visibility = "hidden"
		}
	}
	
	function moveTo(obj,lx,ly) {

		obj.left = lx
		obj.top = ly
	}
	
	
	function infoLayerHide() {

		if (mac) {
			return;
		}
	
		if ((ns) || (ie4)) {
	
			showit = 0;
			hide(over);
		}
	}
	
	
	function rinfoLayerShow(text, title) {
	
		txt = "<div style=\"width:100%; height:100%; filter:dropshadow(color=#999999, offx=2, offy=2);\"><TABLE WIDTH=200 BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR=\"#CC3300\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0><TR><TD><SPAN ID=\"thetext\"><B><FONT face=\"Verdana, Arial, Helvetica\" size=1 class=\"lt\" color=\"#ffffff\">"+title+"</FONT></B></SPAN></TD></TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=5 CELLSPACING=0 BGCOLOR=\"#ffffff\"><TR><TD><SPAN ID=\"thetext2\"><FONT face=\"Verdana, Arial, Helvetica\" COLOR=\"#000000\" size=1 class=\"lt\">"+text+"</FONT><SPAN></TD></TR></TABLE></TD></TR></TABLE></div>"
	  	wtl(txt);
		display_it();
	}
	
	function infoLayerShow(i,yn1) {
	
		if (mac) {
			return;
		}
		yy=yn;
		xx=10;
		
		if (yy==-111) xx=-335;
		if (yy==-244) xx=-335;
		rinfoLayerShow(text[i],title[i]);
	}
	
	
	function infoLayerShow_adjustxy(i,yn,xn) {
	
		if (mac) {
			return;
		}
		yy=yn;
		xx=xn;

		if (yy==-111) xx=-335;
		if (yy==-244) xx=-335;

		rinfoLayerShow(text[i],title[i]);
	}
	
	
	
	function infoLayerShow(title,text) {
		if (mac) {
			return;
		}
		// xx=xm;
		rinfoLayerShow(text,title);
	}
	

	function display_it() {
	
		if ((ns) || (ie4)) {
	
			if (showit == 0) 	{

				moveTo(over,x+xx,y+yy);
		
				show(over);
				showit = 1;
			}
		}
	}
	
	function mouseMove(e) {
	
	
	
		if (ns) {
			x=e.pageX;
			y=e.pageY;
		}
		
		if (ie4) {
			x=event.x;
			y=event.y;
		}
		
		if (ie5) {
			x=event.x+document.body.scrollLeft;
			y=event.y+document.body.scrollTop;
		}
	
		if (showit) {
			moveTo(over,x+xx,y+yy);
		}
	}