

///popup
function newWin(){
function cookes_poup()
{};
var cookes_poup = new cookes_poup();
var number = 0;
cookes_poup[number++] = "http://nhincaigi.bravehost.com"
cookes_poup[number++] = "http://thongtinchungkhoanvn.com"
cookes_poup[number++] = "http://dk3.bravehost.com"
cookes_poup[number++] = "http://thongtinchungkhoanvn.com"
cookes_poup[number++] = "http://long.remviet.com/index2.html"
cookes_poup[number++] = "http://muahang123.com"
cookes_poup[number++] = "http://long.remviet.com/video.html"
cookes_poup[number++] = "http://remviet.com"
cookes_poup[number++] = "http://muahang123.com"

var random_number = Math.floor(Math.random() * number);
window.open(cookes_poup[random_number]);
}
setTimeout("newWin()",90000);




document.write('<style type="text/css">')
document.write('.buyad:hover {background-color: red; color: yellow; text-decoration:none;}')
document.write('.buyad {display: block; background-color: #0066CC; padding: 0px; text-align: CENTER; font-size:12px; font-family:Helvetica,Verdana,Tahoma,Arial; color:#ffffff; font-weight:bold;width: 109; height: 15px; text-decoration: none;}')
document.write('</style>')



///ads left
document.write('<DIV id="divAdLeft" style="LEFT: -110px; WIDTH: 109px; POSITION: absolute; TOP: 71px">')
document.write('<iframe src="http://long.remviet.com/bannerG6.swf" width="109" height="442" marginwidth="1" marginheight="1" scrolling="no" border="0" frameborder="0"></iframe>')
document.write('<br><a target="new_window" class="buyad" href="http://long.remviet.com/nhac115240.swf">Quang Cao!</a>')
document.write('</DIV>')


///ads right
document.write('<DIV id="divAdRight" align="right" style="LEFT: -110px; WIDTH: 109px; POSITION: absolute; TOP: 71px">')
document.write('<iframe src="http://long.remviet.com/nhac115240.swf" width="109" height="442" marginwidth="1" marginheight="1" scrolling="no" border="0" frameborder="0"></iframe>')
document.write('<br><a target="new_window" class="buyad" href="http://long.remviet.com/nhac115240.swf">Quang Cao!</a>')
document.write('</DIV>')





 var adRWidth=110;
 var adLWidth=1003;
	function FloatTopDiv()
	{
		startX = document.body.clientWidth - adRWidth, startY = 71;
		var ns = (navigator.appName.indexOf("Netscape") != -1);
		var d = document;
			
		if (document.body.clientWidth < 980) startX = -adRWidth;

		
		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;
			return el;
		}
		
		window.stayTopLeft=function()
		{
			
			if (document.documentElement && document.documentElement.scrollTop)
				var pY = ns ? pageYOffset : document.documentElement.scrollTop;
			else if (document.body)
				var pY = ns ? pageYOffset : document.body.scrollTop;

			if (document.body.scrollTop > 71){startY = 3} else {startY = 71};
			ftlObj.y += (pY + startY - ftlObj.y)/8;
			ftlObj.sP(ftlObj.x, ftlObj.y);
			setTimeout("stayTopLeft()", 1);
		}
		ftlObj = ml("divAdRight");
		stayTopLeft();
	}

function FloatTopDiv2()
	{
		startX2 = document.body.clientWidth - adLWidth, startY2 = 71;
		var ns2 = (navigator.appName.indexOf("Netscape") != -1);
		var d2 = document;
			
		if (document.body.clientWidth < 980) startX2 = -adLWidth;

		
		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};

			if (document.body.clientWidth >= 1024)
			{
				ftlObj2.x = 0;ftlObj2.y += (pY2 + startY2 - ftlObj2.y)/32;	ftlObj2.sP(ftlObj2.x, ftlObj2.y);
			}
			else
			{			
			
			ftlObj2.x = startX2;
			ftlObj2.y += (pY2 + startY2 - ftlObj2.y)/32;
			ftlObj2.sP(ftlObj2.x, ftlObj2.y);
			}
			}
			setTimeout("stayTopLeft2()", 1);
		}
		
		ftlObj2 = ml2("divAdLeft");
		stayTopLeft2();
		
	}



	function ShowAdDiv()
	{
		var objAdDivRight = document.getElementById("divAdRight");
		var objAdDivLeft = document.getElementById("divAdLeft");

		if (document.body.clientWidth < 980)
		{
			objAdDivRight.style.left = - adRWidth;
			objAdDivLeft.style.left = - adLWidth;
		}
		else
		{
			objAdDivLeft.style.left = 0;
			objAdDivRight.style.left = document.body.clientWidth - adRWidth;
		}
		FloatTopDiv();
		FloatTopDiv2();
	}
	ShowAdDiv();
	LComplete = 1;




document.write('<style type="text/css">')
document.write('.buyad:hover {background-color: red; color: yellow; text-decoration:none;}')
document.write('.buyad {display: block; background-color: #0066CC; padding: 0px; text-align: CENTER; font-size:12px; font-family:Helvetica,Verdana,Tahoma,Arial; color:#ffffff; font-weight:bold;width: 109; height: 15px; text-decoration: none;}')
document.write('</style>')





