|
|
|
 |
ad1= "亚运新新家园·紫庐";
link1= "http://www.mm345.netsina.allyes.com/main/adfclick?db=sina&bid=45678,72232,72282&cid=0,0,0&sid=68501&advid=2654&camid=10577&show=ignore&url=http://www.mm345.netwww.162club.com";
//左上
ad2= "北戴河别墅代表作";
link2= "http://www.mm345.netsina.allyes.com/main/adfclick?db=sina&bid=45679,72233,72283&cid=0,0,0&sid=68502&advid=2654&camid=10577&show=ignore&url=http://www.mm345.netwww.beidaihevilla.com.cn/";
//右上
ad3= "家用电脑秀外更要惠中";
link3= "http://www.mm345.netsina.allyes.com/main/adfclick?db=sina&bid=46130,72777,72826&cid=0,0,0&sid=68993&advid=2335&camid=10651&show=ignore&url=http://www.mm345.netad4.sina.com.cn/zhuyan/zhuyan/b.htm";
//左下
ad4= "东二环超值写字楼";
link4= "http://www.mm345.netsina.allyes.com/main/adfclick?db=sina&bid=46160,72812,72861&cid=0,0,0&sid=69025&advid=3031&camid=10428&show=ignore&url=http://www.mm345.netwww.jiahuahengshun.com/kehu/dongjiu/index_zhuajie.html";
//右下
//浏览器类型变量
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
//ie内容
function IEad(){
adCode = ‘‘
document.write(adCode);
document.getElementById(‘ad_note‘).SetVariable("ad1", ad1);
document.getElementById(‘ad_note‘).SetVariable("ad2", ad2);
document.getElementById(‘ad_note‘).SetVariable("ad3", ad3);
document.getElementById(‘ad_note‘).SetVariable("ad4", ad4);
document.getElementById(‘ad_note‘).SetVariable("link1", link1);
document.getElementById(‘ad_note‘).SetVariable("link2", link2);
document.getElementById(‘ad_note‘).SetVariable("link3", link3);
document.getElementById(‘ad_note‘).SetVariable("link4", link4);
}
//ns内容
function NSad(){
adCode = ‘‘
document.write(adCode);
}
//主过程
if(InternetExplorer == true){
IEad();
}else{
NSad();
}
|
 | | | |