var test = window.location.pathname; if(test!="/"&&test!="/index.html") { (function($){ $.cachedScript = function(url, cache, callback) { $.ajax({type: 'GET', url: url, success: callback, dataType: 'script', ifModified: true, cache: cache});}; })(jQuery); (function($){ $.fn.ADTOPLB = function(sUrl, image_urls){ var ClassName = "ADTOPLB_"+ parseInt(Math.random()*1000); SetHtml(sUrl,ClassName, image_urls); $.cachedScript("http://js.queqh.com/dagg/js/jquery.SuperSlide.2.1.1.js", true, function(){ jQuery("."+ClassName).slide({mainCell:".bd ul",effect:"left",autoPlay:true,easing:"easeInQuint",interTime:5000}); }); } function SetHtml(sUrl,sClass, image_urls){ var width=1920; //灞忓箷瀹藉害 var bodyWidth=$(document.body).width(); var n=( bodyWidth/ width); var height = 400 * n; var jumpWidth=50*n; var jumpHeight=50*n; var jumpFontSize=30*n; var jumpTop=230*n; var jumpLeft=145*n; var sCss = '