var CurZ=0
var EndLeft = 300;
var StartLeft =EndLeft;
var MoveLayeringOn1=-1;
var MoveLayeringOn2=-1;
var MoveLayeringOn3=-1;
var MoveLayeringOn4=-1;
var MoveLayeringOn5=-1;
var MoveLayeringOn6=-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);
if ((screen.width >= 1024) && (screen.height >= 768))
{
  EndLeft =130;
}
else
{
 EndLeft =30;
}

function SetMoveLayer(MoveLayerNum) {
var theObj;

if (navigator.appName == "Netscape") {
	 theObj = eval ("document.yuef"+MoveLayerNum);
	 if (theObj.zIndex!=CurZ) {
	 theObj.visibility = 'show';
	 theObj.left = StartLeft;
	 theObj.top = 111;
	 CurZ = CurZ+1;	 
	 theObj.zIndex=CurZ;
	 MoveLayerOn(MoveLayerNum);
	 }
	 }
else {
	 theObj = eval ("document.all.yuef"+MoveLayerNum);
     
	 if	(theObj.style.zIndex!=CurZ) {
	 theObj.style.left = StartLeft;
	 theObj.style.top = 111;
	 CurZ = CurZ+1;
	 theObj.style.zIndex=CurZ;
	 theObj.style.visibility = 'visible';
	 MoveLayerOn(MoveLayerNum);
	 }
	 }
}

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") {
	StartLeft = EndLeft;
	theObj = eval ("document.yuef"+MoveLayerNum);
	theObj.left = EndLeft + (StartLeft*deltaX[CurMoveLayer]);
	 }
else {
	StartLeft =EndLeft;
	theObj = eval ("document.all.yuef"+MoveLayerNum);
	theObj.style.left = EndLeft + (StartLeft*deltaX[CurMoveLayer]);
	}
	eval("setTimeout('MoveLayerOn("+MoveLayerNum+")',50)");
}