<!--  Written by Myhyli, 2003/07/21. myhyli.blueidea.com  -->
<!--  Member Of Blueidea Web Team. -->
<!--  Welcome to www.blueidea.com. -->

	var delta=0.8;
	var collection;
	var closeB=false;
	var scrLeft = 0 ;
	var scrTop = 0;
		
	function floaters() 
	{
		this.items	= [];
		this.addItem = function(id,x,y,content)
				      {
					    document.write('<DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute;  width:80px; height:200px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'">'+content+'</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
					var inter = setInterval('play()',30);
				  }
	}
	function play()
	{		    
            if (document.documentElement && document.documentElement.scrollTop)
            {
            scrTop = document.documentElement.scrollTop;
            scrLeft = document.documentElement.scrollLeft;            
            }
            else if (document.body)
            {
            scrTop = document.body.scrollTop
            scrLeft = document.body.scrollLeft;
            }
            else
            {
            
            }
                        
			if(screen.width <= 800 || closeB)
			{
				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!=(scrLeft+followObj_x)) 
				{
					var dx=(scrLeft+followObj_x-followObj.offsetLeft)*delta;
					dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
					followObj.style.left=followObj.offsetLeft+dx;
				}

				if( followObj.offsetTop != (scrTop + followObj_y)) 
				{
					var dy=(scrTop+followObj_y-followObj.offsetTop)*delta;
					dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
					followObj.style.top=followObj.offsetTop+dy;
				}
				followObj.style.display	= '';
			}			
	}	
	function closeBanner()
	{
		closeB=true;
		return;
	}
	var theFloaters	= new floaters();
	//
	//ÓÒ1
	//theFloaters.addItem('followDiv1','document.body.clientWidth-112',210,'<a href=http://www.gzjt.gov.cn/gzjt/web/2012ChunYunPicket.aspx target=_blank><img src=images/2012chunyunpicket.jpg width=108 height=80 border=0 title="2008"></a>');
	//×ó1
	//theFloaters.addItem('followDiv2',1,210,'<a href=http://www.gzjt.gov.cn/gzjt/web/2012ChunYunInfo.aspx target=_blank><img src=images/2012ChunYunTis.jpg border=0  width=105 height=70 title="2011"></a>');
	//theFloaters.addItem('followDiv3',1,310,'<a href=http://www.gz.gov.cn/jsp/zmfd/wzdc/wsdc2009.jsp target=_blank><img src=images/survey.jpg border=0  width=105 height=80 title="2008"></a>');
	//theFloaters.addItem('followDiv5',1,410,'<a href=http://www.gzjt.gov.cn/gzjt/web/SciencePractice/IndexInfo.aspx?id=2487 target=_blank><img src=images/gzcyjyxc.jpg border=0  width=105 title="2009"></a>');
	//theFloaters.addItem('followDiv4','document.body.clientWidth-112',310,'<a href=http://www.gzjt.gov.cn/gzjt/Web/Publish/NoticeInfo.aspx?id=2507 target=_blank><img src=images/Personchangepaper.jpg width=105 border=0 title="2008"></a>');
	//theFloaters.addItem('followDiv6','document.body.clientWidth-112',410,'<a href=http://www.gzjt.gov.cn/gzjt/web/Interactive/Survey2.aspx target=_blank><img src=images/kxfzg1.jpg border=0  width=105 title="2009"></a>');
    theFloaters.play();
