var SHOP_WINDOW=function(){"use strict";Date.now||(Date.now=function(){return+new Date}),Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,i=function(){},o=function(){return n.apply(this instanceof i?this:e,t.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(i.prototype=this.prototype),o.prototype=new i,o});var m=function(n){var e,i=[],t=document,o=t.documentElement,r=o.doScroll,a="DOMContentLoaded",s="addEventListener",l="onreadystatechange",c="readyState",d=(r?/^loaded|^c/:/^loaded|c/).test(t[c]);function u(e){for(d=1;e=i.shift();)e()}return t[s]&&t[s](a,e=function(){t.removeEventListener(a,e,!1),u()},!1),r&&t.attachEvent(l,e=function(){/^c/.test(t[c])&&(t.detachEvent(l,e),u())}),n=r?function(t){self!=top?d?t():i.push(t):function(){try{o.doScroll("left")}catch(e){return setTimeout(function(){n(t)},50)}t()}()}:function(e){d?e():i.push(e)}}();function d(e,t,n){var i=this;if(window.addEventListener)return e.addEventListener(t,function(e){n.call(i,e)},!1);e.attachEvent("on"+t,function(){var e=window.event;e.target=e.srcElement,n.call(i,e)})}function h(e){var t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n)}function o(e){return"[object Array]"===Object.prototype.toString.call(e)}function r(e){return"[object Object]"===Object.prototype.toString.call(e)}function w(e){if(o(e))return 0===e.length;if(i=e,"[object String]"===Object.prototype.toString.call(i))return""===e;if(r(e)){var t=0;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){t++;break}return 0===t}return!1;var i}function y(e){return null===e||e===undefined}function e(){function e(e){var t,n=1,i=0;if(e)for(n=0,t=e.length-1;0<=t;t--)n=0!=(i=266338304&(n=(n<<6&268435455)+(i=e.charCodeAt(t))+(i<<14)))?n^i>>21:n;return n}return(""+e(document.referrer)+(new Date).getTime()+e(document.cookie)).substr(0,32)}var b="QIHOO__WEB__SO__SHOP_WINDOW",v={multiColumnScene:{adNum:6}};window.QIHOO__WEB__UID||(window.QIHOO__WEB__UID=e()),window[b]||(window[b]={},window[b].UID=e(),window[b].displayShowId=[],window[b].elementName="qihooshopwindow"),window.QIHOO__WEB__DOUDI||(window.QIHOO__WEB__DOUDI=[]);var x=window[b],a=(window.QIHOO__WEB__DOUDI,window.QIHOO__WEB__UID),k=function(e,a,t){return t=t||/\{([^\{\}]*)\}/g,e.replace(t,function(e,t){var n=t.split("."),i=a;try{for(var o in n)n.hasOwnProperty(o)&&(i=i[n[o]])}catch(r){i=e}return"string"==typeof i||"number"==typeof i?i:e})},s='\n \n \n {title}\n \n {title}\n\n',l='\n \n {title}\n\n',c="info-div{\n display: block;\n}\n.gouwu-bottom{\nwidth: {width}px;\nfloat: left;\nmargin-bottom: 18px;\n}\n.blockItem{\n float: left;\nmargin: {margin}px;\n/*margin-top: {marginTop}px;\nmargin-left: {marginLeft}px;*/\nwidth: {itemWidth}px;\nheight: {itemHeight}px;\nborder: 1px solid #f6f6f6;\noverflow: hidden;\nposition: relative;\ncursor: pointer;\nbackground: #ccc;\n}\n\n.blockItemOne{\n float: left;\nmargin: {margin}px;\nwidth: {width}px;\nheight: {height}px;\n/*border: 1px solid #f6f6f6;*/\noverflow: hidden;\nposition: relative;\ncursor: pointer;\nbackground: #ccc;\n}\n.blockItemOne .img{\n position: absolute;\n top: 0;\n left: 0;\n transition: transform .2s ease-out;\nheight: {height}px;\nwidth: {width}px;\n\n}\n\n.blockItemOne .img:hover {\n transform: scale(1.05);\n transition: transform .2s ease-out;\n}\n\n\n.blockItem .img{\n position: absolute;\n top: 0;\n left: 0;\n transition: transform .2s ease-out;\nheight: {itemWidth}px;\nwidth: {itemWidth}px;\n}\n.blockItem .img:hover{\n transform: scale(1.05);\n transition: transform .2s ease-out;\n}\n.blockItem .blockItem-text{\n text-align: center;\n background: rgba(0, 0, 0, 0.4);\n height: 18px;\n position: absolute;\n bottom: 0px;\n text-shadow: 0px 0px 5px #000000, 2px 2px 10px #000000;\nwidth: {itemWidth}px;\npadding: 5px 0;\ncolor: #ffffff;\ntransition: bottom 0.5s ease;\n-webkit-transition: bottom 0.5s ease;\n-moz-transition: bottom 0.5s ease;\n-o-transition: bottom 0.5s ease;\nfilter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6000000', endColorstr='#e6000000',GradientType=0 );\nbackground-image: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0.6), 70%, rgba(255, 255, 255, 0));\nbackground-image: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0.6), 70%, rgba(255, 255, 255, 0));\nbackground-image: -o-linear-gradient(0deg, rgba(0, 0, 0, 0.6), 70%, rgba(255, 255, 255, 0));\nbackground-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), 70%, rgba(255, 255, 255, 0));\nbackground: linear-gradient(0deg, rgba(0, 0, 0, 0.6), 70%, rgba(255, 255, 255, 0));\n}\n.blockItem.hover .blockItem-text{\n color: #ffff00;\n}\n.blockItem .blockItem-text2{\n text-align: center;\n background: rgba(0, 0, 0, 0.6);\n height: 22px;\n position: absolute;\n bottom: -32px;\nwidth: {itemWidth}px;\npadding: 5px;\ncolor: #ffffff;\ntext-overflow: ellipsis;\nfont-size: 13px;\ncolor: #333333;\nline-height: 17px;\nwhite-space: nowrap;\noverflow: hidden;\ntext-align: center;\n}\n/*.blockItem:hover .blockItem-text {\n bottom: 0;\n background: url(https://p3.ssl.qhimg.com/t01f4e523f75d0d0ce8.gif) center center, rgba(255, 255, 255, 0.9);\n *background: #ffffff url(https://p3.ssl.qhimg.com/t01f4e523f75d0d0ce8.gif) center center;\n}*/\n\n/*.old-ie .item:hover .item-text:before {\n position: absolute;\n top: 0;\n left: -15px;\n right: 0;\n bottom: 0;\n content: url(https://p3.ssl.qhimg.com/t01f4e523f75d0d0ce8.gif); !* heart arise *!\n}*/\n.blockItem .blockItem-title {\n text-overflow: ellipsis;\n font-size: 13px;\n /*color: #333333;*/\n line-height: 18px;\n white-space: nowrap;\n overflow: hidden;\n text-align: center;\n padding: 0 5px;\n}\n.blockItem .blockItem-action {\n text-align: center;\n font-size: 14px;\n color: #1db69a;\n line-height: 18px;\n border: 1px solid #1db69a;\n /* width: 90%; */\n /* margin: auto; */\n margin-top: 5px;\n display: inline-block;\n padding: 0 10px;\n}\n\n\n\n\n\n.slide-column-pageup{\n width: 26px;\n height: 46px;\n margin-top: -35px;\n left: 0;\n position: absolute;\n top: 50%;\n z-index: 5;\n cursor: pointer;\n display: none;\n}\n.slide-column-pageup .arrowLeft{\n /* background-position: 0 0; */\n width: 26px;\n height: 46px;\n left: 0;\n top: 0;\n position: absolute;\n background-image: url(https://p2.ssl.qhimg.com/t01522ece2ff580414e.png);\n background-repeat: no-repeat;\n /* line-height: 200px; */\n overflow: hidden;\n z-index: 1;\n}\n.slide-column-pagedown .arrowRight{\n /* background-position: -40px 0; */\n width: 26px;\n height: 46px;\n left: 0;\n top: 0;\n position: absolute;\n background-image: url(https://p5.ssl.qhimg.com/t019fff14884580db69.png);\n background-repeat: no-repeat;\n /* line-height: 200px; */\n overflow: hidden;\n z-index: 1;\n}\n/* .slide-column-pageup .bg, .slide-column-pagedown .bg{\n width: 40px;\n height: 40px;\n opacity: .3;\n left: 0;\n top: 0;\n position: absolute;\n background-color: #000;\n filter: alpha(opacity=30);\n} */\n.slide-column-pagedown{\n width: 26px;\n height: 46px;\n margin-top: -35px;\n right: 0;\n position: absolute;\n top: 50%;\n z-index: 5;\n cursor: pointer;\n display: none;\n}\n\n\n.title-bar{\n background: rgba(0, 0, 0, 0.4);\n position: absolute;\n text-align: center;\n bottom: 5px;\n width: 100%;\n color: white;\n text-shadow: 0px 0px 5px #000000, 2px 2px 10px #000000;\n padding: 5px 0px 5px 0px;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n background-image: -webkit-linear-gradient(0deg, rgba(0, 0, 0, 0.6), 70%, rgba(255, 255, 255, 0));\n background-image: -moz-linear-gradient(0deg, rgba(0, 0, 0, 0.6), 70%, rgba(255, 255, 255, 0));\n background-image: -o-linear-gradient(0deg, rgba(0, 0, 0, 0.6), 70%, rgba(255, 255, 255, 0));\n background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.6), 70%, rgba(255, 255, 255, 0));\n background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), 70%, rgba(255, 255, 255, 0));\n filter: progid:DXImageTransform.Microsoft.Gradient(enabled=\"true\", GradientType=0,StartColorstr=#FF000000, EndColorstr=#FF000000);\n}\n\n.shortTitle{\n width: 100%;\n line-height: 38px;\n text-align: center;\n font-size: 20px;\n font-weight: 700;\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.hidden{\n display: none;\n}\n";function I(e,t){if(o(e))for(var n=0;n=n.length&&(o.blockMarginLeft=0);var t=function(e,t,n){if(e){if(2==n.tplid&&3==n.custom){var i="https:"==document.location.protocol?"https":"http";e.img=i+"://imgx.mediav.com/rimg.png?img="+e.img+"&size="+n.w+"x"+n.h}var o={title:e.desc,curl:e.curl,prefix:t,price:e.price,img:e.img,marginTop:n.marginTop,overflow:n.blockOverFlow,textDisplay:n.textDisplay,text2Display:n.text2Display,blockMarginBottom:n.blockMarginBottom};return n.blockMarginLeft&&(o.blockMarginLeft="margin-right:"+n.blockMarginLeft+"px"),"rect_300_500"===n.size?o.isHidden="hidden":o.isHidden="",2==n.tplid?(3==n.custom&&(o.isHidden="hidden"),k(l,o)):k(s,o)}}(e,i,o);a++,t=pe.fill(t,e),r.push(t)}),a=0}return r.join("")},update:function(e,t){document.getElementById(e);var n=window.adsData||[],i=this.dealFinalData(n,[],e,t),o="";n.adstk&&(o=n.adstk.join(",")),y(n.src)||"360搜索"==n.src&&(document.getElementById(e+"-adMark").style.display="none"),document.getElementById(e+"-info-content").innerHTML=''+i+' ',document.getElementById(e+"-loading").style.display="none",setTimeout(function(){!function(e,t){var n=document.getElementById(e),i=document.getElementById(t);te(n,i),d(window,"scroll",K(te.bind(this,n,i),10))}(e+"-info",e+"-wrapper")},1e3),1'),o[s]&&c.push(this.renderFeed(o[s],n,i)),c.push(""),l.push(c.join(""))}return l.join("")},initEvent:function(e,t){document.getElementById(e);n(e,t)},sliderShow:function(o,e){var t,n=e,r=0,i=document.getElementById(o+"-info"),a=document.getElementById(o+"-wrapper");function s(e){var t=document.getElementById(o+"-wrapper"),n=parseInt(t.style.marginLeft),i=setInterval(function(){0<=n?(r-=100)<=-e&&(r=-e,clearInterval(i)):n<0&&0<=(r+=100)&&(r=0,clearInterval(i)),t.style.marginLeft=r+"px"},10)}function l(){t=setInterval(function(){s(n.w),setTimeout(function(){te(i,a)},500)},5e3)}l(),d(document.getElementById(o+"sliderLeft"),"click",function(e){s(n.w),setTimeout(function(){te(i,a)},500)}),d(document.getElementById(o+"sliderRight"),"click",function(e){s(n.w),setTimeout(function(){te(i,a)},500)}),d(document.getElementById(o),"mouseenter",function(e){clearInterval(t)}),d(document.getElementById(o),"mouseleave",function(e){l()}),d(document,"visibilitychange",function(e){"hidden"==document.visibilityState?clearInterval(t):"visible"==document.visibilityState&&l()})}};return function(e){x.displayShowId.push(e.showid);var t="magicCube";e.inject="inlay",e.style=t,e.layout="magicCubeScene";var n=e.size.split("_"),i=parseInt(n[1]),o=n[0];if("square_300"==e.size&&(e.row=2,e.line=2,e.w=300,e.h=300,e.blockOverFlow="hidden",e.blockMarginBottom=0,e.textDisplay="block",e.text2Display="none"),"custom"==o&&(e.row=2,e.line=2,e.w=i,e.h=i,e.blockOverFlow="hidden",e.blockMarginBottom=0,e.textDisplay="block",e.text2Display="none"),"custom"==o&&3==n.length){var r=parseInt(n[1]),a=parseInt(n[2]),s=parseInt(r/a);e.custom=3,e.row=1,e.line=s,e.blockWidth=r,e.w=r,e.h=a}"rect_300_500"==e.size&&(e.row=3,e.line=2,e.w=300,e.h=500),"rect_300_250"==e.size&&(e.row=2,e.line=2,e.w=300,e.h=250,e.blockMarginBottom=4,e.blockMargin=0);var l=e.row,c=e.line,d=e.w/c;e.margin=5,e.blocks=l*c,e.height=e.h,e.blockWidth=d-2*e.margin,v.multiColumnScene.adNum=e.blocks,e.silder=1,e.marginTop=(e.h-d*l)/(l+1),e.marginLeft=(e.w-d*c)/(c+1),e.marginTop<5&&(e.marginTop=4),e.marginLeft<5&&(e.marginLeft=4),"rect_300_250"==e.size&&(e.blockWidth=d-2),3==e.custom&&(e.w=r,e.h=a,e.blockWidth=a,e.blockMargin=0,e.blockMarginLeft=(r-(s*a+2*s))/(s-1)-2),document.createElement(x.elementName),h(x.elementName+"{display:block;} "+x.elementName+" .img{background-size:cover;background-repeat:no-repeat;}"),document.createElement("info-div");var u=b+(new Date).getTime();x[u]={};var f=[];f.push(' '),f.push(' '),f.push(' 正在为您努力加载...'),f.push(" "),f.push(' '),f.push(" "),f.push(' ');var p=[];p.push("<"+x.elementName+' class="'+x.elementName+' {id}" id="{id}" style="width:{width}px;height:{boxHeight}px;font-size:14px;overflow:hidden;display:block;margin:0;padding:0;overflow:hidden;position:relative;text-align:left;">'),p.push(f.join("")),p.push(""+x.elementName+">");var g=k(p.join(""),{id:u,width:e.w,height:e.h,boxHeight:e.height,marginTop:e.marginTop||12,infoHeight:e.userConf&&!e.userConf.isShowTab?e.h:e.h-42});w(e.placeholderId)||y(e.placeholderId)?(document.write(g),ge.initDOM(u,e),ge.initEvent(u,e)):m(function(e,t,n){try{document.getElementById(e.placeholderId).innerHTML=n,t.initDOM(u,e),t.initEvent(u,e)}catch(i){}}.bind(this,e,ge,g))}}();
;