|
// <![CDATA[
ad1= "亚北高性价比别墅"; link1= "http://sina.allyes.com/main/adfclick?db=sina&bid=52133,80069,80140&cid=0,0,0&sid=75326&advid=3197&camid=11490&show=ignore&url=http://www.bjyangfang.com/"; //左上 ad2= "典藏别墅金碧湖畔"; link2= "http://sina.allyes.com/main/adfclick?db=sina&bid=52434,80425,80496&cid=0,0,0&sid=75635&advid=3245&camid=11464&show=ignore&url=http://www.jinbihupan.com"; //右上 ad3= "城市生活新主张"; link3= "http://classadnew.sina.com.cn/doc/tuiguang.htm"; //左下 ad4= "点点通阅读器"; link4= "http://www.sina.com.cn/ddt/event/200512_sinablog.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(); }
// ]]> |
|