Copy codeThe Code is as follows: var partnertop = "";
Var partnerdomain = escape (document. domain );
Var partnerurl = escape (document. URL );
Var partnerfoot = "";
Var partnerad_leave = "";
Var partnerad_search = "";
Switch (partnerdomain ){
Case 'www .flashku.com ':
Partnertop = "/flashku_top.js ";
Partnerfoot = "/foot. js ";
Partnerad_leave = "";
Partnerad_search = "";
Sitealert = "0 ";
Break;
Case '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 ";
Break;
Case '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 ";
Break;
Case '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"; break;
Case 'Flash .chinese.com ':
Partnerfoot = "/foot. js ";
Partnertop = "/chinese_top.js ";
Partnerad_leave = "/js/leave. js ";
Partnerad_search = "";
Sitealert = "0 ";
Break;
Case '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 ";
Break;
Default:
Partnertop = "/flashku_top.js ";
Partnerfoot = "/foot. js ";
Partnerad_leave = "";
Partnerad_search = "";
Sitealert = "1 ";
Break;
}
// Document. write (partnerurl );
// The following implementation allows the homepage to call its own js when the domain is www.flashku.com. If you do not want this function, you can
// Partnerdomain = "www.flashku.com" followed by a nonexistent domain name such as www.sohu.com
If (partnerdomain = "www.flashku.com ")
{
If (partnerurl = "http % 3A // www.flashku.com/index.htm ")
{
Partnertop = "/flashku_top_index.js"
}
If (partnerurl = "http % 3A // www.flashku.com ")
{
Partnertop = "/flashku_top_index.js"
}
If (partnerurl = "http % 3A // www.flashku.com /")
{
Partnertop = "/flashku_top_index.js"
}
If (partnerurl = "http % 3A // www.flashku.com/headtest.htm ")
{
Partnertop = "/flashku_top_index.js"
}
}
Else
{
Partnertop = partnertop
}
Document. write ("<SC" + "ript src =" + partnerad_leave + "> </SC" + "ript> ");
Document. write ("<SC" + "ripsrc =" + partnertop + "> </SC" + "ript> <iframe height = '0px 'width = '0px 'scrolling =' no 'frameborder = '0' src = '/google.htm'> </iframe> ");
Document. write ("<SC" + "ript src =" + partnerad_search + "> </SC" + "ript> ");