	///////////////
	var w3c = (document.getElementById) ?true:false;
	var iex = (document.all)            ?true:false;
	var ns4 = (document.layers)         ?true:false;
	var supported = (w3c || iex || ns4) ?true:false;
	var active = false;
	var curObj,curNest;
	///////////////
	function mousemoved (evt)
		{
	///////////////
		if(iex)
			{
				mousex = window.event.clientX+document.body.scrollLeft;
				mousey = window.event.clientY+document.body.scrollTop;
			}
			///////////////
			else if(ns4)
				{
					mousex = evt.pageX+window.pageXOffset;
					mousey = evt.pageY+window.pageYOffset;
				}
		///////////////
		else
			{
				mousex = evt.pageX;
				mousey = evt.pageY;
			}
		///////////////
		if(active)
			{
				shiftTo(curObj, mousex+12, mousey+12, curNest);
			}
		///////////////
		return true;
		}
	///////////////
	function getStyle (objstr, nest)
		{
			nest = (nest) ? "document."+nest+"." : "";
			return (w3c) ? document.getElementById(objstr).style : (iex) ? document.all[objstr].style : (ns4) ? eval(nest+"document."+objstr) : false;
		}
	///////////////
	function shiftTo (objstr, x, y, nest)
		{
		var obj = getStyle(objstr,nest);
		///////////////
		if(iex)
			{
				obj.pixelLeft = x;
				obj.pixelTop = y;
			}
		///////////////
		else if(ns4)
			{
				obj.moveTo(x,y);
			}
		///////////////
		else if(w3c)
			{
				obj.left = x;
				obj.top = y;
			}
		}
	///////////////
	function show (objstr,nest)
		{
		curObj = objstr;
		curNest = (nest) ? nest : null;
		getStyle(objstr,nest).visibility = "visible";
		active = true;
		}
	///////////////
	function hide ()
		{
			getStyle(curObj,curNest).visibility = "hidden";
			active = false;
		}
		///////////////	
		if(supported)
			{
			if(ns4)
				{
					document.captureEvents(Event.MOUSEMOVE);
				}
			document.onmousemove = mousemoved;
			}

////////////////////////////////////////////////
function Pop(mypage,myname,w,h,scroll,pos)

{

		if(pos=="center")

				{
						LeftPosition=(screen.width)?(screen.width-w)/2:100;
						TopPosition=(screen.height)?(screen.height-h)/2:100;

				}

		else

				{
						LeftPosition=0;TopPosition=20

				}
						settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
						win=window.open(mypage,myname,settings);

}           

////////////////////////////////////////////////