	var x,y,a,b,timer,thisbox,isbox,urlimg,my_width;

	var posleftvorher;



	var box;



	if (document.layers) {

	var left_pos=".left=";

	var top_pos=".top=";

	var doc="document.";

	var stl="";

	}



	if (document.all) {

		var left_pos=".pixelLeft=";

		var top_pos=".pixelTop=";

		var doc="";

		var stl=".style";

	}



	function openbox(thisbox) {

		isbox = thisbox ;

		

		if(document.layers) {

			my_width=window.innerWidth;

			box = document.popupbox;

			box.visibility="visible";

			document.popupbox.document.write(thisbox);

			document.popupbox.document.close();

			document.popupbox.left=parseInt(my_width / 2)-360;

			document.popupbox.top=128;

		}



		if(document.all) {			

			my_width=document.body.clientWidth;

			box = document.all.popupbox.style;

			box.visibility="visible";

			popupbox.innerHTML=thisbox;

			eval(doc+"popupbox"+stl+left_pos+parseInt(my_width / 2));

			eval(doc+"popupbox"+stl+top_pos+128);

			timer=setTimeout("openbox(isbox)",50);	

		}

	

	}



	function closebox(element){

		clearTimeout(timer)

		box.visibility="HIDDEN"

	}



	function changeBackgroundColor(element)

	{	
    if(document.getElementById) {
			document.getElementById(element).bgColor= "#e4e4e2";
		}
	}

	

	function resetBackgroundColor(element)

	{				

		if(document.getElementById) {			
      document.getElementById(element).bgColor= "#cccccc";
		}
	}

	function handlerMM(e){

		if(document.layers)
		{	
			x=e.pageX
			y=e.pageY
		}

	}

	if (document.layers){	

		document.captureEvents(Event.MOUSEMOVE);

	}

	document.onmousemove = handlerMM;		

