CODE TẠO HÌNH TRƯỢT HAI BÊN WEBSITE
<DIV id="divAdRight" style="LEFT: -110px; WIDTH: 115px; POSITION:absolute ; TOP: 1px">
<a href="" target="_blank"><img src="http://www.baodienbienphu.info.vn/images_upload/icon_15.gif"
border="0" width="105" height="100" alt="Uitshare.com" /></p></a><img
src="http://www.thanhnien.com.vn/PublishingImages/Logo.gif"order="0"width="105" height="85"
alt="Uitshare.com" /></p></a><img src="http://maivoo.com/banners/qva1244625381.jpg"order="0"
width="105" height="130" alt=""></a>
</DIV>
<DIV id="divAdLeft" style="Right: -110px; WIDTH: 115px; POSITION: absolute; TOP: 1px"><a
href="" target="_blank"><img
src="http://www.baodienbienphu.com.vn/images_upload/UploadFile/dbp_cuoithang.jpg"order="0"
width="105" height="145" alt="Uitshare.com" /></p></a><img
src="http://www.baodienbienphu.info.vn/images_upload/icon_13.gif"order="0" width="105"
height="145" alt="Uitshare.com" /></p></a><img
src="http://vovnews.vn/Uploaded_VOV/thuyhoa/20090331/bien-dao-viet-nam-120.gif"order="0"
width="105" height="135" alt=""></a>
</DIV>
<script language="JavaScript">
function FloatTopDiv()
{
startX = document.body.clientWidth - 110, startY = 71;
var ns = (navigator.appName.indexOf("Netscape") != -1);
var d = document;
if (document.body.clientWidth < 980) startX = -110;
function ml(id)
{
var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
if(d.layers)el.style=el;
el.sP=function(x,y){this.style.left=x;this.style.top=y;};
el.x = startX;
el.y = startY;
stayTopLeft();
}
function FloatTopDiv2()
{
startX2 = document.body.clientWidth - 1004, startY2 = 71;
var ns2 = (navigator.appName.indexOf("Netscape") != -1);
var d2 = document;
if (document.body.clientWidth < 980) startX2 = -110;
function ml2(id)
{
var el2=d2.getElementById?d2.getElementById(id):d2.all?d2.all[id]:d2.layers[id];
if(d2.layers)el2.style=el2;
el2.sP=function(x,y){this.style.left=x;this.style.top=y;};
el2.x = startX2;
el2.y = startY2;
return el2;
}
window.stayTopLeft2=function()
{
if (document.body.clientWidth < 980)
{
ftlObj2.x = - 115;ftlObj2.y = 0; ftlObj2.sP(ftlObj2.x, ftlObj2.y);
}
else
{
if (document.documentElement && document.documentElement.scrollTop)
var pY2 = ns2 ? pageYOffset : document.documentElement.scrollTop;
else if (document.body)
var pY2 = ns2 ? pageYOffset : document.body.scrollTop;
if (document.body.scrollTop > 71){startY2 = 3} else {startY2 = 71};
FloatTopDiv();
FloatTopDiv2();
}
ShowAdDiv();
</script>