var CurZ=10
var StartTop = 50;
var EndTop = 20;
var MoveLayeringOn1=-1;
var MoveLayeringOn2=-1;
var MoveLayeringOn3=-1;
var MoveLayeringOn4=-1;
var MoveLayeringOn5=-1;
var deltaX = new Array (1.00, 0.80, 0.60, 0.45, 0.35, 0.27, 0.21, 0.16, 0.12, 0.09, 0.07, 0.06, 0.05, 0.04, 0.03, 0.02, 0.01, 0.005, 0.0025, 0.00);
var iDelay = 0

function MoveLayerOn(MoveLayerNum) {
var CurMoveLayer;
eval("CurMoveLayer = MoveLayeringOn"+MoveLayerNum);
CurMoveLayer++;
if (CurMoveLayer > 19)
    CurMoveLayer = -1;
	eval("MoveLayeringOn"+MoveLayerNum+"=CurMoveLayer");
if (CurMoveLayer < 0) {
	    return;}
if (navigator.appName == "Netscape") {
	theObj = eval ("document.BPH"+MoveLayerNum);
//	theObj.left = EndLeft + (StartLeft*deltaX[CurMoveLayer]);
	theObj.top = EndTop + (StartTop*deltaX[CurMoveLayer]);
	 }
else {
	theObj = eval ("document.all.BPH"+MoveLayerNum);
//	theObj.style.left = EndLeft + (StartLeft*deltaX[CurMoveLayer]);
	theObj.style.top = EndTop + (StartTop*deltaX[CurMoveLayer]);
	}
	eval("setTimeout('MoveLayerOn("+MoveLayerNum+")',25)");
}
	
function SetMoveLayer(MoveLayerNum) {
if (navigator.appName != "Netscape") {
//========
	var theObj;
	if (navigator.appName == "Netscape") {
		 theObj = eval ("document.BPH"+MoveLayerNum);
		 if (theObj.zIndex!=CurZ && theObj.visibility!='show') {
			theObj.visibility = 'show';
	//		theObj.left = StartLeft;
			CurZ = CurZ+1;
			theObj.zIndex=CurZ;
			MoveLayerOn(MoveLayerNum);
		 }
	else {
		 theObj.visibility = 'show';
		 MoveLayerOn(MoveLayerNum);
		 }}
	else {
		 theObj = eval ("document.all.BPH"+MoveLayerNum);
		 if	(theObj.style.zIndex!=CurZ && theObj.style.visibility!='visible') {
	//		theObj.style.left = StartLeft;
			CurZ = CurZ+1;
			theObj.style.zIndex=CurZ;
			theObj.style.visibility = 'visible';
			MoveLayerOn(MoveLayerNum);
		 }
	else {
			theObj.style.visibility = 'visible';
			MoveLayerOn(MoveLayerNum);
		 }}
//========
}
}

function ClearMoveLayer(MoveLayerNum) {
if (navigator.appName != "Netscape") {
//========
	theObj = eval ("document.BPH"+MoveLayerNum);
	if (navigator.appName == "Netscape")  {
			theObj.visibility = 'hide';
			theObj.Top = StartTop;
		}
	else {
		theObj = eval ("document.all.BPH"+MoveLayerNum);
		theObj.style.visibility = 'hidden';
		theObj.style.Top = StartTop;
	}
//========
}
}