
var wrongJIDMap=[];wrongJIDMap[206170000]=[106190000];wrongJIDMap[106190000]=[206170000];wrongJIDMap[206160000]=[106200000];wrongJIDMap[106200000]=[206160000];wrongJIDMap[107130000]=[207020000];wrongJIDMap[207020000]=[107130000];function refreshHeader()
{if(top.topfra&&("function"==typeof(top.topfra.strongFir)))
{top.topfra.strongFir();}
else return;};function frameChange(mallno)
{if(top.topfra&&("function"==typeof(top.topfra.mainFrameChange)))
{top.topfra.mainFrameChange(mallno);}
else
{function loadMall()
{function loadMain()
{mainFrameChange(mallno);}
var url="http://imgcache.qq.com/qqshow/v2/js/inc/qqshow_header.js";var o=new GetJs(url,loadMain,loadMain);o.init();}
var u="http://imgcache.qq.com/qqshow/v2/js/mk/mall.js";var a=new GetJs(u,loadMall,loadMall);a.init();}};function setSexFn(sUserSex)
{if("F"==sUserSex)
{document.getElementById("sex_m").setAttribute("href","javascript:swapS();");document.getElementById("sex_f").removeAttribute("href");}
else
{document.getElementById("sex_m").removeAttribute("href");document.getElementById("sex_f").setAttribute("href","javascript:swapS();");}};function swapS()
{if('function'==typeof(top.leftfra.SwitchAvSex))top.leftfra.SwitchAvSex(true);return;};function swapItemType(i,type)
{if(wrongJIDMap[top.g_iMallNo])
{top.g_iMallNo=wrongJIDMap[top.g_iMallNo][0];frameChange(top.g_iMallNo);refreshHeader();return;}
top.g_iMallNo=parseInt(((parseInt(QUSER.getStyle(),10)+1)+top.g_iMallNo.toString().substr(1,4)+"0000"),10);if(location.href.indexOf("/mall/inc/item.html")!=-1)
{top.mainfra.tabChange(top.g_iMallNo);}
else if(location.href.indexOf("mall/inc/red_beans.html")!=-1)
{top.mainfra.tabChange(top.g_iMallNo);}
else if(location.href.indexOf("mall/inc/act_hot.html")!=-1)
{top.mainfra.init();}
else if(location.href.indexOf("/inc/main.html")!=-1)
{location.reload();}
else if(location.href.indexOf("/my/inc/item.html")!=-1)
{swapStyle();}
else if(location.href.indexOf("/rank/inc/hot.html")!=-1)
{refreshHtml(0);}
else if(location.href.indexOf("/my/inc/home.html")!=-1)
{init();}
else if(location.href.indexOf("/mall/inc/sa_nike.html")!=-1)
{location="/inc/main.html";}
else if(location.href.indexOf("/mall/inc/sys_suc.html")!=-1)
{return;}
else if(location.href.indexOf("/mall/inc/sys_fail.html")!=-1)
{return;}
else if(location.href.indexOf("/mall/inc/vip_index.html")!=-1)
{location.reload();}
else if(location.href.indexOf("/mall/inc/suit.html")!=-1)
{return;}
else if(location.href.indexOf("/my/inc/friend_item.html")!=-1)
{return;}
else if(location.href.indexOf("/js/item_detail/")!=-1)
{return;}
else if(location.href.indexOf("/my/inc/recmdview.html")!=-1)
{return;}
else if(location.href.indexOf("/live/free/free.html")!=-1)
{location.reload();}
else if(location.href.indexOf("/live/free/list.html")!=-1)
{location.reload();}
else if(location.href.indexOf("/mall/inc/set_detail.html")!=-1)
{return;}
else if(location.href.indexOf("/mall/inc/commend_club.html")!=-1)
{return;}
else
{frameChange(top.g_iMallNo);}
refreshHeader();return;};function swapSex(type)
{if(top.g_iMallNo)
{if(location.href.indexOf("/mall/inc/item.html")!=-1)
{top.g_iMallNo=parseInt(top.g_iMallNo/10000,10)*10000;top.mainfra.tabChange(top.g_iMallNo);}
else if(location.href.indexOf("/mall/inc/item_clothes.html")!=-1){top.g_iMallNo=parseInt(top.g_iMallNo/10000,10)*10000;top.mainfra.tabChange2(top.g_iMallNo);}
else if(location.href.indexOf("/mall/inc/emotion.html")!=-1)
{top.mainfra.initList();}
else if(location.href.indexOf("/mall/inc/commend_set.html")!=-1)
{top.mainfra.ChangeType(0);}
else if(location.href.indexOf("/mall/inc/red_beans.html")!=-1)
{top.mainfra.reLoadBeanJs();}
else if(location.href.indexOf("/mall/inc/qqshow_xp_classical.html")!=-1||location.href.indexOf("/mall/inc/qqshow_xp_fad.html")!=-1)
{top.mainfra.loadJs();}
else if(location.href.indexOf("/mall/inc/mall_subject_")!=-1)
{top.mainfra.mainFrameChange(top.g_iMallNo);}
else if(location.href.indexOf("/mall/inc/commend_club.html")!=-1)
{top.mainfra.Init();}
else return;}
return;};function selectCss(array,k,css)
{for(var i=0;i<array.length;i++)
{if(i==k)
{array[i].setAttribute("class",css);array[i].setAttribute("className",css);}
else
{array[i].setAttribute("class","");array[i].setAttribute("className","");}}};function swapType(i)
{if('function'==typeof(top.leftfra.ChangeAvStyle))top.leftfra.ChangeAvStyle(parseInt(i,10),true);return;};function ShowSearchRecommend()
{var sSearchRecm='';if(typeof(arySearchRecommend)!="undefined"&&arySearchRecommend.length>0)
{for(i=0;i<arySearchRecommend.length;i++)
{sSearchRecm+='<a href="/mall/inc/search_set.html?keyword='+escape(arySearchRecommend[i])+'">'+escape(arySearchRecommend[i])+'</a> ';}}
document.getElementById("ID_hotword").innerHTML=sSearchRecm.escNone();};function SendRcmdSet(cmd,uin,id)
{if(CheckLogin(1))
{FloatShow("http://show.qq.com/mall/inc/don_mul.html?cmd="+cmd+"&uin="+uin+"&id="+id,434,356,null,null,0,-100);}};function AskRcmdSet(cmd,uin,id)
{if(CheckLogin(1))
{FloatShow("http://show.qq.com/mall/inc/req_mul.html?cmd="+cmd+"&uin="+uin+"&id="+id,434,346,null,null,0,-100);}};function AddCollectionRcmdSet(show_sn)
{if(CheckLogin(1))
{ShowCollectionAdd([show_sn,"我的收藏","","",0]);}}
function printFoot()
{var strHtml="";strHtml+='<div class="copyright" id="copyright">';strHtml+='<div class="menu">';strHtml+='<a href="http://www.tencent.com/" target="new">关于腾讯</a> | <a href="http://www.tencent.com/index_e.shtml" target="new">AboutTencent</a> | <a href="http://www.qq.com/contract.shtml" target="new">服务条款</a> | <a href="http://www.tencent.com/adver/" target="new">广告服务</a> | <a href="http://hr.tencent.com/" target="new">腾讯招聘</a> | <a href="http://service.qq.com/" target="new">客服中心</a> | <a href="http://www.qq.com/map/" target="new">网站导航</a>';strHtml+='</div>';strHtml+='<strong class="num">Copyright &copy; 1998 - 2008 Tencent Inc. <a href="http://www.tencent.com.hk/law/mo_law_e.shtml?/law/copyright_e.htm" target="new" class="clink">All Rights Reserved</a></strong><br />';strHtml+='腾讯公司 <a href="http://www.tencent.com/law/mo_law.shtml?/law/copyright.htm" target="new" class="clink">版权所有</a> ';strHtml+='</div>';document.write(strHtml.escNone());return;};function sendPgv()
{function pageView()
{if('function'==typeof(pgvMain))
{pgvMain("",{statIframe:true});}}
var sUrl="http://pingjs.qq.com/ping.js";var o=new GetJs(sUrl,pageView);o.init();}
function addCharactor(itemCharactor,mallCharactor)
{var code="";var iCharator=parseInt(itemCharactor,10);if(parseInt(mallCharactor,10)==iCharator)return"";else
{switch(iCharator)
{case 1:code='<sup class="new_item">新</sup>';break;case 2:code='<sup class="hot_item">热</sup>';break;case 10:code='<sup class="se_item">精</sup>';break;case 4:code='<sup class="lover_item">情侣</sup>';break;case 11:code='<sup class="prize_item">奖</sup>';break;case 12:code='<sup class="gift_item">赠</sup>';break;case 21:code='<sup class="free_item">免费</sup>';break;case 20:code='<sup class="s_3">3折</sup>';break;case 5:code='<sup class="s_5">5折</sup>';break;case 6:code='<sup class="s_6">6折</sup>';break;case 8:code='<sup class="s_8">8折</sup>';break;}}
return code;}
function GoMatch_m(iNo,ext1)
{_pgvSendClick("ISD.QQShow.BaiBian.BBDP_Out_Main");var iMatchSex=QUSER.getAvSex()=="F"?0:1;if((ext1&4)>0)
window.location="/mall/inc/suit.html?itemno="+iNo+"&sex="+iMatchSex;else
return;}
function checkCanMatch_m(ext1)
{if((ext1&4)>0)
return true;return false;}/*  |xGv00|da8504f73842dba3d3c5e3be3e24867b */