(function(){ var adx={ commom:{}, core:{} }; adx.commom={ adxJsonp:function(url){ var oS=document.createElement('script'); oS.src=url; var oHead=document.getElementsByTagName('head')[0]; oHead.appendChild(oS); }, generateCookie:function(){ return 'HAIYUNX_'+Math.random().toString(36).substring(2)+new Date().getTime(); }, getWinWidth:function(){ return document.documentElement.clientWidth; }, getWinHeight:function(){ return document.documentElement.clientHeight; }, sourceurl:function(){ return encodeURIComponent(document.referrer); }, targetUrl:function(){ return encodeURIComponent(document.location); }, t:function(){ return +new Date(); }, setCookie:function(name,value,time){ if(time){ var oDate = new Date(); oDate.setTime(oDate.getTime() + expire * 864e5); document.cookie=name + "=" + value + ";expires=" + oDate.toGMTString()+";path=/"; }else{ if(window.localStorage){ localStorage.setItem(name,value); }else{ document.cookie=name + "=" + value + ";path=/"; } } }, getCookie:function(name){ if(window.localStorage){ return localStorage.getItem(name); }else{ return (name = (document.cookie).match("\\b" + name + "=([^;]*)\\b")) ? name[1] : undefined; } } }; adx.core={ getFromData:function(pid){ var jsonp=adx.commom.adxJsonp, processingtime=adx.commom.t(), sourceurl=adx.commom.sourceurl(), targeturl=adx.commom.targetUrl(), sW=adx.commom.getWinWidth(), sH=adx.commom.getWinHeight(), g_cookie=adx.commom.generateCookie; var parameter='{"publisherid":"'+pid+'","sourceurl":"'+sourceurl+'","targeturl":"'+targeturl+'","screenwidth":"'+sW+'","screenheight":"'+sH+'","processingtime":"'+processingtime+'"}'; document.write('')!=-1){ document.writeln("
"+url+"
"); }else{ document.writeln("
"); } }catch(e){} } adx.core.getFromData("12466"); })();