
function addCharactor(itemCharactor,mallCharactor)
{var iCharactor=itemCharactor.toString();var code="";if(mallCharactor==itemCharactor)
{return"";}
else
{switch(iCharactor)
{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;}
if(itemCharactor=="a")
code='<sup class="super_item">绝</sup>';}
return code;}
function addSpecial(itemCharactor)
{var code="<%new_tag%>"
switch(itemCharactor)
{case'2':code='<sup class="discount_item">特</sup>';break;case'3':code='<sup class="vip2">lv2专属</sup>';break;}
return code;}
function MM_preloadImages(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=MM_preloadImages.arguments;for(i=0;i<a.length;i++)
if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}};function ACCTPAYSuccMessage(sItemBuy,sItemNoBuy,iPriceAcc,iPriceQD,iPriceGWQ,sMessage)
{var aPrice=getCartPrice(CartVector(sItemBuy));var aPayInfo=[];if(iPriceGWQ>0)
{aPayInfo.push("购物券中扣除了"+QBPrice(iPriceGWQ)+"个购物券");}
if(iPriceAcc>0)
{aPayInfo.push("个人帐户的Q币中扣除了"+QBPrice(iPriceAcc)/10+"个Q币");}
if(iPriceQD>0)
{aPayInfo.push("Q点帐户中扣除了"+iPriceQD/10+"个Q点");}
if(0==iPriceGWQ&&0==iPriceAcc&&0==iPriceQD)
{aPayInfo.push("个人账户中扣除了 0 Q币。");}
var sPayInfo=(aPayInfo.length>0)?("共从您的"+aPayInfo.join(" ")+"。"):("");var sMessage="您此次共购买了"+aPrice[3]+"件QQ秀。"+sPayInfo;return sMessage;}
function view(no,dirUrl)
{if(top.topfra&&top.mainfra)
{frameChange(no);}else
{window.open("http://show.qq.com/show.html?MUrl="+(dirUrl).escUrl(),"_blank");}};if(!top.g_iMallNo)
{top.g_iMallNo=parseInt(getURLParam("mallno"),10);}
var no=top.g_iMallNo;var dataArr;function getNavList(iNo)
{var aNav=new Array();while(mallMenu[iNo])
{aNav[aNav.length]=mallMenu[iNo];aNav[aNav.length-1][5]=iNo;iNo+=100;}
return aNav;}
function initThirNav()
{if(!top.g_iMallNo)top.g_iMallNo=201010000;var iNo=parseInt(top.g_iMallNo/10000,10)*10000+100;var aArray=new Array();while(mallMenu[iNo])
{aArray[aArray.length]=getNavList(iNo);iNo=parseInt(iNo/1000,10)*1000+2100;}
var sHtmlTpl=document.body.innerHTML.between("<!--TPL.LIST1","TPL.LIST1-->");var sHead=sHtmlTpl.between("<%--LB--%>","<%--EB--%>");var sBody1=sHtmlTpl.between("<%--EB--%>","<%--EC--%>");var sBody2=sHtmlTpl.between("<%--EC--%>","<%--EE--%>");var sTail=sHtmlTpl.between("<%--EE--%>","<%--LE--%>");var sOutHtml="";var iThirNavNum=0;for(var i=0;i<aArray.length;i++)
{sOutHtml+=sHead;for(var j=0;j<aArray[i].length;j++)
{if(j==0)sOutHtml+=sBody1.replace(/<%style%>/g,aArray[i][j][1]);else
{if((aArray[i][j][4].toString().length==0)||(aArray[i][j][4].toString()==QUSER.getAvSex()))
{if(j>1)sOutHtml+="|";sOutHtml+=sBody2.replace(/<%nav_name%>/g,aArray[i][j][1]).replace(/<%nav_mallno%>/g,aArray[i][j][5]).replace(/<%css%>/g,(parseInt(aArray[i][j][5].toString().substr(5,2),10)==parseInt(top.g_iMallNo.toString().substr(5,2),10)?"now":(((top.g_iMallNo%10000==0)&&(iThirNavNum==1))?"now":"")));}}
iThirNavNum++;}
sOutHtml+=sTail;}
if(iThirNavNum>0)
{document.getElementById("menu_class_3_m").innerHTML=sOutHtml.escNone();document.getElementById("menu_class_3_t").style.display="";document.getElementById("menu_class_3_m").style.display="";document.getElementById("menu_class_3_f").style.display="";}
else
{document.getElementById("menu_class_3_m").innerHTML="";document.getElementById("menu_class_3_t").style.display="none";document.getElementById("menu_class_3_m").style.display="none";document.getElementById("menu_class_3_f").style.display="none";}}
function initForthNav()
{var iNo=parseInt(top.g_iMallNo/100,10)*100+1;if(parseInt(top.g_iMallNo.toString().substr(7,2),10)==0&&mallMenu[iNo])
{top.g_iMallNo=iNo;initList();}
var sHtmlTpl=document.body.innerHTML.between("<!--TPL.LIST2","TPL.LIST2-->");var sHead=sHtmlTpl.between("<%--HD--%>","<%--LB--%>");var sBody=sHtmlTpl.between("<%--EB--%>","<%--EE--%>");var sTail=sHtmlTpl.between("<%--LE--%>","<%--TL--%>");var sOutHtml=sHead;var iForthNavNum=0;while(mallMenu[iNo])
{if(parseInt(iNo%100,10)>1)sOutHtml+="|";sOutHtml+=sBody.replace(/<%name%>/g,mallMenu[iNo][1]).replace(/<%nav_mallno%>/g,iNo).replace(/<%css%>/g,(parseInt(iNo.toString().substr(7,2),10)==parseInt(top.g_iMallNo.toString().substr(7,2),10)?"now":""));iNo+=1;iForthNavNum++;}
sOutHtml+=sTail;if(iForthNavNum>0)
{document.getElementById("menu_class_4").innerHTML=sOutHtml.escNone();document.getElementById("menu_class_4").style.display="";}}
function load()
{var iPage=1;if(getHashParam("pno").length>0)iPage=parseInt(getHashParam("pno"),10);try
{DSAsystem();DSAInit();var sex="F";if(QUSER)
{sex=QUSER.getAvSex();}
var id=mallMenu[top.g_iMallNo][0];dataArr=eval(("item"+id+"_"+sex).escNone());printList(dataArr,iPage);}
catch(e)
{}}
function loadJs()
{var sex="F";if(QUSER)sex=QUSER.getAvSex();var id=mallMenu[top.g_iMallNo][0];var url="http://imgcache.qq.com/qqshow/v2/js/mall/qqshow_mall_"+id+"_"+sex+".js";var o=new GetJs(url,load,load);o.init();}
function tabChange(n)
{dataArr=[];top.g_iMallNo=n;setHashParam("pno",1);initItem();}
function initList()
{selectCss(document.getElementById("ID_sort").getElementsByTagName("a"),0,"em");document.getElementById("list").innerHTML="";document.getElementById("ID_page").innerHTML="";if(top.g_iMallNo)no=parseInt(top.g_iMallNo,10);else return;if(isNaN(no)||no.toString().length!=9)return;if((no%1000000==0)&&(mallMenu[no+10000]))no+=10000;while(!mallMenu[no]||(mallMenu[no][4].length>0&&(mallMenu[no][4]!="N"&&mallMenu[no][4]!=QUSER.getAvSex())))
{if(no%1000000==0)break;else no-=10000;}
if(!mallMenu[no])
{no=101010000;frameChange(no);return;}
else if(mallMenu[no][2].length>5)
{frameChange(no);return;}
if((mallMenu[no][4].toString().length>0)&&(mallMenu[no][4].toString()!=QUSER.getAvSex()))
no=parseInt((no.toString().substr(0,5)+"0000"),10);if(top.g_iMallNo!=no)
{top.g_iMallNo=no;frameChange(no);}
var sex=QUSER.getAvSex();setSexFn(sex);if(top.g_iMallNo.toString().length==9)
{fillTemple();}
else
{location="/inc/main.html";}}
function fillTemple()
{var style=1;if("undefined"!=typeof(QUSER))style=QUSER.getStyle();top.g_iMallNo=parseInt((style+1).toString()+top.g_iMallNo.toString().substr(1,8));if(top.g_iMallNo.toString().substr(1,8).indexOf("04050000")!=-1)
top.g_iMallNo+=200;loadJs();};function itemDiscription(x)
{if(x==2)
{return"<a href=\"javascript:view(208010000,'http://show.qq.com/mall/inc/vip_index.html')\" class=\"em\">红钻</a>价：<ins><%vpricePage%> Q币</ins>";}else
{return"<a href=\"javascript:view(208010000,'http://show.qq.com/mall/inc/vip_index.html')\" class=\"em\">红钻免费保存形象</a>";}};function _pgvSendClick(tag)
{if(typeof(pgvSendClick)=='function')
pgvSendClick({hottag:tag});}
function GoMatch(iNo,iType)
{_pgvSendClick("ISD.QQShow.BaiBian.BBDP_Out");var iMatchSex=QUSER.getAvSex()=="F"?0:1;var sUrl="/mall/inc/suit.html?itemno="+iNo+"&sex="+iMatchSex;if(iType&&iType==1){if(top&&top.mainfra)top.mainfra.location=sUrl;}
else{window.location=sUrl;}}
function checkCanMatch(ext1)
{if((ext1&4)>0)
return true;return false;}
var g_perPage=30;function printList(arr,pagenum)
{var sHtml=document.body.innerHTML.between("<!--TPL.LIST3","TPL.LIST3-->");if(top.g_iMallNo=="212020000"||top.g_iMallNo=="212060000"||top.g_iMallNo=="212020200"||top.g_iMallNo=="212020300"||top.g_iMallNo=="212020400"||top.g_iMallNo=="112020000"||top.g_iMallNo=="112060000"||top.g_iMallNo=="112020200"||top.g_iMallNo=="112020300"||top.g_iMallNo=="112020400")
{sHtml=document.body.innerHTML.between("<!--TPL.LIST4","TPL.LIST4-->");document.getElementById("list").setAttribute("class","clearfix item_single_btn");document.getElementById("list").setAttribute("className","clearfix item_single_btn");}
var iPage=1;var iItemPerPage=g_perPage;var iTotalPageNum=Math.ceil(dataArr.length/iItemPerPage);if(pagenum)iPage=parseInt(pagenum,10);var sItemNo=getURLParam("itemno");if(sItemNo)
{for(var k=0;k<dataArr.length;k++)
{if(parseInt(dataArr[k][0],10)==parseInt(sItemNo,10))
{iPage=parseInt(k/iItemPerPage,10)+1;break;}}}
setHashParam("pno",iPage);var iBegin=(iPage-1)*iItemPerPage;var iEnd=Math.min(iBegin+iItemPerPage,dataArr.length);var oParent=document.getElementById("list");var style=1;if("undefined"!=typeof(QUSER))style=QUSER.getStyle();function showOldPrice(v)
{if(QUSER.getInfo("vip")==1||GetUin()<=10000)
{return'<li class="old_price"><del>价&nbsp;&nbsp;格：'+QBPrice(v)+'Q币</del></li>';}
else
{return'<li class="old_price">价&nbsp;&nbsp;格：'+QBPrice(v)+'Q币</li>';}}
function showNewPrice(v)
{if(QUSER.getInfo("vip")==1||GetUin()<=10000)
{if(v[0]==2)
{return'<li class="now_price">红钻价：'+QBPrice(v[1])+'Q币</li>';}
else if(v[0]==3)
{return'<li class="now_price vip_price"><strong><a onclick="pgvSendClick({hottag:\'ISD.QQshow.VipMain.84TipFree2\'});" href="http://paycenter.qq.com/cgi-bin/showopenservice.cgi?service_type=qqshow" target="_blank">红钻</a></strong>LV2免费</li>';}else
{return'<li class="now_price vip_price"><strong><a onclick="pgvSendClick({hottag:\'ISD.QQshow.VipMain.84TipFree2\'});" href="http://paycenter.qq.com/cgi-bin/showopenservice.cgi?service_type=qqshow" target="_blank">红钻</a></strong>免费穿</li>';}}
else
{if(v[0]==2)
{return'<li class="now_price">红钻价：'+QBPrice(v[1])+'Q币</li>';}
else if(v[0]==3)
{return'<li class="now_price vip_price"><strong><a onclick="pgvSendClick({hottag:\'ISD.QQshow.VipMain.84TipFree2\'});" href="http://paycenter.qq.com/cgi-bin/showopenservice.cgi?service_type=qqshow" target="_blank">红钻</a></strong>LV2免费</li>';}
else
{return'<li class="now_price vip_price"><strong><a onclick="pgvSendClick({hottag:\'ISD.QQshow.VipMain.84TipFree2\'});" href="http://paycenter.qq.com/cgi-bin/showopenservice.cgi?service_type=qqshow" target="_blank">红钻</a></strong>免费穿</li>';}}}
function showClubPrice(v)
{if(GetUin()>10000&&QUSER.getInfo("club")==1)
return'<li class="qqvip_price">QQ会员：'+QBPrice(v)+'Q币</li>';else
return'';}
var mapName=[['0','<%no%>'],['1','<%discription%>',itemDiscription],['0','<%img%>',function(v){return"http://qqshow2-item.qq.com/"+v+"/00/00/";}],['0','<%img_css%>',function(v){return style==0?"old":""}],['14','<%itemname%>',function(v){return v.asccut(8).escHtml();}],['12','<%sex%>'],['11','<%playno%>'],['3','<%pose%>'],['4','<%posebind%>'],['8','<%x%>'],['9','<%y%>'],['5','<%bmove%>'],['6','<%brot%>'],['7','<%bselc%>'],['21','<%bspecial%>'],['16','<%price%>'],['17','<%vprice%>'],['16','<%pricePage%>',QBPrice],['17','<%vpricePage%>',QBPrice],['1','<%type%>'],[['1','16','17','0','25'],'<%item_main_price%>',function(v){return showMainPrice(v);}],['16','<%item_old_price%>',function(v){return showOldPrice(v);}],['17','<%item_club_price%>',function(v){return showClubPrice(v);}],[['1','17'],'<%item_new_price%>',function(v){return showNewPrice(v);}],['0','<%slogo%>',function(v){return"";}],["12","<%sexname%>",function(v){return SexWord(v)}],["15","<%vtime%>",toExpTime],["14","<%name%>",function(v){return v.escScript().escHtml();}],['0','<%from%>',function(v){return top.g_iMallNo;}],['1','<%new_tag%>',function(v){return addSpecial(v);}],["20","<%new_tag%>",function(v){return addCharactor(v,mallMenu[mallNo][7]);}],["0","<%COMMENT_B%>",function(v){return(DSAsystem.DSAdata[0]==0?"":"<\!--");}],["0","<%COMMENT_E%>",function(v){return(DSAsystem.DSAdata[0]==0?"":"--\>");}],['18','<%discount%>'],['19','<%vip_discount%>'],['25',"<%display%>",function(v){return"none";}],['@abs(I)','<%imgno%>',function(v){return(v%30);}],['16','<%button1_display%>',function(v){return v>0?"":"none"}],['16','<%button2_display%>',function(v){return v>0?"none":""}]];var itemCss='item_84_84';if("undefined"!=typeof(QUSER))style=QUSER.getStyle();top.g_iMallNo=parseInt((style+1).toString()+top.g_iMallNo.toString().substr(1,8));mallNo=top.g_iMallNo;if(!isNaN(mallNo)&&mallMenu[mallNo][6]!=undefined&&mallMenu[mallNo][6].length>0){itemCss=mallMenu[mallNo][6];}
sHtml=sHtml.replace(/<%itemCss%>/g,itemCss);if(itemCss=="item_140_140")
{oParent.className="item_140_ol clearfix";}
else if(itemCss=="item_90_120")
{oParent.className="item_90_ol clearfix";}else if(itemCss=="item_110_165")
{oParent.className="item_140_ol clearfix";}else if(itemCss=="item_84_84")
{oParent.className="clearfix";}
showQQSHOWData(dataArr,oParent,sHtml,mapName,iBegin,iEnd,4);showQQSHOWPage(iPage,iTotalPageNum,function(n){return"javascript:printList(dataArr,"+n+");";},document.getElementById("ID_page"),0);refreshMatchItem(iPage);prevItem('list','li');if("undefined"!=typeof(QUSER))
style=QUSER.getStyle();top.g_iMallNo=parseInt((style+1).toString()+top.g_iMallNo.toString().substr(1,8));var mallNo=top.g_iMallNo;if(!isNaN(mallNo)&&mallMenu[mallNo][6]!=undefined&&mallMenu[mallNo][6].length>0)
{document.getElementById("list").className+=" "+mallMenu[mallNo][6]+"_ol";}
window.scrollTo(0,0);};function refreshMatchItem(pno){var iItemNo;function fnSucc(xmlDoc){var ob=xmlDoc.getElementsByTagName("QQSHOW")[0];changeMatchItem(iItemNo,ob.getAttribute("show"),ob.getAttribute("time"),ob.getAttribute("sid"));};function fnFail(xmlDoc){};function partSortArray(iBegin,iEnd,arr)
{var newArr=[];for(var i=iBegin,j=0;i<iEnd;i++,j++)
{newArr[j]=arr[i];}
return newArr.sort(function sortFunction2(x,y){return parseInt(y[23],10)-parseInt(x[23],10)});}
if(g_bMatchItem){var iSex=QUSER.getAvSex()=="F"?0:1;var iBegin=g_perPage*(pno-1),iEnd=iBegin;var tmpArr=[];while(true)
{if(dataArr.length-iBegin>g_perPage){iEnd+=g_perPage;}
else{iEnd=dataArr.length;}
tmpArr=partSortArray(iBegin,iEnd,dataArr);for(i=0;i<tmpArr.length;i++){if((tmpArr[i][25]&(iSex+1))>0){if(tmpArr[i][0]==matchItem[0]){changeMatchItem(matchItem[0],matchItem[1],matchItem[2],matchItem[3]);return;}
iItemNo=tmpArr[i][0];getQQSHOWXml("http://show.qq.com/cgi-bin/qqshow_match_single_figure?itemno="+iItemNo+"&sex="+iSex,fnSucc,fnFail,fnFail);return;}}
if(iEnd==dataArr.length){break;}
iBegin=iEnd;}}}
function showMainPrice(v)
{if(v[1]>0)
{if(checkCanMatch(v[4]))
{return'<strong ><a href="javascript:GoMatch('+v[3]+', '+v[4]+')" class="em">相关搭配</a></strong>';}
else
{return'<strong >&nbsp;&nbsp;&nbsp;&nbsp;</strong>';}}
else
{return'<strong ><span class="em">免费物品</span></strong>';}};function itemSort(i)
{var dataArr2=dataArr;if(("undefined"!=typeof(dataArr))&&(dataArr.length>0))
{if(i=="0")
{printList(dataArr2.sort(function sortFunction1(x,y){return parseInt(x[22],10)-parseInt(y[22],10)}));}
else
{printList(dataArr2.sort(function sortFunction2(x,y){return parseInt(y[23],10)-parseInt(x[23],10)}));}}
selectCss(document.getElementById("ID_sort").getElementsByTagName("a"),i,"em");return;}
function initItem()
{initList();refreshHeader();initThirNav();if(parseInt(top.g_iMallNo.toString().substr(5,2),10)!=0)initForthNav();else document.getElementById("menu_class_4").style.display="none";}
var g_mItems0=[],g_mItems1=[],g_bMatchItem=0;var mapMatchItem=[['0','<%no%>'],['12','<%sex%>'],['11','<%playno%>'],['3','<%pose%>'],['4','<%posebind%>'],['8','<%x%>'],['9','<%y%>'],['5','<%bmove%>'],['6','<%brot%>'],['7','<%bselc%>'],['21','<%bspecial%>'],['17','<%vprice%>'],['1','<%type%>'],['16','<%price%>',QBPrice],['0','<%slogo%>',function(v){return"";}],["12","<%sexname%>",function(v){return SexWord(v)}],["15","<%vtime%>",toExpTime],["14","<%name%>",function(v){return v.escScript().escHtml();}],['0','<%from%>',function(v){return top.g_iMallNo;}]];function XSendAll(sItem,sFrom){if(CheckLogin(1)){FloatShow("http://show.qq.com/mall/inc/don_mul.html?show="+sItem.escUrl(),434,346,null,null,0,-100);}}
function XAskAll(sItem,sFrom){if(CheckLogin(1)){FloatShow("http://show.qq.com/mall/inc/req_mul.html?&show="+sItem.escUrl(),434,346,null,null,0,-100);}}
function AddCollection(show_sn)
{if(CheckLogin(1))
{ShowCollectionAdd([show_sn,"我的收藏","","",0]);}}
function initMatchItems()
{var id=mallMenu[top.g_iMallNo][0];var sex=QUSER?QUSER.getAvSex():"F";try{dataArr=eval(("item"+id+"_"+sex).escNone());}catch(e){return false;}
if(typeof(matchItem)=="undefined"){window.location="/mall/inc/item.html"+window.location.search;return;}
for(var i=0;i<dataArr.length&&i<4;i++){g_mItems1[i]=dataArr[i];}
var dataArr2=[].concat(dataArr);dataArr2.sort(function sortFunction2(x,y){return parseInt(y[23],10)-parseInt(x[23],10)})
for(var i=0;i<dataArr2.length&&i<4;i++){g_mItems0[i]=dataArr2[i];}
g_bMatchItem=1;var sPno=getHashParam("pno");var iPno=sPno.length>0?parseInt(sPno):1;if(iPno==1&&matchItem instanceof Array&&matchItem.length==4){changeMatchItem(matchItem[0],matchItem[1],matchItem[2],matchItem[3]);}
else{refreshMatchItem(iPno);}
document.getElementById("match_item_ID").style.display="";return true;}
function setMatchItems(type)
{if(g_mItems0.length==0){if(!initMatchItems()){setTimeout(setMatchItems,100);return;};}
var items=[];items=(type==1?g_mItems1:g_mItems0);var oParent=document.getElementById("matchItem_ID");var sHtml=document.body.innerHTML.between("<!--TPL.LISTITEM","TPL.LISTITEM-->");showQQSHOWData(items,oParent,sHtml,mapMatchItem,-1,-1,-1);}
function changeMatchItem(iItemNo,show,time,sid){var sMall=top.g_iMallNo+"";document.getElementById("match_total_ID").src="http://qqshow-item.qq.com/"+time+"/"+sid%100+"/"+sid+".gif"
show=show.escScript().escMiniUrl();document.getElementById("match_total_ID").onclick=function(){PutOnShow(show,sMall)};document.getElementById("buyAll_ID").onclick=function(){RBuyAll(show,sMall,0)};document.getElementById("sendAll_ID").onclick=function(){XSendAll(show,sMall)};document.getElementById("askAll_ID").onclick=function(){XAskAll(show,sMall)};document.getElementById("favAll_ID").onclick=function(){AddCollection(show)};document.getElementById("match_single_ID").src="http://qqshow2-item.qq.com/"+iItemNo+"/00/00/cache.gif"}
function change2hot(){document.getElementById("match_hot_ID").className="here";document.getElementById("match_new_ID").className="";setMatchItems(0);}
function change2new(){document.getElementById("match_hot_ID").className="";document.getElementById("match_new_ID").className="here";setMatchItems(1);}
function tabChange2(n)
{tabChange(n);g_mItems0=[],g_mItems1=[];setMatchItems(0);}
function objMouseEvent(overObj,outObj,targetObj,overClass,outClass){var _o="init";overObj.onmouseover=function(){_o="overOverObj";targetObj.className=overClass;outObj.onmouseover=function(){_o='overOutObj';targetObj.className=overClass;}}
overObj.onmouseout=function(){_o='outOverObj';}
outObj.onmouseout=function(){_o="outOutObj";if(_o!='outOverObj')
targetObj.className=outClass;}}
function prevItem(wrap,tName,cName){if(!wrap)return;if(!cName){cName=['global_item','global_item preview','global_item preview first_item','global_item preview last_item']}
var items=document.getElementById(wrap).getElementsByTagName(tName);if(items.length<=0)
{return setTimeout(function(){prevItem(wrap,tName);},1000);}
for(var i=0;i<items.length;i++){if(items[i].className!=cName[0])continue;var _tObj=items[i];if(_tObj.offsetLeft>document.getElementById(wrap).offsetWidth-_tObj.offsetWidth-50){objMouseEvent(items[i].getElementsByTagName('img')[0],items[i].getElementsByTagName('div')[0],items[i],cName[3],cName[0]);}else if(_tObj.offsetLeft<50){objMouseEvent(items[i].getElementsByTagName('img')[0],items[i].getElementsByTagName('div')[0],items[i],cName[2],cName[0]);}else{objMouseEvent(items[i].getElementsByTagName('img')[0],items[i].getElementsByTagName('div')[0],items[i],cName[1],cName[0]);}}}/*  |xGv00|43a42f1bedfb264a6e5bc29a09489ad1 */