'+e+"")):(d.removeAttr("class"),d.html('"+e+""))}switch(a){case "tab_detail":S.one("#detail_all").parent().show();S.one("#comm_all").show();S.one("#question_all").show();S.one("#comm_title").show();S.one("#question_title").show();
break;case "tab_comm":S.one("#detail_all").parent().hide();S.one("#comm_title").hide();S.one("#question_all").hide();S.one("#comm_all").show();break;case "tab_question":S.one("#detail_all").parent().hide(),S.one("#question_all").show(),S.one("#comm_all").hide(),S.one("#question_title").hide()}return!1}function clearHistory(){KISSY.use("anim,node",function(a){a.io.get("/clearhistory.aspx",function(b){"OK"==b&&(a.one("#history").fadeOut(),a.one("#historytitle").fadeOut())})})}
function ShowPic(a){KISSY.use("ua,event,node,overlay,button",function(b,c,d,e,g){function f(){b.log("ie center");h.get("visible")&&h.center()}var h=new g.Dialog({elCls:"my",elStyle:{position:6==c.ie?"absolute":"fixed"},bodyContent:'',mask:!0,draggable:!0,align:{points:["cc","cc"]},closeAction:"destroy"});h.on("destroy",function(){d.detach(window,"scroll",f)});h.show();if(6==c.ie)d.on(window,"scroll",f)})}
function Quehuo(){CloseDialog();KISSY.use("ua,event,overlay",function(a,b,c,d){function e(){dialog.get("visible")&&dialog.center()}dialog=new d.Dialog({width:326,headerContent:"\u7f3a\u8d27\u767b\u8bb0",bodyContent:'',mask:!0,align:{points:["cc","cc"]},draggable:!1,aria:!0,closeAction:"destroy",elStyle:{position:6==b.ie?"absolute":"fixed"}});dialog.on("destroy",function(){c.detach(window,
"scroll",e)});if(6==b.ie)c.on(window,"scroll",e);dialog.show()})}
function ConfirmOrder(a){var b=KISSY;KISSY.io.get("/mytaoshu.aspx",{action:"ConfirmOrder",oid:a},function(c){"OK"==c?window.location="/user/myorders.aspx":b.all(".myorder_popup_main").html('\u786e\u8ba4\u6536\u8d27\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5
')})};