 |
// <![CDATA[
ad1= "由牛奶引发的一场运动"; link1= "http://sina.allyes.com/main/adfclick?db=sina&bid=54979,83558,83641&cid=0,0,0&sid=78322&advid=2747&camid=11833&show=ignore&url=http://www.mngy.com.cn/"; //左上 ad2= "蒙牛早餐奶挑战主持人"; link2= "http://sina.allyes.com/main/adfclick?db=sina&bid=54987,83566,83649&cid=0,0,0&sid=78330&advid=1832&camid=12023&show=ignore&url=http://www.mnzwn.com"; //右上 ad3= "阳光公寓 十月现房"; link3= "http://sina.allyes.com/main/adfclick?db=sina&bid=55558,84267,84349&cid=0,0,0&sid=78908&advid=2683&camid=11249&show=ignore&url=http://www.yxgj.cn/"; //左下 ad4= "由牛奶引发的一场运动"; link4= "http://sina.allyes.com/main/adfclick?db=sina&bid=53763,82020,82095&cid=0,0,0&sid=77018&advid=2747&camid=11833&show=ignore&url=http://www.mngy.com.cn/"; //右下 //浏览器类型变量 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(); }
// ]]> |
 |