	var maxHeight;

	function showLayer(obj,objName,num) {
		if (num==1)	{
			maxHeight=(document.getElementById(objName).scrollHeight-10)*(-1)
			maxHeight=maxHeight.toString()+"px";
			document.getElementById(objName).style.marginTop=maxHeight;
			document.getElementById(objName).style.marginLeft="-60px";
			document.getElementById(objName).style.visibility="visible";
		} else {
			maxHeight=(document.getElementById(objName).scrollHeight-10)*(-1)
			maxHeight=maxHeight.toString()+"px";
			document.getElementById(objName).style.marginTop=maxHeight;
			document.getElementById(objName).style.marginLeft="10px";
			document.getElementById(objName).style.visibility="visible";		
		}
	}

	function hiddenLayer(objName) {
		document.getElementById(objName).style.visibility="hidden";
	}