 var oldtime=new Date(2012,1,29,23,59,59);
  var oldtimes=oldtime.getTime();

var myDate = new Date();
var mon=myDate.getMonth();


  var now=new Date(myDate.getYear(),mon,myDate.getDate(),myDate.getHours(),myDate.getMinutes(),myDate.getSeconds());
  var newtime=now.getTime();

  if(newtime<oldtimes)
   {
	
   
var delta=0.08
	var collection;
	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:60px;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;
		    newItem.id = id;
		    newItem.width = 86;

		    this.items[this.items.length] = newItem;
		}
		this.play	= function()
				  {
					collection				= this.items
					setInterval('play()',10);
				  }
		}
		function play()
		{

			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));
					if (collection[i].id == "followDiv1") {
					    followObj.style.left = document.body.clientWidth;
					}
					else {
					    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 theFloaters = new floaters();
	//ÓÒÃæ
	//theFloaters.addItem('followDiv1',6, 80, '<a href="http://www.jscx.org/ArticleView.aspx?tgb=7244a8b6-404f-44bd-b0cd-adb7fc40f293" target="_blank"><img src=ad/ad1.png WIDTH=100 HEIGHT=300 border=0 ></img></a>');
	//×óÃæ
	theFloaters.addItem('followDiv2',6,80,'<a href="http://www.jscx.org/ArticleView.aspx?tgb=e32dc190-70a7-444b-8b32-52f561f1b330" target="_blank"><img src=ad/ad.png WIDTH=100 HEIGHT=300 border=0 ></img></a>');
	
	theFloaters.play();
}
