ad1= “新托福考试决胜宝典”;
link1= “http://noshow.adsina.allyes.com/main/adfclick?db=sina&bid=10908,31456,31499&cid=0,0,0&sid=31341&advid=1832&camid=6041&show=ignore&url=http://www.ets.org/tpochina32.html”;
//左上
ad2= “外经贸大远程学历热招”;
link2= “http://noshow.adsina.allyes.com/main/adfclick?db=sina&bid=9120,29270,29313&cid=0,0,0&sid=29309&advid=1832&camid=6041&show=ignore&url=http://www.euibe.com”;
//右上
ad3= “对日就业班热招”;
link3= “http://noshow.adsina.allyes.com/main/adfclick?db=sina&bid=10909,31457,31500&cid=0,0,0&sid=31342&advid=1832&camid=6041&show=ignore&url=http://www.topxue.com/web/fjh/softhr/pxkc.html”;
//左下
ad4= “朗阁雅思寒假报疯了!”;
link4= “http://noshow.adsina.allyes.com/main/adfclick?db=sina&bid=9121,29271,29314&cid=0,0,0&sid=29310&advid=1832&camid=6041&show=ignore&url=http://www.longre.com/ielts/longre.asp”;
//右下
//浏览器类型变量
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();
}
|
发表评论