	var delta=0.8;
	var collection;
	var closeB=false;
	function floaters() {
		this.items	= [];
		this.addItem	= function(id,x,y,content)
				  {

					document.write('<div id='+id+' style="Z-INDEX: 10; POSITION: absolute; width:100px; left:'+(typeof(x)=='string'?eval(x):x)+'px; top:'+(typeof(y)=='string'?eval(y):y)+'px;"><div style="height:25px"><img src="/images/close.gif" style="cursor:pointer;display:none" align=right onclick="closeBanner()" /></div>'+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;
					setInterval('play()',30);
				  }
		}
		function play()
		{
			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);


				var objOffsetTop = followObj.offsetTop;

   				var scrollTop = document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop;
				if(objOffsetTop!=(scrollTop+followObj_y)) {
					var dy=(scrollTop+followObj_y-objOffsetTop)*delta;
					dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
					followObj.style.top=objOffsetTop+dy+"px";
				}
				var objOffsetLeft = followObj.offsetLeft;

   				var scrollLeft = document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft;
				if(objOffsetLeft!=(scrollLeft+followObj_x)) {
					var dx=(scrollLeft+followObj_x-objOffsetLeft)*delta;					
					followObj.style.left=objOffsetLeft+dx+"px";
				}
				followObj.style.display	= '';
			}
		}	
		function closeBanner()
		{
			closeB=true;
			return;
		}

	var theFloaters		= new floaters();
	//
	theFloaters.addItem('followDiv1','(3*(document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth) +778)/4-50',0,'<a href=http://cp.cncard.com/act/20110705/ target=_blank><img src=/images/act/100x290_cncardcp.jpg border=0 width=100 height=290 style="display:;" /></a>');
	theFloaters.addItem('followDiv2','((document.documentElement.clientWidth ? document.documentElement.clientWidth:document.body.clientWidth)-778)/4-50',0,'<div style="height:25px;display:none;"><img src="/images/close.gif" style="cursor:pointer;" align=right onclick="closeBanner()" /></div><a href=/act/question3 target=_blank style="display:none;"><img src=/images/act/100x292_question3_cncard.gif border=0 width=100 height=250 /></a>');

	theFloaters.play();




