$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('<scr'+'ipt  src='+CE_HOST+'/data/pdata1.js?url='+h+' charset=utf-8 ></scr'+'ipt>');
	return {
		data: function(id, cid, wid,k,furl,turl,title,type,as, vol){
			this.id = id;
			this.cid = cid;
			this.wid = wid;
			this.key = k;
			this.furl = furl;
			this.turl = turl;
			this.title = title;
			this.type = type||'033';
			this.as = as || true;
			this.vol = vol || true
		},
		ps:function(){ 
			return {
				w:(w.innerWidth || d.documentElement.clientWidth || d.body.clientWidth) * 1,
				h:(w.innerHeight || d.documentElement.clientHeight || d.body.clientHeight) * 1
			}
		},
		ss:function(){
			 return {
	            x: (w.pageXOffset||d.documentElement.scrollLeft||d.body.scrollLeft)*1,
	            y: (w.pageYOffset||d.documentElement.scrollTop||d.body.scrollTop)*1
	        }
		},
		create: function(a){
			var o = this;
			o.domReady(function (){
						var nd = d.body.appendChild(d.createElement('div'));
						o.a = a,p = o.ps(),s=o.ss(),n=nd.style;
						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="346" height="312" id="ceflv5">'+
			    			  '<param   name="allowScriptAccess"   value="always"/><param name="movie" value="'+CE_HOST+'/images/pop/'+(a.type=='033'?'ceflv5':'ceflv6')+'.swf?file='+a.furl+'&autostart='+a.as+'&vol='+a.vol+'&url='+a.turl+'&host='+h+'" />'+
			        		  '<param name="quality" value="high" /><param name="wmode" value="transparent" />'+
			    			  '<embed allowScriptAccess=always src="'+CE_HOST+'/images/pop/'+(a.type=='033'?'ceflv5':'ceflv6')+'.swf?file='+a.furl+'&autostart='+a.as+'&vol='+a.vol+'&url='+a.turl+'&txt='+a.title+'&host='+h+'" width="346" height="312" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" wmode="transparent"></embed></object>';
						n.cssText = 'position:'+(isIE?'absolute':'fixed')+';top:'+(p.h-(isIE?312:313))+'px;left:'+(p.w-(isIE?350:367))+'px;z-index:10000;';
						isIE&&(w.attachEvent('onscroll',function(){
							var p = o.ps(),s=o.ss();
							n.top = p.h-312 + s.y + 'px';
							n.left = p.w-350+s.x + 'px';
						}));
						w.onresize = function(){
							var p = o.ps(),s=o.ss();
							n.top = p.h-(isIE?320:330)+(isIE?s.y:'')+ 'px';
							n.left = p.w - (isIE?350:367)+(isIE?s.x:'') + 'px'
						}
					})
		},
		domReady:isIE?function(fn){
		   d.write("<s"+'cript id="ie-deferred-loader" defer="defer" src="/'+'/:"></s'+"cript>");
           var defer = $("ie-deferred-loader");
           defer.onreadystatechange = function(){
                		this.readyState == "complete"&&fn();
                	}
            }:function(fn){d.addEventListener("DOMContentLoaded", fn, false)},
		c: function(t){
			var a = this.a;
			new Image().src = CE_MONITOR_HOST+'/f.gif?t='+new Date().getTime()+'&adId='+a.id+'&referer='+encodeURIComponent(d.location.href)+'&channelId='+a.cid+'&webId='+a.wid+'&key='+a.key+'&play='+t
		}
	}
}();
