var IE = (document.all) ? true : false;

function moveLayer(whichDiv) {

	thisDiv = whichDiv;

	if (IE) {

		document.all(thisDiv).style.pixelTop += 1;
		if (document.all(thisDiv).style.pixelTop < 58)
			setTimeout("moveLayer(thisDiv)", 20);
	}
	else {
		document.layers[thisDiv].moveBy(0, 1);

		if (document.layers[thisDiv].top < 58)
			setTimeout("moveLayer(thisDiv)", 20)
	}  
}


function moveRight(div1, endSpot1) {

	thisDiv1 = div1;
	endSpot = endSpot1;

	if (IE) {

		document.all.globalmenuhint.style.visibility = "hidden";

		if (document.all(thisDiv1).style.pixelLeft < endSpot)
			document.all(thisDiv1).style.pixelLeft += 20;
			setTimeout("moveRight(thisDiv1, endSpot)", 10);
			
	}
	else {
	
		document.globalmenuhint.visibility = "hidden";

		if (document.layers[thisDiv1].left < endSpot)
			document.layers[thisDiv1].moveBy(20, 0);
			setTimeout("moveRight(thisDiv1, endSpot)", 10)
	}  
}
