var partnertop="";
var partnerdomain=escape(document.domain);
var partnerurl=escape(document.URL);
var partnerfoot="";
var partnerad_leave="";
var partnerad_search="";
스위치(파트너 도메인) {
케이스 'www.flashku.com':
partnertop="/flashku_top.js";
partnerfoot="/foot.js";
partnerad_leave="";
partnerad_search="";
sitealert="0";
휴식;
케이스 'flash.xixi168.com':
partnertop="http://www.xixi168.com/flash/flashtopjs.js";
partnerfoot="http://www.xixi168.com/flash/flashbootjs.js";
partnerad_leave="";
partnerad_search="";
sitealert="0";
휴식;
사례 'www.myflash.cn':
partnertop="http://sys.shanke.cn/ads/myflash/js/myflash_top.js";
partnerfoot="http://sys.shanke.cn/ads/myflash/js/myflash_foot.js";
partnerad_leave="http://sys.shanke.cn/ads/myflash/js/myflash_leave2.js";
partnerad_search="";
sitealert="0";
휴식;
케이스 'myflash.shanke.cn':
partnertop="http://sys.shanke.cn/ads/myflash/js/myflash_top.js";partnerfoot="http://sys .shanke.cn/ads/myflash/js/myflash_foot.js";partnerad_leave="http://sys.shanke.cn/ads/myflash/js/myflash_leave2.js";partnerad_search="";sitealert="0" ;부서지다;
케이스 'flash.chinese.com':
partnerfoot="/foot.js";
partnertop="/chinese_top.js";
partnerad_leave="/js/leave.js";
partnerad_search="";
sitealert="0";
휴식;
케이스 'flash.cdream.net':
partnertop="http://www.cdream.net/inc/flash_top.js";
partnerfoot="http://www.cdream.net/inc/cr.js";
partnerad_leave="";
partnerad_search="";
sitealert="0";
휴식;
기본값:
partnertop="/flashku_top.js";
partnerfoot="/foot.js";
partnerad_leave="";
partnerad_search="";
sitealert="1";
휴식;
}
//document.write(partnerurl);
//以下实现当域为www.flashku.com时候让首页单独调用一个自己的js,当不想要这个功能时可以
//partnerdomain=="www. flashku.com"后면随便写个不存재域name 比如www.sohu.com
if(partnerdomain=="www.flashku.com")
{
if(partnerurl=="http://www .flashku.com/index.htm")
{
partnertop="/flashku_top_index.js"
}
if(partnerurl=="http://www.flashku.com")
{
partnertop="/flashku_top_index.js"
}
if(partnerurl=="http://www.flashku.com/")
{
partnertop="/ flashku_top_index.js"
}
if(partnerurl=="http://www.flashku.com/headtest.htm")
{
partnertop="/flashku_top_index. js"
} } else {
> partnertop = partnertop
ocument.write ( "& lt; sc" "ript src ="partnerAd_leave ">");
document.write ("");
document.write ("");