|
|
<script language=JavaScript>
ad1= "老婆日记:他越来越棒";
link1= "http://noshow.adsina.allyes.com/main/adfclick?db=sina&bid=6571,25942,25982&cid=0,0,0&sid=26293&advid=1596&camid=5552&show=ignore&url=http://www.xunyi.com.cn/kehu/mmc/";
//左上
ad2= "你想长的更高吗?";
link2= "http://noshow.adsina.allyes.com/main/adfclick?db=sina&bid=6484,25844,25884&cid=0,0,0&sid=26200&advid=1744&camid=5528&show=ignore&url=http://travel.sina.com.cn/jumppage/wfj/index.htm";
//右上
ad3= "全外教英国大学直通车";
link3= "http://noshow.adsina.allyes.com/main/adfclick?db=sina&bid=7382,26983,27027&cid=0,0,0&sid=27215&advid=1740&camid=5768&show=ignore&url=http://www.ukex.net/";
//左下
ad4= "05年老百姓干啥最赚钱";
link4= "http://noshow.adsina.allyes.com/main/adfclick?db=sina&bid=6731,26132,26172&cid=0,0,0&sid=26462&advid=1696&camid=5634&show=ignore&url=http://sina.89178.com/";
//右下
//浏览器类型变量
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();
}
</script>
|
| | |