$(function(){if($(".hpTopBanner").size()>0){$(".hpTopBanner").flexslider({animation:"slide",animationDuration:5,slideshow:true,directionNav:false,slideshowSpeed:6000})}if($(".hpHotsale").size()>0){$(".hpHotsale").flexslider({animation:"slide",animationDuration:5,slideshow:true,directionNav:true,controlNav:false,slideshowSpeed:6000})}$(".hpTopChoose .htcTit a").tabBlcok2();if($(".hprSlides").size()>0){$(".hprSlides").flexslider({animation:"slide",animationDuration:5,slideshow:true,directionNav:true,controlNav:false,slideshowSpeed:6000})}if($(".hprSlides2").size()>0){$(".hprSlides2").flexslider({animation:"slide",animationDuration:1,slideshow:true,directionNav:true,controlNav:false,slideshowSpeed:6000})}$(".itemList ul li,.insedItemList ul li").hover(function(){$(this).find(".itemQuikSearch").show()},function(){$(this).find(".itemQuikSearch").hide()});$(".wx").hover(function(){$(this).siblings(".sqr").show()},function(){$(this).siblings(".sqr").hide()})});/*! Lazy Load 1.9.3 - MIT license - Copyright 2010-2013 Mika Tuupola */
!function(g,f,j,i){var h=g(f);g.fn.lazyload=function(e){function d(){var k=0;b.each(function(){var l=g(this);if(!a.skip_invisible||l.is(":visible")){if(g.abovethetop(this,a)||g.leftofbegin(this,a)){}else{if(g.belowthefold(this,a)||g.rightoffold(this,a)){if(++k>a.failure_limit){return !1}}else{l.trigger("appear"),k=0}}}})}var c,b=this,a={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:f,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return e&&(i!==e.failurelimit&&(e.failure_limit=e.failurelimit,delete e.failurelimit),i!==e.effectspeed&&(e.effect_speed=e.effectspeed,delete e.effectspeed),g.extend(a,e)),c=a.container===i||a.container===f?h:g(a.container),0===a.event.indexOf("scroll")&&c.bind(a.event,function(){return d()}),this.each(function(){var k=this,l=g(k);k.loaded=!1,(l.attr("src")===i||l.attr("src")===!1)&&l.is("img")&&l.attr("src",a.placeholder),l.one("appear",function(){if(!this.loaded){if(a.appear){var m=b.length;a.appear.call(k,m,a)}g("<img />").bind("load",function(){var p=l.attr("data-"+a.data_attribute);l.hide(),l.is("img")?l.attr("src",p):l.css("background-image","url('"+p+"')"),l[a.effect](a.effect_speed),k.loaded=!0;var o=g.grep(b,function(q){return !q.loaded});if(b=g(o),a.load){var n=b.length;a.load.call(k,n,a)}}).attr("src",l.attr("data-"+a.data_attribute))}}),0!==a.event.indexOf("scroll")&&l.bind(a.event,function(){k.loaded||l.trigger("appear")})}),h.bind("resize",function(){d()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&h.bind("pageshow",function(k){k.originalEvent&&k.originalEvent.persisted&&b.each(function(){g(this).trigger("appear")})}),g(j).ready(function(){d()}),this},g.belowthefold=function(d,b){var a;return a=b.container===i||b.container===f?(f.innerHeight?f.innerHeight:h.height())+h.scrollTop():g(b.container).offset().top+g(b.container).height(),a<=g(d).offset().top-b.threshold},g.rightoffold=function(d,b){var a;return a=b.container===i||b.container===f?h.width()+h.scrollLeft():g(b.container).offset().left+g(b.container).width(),a<=g(d).offset().left-b.threshold},g.abovethetop=function(d,b){var a;return a=b.container===i||b.container===f?h.scrollTop():g(b.container).offset().top,a>=g(d).offset().top+b.threshold+g(d).height()},g.leftofbegin=function(d,b){var a;return a=b.container===i||b.container===f?h.scrollLeft():g(b.container).offset().left,a>=g(d).offset().left+b.threshold+g(d).width()},g.inviewport=function(a,d){return !(g.rightoffold(a,d)||g.leftofbegin(a,d)||g.belowthefold(a,d)||g.abovethetop(a,d))},g.extend(g.expr[":"],{"below-the-fold":function(a){return g.belowthefold(a,{threshold:0})},"above-the-top":function(a){return !g.belowthefold(a,{threshold:0})},"right-of-screen":function(a){return g.rightoffold(a,{threshold:0})},"left-of-screen":function(a){return !g.rightoffold(a,{threshold:0})},"in-viewport":function(a){return g.inviewport(a,{threshold:0})},"above-the-fold":function(a){return !g.belowthefold(a,{threshold:0})},"right-of-fold":function(a){return g.rightoffold(a,{threshold:0})},"left-of-fold":function(a){return !g.rightoffold(a,{threshold:0})}})}(jQuery,window,document);$(function(){$("img.lazy").lazyload({threshold:100})});