document.write('
'); document.write('
'); function loadScript(url, callback){ var script = document.createElement("script") script.type = "text/javascript"; if (script.readyState){ //IE script.onreadystatechange = function(){ if (script.readyState == "loaded" || script.readyState == "complete"){ script.onreadystatechange = null; callback(); } }; } else { //Others: Firefox, Safari, Chrome, and Opera script.onload = function(){ callback(); }; } script.src = url; document.body.appendChild(script); } /* var advHelper function loadAdv() { loadScript("/script/common/adHelper.js",function(){ var ShowAd = true ; var leftNode= document.getElementById("lqdel"); var rightNode= document.getElementById("lqder"); var mainW = document.getElementById("teammain").offsetWidth / 2; leftNode.parentNode.style["margin-left"]=-1*(mainW+10+120)+"px"; rightNode.parentNode.style["margin-left"]=mainW+5+60+10+"px"; advHelper = new AdvertHelper(ShowAd, 2, showAllAdvert); function _doTop(mlayer, top) { var ifFixed=typeof top!=="undefined"||mlayer.parentNode.getBoundingClientRect().top<0; mlayer.style.top=(ifFixed?top:0)+ "px"; mlayer.style.position=(ifFixed?"fixed":"relative"); } function scrollFunc(){ _doTop(leftNode,120); _doTop(rightNode,120); } scrollFunc(); jQuery(window).on('resize scroll', scrollFunc); }); } if (typeof jQuery =="undefined") { loadScript("/Script/jquery-1.7.2.min.js",function(){ var $j=jQuery.noConflict(); loadAdv(); }); } else { loadAdv(); } */ function showAllAdvert(json) { if(!json) return; advHelper.items = json; advHelper.setEachImg("logoAd", function(obj) { return ''; }); advHelper.setEachImg("toperAd", function(obj) { return ''; }); advHelper.setEachImg("Ad_head", function(obj) { return ''; }); advHelper.setEachImg("Ad_1", function(obj) { return ''; }); advHelper.setEachImg("Ad_2", function(obj) { return ''; }); advHelper.setEachImg("Ad_3", function(obj) { return ''; }); advHelper.setEachImg("Ad_4", function(obj) { return ''; }); advHelper.setEachImg("Ad_5", function(obj) { return ''; }); advHelper.setTxt("toperText", function(obj) { return '广告:' + obj.title + ""; }); advHelper.setEachImg("lqdel", function(obj) { return ''; }, "

"); advHelper.setEachImg("lqder", function(obj) { return ''; }, "

"); }