ad1= “首付10万买写字楼”;
link1= “http://sina.allyes.com/main/adfclick?db=sina&bid=34259,58955,58999&cid=0,0,0&sid=56548&advid=2634&camid=8961&show=ignore&url=http://hengrun.wellasia.org/”;
//左上
ad2= “荣尊堡2005经典回想”;
link2= “http://sina.allyes.com/main/adfclick?db=sina&bid=34526,59262,59307&cid=0,0,0&sid=56823&advid=2628&camid=9012&show=ignore&url=http://www.chateau-glory.com/tck/060113/hg.htm”;
//右上
ad3= “芝华士12年末细”;
link3= “http://sina.allyes.com/main/adfclick?db=sina&bid=34961,59732,59780&cid=0,0,0&sid=57266&advid=2684&camid=9118&show=ignore&url=http://ad4.sina.com.cn/rwei/chivas0124.html”;
//左下
ad4= “夏新首售双核笔记本!”;
link4= “http://adclient.dentsu.com.cn/html.ng/adspec=Flash&adtype=button&affiliate=sina&campaignid=300&channel=F1&log=0¶ms.styles=clickcmd?”;
//右下
//阅读器类型变量
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();
}
|