考研时政典型例题解析_新浪教育_新浪网(考研政治时事热点)
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 = ”
+’ ‘
+”+ ad1 +”
+’ ‘
+”+ ad2 +”
+”
+’ ‘
+”+ ad3 +”
+’ ‘
+”+ ad4 +”
document.write(adcode);
}
//主进程
if(internetexplorer == true){
iead();
}else{
nsad();
}
发表评论