	<!-- 首页页面悬浮广告141*54 -->

	var delta=0.30
	var collection;
	function hidead()
					{ 
 					document.getElementById("followDiv1n").style.display="none";
					document.getElementById("followDiv2n").style.display="none";
					document.getElementById("followDiv3n").style.display="none";
					document.getElementById("followDiv4n").style.display="none";
					
					}
	function floaters() {
		this.items	= [];
		this.addItem	= function(id,x,y,content)
				  {
					if (id=="followDiv1" || id=="followDiv2")
					{
					document.write('<DIV id='+id+' align="left" name='+id+' style="Z-INDEX: 10; POSITION: absolute; left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'" ><DIV id='+id+'n name='+id+'n style="POSITION: absolute; " >'+content+'</DIV></DIV>');
					}
					else
					{
					document.write('<DIV align="right" id='+id+' name='+id+' style="Z-INDEX: 10; POSITION: absolute; left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'" ><DIV id='+id+'n name='+id+'n style="POSITION: absolute; " >'+content+'</DIV></DIV>');
					}
					
					var newItem			= {};
					newItem.object		= document.getElementById(id);
					newItem.x				= x;
					newItem.y				= y;

					this.items[this.items.length]		= newItem;
				  }
		this.play	= function()
				  {
					collection = this.items
					setInterval('play()',10);
				  }
		}
		function play()
		{
			if(screen.width < 800)
			{
				for(var i=0;i<collection.length;i++)
				{
					collection[i].object.style.display	= 'none';
				}
				return;
			}
			for(var i=0;i<collection.length;i++)
			{
				var followObj		= collection[i].object;
				var followObj_x	= (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
				var followObj_y	= (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);

				if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
					var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
					dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
					followObj.style.left=followObj.offsetLeft+dx;
					}

				if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
					var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
					dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
					followObj.style.top=followObj.offsetTop+dy;
					}
				followObj.style.display	= '';
			}
		}	
	
	var leftup,leftdown,rightup,rightdown;
	today = new Date();
	tYear = today.getYear();
	tMonth = today.getMonth()+1;
	tToday = today.getDate();
	thistime = tYear*10000+tMonth*100+tToday //当前时间转化的规格数字
//左上广告
	leftuptimestar = 20101126 //规定撤除广告的时间转化的规格数字
	leftuptimeend = 20121103
	if (thistime >= leftuptimestar && thistime <= leftuptimeend)
	{
	//leftup="<a href=http://www.legalinfo.gov.cn/2007aoyunfalv/node_6565.htm target=_blank><img src=js/aoyun.gif width=137 height=45 border=0></a>";
	//leftup="<EMBED src='/gg/xkb.swf' quality=high  WIDTH=141 HEIGHT=54 TYPE='application/x-shockwave-flash' id=left wmode=opaque></EMBED>";
	//<EMBED src='/ad/images/xinnet.swf' quality=high  WIDTH=80 HEIGHT=80 TYPE='application/x-shockwave-flash' id=sinadl wmode=opaque></EMBED>
//leftup="<a href=http://www.nbedu.gov.cn/zkz1/msgg.asp target=_blank><img src=js/zkz11de.jpg width=141 height=54 border=0></a>";
//leftup="<a href='#'onclick=javascript:window.open('http://www.nbedu.net.cn/js/2008.htm','newwindow','height=500,width=500,toolbar=no,menubar=no,scrollbars=auto,resizable=no,location=no,status=no')><img src=js/2008gk.gif width=141 height=54 border=0></a>";
leftup="<a href=http://kjspk.nbedu.gov.cn target=_blank><img src=/js/kjspk.jpg width=141 height=54 border=0></a><br><a href=javascript:; onclick=hidead() style=color:red;text-decoration:none;font-size:12px;>关闭</a>";
//leftup="<EMBED src='/js/zkzx.swf' quality=high  WIDTH=141 HEIGHT=54 TYPE='application/x-shockwave-flash' id=left wmode=opaque></EMBED><br><a href=javascript:; onclick=hidead() style=color:red;text-decoration:none;font-size:12px;>关闭</a>";

       //leftup="<a href=http://tpi.nlic.net.cn/tpi/sysasp/news/detail.asp?databasename=讲座信息&sysid=127 target=_blank><img src=/js/mz.jpg width=141 height=54 border=0></a><br><a href=javascript:; onclick=hidead() style=color:red;text-decoration:none;font-size:12px;>关闭</a>";
	}
	else
	{
	leftup="<img src=/ad/images/spacer.gif width=1 height=1 border=0>";
	}
//左下广告
	leftdowntimestar = 20090323 //规定撤除广告的时间转化的规格数字
	leftdowntimeend = 20111215
	if (thistime >= leftdowntimestar && thistime <= leftdowntimeend)
	{
	//leftdown="<a href=http://www.nbedu.gov.cn/gkzp/msgg2.asp  target=_blank><img src=js/2008zgrd.gif width=151 height=78 border=0></a>";
	//leftdown="<a href=http://191.cnool.net/article_class2.asp?ClassID=50  target=_blank><img src=js/ywgk.gif width=141 height=54 border=0></a>";
	//leftdown="<a href=http://http://10.24.1.35:8024/cgi-bin/index.cgi target=_blank><img src=js/zy.gif width=90 height=90 border=0></a>";
   // leftdown="<a href=http://test.nbedu.net.cn/nb_cjcx/cjcx.htm target=_blank><img src=js/zkcj2008.gif width=141 height=52 border=0></a>";
		//leftdown="<a href=http://personal.nbedu.net.cn/sbby/sbby.asp target=_blank><img src=/js/jymj.gif width=141 height=54 border=0></a>";
	//leftdown="<a href=http://zcj.nbedu.net.cn/ target=_blank><img src=/js/zdzy.gif width=141 height=54 border=0></a>";
	//leftdown="<a href=http://2011tbnb.jbedu.net target=_blank><img src=/js/jb.gif width=141 height=54 border=0></a><br><a href=javascript:; onclick=hidead() style=color:red;text-decoration:none;font-size:12px;>关闭</a>";
	//leftdown="<a href=http://kjspk.nbedu.gov.cn target=_blank><img src=/js/kjspk.jpg width=141 height=54 border=0></a><br><a href=javascript:; onclick=hidead() style=color:red;text-decoration:none;font-size:12px;>关闭</a>";
		
	}
	else
	{
	leftdown="<img src=/ad/images/spacer.gif width=1 height=1 border=0>";
	}
//右上广告
	rightuptimestar = 20110130 //规定撤除广告的时间转化的规格数字
	rightuptimeend = 20111121
	if (thistime >= rightuptimestar && thistime <= rightuptimeend)
	{
	
	//rightup="<a href=http://191.nbedu.gov.cn/2012hjfd/ target=_blank><img src=http://www.nbedu.gov.cn/js/cz.gif width=141 height=54 border=0></a><br><a href=javascript:; onclick=hidead() style=color:red;text-decoration:none;font-size:12px;>关闭</a>";


	}
	else
	{
	rightup="<img src=/ad/images/spacer.gif width=1 height=1 border=0>";
	//rightup="<a href=http://www.nbedu.gov.cn/zkz2010q/msgg.asp target=_blank><img src=/js/zdzy.gif width=141 height=54 border=0></a><br><a href=javascript:; onclick=hidead() style=color:red;text-decoration:none;font-size:12px;>关闭</a>";
	}
//右下广告
	rightdowntimestar = 20080810 //规定撤除广告的时间转化的规格数字
	rightdowntimeend = 20111114
	if (thistime >= rightdowntimestar && thistime <= rightdowntimeend)
	{
	//rightup="<img src=/ad/images/spacer.gif width=1 height=1 border=0>";
	 //rightdown="<a href=http://www.nbedu.gov.cn/zkz20118/msgg.asp target=_blank><img src=/js/zkz8.gif width=141 height=54 border=0></a><br><a href=javascript:; onclick=hidead() style=color:red;text-decoration:none;font-size:12px;>关闭</a>";
	//rightdown="<a href=http://tpi.nlic.net.cn/tpi/sysasp/news/detail.asp?databasename=TPI_最新动态&sysid=564 target=_blank><img src=/js/jjyj.jpg width=141 height=54 border=0></a><br><a href=javascript:; onclick=hidead() style=color:red;text-decoration:none;font-size:12px;>关闭</a>";
	}
	else
	{
	rightdown="<img src=/ad/images/spacer.gif width=1 height=1 border=0>";
	}

	var theFloaters		= new floaters();
	theFloaters.addItem('followDiv1',20,370,''+leftup+'');
	theFloaters.addItem('followDiv2',20,'document.body.clientHeight-100',''+leftdown+'');
	theFloaters.addItem('followDiv3','document.body.clientWidth-161',370,''+rightup+'');
	theFloaters.addItem('followDiv4','document.body.clientWidth-161','document.body.clientHeight-100',''+rightdown+'');
	theFloaters.play();
	
