	var rightStopPoint="null";
	var layerRef="null",layerStyleRef="null",styleSwitch="null";
	var currright=0;
	var curr_right=0;
        
function initBack()
{
	if (navigator.appName == "Netscape")
	{
	layerStyleRef="layer.";
	layerRef="document.layers";
	styleSwitch="";
	rightStopPoint=-3000;
	}
	else
	{
	layerStyleRef="layer.style.";
	layerRef="document.all";
	styleSwitch=".style";
	rightStopPoint="-3000px";
	}
}

function moveLayerright(layerName)
{ 
	if (eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.right != rightStopPoint'))
	{
	currright-=1;
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.right = currright');
	setTimeout('moveLayerright("'+layerName+'")',50);
	}
	else
	{
	currright=1;
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.right = currright');
	setTimeout('moveLayerright("'+layerName+'")',50);
	}
}

function moveLayerright2(layerName)
{ 
	if (eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.right != rightStopPoint'))
	{
	curr_right-=1;
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.right = curr_right');
	setTimeout('moveLayerright2("'+layerName+'")',50);
	}
	else
	{
	curr_right=1;
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.right = curr_right');
	setTimeout('moveLayerright2("'+layerName+'")',50);
	}
}
