var nopp=0;var tip_container;var dialogProfile=null;var JoeyDialog=new Class({Implements:[Chain],getOptions:function(){var A={name:"JoeyDialog",onReturn:$empty,onReturnFunction:$empty,BoxStyles:{width:220},OverlayStyles:{"background-color":"#000000",opacity:0.7},showDuration:220,showEffect:Fx.Transitions.linear,closeDuration:100,closeEffect:Fx.Transitions.linear,moveDuration:500,moveEffect:Fx.Transitions.Back.easeOut,onShowStart:$empty,onShowComplete:$empty,onCloseStart:$empty,onCloseComplete:function(B){}.bind(this)};A.zIndex=65500;return A},initialize:function(A){this.i=0;this.setOptions(this.getOptions(),A);this.Overlay=new Element("div",{id:"BoxOverlay",styles:{display:"none","z-index":this.options.zIndex,position:"absolute",top:"0",left:"0","background-color":this.options.OverlayStyles["background-color"],opacity:0,height:window.getScrollHeight()+"px",width:window.getScrollWidth()+"px"}});this.BoxTop=new Element("div",{"class":"DialogTop"});this.BoxTop.adopt(new Element("div",{"class":"DialogTopLeft"}));this.BoxTop.adopt(new Element("div",{"class":"DialogTopRight"}));this.BoxTop.adopt(new Element("div",{"class":"DialogTopMiddle"}));this.BoxBottom=new Element("div",{"class":"DialogBottom"});this.BoxBottom.adopt(new Element("div",{"class":"DialogBottomLeft"}));this.BoxBottom.adopt(new Element("div",{"class":"DialogBottomRight"}));this.BoxBottom.adopt(new Element("div",{"class":"DialogBottomMiddle"}));this.BoxLeft=new Element("div",{"class":"DialogLeft"});this.BoxRight=new Element("div",{"class":"DialogRight"});this.Content=new Element("div",{id:this.options.name+"DialogContent","class":"DialogMiddle"});this.Box=new Element("div",{id:this.options.name+"Dialog",styles:{display:"none","z-index":this.options.zIndex+2,position:"absolute",top:"0",left:"0",width:this.options.BoxStyles.width+"px"},"class":"DialogAll"}).adopt(this.BoxTop);this.Box.adopt(this.BoxLeft);this.BoxLeft.adopt(this.BoxRight);this.BoxRight.adopt(this.Content);this.Box.adopt(this.BoxBottom);this.Overlay.injectInside(document.body);this.Box.injectInside(document.body);this.preloadImages();window.addEvent("resize",function(){if(this.options.display==1){this.Overlay.setStyles({height:window.getScrollHeight()+"px",width:window.getScrollWidth()+"px"});this.replaceBox()}}.bind(this));window.addEvent("scroll",this.replaceBox.bind(this))},preloadImages:function(){var A=new Image();A.src=this.Box.getStyle("background-image").replace(new RegExp('url("?([^"]*)"?)',"gi"),"$1")},display:function(A){if(this.Transition){this.Transition.cancel()}if(this.options.display==0&&A!=0||A==1){if(Browser.Engine.trident4){$$("select","object","embed").each(function(B){B.style.visibility="hidden"})}this.Overlay.setStyle("display","block");this.options.display=1;this.fireEvent("onShowStart",[this.Overlay]);this.Transition=new Fx.Tween(this.Overlay,{property:"opacity",duration:this.options.showDuration,transition:this.options.showEffect,onComplete:function(){sizes=window.getSize();scrollito=window.getScroll();this.Box.setStyles({display:"block",left:(scrollito.x+(sizes.x-this.options.BoxStyles.width)/2).toInt()});this.replaceBox();this.fireEvent("onShowComplete",[this.Overlay])}.bind(this)}).start(this.options.OverlayStyles.opacity)}else{if(Browser.Engine.trident4){$$("select","object","embed").each(function(B){B.style.visibility="visible"})}this.queue.delay(500,this);this.Box.setStyles({display:"none",top:0});this.Content.empty();this.options.display=0;this.fireEvent("onCloseStart",[this.Overlay]);if(this.i==1){this.Transition=new Fx.Tween(this.Overlay,{property:"opacity",duration:this.options.closeDuration,transition:this.options.closeEffect,onComplete:function(){this.fireEvent("onCloseComplete",[this.Overlay])}.bind(this)}).start(0)}}},replaceBox:function(){if(this.options.display==1){sizes=window.getSize();scrollito=window.getScroll();if(this.MoveBox){this.MoveBox.cancel()}this.MoveBox=new Fx.Morph(this.Box,{duration:this.options.moveDuration,transition:this.options.moveEffect}).start({left:(scrollito.x+(sizes.x-this.options.BoxStyles.width)/2).toInt(),top:(scrollito.y+(sizes.y-this.Box.offsetHeight)/2).toInt()})}},queue:function(){this.i--;this.callChain()},closeMe:function(){this.options.onReturn=function(){};this.display(0)},messageBox:function(A){this.chain(function(){this.ExitButton=new Element("div",{id:this.options.name+"Close"});this.ByeBye=new Element("a",{id:"DialogByeBye","class":"DialogButton"});this.ByeImg=new Image();this.ByeImg.src="/images/miniprofile/x.png";this.ByeImg.style.cursor="pointer";this.ByeImg.addEvent("mouseover",function(){this.src="/images/miniprofile/xo.png"});this.ByeImg.addEvent("mouseout",function(){this.src="/images/miniprofile/x.png"});this.ByeBye.adopt(this.ByeImg);this.ByeBye.addEvent("click",function(){this.options.onReturn=function(){};this.display(0)}.bind(this));this.Content.adopt(A);this.ByeBye.injectInside(this.ExitButton);this.ExitButton.injectInside(this.Content);this.display(1)});this.i++;if(this.i==1){this.callChain()}}});JoeyDialog.implement(new Events,new Options);function callMiniprofile(A){var B=new Element("div",{});if(dialogProfile==null){dialogProfile=new JoeyDialog()}if(Browser.Engine.webkit){B.set("load",{raw:true})}B.load(A);dialogProfile.messageBox(B)}function callpopper(A,B){var C=new Element("div",{});if(dialogProfile==null){dialogProfile=new JoeyDialog()}C.innerHTML=A;dialogProfile.messageBox(C)}function popTips(A){if($$(A+" .Tips").length<1){return }tip_container.detach(A+" .Tips")}function pushTips(A){var B=A+" .Tips";if($$(B).length<1){return }if(Browser.Engine.trident){$$(B).each(function(D,C){if(D.alt!=null&&D.alt!=undefined&&D.alt!=""){D.rel=D.alt;D.removeAttribute("alt")}});$$(A+" .Tips img").each(function(D,C){D.removeAttribute("alt")})}if(tip_container==null){tip_container=new Tips(B)}else{tip_container.attach(B)}}window.addEvent("load",function(){pushTips("#main_sizer");checkforbuttons();if(Browser.Engine.trident&&!Browser.Engine.trident5){pngBruteFix($$(".shopimage"))}});function buttonPath(B,C,A){return"url(/user/makebutton.php?i="+B+"&w="+C+"&h="+A+")"}function checkforbuttons(){realcheckforbuttons("")}function realcheckforbuttons(A){$$(A+".biggreenbutton").each(function(B){B.style.backgroundImage=buttonPath(1,B.offsetWidth,B.offsetHeight)});$$(A+".bigsilverbutton").each(function(B){B.style.backgroundImage=buttonPath(0,B.offsetWidth,B.offsetHeight)});$$(A+".smallgreenbutton").each(function(B){B.style.backgroundImage=buttonPath(3,B.offsetWidth,B.offsetHeight)});$$(A+".smallsilverbutton").each(function(B){B.style.backgroundImage=buttonPath(2,B.offsetWidth,B.offsetHeight)});$$(A+".bigredbutton").each(function(B){B.style.backgroundImage=buttonPath(4,B.offsetWidth,B.offsetHeight)});$$(A+".bigyellowbutton").each(function(B){B.style.backgroundImage=buttonPath(5,B.offsetWidth,B.offsetHeight)});$$(A+".bigbluebutton").each(function(B){B.style.backgroundImage=buttonPath(6,B.offsetWidth,B.offsetHeight)});$$(A+".smallredbutton").each(function(B){B.style.backgroundImage=buttonPath(7,B.offsetWidth,B.offsetHeight)});$$(A+".smallyellowbutton").each(function(B){B.style.backgroundImage=buttonPath(8,B.offsetWidth,B.offsetHeight)});$$(A+".smallbluebutton").each(function(B){B.style.backgroundImage=buttonPath(9,B.offsetWidth,B.offsetHeight)})}function refreshNB(){$("numberbox").src="/numberbox.php?n="+((new Date).getTime()%Math.round(Math.random()*18446744073709552000))}function setTB(A){$("menutitlebar").innerHTML=A}var prescaled=new Array();prescaled["0.785_0.779"]=1;prescaled["0.2_0.2"]=1;prescaled["0.78_0.967"]=1;function putPart(B,I,G,J,D,E,C){if(nopp){return }var H=1;var F=1;var K=0;if(B.split("_").length>1&&scale[B.split("_")[1]]!=undefined){H=scale[B.split("_")[1]][0];F=scale[B.split("_")[1]][1];K=1;if(prescaled[H+"_"+F]!=undefined){C=C.replace("/images/char/","/static/prescale/"+H+"_"+F+"/")}}nx=Math.floor(J*H);ny=Math.floor(D*F);if(ny<1){ny=1}if(nx<1){nx=1}var A=$(B);A.style.visibility="visible";A.style.top=Math.floor(G*F)+"px";A.style.left=Math.floor(I*H)+"px";A.style.width=nx+"px";A.style.height=ny+"px";A.style.zIndex=E;if(K){if(Browser.Engine.trident&&!Browser.Engine.trident5){A.innerHTML='<img id="'+B+'_pf" style="opacity:0;" src="/images/ui/b.gif" width='+nx+" height="+ny+">";pngQuickFix($(B+"_pf"),C)}else{A.innerHTML="<img src="+C+" width="+nx+" height="+ny+">"}}else{pngQuickFix(A,C)}}function pngBruteFix(A){A.each(function(C){var B;B=C.src;C.src="/images/ui/b.gif";C.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+B+"', sizingMethod='scale');"})}function pngQuickFix(B,A){if(Browser.Engine.trident&&!Browser.Engine.trident5){B.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+A+"', sizingMethod='scale');"}else{B.style.background="url("+A+")"}}function killPart(A){$(A).style.visibility="hidden"}function unkillPart(A){$(A).style.visibility="visible"}function change_profile(A){profs[A]()}function change_weapon(B,A){if($("weapon_block_"+B)==null){B=0}if(B>0){if(last_select.weapon!=undefined&&last_select.weapon){if(last_select.weapon==B){change_weapon(0,A);return }else{$("weapon_block_"+last_select.weapon).className="room_piece"}}$("weapon_block_"+B).className="room_piece_sel";weaps[B](A)}else{if(last_select.weapon!=undefined&&last_select.weapon){$("weapon_block_"+last_select.weapon).className="room_piece"}killPart("weap"+A)}last_select.weapon=B;$("hip_weapon").value=B}function messagesLoadButton(D,C,A,B){$(last_box_sel).className="mailns";$(B).className="mailsel";last_box_sel=B;messagesLoad(D,C,A)}function messagesLoad(C,B,A){$(C).load(B)}function new_send(){new_send_where("mail")}function new_send_where(A){var B={data:"m="+$("new_body").value,method:"POST",update:A};var C=new Request.HTML(B).post("/user/messages/new.php?c="+$("new_target").value+"&s="+$("new_subject").value)}function inbox_delete(){var B=$$("input.inbox_del");var A=[];for(i=0;i<B.length;i++){if(B[i].checked){A.push(B[i].value)}}if(A.length){messagesLoad("mail","inbox.php?d="+A.join("_"))}}function change_cloth(C,B,A){if($("cloth_block_"+C)==null){return }if($("cloth_block_"+C+"_"+B)==null){B=0}if(B>0){if(last_select["cloth_"+C]!=undefined&&last_select["cloth_"+C]){if(last_select["cloth_"+C]==B){change_cloth(C,0,A);return }else{$("cloth_block_"+C+"_"+last_select["cloth_"+C]).className="room_piece"}}$("cloth_block_"+C+"_"+B).className="room_piece_sel";items[C][B](A)}else{if(last_select["cloth_"+C]!=undefined&&last_select["cloth_"+C]){$("cloth_block_"+C+"_"+last_select["cloth_"+C]).className="room_piece"}killPart("c"+C+A)}last_select["cloth_"+C]=B;$("hip_cloth_"+C).value=B}function room_oc_block(A,B){var D=$(A);var C=$(B);if(D.style.display=="none"){D.style.display="block";C.className="room_typehead_sel"}else{D.style.display="none";C.className="room_typehead"}}function flag_change(A){document.getElementById("flag").src="images/countries/"+A+".png"}function goTo(A){document.location=A}function face_change(A,B){face[A][B]()}function body_change(A){pngQuickFix($("guy"),"/images/char/bodies/"+A+".png")}function firm_change(A){document.getElementById("fbc").innerHTML=fbyc[A]}function firm_colour(A){var C="";for(var B=0;B<firmcth[A].length;B++){C+='<tr><td style="background-color:#'+firmcth[A][B]+';"></td></tr>'}document.getElementById("reg_h").innerHTML="<table border=1 cellspacing=0 cellpadding=0 width=60 height=60>"+C+"</table>";C="";for(var B=0;B<firmcta[A].length;B++){C+='<tr><td style="background-color:#'+firmcta[A][B]+';"></td></tr>'}document.getElementById("reg_a").innerHTML="<table border=1 cellspacing=0 cellpadding=0 width=60 height=60>"+C+"</table>"}var face=[];var scale=[];face.eyes=[];face.brows=[];face.mouths=[];face.noses=[];face.eyes[0]=function(){killPart("eye")};face.brows[0]=function(){killPart("brow")};face.mouths[0]=function(){killPart("mouth")};face.noses[0]=function(){killPart("nose")};var items=[];var weaps=[];var profs=[];items[1]=[];items[2]=[];items[3]=[];items[4]=[];items[5]=[];items[6]=[];items[7]=[];items[8]=[];items[9]=[];items[10]=[];items[11]=[];items[12]=[];items[13]=[];weaps[1]=function(A){putPart("weap"+A,6,23,223,452,15,"/images/char/weapons/1.png")};weaps[2]=function(A){putPart("weap"+A,19,30,160,308,15,"/images/char/weapons/2.png")};weaps[3]=function(A){putPart("weap"+A,32,117,161,253,15,"/images/char/weapons/3.png")};weaps[4]=function(A){putPart("weap"+A,26,10,153,333,15,"/images/char/weapons/4.png")};weaps[5]=function(A){putPart("weap"+A,64,9,109,347,15,"/images/char/weapons/5.png")};weaps[6]=function(A){putPart("weap"+A,32,23,153,333,15,"/images/char/weapons/6.png")};weaps[7]=function(A){putPart("weap"+A,26,18,153,333,15,"/images/char/weapons/7.png")};weaps[8]=function(A){putPart("weap"+A,26,11,153,333,15,"/images/char/weapons/8.png")};weaps[9]=function(A){putPart("weap"+A,60,0,106,348,15,"/images/char/weapons/9.png")};weaps[10]=function(A){putPart("weap"+A,50,69,136,284,26,"/images/char/weapons/10.png")};weaps[11]=function(A){putPart("weap"+A,49,68,136,284,26,"/images/char/weapons/11.png")};weaps[12]=function(A){putPart("weap"+A,48,69,136,284,26,"/images/char/weapons/12.png")};weaps[13]=function(A){putPart("weap"+A,49,69,136,284,26,"/images/char/weapons/13.png")};weaps[14]=function(A){putPart("weap"+A,36,207,136,128,35,"/images/char/weapons/14.png")};weaps[15]=function(A){putPart("weap"+A,0,0,194,329,20,"/images/char/weapons/15.png")};weaps[16]=function(A){putPart("weap"+A,67,9,158,458,20,"/images/char/weapons/16.png")};weaps[17]=function(A){putPart("weap"+A,67,10,158,458,20,"/images/char/weapons/17.png")};weaps[18]=function(A){putPart("weap"+A,68,143,85,124,20,"/images/char/weapons/18.png")};weaps[19]=function(A){putPart("weap"+A,63,10,158,458,20,"/images/char/weapons/19.png")};weaps[20]=function(A){putPart("weap"+A,115,203,279,148,20,"/images/char/weapons/20.png")};weaps[21]=function(A){putPart("weap"+A,115,203,279,148,20,"/images/char/weapons/21.png")};weaps[22]=function(A){putPart("weap"+A,66,94,116,288,20,"/images/char/weapons/22.png")};weaps[23]=function(A){putPart("weap"+A,33,242,363,173,20,"/images/char/weapons/23.png")};weaps[24]=function(A){putPart("weap"+A,32,243,363,173,20,"/images/char/weapons/24.png")};weaps[25]=function(A){putPart("weap"+A,81,202,92,135,35,"/images/char/weapons/25.png")};weaps[26]=function(A){putPart("weap"+A,109,204,290,163,20,"/images/char/weapons/26.png")};weaps[27]=function(A){putPart("weap"+A,36,0,137,345,20,"/images/char/weapons/27.png")};weaps[28]=function(A){putPart("weap"+A,36,0,137,345,20,"/images/char/weapons/28.png")};items[1][1]=function(A){putPart("c1"+A,204,149,82,136,5,"/images/char/cloths/1/1.png")};items[1][2]=function(A){putPart("c1"+A,170,146,145,146,5,"/images/char/cloths/1/2.png")};items[1][3]=function(A){putPart("c1"+A,135,147,222,146,5,"/images/char/cloths/1/3.png")};items[4][4]=function(A){putPart("c4"+A,163,288,143,125,10,"/images/char/cloths/4/4.png")};items[4][5]=function(A){putPart("c4"+A,154,289,167,153,10,"/images/char/cloths/4/5.png")};items[4][6]=function(A){putPart("c4"+A,158,287,155,146,10,"/images/char/cloths/4/6.png")};items[5][7]=function(A){putPart("c5"+A,93,349,256,117,5,"/images/char/cloths/5/7.png")};items[5][8]=function(A){putPart("c5"+A,99,393,248,78,5,"/images/char/cloths/5/8.png")};items[5][9]=function(A){putPart("c5"+A,90,399,264,74,5,"/images/char/cloths/5/9.png")};items[2][10]=function(A){putPart("c2"+A,133,9,149,147,13,"/images/char/cloths/2/10.png")};items[2][11]=function(A){putPart("c2"+A,128,20,142,88,13,"/images/char/cloths/2/11.png")};items[2][12]=function(A){putPart("c2"+A,128,20,142,88,13,"/images/char/cloths/2/12.png")};items[2][13]=function(A){putPart("c2"+A,93,0,218,82,13,"/images/char/cloths/2/13.png")};items[3][14]=function(A){putPart("c3"+A,129,138,231,167,12,"/images/char/cloths/3/14.png")};items[3][15]=function(A){putPart("c3"+A,127,144,232,182,12,"/images/char/cloths/3/15.png")};items[3][16]=function(A){putPart("c3"+A,130,136,226,166,12,"/images/char/cloths/3/16.png")};items[13][17]=function(A){putPart("c13"+A,331,314,23,13,8,"/images/char/cloths/13/17.png")};items[13][18]=function(A){putPart("c13"+A,117,278,19,29,26,"/images/char/cloths/13/18.png")};items[13][19]=function(A){putPart("c13"+A,213,145,38,44,8,"/images/char/cloths/13/19.png")};items[11][20]=function(A){putPart("c11"+A,146,65,113,55,12,"/images/char/cloths/11/20.png")};items[11][21]=function(A){putPart("c11"+A,148,69,108,50,12,"/images/char/cloths/11/21.png")};items[9][22]=function(A){putPart("c9"+A,99,256,91,201,27,"/images/char/cloths/9/22.png")};items[9][23]=function(A){putPart("c9"+A,192,135,95,150,16,"/images/char/cloths/9/23.png")};items[10][24]=function(A){putPart("c10"+A,261,93,14,17,5,"/images/char/cloths/10/24.png")};items[10][25]=function(A){putPart("c10"+A,261,95,15,15,5,"/images/char/cloths/10/25.png")};items[10][26]=function(A){putPart("c10"+A,262,66,15,23,5,"/images/char/cloths/10/26.png")};items[10][27]=function(A){putPart("c10"+A,233,265,6,10,3,"/images/char/cloths/10/27.png")};items[3][28]=function(A){putPart("c3"+A,133,137,218,163,12,"/images/char/cloths/3/28.png")};items[3][29]=function(A){putPart("c3"+A,129,135,220,169,12,"/images/char/cloths/3/29.png")};items[13][30]=function(A){putPart("c13"+A,209,146,44,47,10,"/images/char/cloths/13/30.png")};items[13][31]=function(A){putPart("c13"+A,299,247,54,26,5,"/images/char/cloths/13/31.png")};items[11][32]=function(A){putPart("c11"+A,146,67,116,61,10,"/images/char/cloths/11/32.png")};items[11][33]=function(A){putPart("c11"+A,145,70,116,60,10,"/images/char/cloths/11/33.png")};items[1][34]=function(A){putPart("c1"+A,168,146,145,146,5,"/images/char/cloths/1/34.png")};items[1][35]=function(A){putPart("c1"+A,132,136,226,154,5,"/images/char/cloths/1/35.png")};items[5][36]=function(A){putPart("c5"+A,94,405,255,64,5,"/images/char/cloths/5/36.png")};items[5][37]=function(A){putPart("c5"+A,91,392,260,78,5,"/images/char/cloths/5/37.png")};items[4][38]=function(A){putPart("c4"+A,160,284,151,100,10,"/images/char/cloths/4/38.png")};items[4][39]=function(A){putPart("c4"+A,158,285,155,146,10,"/images/char/cloths/4/39.png")};items[9][40]=function(A){putPart("c9"+A,103,256,91,201,27,"/images/char/cloths/9/40.png")};items[9][41]=function(A){putPart("c9"+A,192,138,95,134,16,"/images/char/cloths/9/41.png")};items[3][42]=function(A){putPart("c3"+A,130,140,231,167,12,"/images/char/cloths/3/42.png")};items[3][43]=function(A){putPart("c3"+A,129,142,231,167,12,"/images/char/cloths/3/43.png")};items[3][44]=function(A){putPart("c3"+A,129,140,231,167,12,"/images/char/cloths/3/44.png")};items[3][45]=function(A){putPart("c3"+A,130,139,231,167,12,"/images/char/cloths/3/45.png")};items[3][46]=function(A){putPart("c3"+A,129,139,232,182,12,"/images/char/cloths/3/46.png")};items[3][47]=function(A){putPart("c3"+A,126,139,232,182,12,"/images/char/cloths/3/47.png")};items[3][48]=function(A){putPart("c3"+A,130,142,232,182,12,"/images/char/cloths/3/48.png")};items[3][49]=function(A){putPart("c3"+A,127,140,232,182,12,"/images/char/cloths/3/49.png")};items[3][50]=function(A){putPart("c3"+A,132,131,226,166,12,"/images/char/cloths/3/50.png")};items[3][51]=function(A){putPart("c3"+A,133,135,226,166,12,"/images/char/cloths/3/51.png")};items[3][52]=function(A){putPart("c3"+A,131,138,226,166,12,"/images/char/cloths/3/52.png")};items[3][53]=function(A){putPart("c3"+A,130,136,226,166,12,"/images/char/cloths/3/53.png")};items[3][54]=function(A){putPart("c3"+A,134,135,226,166,12,"/images/char/cloths/3/54.png")};items[3][55]=function(A){putPart("c3"+A,134,137,218,163,12,"/images/char/cloths/3/55.png")};items[3][56]=function(A){putPart("c3"+A,134,137,218,163,12,"/images/char/cloths/3/56.png")};items[3][57]=function(A){putPart("c3"+A,135,138,218,163,12,"/images/char/cloths/3/57.png")};items[3][58]=function(A){putPart("c3"+A,129,132,220,169,12,"/images/char/cloths/3/58.png")};items[3][59]=function(A){putPart("c3"+A,129,133,220,169,12,"/images/char/cloths/3/59.png")};items[3][60]=function(A){putPart("c3"+A,126,135,220,169,12,"/images/char/cloths/3/60.png")};items[3][61]=function(A){putPart("c3"+A,130,132,220,169,12,"/images/char/cloths/3/61.png")};items[3][62]=function(A){putPart("c3"+A,127,141,235,164,12,"/images/char/cloths/3/62.png")};items[3][63]=function(A){putPart("c3"+A,127,141,235,164,12,"/images/char/cloths/3/63.png")};items[3][64]=function(A){putPart("c3"+A,127,140,235,164,12,"/images/char/cloths/3/64.png")};items[3][65]=function(A){putPart("c3"+A,127,141,235,164,12,"/images/char/cloths/3/65.png")};items[3][66]=function(A){putPart("c3"+A,127,141,235,164,12,"/images/char/cloths/3/66.png")};items[3][67]=function(A){putPart("c3"+A,126,141,235,262,12,"/images/char/cloths/3/67.png")};items[3][68]=function(A){putPart("c3"+A,125,139,235,262,12,"/images/char/cloths/3/68.png")};items[3][69]=function(A){putPart("c3"+A,126,141,235,262,12,"/images/char/cloths/3/69.png")};items[3][70]=function(A){putPart("c3"+A,125,142,235,262,12,"/images/char/cloths/3/70.png")};items[3][71]=function(A){putPart("c3"+A,122,141,235,262,12,"/images/char/cloths/3/71.png")};items[5][72]=function(A){putPart("c5"+A,93,353,256,117,5,"/images/char/cloths/5/72.png")};items[5][73]=function(A){putPart("c5"+A,92,352,256,117,5,"/images/char/cloths/5/73.png")};items[5][74]=function(A){putPart("c5"+A,92,353,256,117,5,"/images/char/cloths/5/74.png")};items[5][75]=function(A){putPart("c5"+A,93,351,256,117,5,"/images/char/cloths/5/75.png")};items[5][76]=function(A){putPart("c5"+A,93,353,256,117,5,"/images/char/cloths/5/76.png")};items[5][77]=function(A){putPart("c5"+A,99,391,248,78,5,"/images/char/cloths/5/77.png")};items[5][78]=function(A){putPart("c5"+A,99,393,248,78,5,"/images/char/cloths/5/78.png")};items[5][79]=function(A){putPart("c5"+A,99,387,248,78,5,"/images/char/cloths/5/79.png")};items[5][80]=function(A){putPart("c5"+A,100,392,248,78,5,"/images/char/cloths/5/80.png")};items[5][81]=function(A){putPart("c5"+A,91,394,264,74,5,"/images/char/cloths/5/81.png")};items[5][82]=function(A){putPart("c5"+A,91,395,264,74,5,"/images/char/cloths/5/82.png")};items[5][83]=function(A){putPart("c5"+A,92,396,264,74,5,"/images/char/cloths/5/83.png")};items[5][84]=function(A){putPart("c5"+A,91,396,264,74,5,"/images/char/cloths/5/84.png")};items[5][85]=function(A){putPart("c5"+A,93,405,255,64,5,"/images/char/cloths/5/85.png")};items[5][86]=function(A){putPart("c5"+A,94,406,255,64,5,"/images/char/cloths/5/86.png")};items[5][87]=function(A){putPart("c5"+A,93,404,255,64,5,"/images/char/cloths/5/87.png")};items[5][88]=function(A){putPart("c5"+A,93,403,255,64,5,"/images/char/cloths/5/88.png")};items[5][89]=function(A){putPart("c5"+A,91,404,255,64,5,"/images/char/cloths/5/89.png")};items[5][90]=function(A){putPart("c5"+A,89,393,260,78,5,"/images/char/cloths/5/90.png")};items[5][91]=function(A){putPart("c5"+A,88,390,260,78,5,"/images/char/cloths/5/91.png")};items[5][92]=function(A){putPart("c5"+A,89,397,260,78,5,"/images/char/cloths/5/92.png")};items[5][93]=function(A){putPart("c5"+A,89,394,260,78,5,"/images/char/cloths/5/93.png")};items[5][94]=function(A){putPart("c5"+A,89,395,260,78,5,"/images/char/cloths/5/94.png")};items[5][95]=function(A){putPart("c5"+A,93,354,256,117,5,"/images/char/cloths/5/95.png")};items[5][96]=function(A){putPart("c5"+A,94,353,256,117,5,"/images/char/cloths/5/96.png")};items[5][97]=function(A){putPart("c5"+A,93,353,256,117,5,"/images/char/cloths/5/97.png")};items[5][98]=function(A){putPart("c5"+A,93,353,256,117,5,"/images/char/cloths/5/98.png")};items[5][99]=function(A){putPart("c5"+A,94,353,256,117,5,"/images/char/cloths/5/99.png")};items[5][100]=function(A){putPart("c5"+A,93,353,256,117,5,"/images/char/cloths/5/100.png")};items[4][101]=function(A){putPart("c4"+A,163,287,143,125,10,"/images/char/cloths/4/101.png")};items[4][102]=function(A){putPart("c4"+A,164,285,143,125,10,"/images/char/cloths/4/102.png")};items[4][103]=function(A){putPart("c4"+A,164,287,143,125,10,"/images/char/cloths/4/103.png")};items[4][104]=function(A){putPart("c4"+A,163,286,143,125,10,"/images/char/cloths/4/104.png")};items[4][105]=function(A){putPart("c4"+A,155,285,167,153,10,"/images/char/cloths/4/105.png")};items[4][106]=function(A){putPart("c4"+A,154,288,167,153,10,"/images/char/cloths/4/106.png")};items[4][107]=function(A){putPart("c4"+A,154,286,167,153,10,"/images/char/cloths/4/107.png")};items[4][108]=function(A){putPart("c4"+A,155,287,167,153,10,"/images/char/cloths/4/108.png")};items[4][109]=function(A){putPart("c4"+A,158,286,155,146,10,"/images/char/cloths/4/109.png")};items[4][110]=function(A){putPart("c4"+A,159,287,155,146,10,"/images/char/cloths/4/110.png")};items[4][111]=function(A){putPart("c4"+A,159,287,155,146,10,"/images/char/cloths/4/111.png")};items[4][112]=function(A){putPart("c4"+A,158,285,155,146,10,"/images/char/cloths/4/112.png")};items[4][113]=function(A){putPart("c4"+A,161,284,151,100,10,"/images/char/cloths/4/113.png")};items[4][114]=function(A){putPart("c4"+A,160,285,151,100,10,"/images/char/cloths/4/114.png")};items[4][115]=function(A){putPart("c4"+A,162,281,151,100,10,"/images/char/cloths/4/115.png")};items[4][116]=function(A){putPart("c4"+A,159,281,151,100,10,"/images/char/cloths/4/116.png")};items[4][117]=function(A){putPart("c4"+A,159,282,155,146,10,"/images/char/cloths/4/117.png")};items[4][118]=function(A){putPart("c4"+A,158,283,155,146,10,"/images/char/cloths/4/118.png")};items[4][119]=function(A){putPart("c4"+A,159,284,155,146,10,"/images/char/cloths/4/119.png")};items[4][120]=function(A){putPart("c4"+A,159,284,155,146,10,"/images/char/cloths/4/120.png")};items[4][121]=function(A){putPart("c4"+A,162,284,149,95,10,"/images/char/cloths/4/121.png")};items[4][122]=function(A){putPart("c4"+A,159,283,149,95,10,"/images/char/cloths/4/122.png")};items[4][123]=function(A){putPart("c4"+A,161,283,149,95,10,"/images/char/cloths/4/123.png")};items[4][124]=function(A){putPart("c4"+A,161,282,149,95,10,"/images/char/cloths/4/124.png")};items[4][125]=function(A){putPart("c4"+A,160,283,149,95,10,"/images/char/cloths/4/125.png")};items[4][126]=function(A){putPart("c4"+A,161,279,154,155,10,"/images/char/cloths/4/126.png")};items[4][127]=function(A){putPart("c4"+A,162,279,154,155,10,"/images/char/cloths/4/127.png")};items[4][128]=function(A){putPart("c4"+A,161,278,154,155,10,"/images/char/cloths/4/128.png")};items[4][129]=function(A){putPart("c4"+A,161,281,154,155,10,"/images/char/cloths/4/129.png")};items[4][130]=function(A){putPart("c4"+A,162,281,154,155,10,"/images/char/cloths/4/130.png")};items[3][132]=function(A){putPart("c3"+A,130,134,226,166,12,"/images/char/cloths/3/132.png")};items[3][133]=function(A){putPart("c3"+A,130,134,226,166,12,"/images/char/cloths/3/133.png")};items[3][134]=function(A){putPart("c3"+A,130,134,226,166,12,"/images/char/cloths/3/134.png")};items[3][135]=function(A){putPart("c3"+A,130,134,226,166,12,"/images/char/cloths/3/135.png")};items[3][136]=function(A){putPart("c3"+A,130,134,226,166,12,"/images/char/cloths/3/136.png")};items[3][137]=function(A){putPart("c3"+A,130,140,223,185,12,"/images/char/cloths/3/137.png")};items[3][138]=function(A){putPart("c3"+A,130,140,223,185,12,"/images/char/cloths/3/138.png")};items[3][139]=function(A){putPart("c3"+A,130,140,223,185,12,"/images/char/cloths/3/139.png")};items[3][140]=function(A){putPart("c3"+A,130,140,223,185,12,"/images/char/cloths/3/140.png")};items[3][141]=function(A){putPart("c3"+A,130,140,223,185,12,"/images/char/cloths/3/141.png")};items[3][142]=function(A){putPart("c3"+A,130,140,223,185,12,"/images/char/cloths/3/142.png")};items[2][147]=function(A){putPart("c2"+A,110,0,170,102,10,"/images/char/cloths/2/147.png")};items[2][148]=function(A){putPart("c2"+A,110,0,170,102,10,"/images/char/cloths/2/148.png")};items[2][149]=function(A){putPart("c2"+A,110,0,170,102,10,"/images/char/cloths/2/149.png")};items[2][150]=function(A){putPart("c2"+A,110,0,170,102,10,"/images/char/cloths/2/150.png")};items[2][151]=function(A){putPart("c2"+A,110,0,170,102,10,"/images/char/cloths/2/151.png")};items[2][152]=function(A){putPart("c2"+A,110,0,170,102,10,"/images/char/cloths/2/152.png")};items[2][153]=function(A){putPart("c2"+A,133,25,136,75,10,"/images/char/cloths/2/153.png")};items[2][154]=function(A){putPart("c2"+A,133,25,136,75,10,"/images/char/cloths/2/154.png")};items[2][155]=function(A){putPart("c2"+A,133,25,136,75,10,"/images/char/cloths/2/155.png")};items[2][156]=function(A){putPart("c2"+A,133,25,136,75,10,"/images/char/cloths/2/156.png")};items[2][157]=function(A){putPart("c2"+A,133,25,136,75,10,"/images/char/cloths/2/157.png")};items[2][158]=function(A){putPart("c2"+A,133,25,136,75,10,"/images/char/cloths/2/158.png")};items[2][159]=function(A){putPart("c2"+A,133,25,136,75,10,"/images/char/cloths/2/159.png")};items[8][161]=function(A){putPart("c8"+A,115,0,158,148,20,"/images/char/cloths/8/161.png")};items[8][162]=function(A){putPart("c8"+A,140,29,136,126,20,"/images/char/cloths/8/162.png")};items[8][163]=function(A){putPart("c8"+A,140,45,123,126,20,"/images/char/cloths/8/163.png")};items[5][164]=function(A){putPart("c5"+A,79,390,277,84,15,"/images/char/cloths/5/164.png")};items[5][165]=function(A){putPart("c5"+A,82,394,277,84,15,"/images/char/cloths/5/165.png")};items[5][166]=function(A){putPart("c5"+A,82,391,277,84,15,"/images/char/cloths/5/166.png")};items[5][167]=function(A){putPart("c5"+A,81,393,277,84,15,"/images/char/cloths/5/167.png")};items[5][168]=function(A){putPart("c5"+A,82,392,277,84,15,"/images/char/cloths/5/168.png")};items[9][169]=function(A){putPart("c9"+A,135,252,241,135,30,"/images/char/cloths/9/169.png")};items[1][170]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/170.png")};items[1][171]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/171.png")};items[1][172]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/172.png")};items[1][173]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/173.png")};items[1][174]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/174.png")};items[1][175]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/175.png")};items[1][176]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/176.png")};items[1][177]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/177.png")};items[1][178]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/178.png")};items[1][179]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/179.png")};items[1][180]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/180.png")};items[1][181]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/181.png")};items[1][182]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/182.png")};items[1][183]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/183.png")};items[1][184]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/184.png")};items[1][185]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/185.png")};items[1][186]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/186.png")};items[1][187]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/187.png")};items[1][188]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/188.png")};items[1][189]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/189.png")};items[1][190]=function(A){putPart("c1"+A,168,147,145,146,5,"/images/char/cloths/1/190.png")};face.eyes[1]=function(){putPart("eye",153,85,84,30,5,"/images/char/face/eyes/1.png")};face.eyes[2]=function(){putPart("eye",157,84,76,31,5,"/images/char/face/eyes/2.png")};face.eyes[3]=function(){putPart("eye",159,82,73,34,5,"/images/char/face/eyes/3.png")};face.eyes[4]=function(){putPart("eye",152,84,88,27,5,"/images/char/face/eyes/4.png")};face.eyes[5]=function(){putPart("eye",153,79,86,40,5,"/images/char/face/eyes/5.png")};face.eyes[6]=function(){putPart("eye",150,80,88,33,5,"/images/char/face/eyes/6.png")};face.noses[1]=function(){putPart("nose",191,107,13,19,5,"/images/char/face/noses/1.png")};face.noses[2]=function(){putPart("nose",190,100,16,26,5,"/images/char/face/noses/2.png")};face.noses[3]=function(){putPart("nose",188,109,22,15,5,"/images/char/face/noses/3.png")};face.noses[4]=function(){putPart("nose",189,98,16,28,5,"/images/char/face/noses/4.png")};face.noses[5]=function(){putPart("nose",188,97,20,28,5,"/images/char/face/noses/5.png")};face.noses[6]=function(){putPart("nose",189,102,14,23,5,"/images/char/face/noses/6.png")};face.noses[7]=function(){putPart("nose",187,96,20,29,5,"/images/char/face/noses/7.png")};face.mouths[1]=function(){putPart("mouth",185,121,60,26,18,"/images/char/face/mouths/1.png")};face.mouths[2]=function(){putPart("mouth",189,124,41,24,18,"/images/char/face/mouths/2.png")};face.mouths[3]=function(){putPart("mouth",190,126,40,27,18,"/images/char/face/mouths/3.png")};face.mouths[4]=function(){putPart("mouth",190,128,45,23,18,"/images/char/face/mouths/4.png")};face.mouths[5]=function(){putPart("mouth",190,121,36,31,18,"/images/char/face/mouths/5.png")};face.mouths[6]=function(){putPart("mouth",171,113,77,38,18,"/images/char/face/mouths/6.png")};face.mouths[7]=function(){putPart("mouth",188,121,39,29,18,"/images/char/face/mouths/7.png")};face.brows[1]=function(){putPart("brow",148,64,84,30,5,"/images/char/face/brows/1.png")};face.brows[2]=function(){putPart("brow",147,70,85,25,5,"/images/char/face/brows/2.png")};face.brows[3]=function(){putPart("brow",147,70,85,27,5,"/images/char/face/brows/3.png")};face.brows[4]=function(){putPart("brow",149,68,84,26,5,"/images/char/face/brows/4.png")};face.brows[5]=function(){putPart("brow",148,67,86,27,5,"/images/char/face/brows/5.png")};face.brows[6]=function(){putPart("brow",149,67,88,32,5,"/images/char/face/brows/6.png")};face.brows[7]=function(){putPart("brow",151,71,83,28,5,"/images/char/face/brows/7.png")};