function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i"); document.write(""); document.write(""); document.write(""); document.write(""); if(transparent==1) document.write(""); document.write(""); document.write(""); } function DrawImage(ImgD,w,h){ xwidth=w; xheight=h; var image=new Image(); image.src=ImgD.src; if(image.width>0 && image.height>0){ flag=true; if(image.width/image.height>= xwidth/xheight){ if(image.width>xwidth){ ImgD.width=xwidth; ImgD.height=(image.height*xwidth)/image.width; }else{ ImgD.width=image.width; ImgD.height=image.height; } } else{ if(image.height>xheight){ ImgD.height=xheight; ImgD.width=(image.width*xheight)/image.height; }else{ ImgD.width=image.width; ImgD.height=image.height; } } } } function guanggao(width,height,name,pic,links){ var textheight=0 var focus_width=width var focus_height=height var swf_height = focus_height var names=name var pics=pic document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); document.write(""); } function findisok(obj){ if(obj.keyword.value=="Find it ." || obj.keyword.value=="Find a products") obj.keyword.value=""; return true; } function findisok2(obj){ if(obj.keyword.value=="Find a member") obj.keyword.value=""; return true; } function tick() { var hours, minutes, seconds, xfile; var intHours, intMinutes, intSeconds; var today, theday; today = new Date(); function initArray(){ this.length=initArray.arguments.length for(var i=0;i+Down Load Catalog"; } $(function() { var timer = true; /** 返回顶部 **/ /* $(window).scroll(function() { var t = $(document).scrollTop(); var $totop = $("#totop"); if (t > 90) { $totop.fadeIn(500); } else { $totop.fadeOut(500); } }); */ $('#totop').click(function() { $("html,body").animate({scrollTop:0}, 200); }); $(".proddetail11_2 a").click(function() { $(".proddetail11_2 a").removeClass("this"); $(this).addClass("this"); }); $(".smalllist1 a").click(function() { $(".smalllist1 a").removeClass("this"); $(this).addClass("this"); }); });