<%other_side_show=site.object_p%>
<!-- object[<%=site.object_p%>]::other_show -->
<script language=javascript>

function MoveLayer(layerName,d) {
	var x = 15;
	var y = 165;

	var diff = (document.documentElement.scrollTop+ y - document.getElementById(layerName).style.posTop)*.80;
	var y = document.documentElement.scrollTop + y - diff;
	eval('document.getElementById(layerName).style.posTop = y');
	
	if(d=='left')
	eval('document.getElementById(layerName).style.posLeft = x');
	else
	eval('document.getElementById(layerName).style.posRight = x');
	var s="MoveLayer('"+layerName+"','"+d+"');"
	setTimeout(s,20);
	
}

function initEcAd(layerName,d) {
//alert(layerName.style.posTop);
	document.getElementById(layerName).style.posTop = -200;
	document.getElementById(layerName).style.visibility = 'visible';
	MoveLayer(layerName,d);
}

</script>
<%
site.object(other_side_show).object_include(other_side_show)
%>