$cEp = function(){
	var ua = navigator.userAgent.toLowerCase(),
		isIE = ua.indexOf("opera")==-1 && ua.indexOf("msie") > -1,
		d = document,w=window,h=d.location.hostname,
		CE_HOST = 'http://images.clickeye.com.cn',
		CE_MONITOR_HOST = "http://monitor.clickeye.com.cn",
		$=function(id){return d.getElementById(id)};
		d.write("<script src=http://control.clickeye.com.cn/pop.jsp?url="+encodeURIComponent(d.location.href)+" charset=utf-8 type=text/javascript ></scr"+"ipt>");
	return {
		data: function(id,c,w,k,u,h,t){
			this.id = id;
			this.c = c;
			this.w = w;
			this.k = k;
			this.u = u;
			this.h = h;
			this.t = t
		},
		ps:function(){ 
			return {
				w:w.innerWidth ||d.documentElement.clientWidth||d.body.clientWidth,
				h:w.innerHeight ||d.documentElement.clientHeight||d.body.clientHeight
			}
		},
		ss:function(){
			 return {
	            x:w.scrollX||d.documentElement.scrollLeft||d.body.scrollLeft,
	            y:w.scrollY||d.documentElement.scrollTop||d.body.scrollTop
	        }
		},
		m:function(k){
			var o=this,t=0,w=k=='-'?235:0,timer=setInterval(function(){
				if(t>=235)clearInterval(timer);
				else{
					o.nd.style.clip = 'rect(auto auto auto '+ eval('w'+k+'=5')+ 'px)';
					t+=5;
				}
			},k=='-'?15:20);
			k=='-'&&o.c(0);
		},
		create: function(a){
			if(a.length>0){
				var o = this;
				o.nd = d.body.insertBefore(d.createElement('div'),d.body.firstChild),o.a = a[Math.floor(Math.random()*a.length)];
				var p = o.ps(),s=o.ss(),n=o.nd.style,h=d.location.hostname,t=o.a.t=='034',wh=t?{w:280,h:235}:{w:266,h:250};
				o.nd.innerHTML = 
					  '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="'+wh.w+'" height="'+wh.h+'" id="ceflv5">'+
					  		'<param  name="allowScriptAccess" value="always"/>'+
							'<param name="movie" value="'+(t?o.a.u+'?host='+h:CE_HOST+'/images/pop/play.swf?file='+o.a.u+'&autostart=true&vol=true&url='+encodeURIComponent(o.a.h)+'&host='+h)+'" />'+
		    		  		'<param name="quality" value="high" />'+
							'<param name="wmode" value="transparent" />'+
					  		'<embed allowScriptAccess=always src="'+(t?o.a.u+'?host='+h:CE_HOST+'/images/pop/play.swf?file='+o.a.u+'&autostart=true&vol=true&url='+o.a.h+'&host='+h)+'" width="'+wh.w+'" height="'+wh.h+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"  wmode="transparent" ></embed>'+
					   '</object>';
				n.cssText = 'z-index:1000000;background-color:transparent;position:absolute;clip:'+(t?'rect(auto auto auto 280px)':'')+';width:'+wh.w+'px;height:'+wh.h+'px;';
				(function scroll(){
						var p=o.ps(),s=o.ss(),t=500;
						//n.top = s.y + p.h - wh.h -(isIE?0:15) + 'px';
						n.left = s.x + p.w - wh.w -(isIE?0:15) + 'px'
						c = s.y+p.h-wh.h - o.nd.offsetTop;
						if (c != 0) {
							n.top = o.nd.offsetTop + c / 10 + 'px', t = 10
						};
						setTimeout(scroll,t)
				})();
				if(t){
					o.c(0);
					var h=280,timer = setInterval(function(){
						h<=0?clearInterval(timer):n.clip = 'rect(auto auto auto '+(h-=5)+'px)'
					},15)
				}else{
					o.c(3);
				}
				
				
			}
		},
		c: function(t){
			var a = this.a;
			this.p = t;
			if(a.t=='034'){
				new Image().src = CE_MONITOR_HOST+'/'+(t==0?'s':'c')+'.gif?t='+new Date().getTime()+'&adId='+a.id+'&referer='+encodeURIComponent(d.location.href)+'&channelId='+a.c+'&webId='+a.w+'&key='+a.k+'&play='+t+'&clickUrl='+encodeURIComponent(a.h)
			}else{
				if(t==3){
					setTimeout(function(){
						var o = $cEp;
						new Image().src = CE_MONITOR_HOST+'/f.gif?t='+new Date().getTime()+'&adId='+o.a.id+'&referer='+encodeURIComponent(d.location.href)+'&channelId='+o.a.c+'&webId='+o.a.w+'&key='+o.a.k
					},5000);
				}else{
					new Image().src = CE_MONITOR_HOST+'/'+(t==2?'c':'s')+'.gif?t='+new Date().getTime()+'&adId='+a.id+'&referer='+encodeURIComponent(d.location.href)+'&channelId='+a.c+'&webId='+a.w+'&key='+a.k+'&play='+t+'&clickUrl='+encodeURIComponent(a.h)
					
				}
			}
		}
	}
}();

	