function showHideLayers(name, imgname) {
	var v,obj, imgobj;
	v=(PresentState=='hide'?'show':'hide');
	PresentState = v;
	if(document.all) { obj = document.all[name].style; /*imgobj=document.images[imgname];*/ v=(v=='show')?'visible':(v='hide')?'hidden':v; }
	else{ obj = document.layers[name]; /*imgobj=document.imgname;*/ }
	/*if (imgobj) */	obj.visibility=v;
}

function moveLayer(lName, lLeft, noStyle, tWidth){
	var obj;
	var wWidth=(document.layers)?window.innerWidth:document.body.clientWidth;
	var offset=(wWidth-noStyle)*(1-tWidth/100)/2;

	if(document.all){	obj = document.all[lName].style.pixelLeft;   }
	else{ 			obj = document.layers[lName].left;		}

	if (wWidth<=offset){	obj = wWidth;		}
	else{			obj = (wWidth+lLeft)/2;    }
}