
		function ShowLeftAdDiv()
		{
			
			if (document.body.clientWidth > 900) {
				document.write("<table width=103 border=0 cellspacing=0 cellpadding=0> <tr><td align=left><a href ='http://binhduong.edu.vn/index.php?mod=news&nid=111' > <img  src='skins/xanhla/js/Banner_left.gif' width='100' border=0  height='300'/></a></td></tr></table>");
			}
		}

		function ShowRightAdDiv()
		{
			if (document.body.clientWidth > 900) {
				document.write("<table width=103 border=0 cellspacing=0 cellpadding=0>	  <tr><td align=right><a href ='http://binhduong.edu.vn/index.php?mod=readn&id=5516&nid=111&n=2' > <img  src='skins/xanhla/js/Banner_right.gif' width='100' border=0 height='300' /></a></td></table>");
			}
		}

	window.onresize=ShowAdDiv;
	function FloatTopDiv()
	{
		startRX = document.body.clientWidth -103 , startRY =62;//vi tri menu right width
		startRX_left = 0;
		var d = document;
		function ml(id)

		{
			var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
			el.sP=function(x,y){this.style.left=x;this.style.top=y;};
			el.x = startRX;
			el.y = startRY;
			return el;
		}
		function ml_left(id)

		{
			var el=d.getElementById?d.getElementById(id):d.all?d.all[id]:d.layers[id];
			el.sP=function(x,y){this.style.left=x;this.style.top=y;};
			el.x = startRX_left;
			el.y = startRY;
			return el;
		}
		window.stayTopRight=function()

		{
			if (document.documentElement && document.documentElement.scrollTop)
				var pY =  document.documentElement.scrollTop;
			else if (document.body)
				var pY =  document.body.scrollTop;
			if (document.body.scrollTop > 30){startRY = 1;} else {startRY = 1;};
			ftlObj.y += (pY+startRY-ftlObj.y)/16;
			ftlObj.sP(ftlObj.x, ftlObj.y);
			setTimeout("stayTopRight()", 1);
		}
		window.stayTopLeft=function()

		{
			if (document.documentElement && document.documentElement.scrollTop)
				var pY =  document.documentElement.scrollTop;
			else if (document.body)
				var pY =  document.body.scrollTop;
			if (document.body.scrollTop > 30){startRY = 1;} else {startRY = 1;};
			ftlObj_left.y += (pY+startRY-ftlObj_left.y)/16;
			ftlObj_left.sP(ftlObj_left.x, ftlObj_left.y);
			setTimeout("stayTopLeft()", 1);
		}
		ftlObj = ml("divAdRight");
		ftlObj_left = ml_left("divAdLeft");
		stayTopLeft();
		stayTopRight();
	}
	function ShowAdDiv()
	{
		var objAdDivRight = document.getElementById("divAdRight");
		var objAdDivLeft = document.getElementById("divAdLeft");
		if (document.body.clientWidth < 980)
		{
		    objAdDivRight.style.display = "none";
			objAdDivLeft.style.display = "none";
			
		}
		else
		{
			objAdDivRight.style.display = "block";
			objAdDivLeft.style.display = "block";
			FloatTopDiv();
		}
		
	}
	ShowAdDiv();