function loadMoreFn(e){function t(){u=!1,l.innerHTML="",Element.addClass(l,"on"),r++,setTimeout(function(){E?(u=!0,l.innerHTML="加载更多",Element.removeClass(l,"on"),n()):o(),r>=h-1&&(s?(E=!1,p=10):(l.style.display="none",c&&(c.style.display="block")))},p)}function n(){h>r&&Element.addClass(v[r],"on")}function o(){d++,m.jsonp({url:s+"&p="+d,success:function(e){e.isloading?(l.innerHTML="加载更多",Element.removeClass(l,"on"),u=!0):(l.style.display="none",c&&(c.style.display="block")),e.count&&i(e.context)}})}function i(e){function t(t){var n="",a="";"video"==f?n="http://thumb1.yokacdn.com/p?w=373&h=230&cut=1&wt=0&f="+e[t].picture:"list"==f?(a="g-list",n="http://thumb1.yokacdn.com/p?w=373&h=300&cut=1&wt=0&f="+e[t].picture):t%o==0||t%o==1?(a="g-list big",n="http://thumb1.yokacdn.com/p?w=570&h=425&cut=1&wt=0&f="+e[t].picture):(a="g-list",n="http://thumb1.yokacdn.com/p?w=373&h=300&cut=1&wt=0&f="+e[t].picture),"video"==f?(i+='
"):(i+='")}for(var n=e.length,o=n/2,i="",l=0;n>l;l++)t(l);var c=document.createElement("div");c.innerHTML=i,a.appendChild(c)}var a=$$(e.box)||null,l=$$(e.more),c=$$(e.page)||null,s=e.url||"",d=0,r=-1,u=!0,m=Request(),f=e.type||"",v=getChild.className("hideBox",a),h=v.length||0,p=500,E=!0;0==h&&(E=!1),Event.add(l,"click",function(){u&&(u=!1,t())})}function navAside(e,t,n,o){var i=document.getElementById(e)||null,n=document.getElementById(n)||null,a=document.getElementById(o)||null,l=document.getElementById(t)||null;i&&n&&t&&(Event.add(n,"click",function(){Element.addClass(i,"on"),l.style.display="block"}),Event.add(a,"click",function(){Element.removeClass(i,"on"),l.style.display="none"}))}function changeNew(e,t,n){function o(){for(var e=0;c>e;e++)Element.removeClass(l[e],"on");Element.addClass(l[s],"on")}var i=document.getElementById(e),a=document.getElementById(t),l=getChild.all(a),c=l.length,s=n||0;i&&a&&c&&(o(),i.onselectstart=function(){return!1},Event.add(i,"click",function(){s>=c-1?s=0:s++,o()}))}function floatBox(e){function t(){for(var e=0;e=d?d=c-1:d--,n(d)}),Event.add(a,"click",function(){d>=c-1?d=0:d++,n(d)})}function tryCountdown(e){function t(e){var t=a[e].getAttribute("data-time");t&&(t=parseInt(t),n(t,a[e]),a[e].timer=setInterval(function(){t?(t--,n(t,a[e])):clearInterval(a[e].timer)},1e3))}function n(e,t){{var n=Math.floor(e/86400),i=Math.floor((e-3600*n*24)/3600),a=Math.floor((e-24*n*60*60-3600*i)/60),l=Math.floor(e-24*n*60*60-3600*i-60*a),c=o(n),s=o(i),d=o(a);o(l)}t.innerHTML=""+c+" 天 "+s+" 时 "+d+" 分"}function o(e){var t=""+e,n=t.length;return 2>n&&"0"!=t&&(t=0+t),t}var i=$$(e);if(i){var a=getChild.label("countdown",i),l=a.length;if(l)for(var c=0;l>c;c++)t(c)}}function tryMobile(e){function t(e){Event.add(a[e],"mouseover",function(){n(e)}),Event.add(l[e],"mouseover",function(){n(e)}),Event.add(a[e],"mouseout",function(){o(e)}),Event.add(l[e],"mouseout",function(){o(e)})}function n(e){l[e]&&(Element.addClass(a[e],"on"),l[e].style.display="block")}function o(e){l[e]&&(Element.removeClass(a[e],"on"),l[e].style.display="none")}var i=$$(e);if(i){var a=getChild.className("mobile",i),l=getChild.className("mobLay",i),c=l.length;if(c)for(var s=0;c>s;s++)t(s)}}function selectSearch(e){this.oBox=$$(e.box),this.oInput=$$(e.input),this.bBtn=!0,this.btn=!1,this.timer=null}function editHomeFn(){function e(){v=setTimeout(function(){Element.removeClass(a,"on")},40)}function t(){clearTimeout(v),Element.addClass(a,"on")}function n(){Element.removeClass(c[m],"on"),Element.addClass(c[u],"on"),m=u}function o(e,t){for(var n=[],o=new RegExp("(^| )"+e+"( |$)"),i=$$(t,"*"),a=0;au?(u++,n()):(u=0,f++,f>10&&(clearInterval(r),l.style.display="none"))},100))}}function changeSwitch(e){function t(){c&&(c.innerHTML=""+(u+1)+"/"+d)}function n(){m&&f.start({left:-u*s[0].offsetWidth});for(var e=0;d>e;e++)m||Element.removeClass(s[e],"on");Element.addClass(s[u],"on"),a&&(0>=u?Element.addClass(a,"on"):Element.removeClass(a,"on")),l&&(u>=d-1?Element.addClass(l,"on"):Element.removeClass(l,"on")),t()}function o(){u>=d-1?u=0:u++,n()}var i=$$(e.box),a=$$(e.left),l=$$(e.right),c=$$(e.index)||null,s=(e.callback||null,i.children),d=s.length,r=e.time||0,u=0,m=e.type?!0:!1,f=Anima(i),v=null;m&&(i.style.width=s[0].offsetWidth*d+"px"),t(),a&&Event.add(a,"click",function(){r?0>=u?u=d-1:u--:u>0?u--:u=0,n()}),l&&Event.add(l,"click",function(){r?u>=d-1?u=0:u++:d-1>u?u++:u=d-1,n()}),Event.add(i,"mouseover",function(){clearInterval(v)}),Event.add(i,"mouseout",function(){r&&(v=setInterval(o,1e3*r))}),a&&(Event.add(a,"mouseover",function(){clearInterval(v)}),Event.add(a,"mouseout",function(){r&&(v=setInterval(o,1e3*r))})),l&&(Event.add(l,"mouseover",function(){clearInterval(v)}),Event.add(l,"mouseout",function(){r&&(v=setInterval(o,1e3*r))})),r&&(v=setInterval(o,1e3*r))}function rightFixed(e){Event.add(window,"load",function(){function t(){if(r=document.documentElement.clientWidth||document.body.clientWidth,u=document.documentElement.clientHeight||document.body.clientHeight,h=document.documentElement.scrollTop||document.body.scrollTop,h>=f){if(E&&1863>r)return void Element.removeClass(i,"active");var e=(r-1180>0?(r-1180)/2+(1180-i.offsetWidth-10):1180-i.offsetWidth-10,Math.min(h+u-v+p,1*d+p));Element.addClass(i,"active"),v-i.offsetHeight-p=0)return n}}var i=$$(e)||null;if(i){var a=o(i,"g-content"),l=n("gLeft",a)[0]||null,c=n("gRight",a)[0]||null,s=n("public_footer",document)[0],d=s?s.offsetHeight:0,r=document.documentElement.clientWidth||document.body.clientWidth,u=document.documentElement.clientHeight||document.body.clientHeight,m=navigator.appVersion.indexOf("MSIE 6")>-1,f=Element.getPosition(i).y,v=Element.getPosition(s).y,h=document.documentElement.scrollTop||document.body.scrollTop,p=40,E=i.className.indexOf("right_fixed")>=0?!0:!1;i.className.indexOf("right_adBox")>=0&&(p=384),l&&c&&(l.offsetHeightn;n++){var i=document.createElement("div");i.className="fcut",i.innerHTML=n==t-1&&d?r:'",o.appendChild(i)}}function n(e,t){var n=document.getElementsByTagName("head")[0],o=document.createElement("script"),i=/[\?]/g.test(e)?"&":"?";o.async=!0,o.src=e+i+"callback="+t,n.appendChild(o)}var o,i,a,l,c,s=2,d=((new Date).getTime(),!0),r="";window.todayNews=e}(),selectSearch.prototype={init:function(){var e=this;Event.add(e.oInput,"click",function(t){var t=t||event;e.bBtn?e.show():e.hide(),t.cancelBubble=!0}),Event.add(e.oInput,"mouseout",function(){e.hide()}),Event.add(e.oBox,"mouseout",function(){e.hide()}),Event.add(e.oBox,"mouseover",function(){e.btn&&e.show()}),Event.add(e.oInput,"mouseover",function(){e.btn&&e.show()}),Event.add(document,"click",function(){e.hide()}),Event.add(window,"resize",function(){e.bBtn||e.resize()})},show:function(){clearTimeout(this.timer),this.resize(),this.oBox.style.display="block",this.bBtn=!1,this.btn=!0},resize:function(){var e=Element.getPosition(this.oInput).x,t=Element.getPosition(this.oInput).y+this.oInput.offsetHeight;this.oBox.style.cssText+=";left:"+e+"px;top:"+t+"px;"},hide:function(){var e=this;this.timer=setTimeout(function(){e.oBox.style.display="none",e.bBtn=!0,e.btn=!1},100)}};var through={chart:function(e){var t,n,o=e.url,i=[],a=[],l=0,c=Request(),s="";Domready(function(){t=$$(e.infoBox),n=$$(e.score),t&&n&&c.jsonp({url:o,success:function(o){function c(e){var t=document.createElement("li"),o=""+a[e].name+'
'+a[e].reward+"";t.innerHTML=o,n.appendChild(t)}if(i=o.chart,a=o.brandReward,l=a.length,s=""+o.reward+"",s+='
',s+=""+o.commentCount+"人评分
",t.innerHTML=s,n.innerHTML="",l)for(var d=0;do;o++){var i='
';i+='",i+="¥"+e[o].price+"",i+='",i+=''+e[o].commentNum+"心得
",i+="";var a=document.createElement("dl");a.innerHTML=i,t.appendChild(a)}}function o(e,t){for(var n=[],o=new RegExp("(^| )"+e+"( |$)"),i=$$(t,"*"),a=0;a