function StringBuffer(){this.buffer=[];}StringBuffer.prototype={append:function(string){this.buffer.push(string);return this;},toString:function(){return this.buffer.join("");},removeAll:function(){this.buffer.splice(0,this.buffer.length);}};var CommonScripts={init:function(){if(this.Scripts==undefined)this.Scripts="|";if(this.Themes==undefined)this.Themes="|";if(this.ArrButtonFocusID==undefined)this.ArrButtonFocusID="||";if(this.KeyDownFunction==undefined)this.KeyDownFunction=null;if(this.InputTotalPageCtrl==undefined)this.InputTotalPageCtrl=null;if(this.RootPath==undefined)this.RootPath=f_GetPath();if(this.ExternalHost==undefined)this.ExternalHost="";if(this.LoadedClass==undefined)this.LoadedClass="|";f_CheckAndLoadServerClass();}};function f_CheckAndLoadServerClass(){if(typeof(CommonFunction)!="undefined"){CommonScripts.ExternalHost=CommonFunction.GetAppsettingKey("ExternalHost").value;}else setTimeout("f_CheckAndLoadServerClass();",500);}CommonScripts.init();function f_E(Aq){return document.getElementById(Aq);}function f_LoadJsCssFile(CP){if(f_CheckLoadJsCssFile(CP)){var Bw;var As=CP.substring(CP.lastIndexOf(".")+1);var AV=CP.substring(CP.lastIndexOf("/")+1,CP.lastIndexOf("."));if(As=="js"){Bw=document.createElement('script');Bw.setAttribute("type","text/javascript");Bw.setAttribute("src",CP);CommonScripts.Scripts+=AV+"_Uncompleted|";}else if(As=="css"){Bw=document.createElement("link");Bw.setAttribute("rel","stylesheet");Bw.setAttribute("type","text/css");Bw.setAttribute("href",CP);CommonScripts.Themes+=AV+"_Uncompleted|";}if(typeof Bw!="undefined"){document.getElementsByTagName("head")[0].appendChild(Bw);Bw.onload=function(){CommonScripts.Scripts=CommonScripts.Scripts.replace("|"+AV+"_Uncompleted|",AV);};}}}function f_CheckLoadJsCssFile(C$){var As=C$.substring(C$.lastIndexOf(".")+1);var i;var Ag;var AE;if(As=="js")AE=CommonScripts.Scripts.split("|");else AE=CommonScripts.Themes.split("|");Ag=AE.length;for(i=0;i<Ag;){if(C$==AE[i])return false;i++;}return true;}function f_FixIE6Css(Aj){if(BrowserDetect.browser=="Explorer"&&BrowserDetect.version=="6"){f_LoadJsCssFile(Aj);}}function f_ConvertToMoney(Bo,JT){Bo=Bo+"";var AP=Bo.indexOf(",");if(AP!=-1)Bo=Bo.substring(0,AP);else{AP=Bo.indexOf(".");if(AP!=-1)Bo=Bo.substring(0,AP);}var E_=Bo.charAt(0);var i,Ag=Bo.length;for(i=1;i<Ag;){if((Ag-i)%3==0)E_+=".";E_+=Bo.charAt(i);i++;}return E_+JT;}function f_Trim(AF){AF=AF+"";while(AF.substring(0,1)==' '){AF=AF.substring(1,AF.length);}while(AF.substring(AF.length-1,AF.length)==' '){AF=AF.substring(0,AF.length-1);}return AF;}function f_AddEvent(AB,FL,AW,Jh){if(AB.addEventListener){AB.addEventListener(FL,AW,Jh);return true;}else if(AB.attachEvent){var r=AB.attachEvent("on"+FL,AW);return r;}else{AB["on"+FL]=AW;}}function f_GetPosition(Au){var Ay=0;var Ap=0;if(Au){while(Au.offsetParent){Ay+=Au.offsetLeft;Ap+=Au.offsetTop;Au=Au.offsetParent;}Ay+=Au.offsetLeft;Ap+=Au.offsetTop;}return new Array(Ay,Ap);}function f_GetMouseCoords(event){if(event.pageX||event.pageY){return new Array(event.pageX,event.pageY);}else{return new Array(event.clientX+document.body.scrollLeft-document.body.clientLeft,event.clientY+document.body.scrollTop-document.body.clientTop);}}function f_GetMouseOffset(Au,event){event=event||window.event;var Df=f_GetPosition(Au);var A5=f_GetMouseCoords(event);return new Array(A5[0]-Df[0],A5[1]-Df[1]);}function f_CheckMouseInControlRegion(event,AB){var Ay;var Ca;var Ap;var Cb;var Dy=f_GetPosition(AB);var D2=f_GetMouseCoords(event);Ay=Dy[0];Ca=Dy[0]+AB.offsetWidth;Ap=Dy[1];Cb=Dy[1]+AB.offsetHeight;if(D2[0]>=Ay&&D2[0]<=Ca&&D2[1]>=Ap&&D2[1]<=Cb)return true;return false;}function f_CountOccurrenceCharacter(AO,Dc){var AD=0;var AP;while((AP=AO.indexOf(Dc))!=-1){AO=AO.substring(AP+1);AD++;}return AD;}function f_CleanWhitespace(AG){var x;var Dt=AG.childNodes.length;var BZ;for(x=Dt-1;x>-1;){BZ=AG.childNodes[x];if(BZ.nodeType==3){if(f_Trim(BZ.nodeValue).length==1)AG.removeChild(BZ)}else if(BZ.nodeType==1){f_CleanWhitespace(BZ)}x--;}}function f_ResetForm(KG,GP){var x,Ag,Bt,AL,i;if(GP!=null){var Bu=GP.split("|");Ag=Bu.length;x=new Array();for(i=0;i<Ag;){x.push(f_E(Bu[i]));i++;}}else{x=f_E(KG).elements;Ag=x.length;}for(i=0;i<Ag;){Bt=x[i].id;AL=Bt.substring(Bt.lastIndexOf("_")+1,Bt.length);switch(AL){case"txt":{f_E(Bt).value="";break;}case"txtN":{f_E(Bt).value="";break;}case"cb":{f_E(Bt).selectedIndex=0;break;}case"bt":{if((f_CheckREGEX(Bt,"^\\w*fup_([0-9]*_)*bt(_[0-9]*_bt)*$",null)==true)){var CE,B0;var CE=f_E(Bt);if(CE.nextSibling!=null)CE.parentNode.removeChild(CE.nextSibling);B0=Bt.split("_");if(isNaN(B0[B0.length-2]))CE.title="";else{B0.splice(B0.length-2,1);B0=B0.join("_");if(f_E(B0)!=null)f_E(B0).title="";}}break;}}i++;}if(typeof(RichTextEditor)!="undefined"){if(RichTextEditor.ArrEditor!=null){Ag=RichTextEditor.ArrEditor.length;for(i=0;i<Ag;){RichTextEditor.SetHTML(i,"");i++;}}}}function f_ReplaceSpecialChar(AF,A1,EB){var BU,Bg;switch(A1){case 1:{if(EB==false){BU=new Array("\n","\r","\t","&","  ","\"","`","'","�",">","<","�");Bg=new Array("","","","&amp;"," &nbsp;","&quot;","&lsquo;","&rsquo;","&copy;","&gt;","&lt;","&reg;");}else{BU=new Array("&amp;"," &nbsp;","&quot;","&lsquo;","&rsquo;","&copy;","&gt;","&lt;","&reg;");Bg=new Array("&","  ","\"","`","'","�",">","<","�");}break;}case 2:{if(EB==false){BU=new Array("\n","\r","\t","&","  ","`","�","�");Bg=new Array("","","","&amp;"," &nbsp;","&lsquo;","&copy;","&reg;");}else{BU=new Array("&amp;"," &nbsp;","&lsquo;","&copy;","&reg;");Bg=new Array("&","  ","`","�","�");}break;}case 4:{if(EB==false){BU=new Array("<br>","\n","\r","\t",String.fromCharCode(8232));Bg=new Array("<br/>","","","","");var i,BJ,B8,BH,ED,B6;BJ=f_GetArrayCharacterPosition(AF,"\"");B8=BJ.length;for(i=0;i<B8;){B6=true;if(i==B8-1){BH=AF.substring(0,BJ[i]);ED=BH.length;B6=f_CheckSpecialCharacter(BH);}if((i==B8-2)&&B6==true){BH=AF.substring(BJ[i+2]+1,BJ[i+1]);ED=BH.length;B6=f_CheckSpecialCharacter(BH);}if((i<B8-1)&&B6==true){BH=AF.substring(BJ[i+1]+1,BJ[i]);ED=BH.length;B6=f_CheckSpecialCharacter(BH);}if((i<B8-2)&&B6==true){BH=AF.substring(BJ[i+2]+1,BJ[i+1]);ED=BH.length;B6=f_CheckSpecialCharacter(BH);}if(B6){AF=AF.substring(0,BJ[i])+"&quot;"+AF.substring(BJ[i]+1);i++;}else i=i+2;}AF=f_CheckSpecialCharacterExtend(AF);}else{BU=new Array("<br/>");Bg=new Array("<br>");}break;}default:{if(EB==false){BU=new Array("&",">","<","\n","\r","\t","  ","\"","`","'","�","�");Bg=new Array("&amp;","&gt;","&lt;","<br />",""," &nbsp; &nbsp; &nbsp;"," &nbsp;","&quot;","&lsquo;","&rsquo;","&copy;","&reg;");}else{BU=new Array("<br />"," &nbsp; &nbsp; &nbsp;","&amp;","&gt;","&lt;"," &nbsp;","&quot;","&lsquo;","&rsquo;","&copy;","&reg;");Bg=new Array("\n","\t","&",">","<","  ","\"","`","'","�","�");}}}var i;var CN=BU.length;var Bs;for(i=0;i<CN;){Bs=new RegExp(BU[i],"g");AF=AF.replace(Bs,Bg[i]);i++;}return AF;}function f_CheckSpecialCharacterExtend(CI){var i,BJ,B8,Eo,BH;BJ=f_GetArrayCharacterPosition(CI,"<img ");B8=BJ.length;for(i=0;i<B8;){BH=CI.substring(BJ[i]);Eo=BH.indexOf(">");CI=CI.substring(0,BJ[i])+BH.substring(0,Eo)+"/"+BH.substring(Eo);i++;}return CI;}function f_CheckSpecialCharacter(CI){var i,AE,AD,Gi;AE=new Array(" style="," class="," id="," src="," alt="," width="," height="," title="," type="," value="," href="," onclick=");AD=AE.length;Gi=CI.length;for(i=0;i<AD;){if(CI.indexOf(AE[i])==(Gi-AE[i].length)){return false;}i++;}return true;}function f_SwapIconImage(AB,Gc,Jx){if(AB.className==Gc){AB.className=Jx;}else{AB.className=Gc;}}function f_URLEncode(AF){AF=escape(AF);var Dk=new Array("/",".","_","*","+","@");var FB=new Array("%2F","%2E","%5F","%2A","%2B","%40");var i=0;var FG=Dk.length;for(i=0;i<FG;){AF=AF.replace(Dk[i],FB[i]);i++;}return AF;}function f_URLDecode(AF){AF=escape(AF);var Dk=new Array("%2F","%2E","%5F","%2A","%2B","%40","%2520","%25u0102","%25C2","%25C1","%25C0","%25u1EA2","%25C3","%25u1EA0","%25u1EAE","%25u1EB0","%25u1EB2","%25u1EB4","%25u1EB6","%25u1EA4","%25u1EA6","%25u1EA8","%25u1EAA","%25u1EAC","%25u0103","%25E2","%25E1","%25E0","%25u1EA3","%25E3","%25u1EA1","%25u1EAF","%25u1EB1","%25u1EB3","%25u1EB5","%25u1EB7","%25u1EA5","%25u1EA7","%25u1EA9","%25u1EAB","%25u1EAD","%25CA","%25C9","%25C8","%25u1EBA","%25u1EBC","%25u1EB8","%25u1EBE","%25u1EC0","%25u1EC2","%25u1EC4","%25u1EC6","%25EA","%25E9","%25E8","%25u1EBB","%25u1EBD","%25u1EB9","%25u1EBF","%25u1EC1","%25u1EC3","%25u1EC5","%25u1EC7","%25D4","%25u01A0","%25D3","%25D2","%25u1ECE","%25D5","%25u1ECC","%25u1ED0","%25u1ED2","%25u1ED4","%25u1ED6","%25u1ED8","%25u1EDA","%25u1EDC","%25u1EDE","%25u1EE0","%25u1EE2","%25F4","%25u01A1","%25F3","%25F2","%25u1ECF","%25F5","%25u1ECD","%25u1ED1","%25u1ED3","%25u1ED5","%25u1ED7","%25u1ED9","%25u1EDB","%25u1EDD","%25u1EDF","%25u1EE1","%25u1EE3","%25u01AF","%25DA","%25D9","%25u1EE6","%25u0168","%25u1EE4","%25u1EE8","%25u1EEA","%25u1EEC","%25u1EEE","%25u1EF0","%25u01B0","%25FA","%25F9","%25u1EE7","%25u0169","%25u1EE5","%25u1EE9","%25u1EEB","%25u1EED","%25u1EEF","%25u1EF1","%25CD","%25CC","%25u1EC8","%25u0128","%25u1ECA","%25ED","%25EC","%25u1EC9","%25u0129","%25u1ECB","%25DD","%25u1EF2","%25u1EF6","%25u1EF8","%25u1EF4","%25FD","%25u1EF3","%25u1EF7","%25u1EF9","%25u1EF5","%25u0110","%25u0111");var FB=new Array("/",".","_","*","+","@"," ",unescape("%u0102"),unescape("%C2"),unescape("%C1"),unescape("%C0"),unescape("%u1EA2"),unescape("%C3"),unescape("%u1EA0"),unescape("%u1EAE"),unescape("%u1EB0"),unescape("%u1EB2"),unescape("%u1EB4"),unescape("%u1EB6"),unescape("%u1EA4"),unescape("%u1EA6"),unescape("%u1EA8"),unescape("%u1EAA"),unescape("%u1EAC"),unescape("%u0103"),unescape("%E2"),unescape("%E1"),unescape("%E0"),unescape("%u1EA3"),unescape("%E3"),unescape("%u1EA1"),unescape("%u1EAF"),unescape("%u1EB1"),unescape("%u1EB3"),unescape("%u1EB5"),unescape("%u1EB7"),unescape("%u1EA5"),unescape("%u1EA7"),unescape("%u1EA9"),unescape("%u1EAB"),unescape("%u1EAD"),unescape("%CA"),unescape("%C9"),unescape("%C8"),unescape("%u1EBA"),unescape("%u1EBC"),unescape("%u1EB8"),unescape("%u1EBE"),unescape("%u1EC0"),unescape("%u1EC2"),unescape("%u1EC4"),unescape("%u1EC6"),unescape("%C3%AA"),unescape("%C3%A9"),unescape("%C3%A8"),unescape("%E1%BA%BB"),unescape("%E1%BA%BD"),unescape("%E1%BA%B9"),unescape("%E1%BA%BF"),unescape("%E1%BB%81"),unescape("%E1%BB%u0192"),unescape("%E1%BB%u2026"),unescape("%E1%BB%u2021"),unescape("%C3%u201D"),unescape("%C6%A0"),unescape("%C3%u201C"),unescape("%C3%u2019"),unescape("%E1%BB%u017D"),unescape("%C3%u2022"),unescape("%E1%BB%u0152"),unescape("%E1%BB%90"),unescape("%E1%BB%u2019"),unescape("%E1%BB%u201D"),unescape("%E1%BB%u2013"),unescape("%E1%BB%u02DC"),unescape("%E1%BB%u0161"),unescape("%E1%BB%u0153"),unescape("%E1%BB%u017E"),unescape("%E1%BB%A0"),unescape("%E1%BB%A2"),unescape("%C3%B4"),unescape("%C6%A1"),unescape("%C3%B3"),unescape("%C3%B2"),unescape("%E1%BB%8F"),unescape("%C3%B5"),unescape("%E1%BB%8D"),unescape("%E1%BB%u2018"),unescape("%E1%BB%u201C"),unescape("%E1%BB%u2022"),unescape("%E1%BB%u2014"),unescape("%E1%BB%u2122"),unescape("%E1%BB%u203A"),unescape("%E1%BB%9D"),unescape("%E1%BB%u0178"),unescape("%E1%BB%A1"),unescape("%E1%BB%A3"),unescape("%C6%AF"),unescape("%C3%u0161"),unescape("%C3%u2122"),unescape("%E1%BB%A6"),unescape("%C5%A8"),unescape("%E1%BB%A4"),unescape("%E1%BB%A8"),unescape("%E1%BB%AA"),unescape("%E1%BB%AC"),unescape("%E1%BB%AE"),unescape("%E1%BB%B0"),unescape("%C6%B0"),unescape("%C3%BA"),unescape("%C3%B9"),unescape("%E1%BB%A7"),unescape("%C5%A9"),unescape("%E1%BB%A5"),unescape("%E1%BB%A9"),unescape("%E1%BB%AB"),unescape("%E1%BB%AD"),unescape("%E1%BB%AF"),unescape("%E1%BB%B1"),unescape("%C3%8D"),unescape("%C3%u0152"),unescape("%E1%BB%u02C6"),unescape("%C4%A8"),unescape("%E1%BB%u0160"),unescape("%C3%AD"),unescape("%C3%AC"),unescape("%E1%BB%u2030"),unescape("%C4%A9"),unescape("%E1%BB%u2039"),unescape("%C3%9D"),unescape("%E1%BB%B2"),unescape("%E1%BB%B6"),unescape("%E1%BB%B8"),unescape("%E1%BB%B4"),unescape("%C3%BD"),unescape("%E1%BB%B3"),unescape("%E1%BB%B7"),unescape("%E1%BB%B9"),unescape("%E1%BB%B5"),unescape("%C4%90"),unescape("%C4%u2018"));var i=0;var FG=Dk.length;for(i=0;i<FG;){AF=AF.replace(new RegExp(Dk[i],"g"),FB[i]);i++;}return AF;}function f_SetOpacity(e,o){e.style.filter="alpha(opacity="+o*100+")";e.style.opacity=o;}function f_EncodeSpecialCharacter(AF){var FK=new RegExp("["+unescape("%u1ECB")+"]",'g');AF=AF.replace(FK,'&iexcl;');return AF;}function f_RemoveNode(Jy){var AB=f_E(Jy);if(AB!=null){AB.parentNode.removeChild(AB);return true;}return false;}function f_RemoveNode1(Ez){if(Ez!=null){Ez.parentNode.removeChild(Ez);return true;}return false;}function f_AjaxGetTotalPage(Am){g_ObjPage.TotalPage=g_Class2.GetTotalPage(new Array(g_ObjPage.NumRow,Am,g_ObjPage.Search)).value;g_ObjPage.TotalRecord=g_Class2.GetTotalRecord(new Array(Am,g_ObjPage.Search)).value;try{f_E("TotalPage_lb").innerHTML=g_ObjPage.TotalPage+1;f_E("TotalItem_box").innerHTML="Total Item : &nbsp;<span style='color:#CC0000; font-weight:bold; font-size:13px'>"+g_ObjPage.TotalRecord+" </span>";}catch(ex){}}function f_FirstPage(){if(g_ObjPage.Page>0){g_ObjPage.Page=0;return true;}return false;}function f_PrePage(){if(g_ObjPage.Page>0){g_ObjPage.Page-=1;return true;}return false;}function f_NextPage(){if(g_ObjPage.Page<g_ObjPage.TotalPage){g_ObjPage.Page+=1;return true;}return false;}function f_LastPage(){if(g_ObjPage.Page<g_ObjPage.TotalPage){g_ObjPage.Page=g_ObjPage.TotalPage;return true;}return false;}function f_ChangeOrderGrid(ObjPage,E7,AW){if(ObjPage.Order==E7+" asc")ObjPage.Order=E7+" desc";else ObjPage.Order=E7+" asc";setTimeout(AW,0);}function f_GoToPage(AB,Ds,Jq){var NU=AB.value;AB.onfocus=function(){if(document.onkeydown!=undefined)CommonScripts.KeyDownFunction=document.onkeydown;this.select();CommonScripts.InputTotalPageCtrl=this;document.onkeydown=function(event){if(!event)event=window.event;var AI=event.keyCode;if((AI>=97&&AI<=105)||(AI>=49&&AI<=57)||AI==16||AI==17||AI==8||AI==46||AI==35||AI==36){return true;}if(AI==13){if(CommonScripts.InputTotalPageCtrl.value>Ds+1){g_ObjPage.Page=Ds;CommonScripts.InputTotalPageCtrl.value=Ds+1;}else g_ObjPage.Page=parseInt(CommonScripts.InputTotalPageCtrl.value)-1;CommonScripts.InputTotalPageCtrl.select();setTimeout(Jq,1);}return false;};};AB.onblur=function(){if(CommonScripts.KeyDownFunction!=null){document.onkeydown=CommonScripts.KeyDownFunction;CommonScripts.KeyDownFunction=null;}else{document.onkeydown=function(){return true;};}};}function f_SetCookie(AL,AT,DV,Br,GQ,J2){if((f_GetCookie(AL)+"")!=(AT+"")){var E3=new Date();E3.setTime(E3.getTime());if(DV){DV=DV*1000*60*60*24;}var J$=new Date(E3.getTime()+(DV));document.cookie=AL+"="+escape(AT)+((DV)?";expires="+J$.toGMTString():"")+((Br)?";path="+Br:"")+((GQ)?";domain="+GQ:"")+((J2)?";secure":"");return true;}else{return false;}}function f_GetCookie(AL){if(document.cookie.length>0){var Dj=document.cookie.indexOf(AL+"=");if(Dj!=-1){Dj=Dj+AL.length+1;var E2=document.cookie.indexOf(";",Dj);if(E2==-1)E2=document.cookie.length;return unescape(document.cookie.substring(Dj,E2));}}return"";}function f_CheckCookie(){var Bf=f_GetCookie("username");if(Bf!=null&&Bf!=""){alert('Welcome again '+Bf+'!');}else{Bf=prompt('Please enter your name:',"");if(Bf!=null&&Bf!=""){f_SetCookie('username',Bf,365);}}}function f_ChangeButtonCss(GM,E1,KE,J7){var AB;var D$=CommonScripts.ArrButtonFocusID.split("|");if(D$[E1]!=""){AB=f_E(D$[E1]);if(AB){AB.className=KE;}}AB=f_E(GM);if(AB){AB.className=J7;}D$[E1]=GM;CommonScripts.ArrButtonFocusID=D$.join("|");}function f_ChangeControlCss(AB,Cq,Dl){if(AB.className.indexOf(Cq)!=-1){AB.className=AB.className.replace(new RegExp(Cq,'g'),Dl);}else if(AB.className.indexOf(Dl)!=-1){AB.className=AB.className.replace(new RegExp(Dl,'g'),Cq);}else if(AB.className==""){AB.className=Cq;}else{AB.className=" "+Cq;}}function f_CheckREGEX(AT,Dh,Ex){var Ce;if(Ex)Ce=new RegExp(Dh,"i");else Ce=new RegExp(Dh);return Ce.test(AT);}function f_ConvertVi2En(AF){var AO=new StringBuffer();AO.append('[').append(unescape("%u0102")).append(',').append(unescape("%C2")).append(',').append(unescape("%C1")).append(',').append(unescape("%C0")).append(',').append(unescape("%u1EA2")).append(',').append(unescape("%C3")).append(',').append(unescape("%u1EA0")).append(',').append(unescape("%u1EAE")).append(',').append(unescape("%u1EB0")).append(',').append(unescape("%u1EB2")).append(',').append(unescape("%u1EB4")).append(',').append(unescape("%u1EB6")).append(',').append(unescape("%u1EA4")).append(',').append(unescape("%u1EA6")).append(',').append(unescape("%u1EA8")).append(',').append(unescape("%u1EAA")).append(',').append(unescape("%u1EAC")).append(']');var FK=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%u0103")).append(',').append(unescape("%E2")).append(',').append(unescape("%E1")).append(',').append(unescape("%E0")).append(',').append(unescape("%u1EA3")).append(',').append(unescape("%E3")).append(',').append(unescape("%u1EA1")).append(',').append(unescape("%u1EAF")).append(',').append(unescape("%u1EB1")).append(',').append(unescape("%u1EB3")).append(',').append(unescape("%u1EB5")).append(',').append(unescape("%u1EB7")).append(',').append(unescape("%u1EA5")).append(',').append(unescape("%u1EA7")).append(',').append(unescape("%u1EA9")).append(',').append(unescape("%u1EAB")).append(',').append(unescape("%u1EAD")).append(']');var Ji=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%CA")).append(',').append(unescape("%C9")).append(',').append(unescape("%C8")).append(',').append(unescape("%u1EBA")).append(',').append(unescape("%u1EBC")).append(',').append(unescape("%u1EB8")).append(',').append(unescape("%u1EBE")).append(',').append(unescape("%u1EC0")).append(',').append(unescape("%u1EC2")).append(',').append(unescape("%u1EC4")).append(',').append(unescape("%u1EC6")).append(']');var JK=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%EA")).append(',').append(unescape("%E9")).append(',').append(unescape("%E8")).append(',').append(unescape("%u1EBB")).append(',').append(unescape("%u1EBD")).append(',').append(unescape("%u1EB9")).append(',').append(unescape("%u1EBF")).append(',').append(unescape("%u1EC1")).append(',').append(unescape("%u1EC3")).append(',').append(unescape("%u1EC5")).append(',').append(unescape("%u1EC7")).append(']');var JM=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%D4")).append(',').append(unescape("%u01A0")).append(',').append(unescape("%D3")).append(',').append(unescape("%D2")).append(',').append(unescape("%u1ECE")).append(',').append(unescape("%D5")).append(',').append(unescape("%u1ECC")).append(',').append(unescape("%u1ED0")).append(',').append(unescape("%u1ED2")).append(',').append(unescape("%u1ED4")).append(',').append(unescape("%u1ED6")).append(',').append(unescape("%u1ED8")).append(',').append(unescape("%u1EDA")).append(',').append(unescape("%u1EDC")).append(',').append(unescape("%u1EDE")).append(',').append(unescape("%u1EE0")).append(',').append(unescape("%u1EE2")).append(']');var JQ=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%F4")).append(',').append(unescape("%u01A1")).append(',').append(unescape("%F3")).append(',').append(unescape("%F2")).append(',').append(unescape("%u1ECF")).append(',').append(unescape("%F5")).append(',').append(unescape("%u1ECD")).append(',').append(unescape("%u1ED1")).append(',').append(unescape("%u1ED3")).append(',').append(unescape("%u1ED5")).append(',').append(unescape("%u1ED7")).append(',').append(unescape("%u1ED9")).append(',').append(unescape("%u1EDB")).append(',').append(unescape("%u1EDD")).append(',').append(unescape("%u1EDF")).append(',').append(unescape("%u1EE1")).append(',').append(unescape("%u1EE3")).append(']');var JO=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%u01AF")).append(',').append(unescape("%DA")).append(',').append(unescape("%D9")).append(',').append(unescape("%u1EE6")).append(',').append(unescape("%u0168")).append(',').append(unescape("%u1EE4")).append(',').append(unescape("%u1EE8")).append(',').append(unescape("%u1EEA")).append(',').append(unescape("%u1EEC")).append(',').append(unescape("%u1EEE")).append(',').append(unescape("%u1EF0")).append(']');var JP=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%u01B0")).append(',').append(unescape("%FA")).append(',').append(unescape("%F9")).append(',').append(unescape("%u1EE7")).append(',').append(unescape("%u0169")).append(',').append(unescape("%u1EE5")).append(',').append(unescape("%u1EE9")).append(',').append(unescape("%u1EEB")).append(',').append(unescape("%u1EED")).append(',').append(unescape("%u1EEF")).append(',').append(unescape("%u1EF1")).append(']');var JL=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%CD")).append(',').append(unescape("%CC")).append(',').append(unescape("%u1EC8")).append(',').append(unescape("%u0128")).append(',').append(unescape("%u1ECA")).append(']');var JG=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%ED")).append(',').append(unescape("%EC")).append(',').append(unescape("%u1EC9")).append(',').append(unescape("%u0129")).append(',').append(unescape("%u1ECB")).append(']');var JC=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%DD")).append(',').append(unescape("%u1EF2")).append(',').append(unescape("%u1EF6")).append(',').append(unescape("%u1EF8")).append(',').append(unescape("%u1EF4")).append(']');var JD=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%FD")).append(',').append(unescape("%u1EF3")).append(',').append(unescape("%u1EF7")).append(',').append(unescape("%u1EF9")).append(',').append(unescape("%u1EF5")).append(']');var JF=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%u0110")).append(']');var Jb=new RegExp(AO.toString(),'g');AO.removeAll();AO.append('[').append(unescape("%u0111")).append(']');var Jd=new RegExp(AO.toString(),'g');AO.removeAll();var Je=new RegExp('[!-/,:,\[-^,`,{-~]','g');AF=AF.replace(Je,'');AF=AF.replace(/ /g,'_');AF=AF.replace(FK,'A');AF=AF.replace(Ji,'a');AF=AF.replace(JK,'E');AF=AF.replace(JM,'e');AF=AF.replace(JQ,'O');AF=AF.replace(JO,'o');AF=AF.replace(JP,'U');AF=AF.replace(JL,'u');AF=AF.replace(JG,'I');AF=AF.replace(JC,'i');AF=AF.replace(JD,'Y');AF=AF.replace(JF,'y');AF=AF.replace(Jb,'D');AF=AF.replace(Jd,'d');return AF;}function f_ConvertArrayItemToArray(Cn,BL){var AD=Cn.length;var i;for(i=0;i<AD;){Cn[i]=Cn[i].split(BL);i++;}}function f_SetTextToBox(BO,Av){var Ao,Cj;var A4=document.createElement("div");A4.style.cssText="position:absolute;z-index:-1";A4.innerHTML=Av;A4=BO.appendChild(A4);Cj=A4.offsetWidth/Av.length;BO.removeChild(A4);Ao=parseInt((BO.offsetWidth-Cj)/Cj,10);BO.innerHTML=Av.substring(0,Ao);}function f_GetHTMLAccordingWidth(AU,DZ,Av){var Ao,Cj;var A4=document.createElement("div");A4.style.cssText="position:absolute;z-index:-1;"+DZ;A4.innerHTML=Av;A4=document.body.appendChild(A4);Cj=A4.offsetWidth/Av.length;document.body.removeChild(A4);Ao=parseInt((AU-Cj)/Cj,10);return Av.substring(0,Ao-2);}function f_GetWidthAccordingText(DZ,Av){var A4,AU;A4=document.createElement("div");A4.style.cssText="position:absolute;z-index:-1;"+DZ;A4.innerHTML=Av;A4=document.body.appendChild(A4);AU=A4.offsetWidth;document.body.removeChild(A4);return AU;}function f_GetHiestZIndexOnPage(){var Ey=0;var Gy=document.getElementsByTagName?document.getElementsByTagName("*"):document.all;var i,AB,DY,B4;var JV=Gy.length;for(i=0;i<JV;){AB=Gy[i];DY=null;if(AB.currentStyle){DY=AB.currentStyle;}else if(document.defaultView&&document.defaultView.getComputedStyle){DY=document.defaultView.getComputedStyle(AB,"");}if(DY){B4=Number(DY.zIndex);}else{B4=Number(AB.style.zIndex);}if(!isNaN(B4)){Ey=Math.max(Ey,B4);}i++;}return Ey;}function f_GetPath(){var Br=new StringBuffer();var CA=window.location.pathname.split("/");var JU=CA.length;var i=(window.location.hostname=="localhost")?3:2;for(;i<JU;){Br.append("../");i++;}return Br.toString();}function f_CreateComboboxHTML(BX,AC,Ja,JY,Db,Di){var i,AA,AD;AA=new StringBuffer();AD=AC.Rows.length;if(AD>0){var AS,Av,AT,Bs;Bs=new RegExp("'","g");AA.append("<select id='").append(BX).append("'").append(Db==null?"":(" class='"+Db+"'")).append(Di==null?"":(" onchange=\""+Di+"\"")).append(">");AA.append("<option value=''>- Select -</option>");for(i=0;i<AD;){AS=AC.Rows[i];Av=AS[JY];Av=Av.replace(Bs,"");AT=AS[Ja];AT=AT.replace(Bs,"");AA.append("<option value='").append(AT).append("'>").append(Av).append("</option>");i++;}AA.append("</select>");}return AA.toString();}function f_CreateCombobox(AZ,BX,Gq,KP,Db,Di){var i,AA,AD;AA=new StringBuffer();AD=Gq.length;if(AD>0){AA.append("<select id='").append(BX).append("'").append(Db==null?"":(" class='"+Db+"'")).append(Di==null?"":(" onchange=\""+Di+"\"")).append(">");AA.append("<option value=''>- Select -</option>");for(i=0;i<AD;){AA.append("<option value='").append(KP[i]).append("'>").append(Gq[i]).append("</option>");i++;}AA.append("</select>");}if(AZ!=null)f_E(AZ).innerHTML=AA.toString();return AA.toString();}function f_InsertAfter(FC,FF){var FE=FF.parentNode;if(FE.lastchild==FF){FE.appendChild(FC);}else{FE.insertBefore(FC,FF.nextSibling);}return FC;}function f_GetUploadFilename(KL){var Gk,AV,AE,As;Gk=f_E(KL).value;AE=Gk.split("\\");AV=AE[AE.length-1];As=AV.substring(AV.lastIndexOf(".")).toLowerCase();return f_ConvertVi2En(AV.substring(0,AV.lastIndexOf(".")))+As;}function f_CheckItemExixtInArray(B$,De){var AJ=-1;var i;var AD=B$.length;for(i=0;i<AD;){if(De==B$[i]){AJ=i;break;}i++;}return AJ;}function f_RemoveItemFromArray(B$,De){var AP;AP=f_CheckItemExixtInArray(B$,De);if(AP!=-1){B$.splice(AP,1);}return B$;}function f_CheckArrayContainString(B$,De){var AJ=-1;var i;var AD=B$.length;for(i=0;i<AD;){if(B$[i].indexOf(De)!=-1){AJ=i;break;}i++;}return AJ;}function f_CreateBlockPage(CU,KM){if(f_E(CU)==undefined){var Cg=f_GetHiestZIndexOnPage()+1;var d=document;var Gf=CU+"BottomBorder";var Af=f_E(Gf);if(Af==undefined){Af=d.createElement("div");Af.id=Gf;Af.style.cssText="clear:both;height:0px";Af=d.body.appendChild(Af);}var C3=d.createElement("div");C3.id=CU;C3.style.cssText="position:absolute;display:block;left:0px;top:0px;width:100%;height:100%;background:url(../Images/overlay.png);z-index:"+Cg;C3=d.body.appendChild(C3);C3.onclick=function(){setTimeout(KM,0);};if(Af.offsetTop>d.body.offsetHeight){C3.style.height=Af.offsetTop+"px";}}}function f_WarpImageToBox(BE,D5,Dd,KO){var BK=f_E(BE);switch(KO){case"none":{BK.style.position="absolute";BK.onload=function(){this.removeAttribute("width");this.removeAttribute("height");var Gj=this.width/D5;var Gh=this.height/Dd;if(Gj>1||Gh>1){if(Gj>Gh){this.width=D5;}else{this.height=Dd;}}this.style.left=parseInt((D5-this.width)/2)+"px";this.style.top=parseInt((Dd-this.height)/2)+"px";};break;}case"scale":{break;}}}function f_ChangeWebsiteLanguage(BR){if(g_LangID!=BR){CommonFunction.SetSessionValue(BR,"LangID");var Ah=window.location.pathname;Ah=(Ah.indexOf("?")==-1?"?":"&")+"LangID="+BR;window.open(Ah,"_self");}}function f_UrlSeo(Ah){var i,CN,Bs,BU,Bg;BU=new Array("/","%");Bg=new Array("+","");CN=BU.length;for(i=0;i<CN;){Bs=new RegExp(BU[i],"g");AF=Ah.replace(Bs,Bg[i]);i++;}Ah=Ah.replace(/\(/g,"");Ah=Ah.replace(/\)/g,"");Ah=Ah.replace(/&amp;+/g,"");Ah=Ah.replace(/&quot;+/g,"");Ah=Ah.replace(/:+/g,"");Ah=Ah.replace(/\.+/g,"");Ah=Ah.replace(/\,+/g,"");Ah=Ah.replace(/\s+/g,"+");Ah=Ah.replace(/&/g,"+");return Ah;}function f_GetAbsoluteURL(KQ,EC){var AJ;if(EC.indexOf("../")==0||EC.indexOf("/")==0){var i,C8,Dg,AD;C8=KQ.split("/");Dg=EC.split("/");AD=Dg.length;C8.splice(C8.length-1,1);for(i=AD;i>=0;){if(Dg[i]==".."){C8.splice(C8.length-1,1);Dg.splice(i,1);}i--;}AJ=C8.join("/")+"/"+Dg.join("/");}else{AJ=EC;}return AJ;}function f_GetYOffset(){var Es;if(typeof(window.pageYOffset)=='number'){Es=window.pageYOffset;}else{Es=document.documentElement.scrollTop;}return Es;}function f_GetArrayCharacterPosition(AF,Gx){var Cn,Ao;Cn=new Array();Ao=AF.lastIndexOf(Gx);while(Ao!=-1){Cn.push(Ao);AF=AF.substring(0,Ao);Ao=AF.lastIndexOf(Gx);}return Cn;}function f_GetFullControlID(I6){var i,j,F$,GE,Ek,AJ;AJ="";F$=document.forms.length;for(i=0;i<F$;){GE=document.forms[i].elements.length;for(j=0;j<GE;){Ek=document.forms[i].elements[j].id;if(Ek.indexOf(I6)!=-1){return AJ=Ek;}j++;}i++;}return AJ;}function f_CheckLoadCompleted(FN,GR){if(CommonScripts.LoadedClass.indexOf(FN)==-1)setTimeout("f_CheckLoadCompleted('"+FN+"','"+GR+"');",500);else setTimeout(GR,0);}function f_GetElementByClass(BB,Iz){var i,D_,GY,AJ;AJ=new Array();D_=BB.getElementsByTagName("*");GY=D_.length;for(i=0;i<GY;){if(D_[i].className.indexOf(Iz)!=-1){AJ.push(D_[i]);}i++;}return AJ;}var BrowserDetect={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser";this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version";this.OS=this.searchString(this.dataOS)||"an unknown OS";},searchString:function(AC){var i;var AD=AC.length;for(i=0;i<AD;){var DF=AC[i].string;var I1=AC[i].prop;this.versionSearchString=AC[i].versionSearch||AC[i].identity;if(DF){if(DF.indexOf(AC[i].subString)!=-1)return AC[i].identity;}else if(I1)return AC[i].identity;i++;}},searchVersion:function(DF){var GV=DF.indexOf(this.versionSearchString);if(GV==-1)return;return parseFloat(DF.substring(GV+this.versionSearchString.length+1));},dataBrowser:[{string:navigator.userAgent,subString:"Chrome",identity:"Chrome"},{string:navigator.userAgent,subString:"OmniWeb",versionSearch:"OmniWeb/",identity:"OmniWeb"},{string:navigator.vendor,subString:"Apple",identity:"Safari",versionSearch:"Version"},{prop:window.opera,identity:"Opera"},{string:navigator.vendor,subString:"iCab",identity:"iCab"},{string:navigator.vendor,subString:"KDE",identity:"Konqueror"},{string:navigator.userAgent,subString:"Firefox",identity:"Firefox"},{string:navigator.vendor,subString:"Camino",identity:"Camino"},{string:navigator.userAgent,subString:"Netscape",identity:"Netscape"},{string:navigator.userAgent,subString:"MSIE",identity:"Explorer",versionSearch:"MSIE"},{string:navigator.userAgent,subString:"Gecko",identity:"Mozilla",versionSearch:"rv"},{string:navigator.userAgent,subString:"Mozilla",identity:"Netscape",versionSearch:"Mozilla"}],dataOS:[{string:navigator.platform,subString:"Win",identity:"Windows"},{string:navigator.platform,subString:"Mac",identity:"Mac"},{string:navigator.userAgent,subString:"iPhone",identity:"iPhone/iPod"},{string:navigator.platform,subString:"Linux",identity:"Linux"}]};BrowserDetect.init();window.onload=function(){g_Path=f_GetPath();f_UserJScript_LoadJsCssFile();f_UserJScript_InitialPage();};function f_UserJScript_LoadJsCssFile(){var CA=window.location.pathname.split("/");var FY=CA[CA.length-1].toLowerCase();FY=FY.substring(FY.lastIndexOf("_")+1);switch(FY){case"location.aspx":{AlertWindow.ShowExecuteState("Loading data",3);f_LoadJsCssFile(g_Path+"Scripts/Web_U_CombineOnload.js");f_CheckLoadCompleted("Web_U_CombineOnload","AlertWindow.RemoveExecuteState();");break;}case"producthome.aspx":{AlertWindow.ShowExecuteState("Loading data",3);f_LoadJsCssFile(g_Path+"Scripts/Web_U_CombineOnload.js");f_CheckLoadCompleted("Web_U_CombineOnload","AlertWindow.RemoveExecuteState();");break;}case"searchproduct.aspx":case"product.aspx":{AlertWindow.ShowExecuteState("Loading data",3);f_LoadJsCssFile(g_Path+"Scripts/Web_U_CombineOnload.js");f_CheckLoadCompleted("Web_U_CombineOnload","AlertWindow.RemoveExecuteState();");break;}}}var UserJScript={init:function(){if(this.Class==undefined)this.Class=MasterPages_User;if(this.Class1==undefined)this.Class1=CommonFunction;if(this.Class2==undefined)this.Class2=PopupWindowClass;if(this.PanelFocus==undefined)this.PanelFocus=null;if(this.PageName==undefined){var CA=window.location.pathname.split("/");this.PageName=CA[CA.length-1].toLowerCase();this.PageName=this.PageName.substring(this.PageName.lastIndexOf("_")+1);}if(this.KeyDown==undefined)this.KeyDown=null;}};function f_UserJScript_InitialPage(){UserJScript.init();document.onkeydown=f_UserJScript_EventOnKeyDown;document.onkeyup=f_UserJScript_EventOnKeyUp;switch(UserJScript.PageName){case"homepage.aspx":{g_CheckImageSwapping=false;ScrollBar.CreateXScrollBar("ScrollBar_Box",false,3,255);f_UserJScript_ShowIntroAds();break;}case"producthome.aspx":{if(UserJScript.Class3==undefined)UserJScript.Class3=ProjectCommonFunction;g_PID=0;g_FocusLeftMenuCtrl=null;g_FocusMenuName=null;var OT=f_E("ctl00_Content_Category_Box");if(OT.childNodes.length>0){f_UserJScript_BindProductHome(OT.childNodes[0]);f_UserJScript_ShowCatInfo();}break;}case"productdetail.aspx":{if(UserJScript.Class3==undefined)UserJScript.Class3=ProjectCommonFunction;if(UserJScript.Class4==undefined)UserJScript.Class4=UserPages_ProductsDetail;f_UserJScript_ChangeSelectMenuState(f_E("ctl00_Content_Path_Box").childNodes[0].title);break;}case"product.aspx":{if(UserJScript.Class3==undefined)UserJScript.Class3=ProjectCommonFunction;f_UserJScript_ChangeSelectMenuState(f_E("ctl00_Content_Path_Box").childNodes[0].title);break;}case"ImportExcel":{g_Class3=UserPages_ImportExcelData;break;}case"cart.aspx":{if(UserJScript.Class4==undefined)UserJScript.Class4=UserPages_CartOrder;break;}case"contactus.aspx":{g_Class2=UserPages_ContactUs;CaptchaAjax.CreateCaptcha("ValidateImage_Box","Scripts/CaptchaAjax/Data/");f_E("ctl00_Content_Message_txt").focus();f_E("ctl00_Content_Send_bt").onclick=function(){return f_SendMessage();};break;}case"casestudy.aspx":{g_Class2=UserPages_CaseStudy;break;}}ddlevelsmenu.setup("ctl00_TopMenu_box","topbar");f_UserJScript_ChangeLanguageWebsite();}function f_UserJScript_ChangeLanguageWebsite(){switch(g_LangID){case"2":{switch(UserJScript.PageName){case"homepage.aspx":{break;}case"producthome.aspx":{f_E("CatTitle_Box").innerHTML="CATEGORY";break;}case"productdetail.aspx":{f_E("CatTitle_Box").innerHTML="CATEGORY";f_E("Price_lb").innerHTML="Price :";f_E("ProductCode_lb").innerHTML="Code :";if(f_E("Style_lb")!=null){f_E("Style_lb").innerHTML="Style :";f_E("ProductInformation_lb").innerHTML="Product information";}f_E("ContinueShopping_lk").innerHTML="Continue Shopping";break;}case"product.aspx":{f_E("CatTitle_Box").innerHTML="CATEGORY";f_E("FilterTop_Box").innerHTML="&nbsp; Arrange product &nbsp; &nbsp; &nbsp;<a href=\"javascript:void(0)\" class=\"U_LINK6\" onclick=\"f_UserJScript_ProductOrder('Product_Price asc');\">Price accending</a> &nbsp;| &nbsp;<a href=\"javascript:void(0)\" class=\"U_LINK6\" onclick=\"f_UserJScript_ProductOrder('Product_Price desc');\">Price descending</a> &nbsp;| &nbsp;<a href=\"javascript:void(0)\" class=\"U_LINK6\" onclick=\"f_UserJScript_ProductOrder('ProductProperty_Name asc');\">A-Z</a> &nbsp;| &nbsp;<a href=\"javascript:void(0)\" class=\"U_LINK6\" onclick=\"f_UserJScript_ProductOrder('ProductProperty_Name desc');\">Z-A</a>";f_E("FilterBottom_Box").innerHTML=f_E("FilterTop_Box").innerHTML;break;}case"searchproduct.aspx":{f_E("ctl00_Content_Title_Box").innerHTML="&nbsp; &nbsp; Search results";f_E("FilterTop_Box").innerHTML="&nbsp; Arrange product &nbsp; &nbsp; &nbsp;<a href=\"javascript:void(0)\" class=\"U_LINK6\" onclick=\"f_UserJScript_ProductOrder('Product_Price asc');\">Price accending</a> &nbsp;| &nbsp;<a href=\"javascript:void(0)\" class=\"U_LINK6\" onclick=\"f_UserJScript_ProductOrder('Product_Price desc');\">Price descending</a> &nbsp;| &nbsp;<a href=\"javascript:void(0)\" class=\"U_LINK6\" onclick=\"f_UserJScript_ProductOrder('ProductProperty_Name asc');\">A-Z</a> &nbsp;| &nbsp;<a href=\"javascript:void(0)\" class=\"U_LINK6\" onclick=\"f_UserJScript_ProductOrder('ProductProperty_Name desc');\">Z-A</a>";f_E("FilterBottom_Box").innerHTML=f_E("FilterTop_Box").innerHTML;break;}case"cart.aspx":{f_E("CartTitle_Box").innerHTML="&nbsp; &nbsp; Your shopping bag";var B2=f_E("CartMenuTitle_Box");B2.innerHTML="<div style=\"float:left; width:400px\"> &nbsp;Product description</div>"+"<div style=\"float:left; width:150px\">Item price</div>"+"<div style=\"float:left; width:100px;text-align:center\">Quantity</div>"+"<div style=\"float:left; width:120px;text-align:right\">Subtotal</div>";f_E("TotalTitle_Box").innerHTML="Total &nbsp;";break;}case"location.aspx":{f_E("Path_Box").innerHTML="<a class=\"U_LINK14\" href=\"../User/HomePage.aspx\">Home</a>&nbsp; &gt; &nbsp;Retail Locaiotns";break;}case"contactus.aspx":{f_E("Path_Box").innerHTML="<a class=\"U_LINK14\" href=\"../User/HomePage.aspx\">Home</a>&nbsp; &gt; &nbsp;Contact Us";break;}default:{}}var Lg=f_E("Search_txt");Lg.value="Keyword or Product code";Lg.onfocus=function(){UserJScript.PanelFocus=this.id;if(this.value==''||this.value=='Keyword or Product code')this.value='';else this.select();};Lg.onblur=function(){UserJScript.PanelFocus=null;if(this.value=='')this.value='Keyword or Product code';};f_E("Search_bt").value="Search";var Da=f_E("MarketingCompain_Menu");f_CleanWhitespace(Da);Da.childNodes[0].childNodes[0].innerHTML="<img src=\"../Scripts/SubMenu/arrow-right.gif\" style=\"width: 12px; height: 12px; left: 316px\" class=\"rightarrowpointer\" />Promotion / Incentive programe";if(Da.childNodes[0].childNodes.length>2){Da.childNodes[0].childNodes[2].childNodes[0].childNodes[0].innerHTML="Bedding / Bathroom";Da.childNodes[0].childNodes[2].childNodes[1].childNodes[0].innerHTML="Kitchen";Da.childNodes[2].childNodes[2].childNodes[0].childNodes[0].innerHTML="Bedding / Bathroom";Da.childNodes[2].childNodes[2].childNodes[1].childNodes[0].innerHTML="Kitchen";}else{Da.childNodes[0].childNodes[1].childNodes[0].childNodes[0].innerHTML="Bedding / Bathroom";Da.childNodes[0].childNodes[1].childNodes[1].childNodes[0].innerHTML="Kitchen";Da.childNodes[2].childNodes[1].childNodes[0].childNodes[0].innerHTML="Bedding / Bathroom";Da.childNodes[2].childNodes[1].childNodes[1].childNodes[0].innerHTML="Kitchen";}Da.childNodes[1].childNodes[0].innerHTML="Advertising";Da.childNodes[2].childNodes[0].innerHTML="<img src=\"../Scripts/SubMenu/arrow-right.gif\" style=\"width: 12px; height: 12px; left: 316px\" class=\"rightarrowpointer\" />Event";var Da=f_E("BusinessSale_Menu");f_CleanWhitespace(Da);Da.childNodes[0].childNodes[0].innerHTML="Whole sale / Retail";Da.childNodes[2].childNodes[0].innerHTML="Corporate investment";break;}default:{}}}function f_UserJScript_ChangeSelectMenuState(Ll){var AB;AB=f_E("Product_"+Ll+"_Menu");AB.className="U_LINK3";}function f_CreateLoginPopup(){UserJScript.PanelFocus="Sign in";var AM=new Array(unescape("%u0110%u0103ng%20nh%u1EADp"),unescape("T%EAn%20%u0111%u0103ng%20nh%u1EADp"),unescape("M%u1EADt%20kh%u1EA9u"));switch(g_LangID){case"2":{AM=new Array("User Login","Username","Password");}}var AA=new StringBuffer();AA.append("<div style='float:left;width:100px;height:100px'><div class='U_DIV21'></div></div>");AA.append("<div style='float:left; width:260px;height:20px'></div>");AA.append("<div style='float:left; width:100px; height:30px; line-height:1.8' class='U_TEXT6'>").append(AM[1]).append("</div><div style='float:left; width:160px; height:30px'><input id='Username_txt' type='text' value='' style='width:140px' onfocus='this.select();UserJScript.PanelFocus = this.id;' onblur='UserJScript.PanelFocus = null;' /></div>");AA.append("<div style='float:left; width:100px; height:30px; line-height:1.8' class='U_TEXT6'>").append(AM[2]).append("</div><div style='float:left; width:160px; height:30px'><input id='Password_txt' type='password' value='' style='width:140px' onfocus='this.select();UserJScript.PanelFocus = this.id;' onblur='UserJScript.PanelFocus = null;' /></div>");AA.append("<div style='float:left; width:260px;height:20px'></div>");AA.append("<div style='float:left; width:360px; height:30px; text-align:center'><input id='Login_bt' type='button' value='Login' onclick=\"f_UserJScript_CheckLoginAccount(this);\" /></div>");PopupWindow.CreateHTMLPopup(AM[0],AM[0],AA.toString(),370,130,true,true,"1|0|0",null,true);f_E("Username_txt").focus();}function f_UserJScript_CheckLoginAccount(BG){if(AlertWindow.ValidateSubmitForm("Username_txt|Password_txt","|","Username not blank !|Password not blank !")){var Lh=f_E("Username_txt");var O1=f_E("Password_txt");var Bf=f_Trim(Lh.value);var Fj=O1.value;var AC=UserJScript.Class.AccountLogin(Bf,Fj).value;if(AC==null){AlertWindow.Show("Login fail !",true,0,true);Lh.focus();Lh.select();}else{PopupWindow.ClosePopupWindow(BG);f_UserJScript_CreateLoginTemplate(AC);}}}function f_UserJScript_DisableAccountLogin(OO){f_E('CartLogo_Box').style.display=OO;f_E('Shopping_box').style.display=OO;}function f_UserJScript_CreateLoginTemplate(Lp){var AA=new StringBuffer();if(Lp==null){if(g_LangID==1)AA.append("<a class='U_LINK1' href='javascript:void(0)' onclick='f_CreateLoginPopup();'>").append(unescape("%u0110%u0103ng%20nh%u1EADp")).append("</a> | <a class='U_LINK1' href='javascript:void(0)' onclick='f_CreateRegisterPopup();'>").append(unescape("%u0110%u0103ng%20k%FD")).append("</a>&nbsp; ");else AA.append("<a class='U_LINK1' href='javascript:void(0)' onclick='f_CreateLoginPopup();'>Sign in</a> | <a class='U_LINK1' href='javascript:void(0)' onclick='f_CreateRegisterPopup();'>Register</a>&nbsp; ");}else{if(g_LangID==1)AA.append("<a class='U_LINK1' href='javascript:void(0)' onclick='f_UserJScript_LoadCustommerUpdate();'>").append(Lp).append("</a> | <a class='U_LINK1' href='javascript:void(0)' onclick=\"if(UserJScript.Class.AccountLogout().value == true) {f_UserJScript_CreateLoginTemplate(null);f_E('CartItemCount_Box').innerHTML = '0';}\">").append(unescape("%u0110%u0103ng%20xu%u1EA5t")).append("</a>&nbsp; ");else AA.append("<a class='U_LINK1' href='javascript:void(0)' onclick='f_UserJScript_LoadCustommerUpdate();'>").append(Lp).append("</a> | <a class='U_LINK1' href='javascript:void(0)' onclick=\"if(UserJScript.Class.AccountLogout().value == true) {f_UserJScript_CreateLoginTemplate(null);f_E('CartItemCount_Box').innerHTML = '0';}\">Logout</a>&nbsp; ");var AC=UserJScript.Class1.GetSession("Cart_ItemQuantity").value;if(AC){var DB=0;var AE=(AC+"").split(",");var AD=AE.length;var i;for(i=0;i<AD;){var AT=parseInt(AE[i]);if(isNaN(AT)==false){DB+=AT;}i++;}f_E("CartItemCount_Box").innerHTML=DB;}}f_E("ctl00_Authentication_Box").innerHTML=AA.toString();}function f_CreateRegisterPopup(){UserJScript.PanelFocus="Register";var AM=new Array(unescape("M%u1EABu%20%u0111%u0103ng%20k%FD%20th%E0nh%20vi%EAn"),unescape("Th%F4ng%20tin%20b%u1EAFt%20bu%u1ED9c"),unescape("Th%F4ng%20tin%20c%E1%20nh%E2n"),unescape("H%u1ECD%20t%EAn"),unescape("M%E3%20s%u1ED1%20thu%u1EBF"),unescape("%u0110i%u1EC7n%20tho%u1EA1i"),unescape("Di%20%u0111%u1ED9ng"),unescape("%u0110%u1ECBa%20ch%u1EC9"),"Email",unescape("Th%F4ng%20tin%20t%E0i%20kho%u1EA3n"),unescape("T%EAn%20%u0111%u0103ng%20nh%u1EADp"),unescape("M%u1EADt%20kh%u1EA9u"),unescape("Nh%u1EADp%20l%u1EA1i%20m%u1EADt%20kh%u1EA9u"),unescape("%u0110%u0103ng%20k%FD"));switch(g_LangID){case"2":{var AM=new Array("Register Information","Required information","Personal information","Full name","Tax code","Phone","Mobile","Address","Email","Account information","Username","Password","Re-enter password","Register");}}var AA=new StringBuffer();AA.append("<div style='height:10px; clear:both'></div>");AA.append("<div style='width:370px; margin-left:auto; margin-right:auto'>");AA.append("<div style='height:26px; line-height:1.5; text-align:right'>* ").append(AM[1]).append("</div>");AA.append("<div style='height:30px; line-height:2; border-bottom:solid 1px #CECECE' class='U_TEXT7'>").append(AM[2]).append("</div>");AA.append("<div style='height:10px; clear:both'></div>");AA.append("<div class='U_DIV22'>").append(AM[3]).append(" (*)</div>");AA.append("<div class='U_DIV23'><input id='Fullname_txt' type='text' class='U_INPUT1' title='").append(AM[3]).append("' /></div>");AA.append("<div class='U_DIV22'>").append(AM[4]).append("</div>");AA.append("<div class='U_DIV23'><input id='MaSoThue_txt' type='text' class='U_INPUT1' title='").append(AM[4]).append("' /></div>");AA.append("<div class='U_DIV22'>").append(AM[5]).append("</div>");AA.append("<div class='U_DIV23'><input id='Phone_txt' type='text' class='U_INPUT1' title='").append(AM[5]).append("' /></div>");AA.append("<div class='U_DIV22'>").append(AM[6]).append("</div>");AA.append("<div class='U_DIV23'><input id='Mobile_txt' type='text' class='U_INPUT1' title='").append(AM[6]).append("' /></div>");AA.append("<div class='U_DIV22'>").append(AM[7]).append(" (*)</div>");AA.append("<div class='U_DIV23'><input id='Address_txt' type='text' class='U_INPUT1' title='").append(AM[7]).append("' /></div>");AA.append("<div class='U_DIV22'>").append(AM[8]).append("</div>");AA.append("<div class='U_DIV23'><input id='Email_txtN' type='text' class='U_INPUT1' title='").append(AM[8]).append("' /></div>");AA.append("<div style='height:10px; clear:both'></div>");AA.append("<div style='height:30px; line-height:2; border-bottom:solid 1px #CECECE' class='U_TEXT7'>").append(AM[9]).append("</div>");AA.append("<div style='height:10px; clear:both'></div>");AA.append("<div class='U_DIV22'>").append(AM[10]).append(" (*)</div>");AA.append("<div id='Username_Box' class='U_DIV23'><input id='Username_txt' type='text' class='U_INPUT1' title='").append(AM[10]).append("' /></div>");AA.append("<div class='U_DIV22'>").append(AM[11]).append(" (*)</div>");AA.append("<div class='U_DIV23'><input id='MatKhau_txt' type='password' class='U_INPUT1' title='").append(AM[11]).append("' /></div>");AA.append("<div class='U_DIV22'>").append(AM[12]).append(" (*)</div>");AA.append("<div class='U_DIV23'><input id='ReMatKhau_txt' type='password' class='U_INPUT1' title='").append(AM[12]).append("' /></div>");AA.append("<div style='height:15px; clear:both'></div>");AA.append("<div style='float:left; width:370px; height:30px; text-align:center'><input id='Submit_bt' type='button' value='").append(AM[13]).append("' onclick=\"f_UserJScript_CreateCustommerAccount(this);\" /></div>");AA.append("</div>");AA.append("<div style='height:10px; clear:both'></div>");PopupWindow.CreateHTMLPopup(AM[0],null,AA.toString(),400,430,true,true,"1|0|0",null,true);f_E("Fullname_txt").focus();}function f_UserJScript_LoadCustommerUpdate(){var AC=UserJScript.Class.GetCustommerInfomation().value;if(AC){f_CreateRegisterPopup();var H1=AC.Rows[0].Custommer_Fullname;var JB=AC.Rows[0].Custommer_TaxCode;var JA=AC.Rows[0].Custommer_Phone;var I$=AC.Rows[0].Custommer_MobilePhone;var I_=AC.Rows[0].Custommer_Address;var I9=AC.Rows[0].Custommer_Email;var Bf=AC.Rows[0].Custommer_Username;f_E("Fullname_txt").value=H1;f_E("MaSoThue_txt").value=JB;f_E("Phone_txt").value=JA;f_E("Mobile_txt").value=I$;f_E("Address_txt").value=I_;f_E("Email_txtN").value=I9;f_E("Username_txt").value=Bf;var Ab=document.createElement("div");Ab.className="U_DIV22";Ab.innerHTML=unescape("M%u1EADt%20kh%u1EA9u%20c%u0169")+" ";f_InsertAfter(Ab,f_E("Username_Box"));var Lo=document.createElement("div");Lo.className="U_DIV23";Lo.innerHTML="<input id='OldPassword_txt' type='password' class='U_INPUT1' /></div>";f_InsertAfter(Lo,Ab);var CF=f_E("Submit_bt");CF.value="Submit";CF.onclick=function(){f_UserJScript_UpdateCustommerAccount(this);}}}function f_UserJScript_CreateCustommerAccount(BG){if(AlertWindow.ValidateSubmitForm("Fullname_txt|Address_txt|Email_txtN|Username_txt|MatKhau_txt|ReMatKhau_txt","||^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$|||","||not valid !|||")){var H2=f_E("MatKhau_txt").value;var Ln=f_E("ReMatKhau_txt").value;if(H2!=Ln){AlertWindow.Show("Retype password not match!",true,2,true);return;}var H1=f_Trim(f_E("Fullname_txt").value);var JB=f_Trim(f_E("MaSoThue_txt").value);var JA=f_Trim(f_E("Phone_txt").value);var I$=f_Trim(f_E("Mobile_txt").value);var I_=f_Trim(f_E("Address_txt").value);var I9=f_Trim(f_E("Email_txtN").value);var Bf=f_Trim(f_E("Username_txt").value);var AC=UserJScript.Class.CreateCustommerAccount(new Array(H1,JB,Bf,H2,JA,I$,I_,I9)).value;if(AC!="True"){AlertWindow.Show("Create account fail!<br />"+AC,true,0,true);}else PopupWindow.ClosePopupWindow(BG);}}function f_UserJScript_UpdateCustommerAccount(BG){if(AlertWindow.ValidateSubmitForm("Fullname_txt|Address_txt|Email_txtN|Username_txt|MatKhau_txt|ReMatKhau_txt","||^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$|||","||not valid !|||")){var H2=f_E("MatKhau_txt").value;var Ln=f_E("ReMatKhau_txt").value;var OM=f_E("OldPassword_txt").value;if(OM!=""||H2!=""){if(H2!=Ln){AlertWindow.Show("Retype password not match!",true,2,true);return;}}var H1=f_Trim(f_E("Fullname_txt").value);var JB=f_Trim(f_E("MaSoThue_txt").value);var JA=f_Trim(f_E("Phone_txt").value);var I$=f_Trim(f_E("Mobile_txt").value);var I_=f_Trim(f_E("Address_txt").value);var I9=f_Trim(f_E("Email_txtN").value);var Bf=f_Trim(f_E("Username_txt").value);var AC=UserJScript.Class.CreateCustommerAccount(new Array(H1,JB,"",H2,JA,I$,I_,I9,OM)).value;if(AC!="True"){AlertWindow.Show("Update account fail!<br />"+AC,true,0,true);}else{PopupWindow.ClosePopupWindow(BG);f_UserJScript_CreateLoginTemplate(H1);AlertWindow.Show("Update succesffully!<br />"+AC,true,0,true);}}}function f_UserJScript_BindChildMenu(AB,LC,Fb){if(AB.nextSibling){if(AB.nextSibling.title==LC){AB.parentNode.removeChild(AB.nextSibling);return;}}var AC=UserJScript.Class3.BindChildCategory(LC+"",g_LangID).value;if(AC){var AA=new StringBuffer();var AD=AC.Rows.length;var AS,BY,AL,Ah,C0,OJ,Lq,i;Lq=10*Fb+10;Fb=Fb+1;for(i=0;i<AD;){AS=AC.Rows[i];BY=AS.ID;AL=AS.Name;Ah="../"+LC+"@"+BY+"/"+f_UrlSeo(AL+"")+"_Product.aspx";C0=AS.Image;OJ=AS.IsLeaf;if(OJ==null){AA.append("<a href='").append(Ah).append("' class='U_LINK11' style='background:transparent' title='").append(BY).append("'><div style='float:left; width:").append(Lq).append("px; height:100%'></div><div style='float:left; height:100%'>").append(AL).append("</div></a>");}else{AA.append("<a href='javascript:void(0)' class='U_LINK11' style='background:transparent' onclick=\"g_Image = '").append(C0).append("';f_UserJScript_BindProductHome(this);f_UserJScript_BindChildMenu(this,").append(BY).append(",").append(Fb).append(");f_UserJScript_CreateSiteMapPath(").append(BY).append(");\" title='").append(BY).append("'><div style='float:left; width:").append(Lq).append("px; height:100%'></div><div style='float:left; height:100%'>").append(AL).append("</div></a>");}i++;}var b=document.createElement("div");b.title=LC;b.style.cssText="width:100%";b.innerHTML=AA.toString();f_InsertAfter(b,AB);}}function f_UserJScript_CreateSiteMapPath(BY){var AC=UserJScript.Class3.CreateSiteMapPath(BY+"",g_LangID).value;if(AC){var OK=f_E("ctl00_Content_Path_Box");OK.innerHTML=AC;f_UserJScript_ChangeSelectMenuState(OK.childNodes[0].title);}}function f_InsertAfter(OL,LD){if(LD.nextSibling){LD.parentNode.insertBefore(OL,LD.nextSibling);}else{LD.parentNode.appendChild(OL);}}function f_CreateMapPath(Ck,AL){UserJScript.Class.CreateSiteMapPath(Ck,AL);}function f_UserJScript_SearchProduct(Cy){if(Cy=="Keyword or Product code"||Cy==unescape("Nh%u1EADp%20t%u1EEB%20kh%F3a%20ho%u1EB7c%20m%E3%20s%u1EA3n%20ph%u1EA9m"))Cy="";else Cy=f_Trim(Cy);if(Cy.length<2){AlertWindow.Show(g_LangID=="1"?unescape("Chu%u1ED7i%20t%ECm%20ki%u1EBFm%20ph%u1EA3i%20ch%u1EE9a%20%EDt%20nh%u1EA5t%202%20k%FD%20t%u1EF1"):"Search string must contain at least 2 characters",false,0,true);return;}if(f_E("SerachWWW_rdb").checked)window.open('../User/GGSearch.aspx?cx='+f_URLEncode('007130718420887648204:6d-k7o0i7ho')+'&cof='+f_URLEncode('FORID:9')+'&ie='+f_URLEncode('UTF-8')+'&q='+f_E('Search_txt').value,'_self');else window.open('../'+UserJScript.Class1.EncryptData(Cy).value+'/SearchProduct.aspx','_self');}function f_UserJScript_JoinUsEmail(Lm){var OQ=f_Trim(Lm.value);var AC=UserJScript.Class.SendMail(OQ).value;if(AC){if(AC=="True"){window.open("../UserPages/SendMail.aspx?Email="+OQ,"_blank");Lm.value="";if(g_LangID==1)AlertWindow.Show(unescape("Ca%u0301m%20%u01A1n%20ba%u0323n%20%u0111a%u0303%20quan%20t%E2m%20%u0111%EA%u0301n%20Home%20Studio%20Plus.%20Email%20cu%u0309a%20ba%u0323n%20%u0111a%u0303%20%u0111%u01B0%u01A1%u0323c%20ki%u0301ch%20ho%u0323at%20va%u0300o%20d%u01B0%u0303%20li%EA%u0323u%20kha%u0301ch%20ha%u0300ng%20cu%u0309a%20chu%u0301ng%20t%F4i.%3Cbr%20/%3EXin%20ha%u0303y%20ki%EA%u0309m%20tra%20email%20%u0111%EA%u0309%20co%u0301%20%u0111%u01B0%u01A1%u0323c%20nh%u01B0%u0303ng%20th%F4ng%20tin%20m%u01A1%u0301i%20nh%E2%u0301t."),false,0,true);else AlertWindow.Show("Thank you for your interest of Home Studio Plus. Your email was successfully activated to our customer data base.<br />Please check your email for updated information.",false,0,true);}else{AlertWindow.Show(AC,false,0,true);Lm.select();}}}function f_GetCaseStudyContent(OP){if(OP!=g_CaseStudyID){f_E("CaseStudy"+g_CaseStudyID+"_lk").className="U_LINK11";g_CaseStudyID=OP;var AC=g_Class2.BindContent(g_LangID,g_CaseStudyID).value;if(AC){f_E("CaseStudy_Content").innerHTML=AC;f_E("CaseStudy"+g_CaseStudyID+"_lk").className="U_LINK9";}}}function f_SendMessage(){if(AlertWindow.ValidateSubmitForm('ctl00_Content_Message_txt|ctl00_Content_Title_txt|ctl00_Content_Fullname_txt|ctl00_Content_Email_txt|ctl00_Content_Email_txt|ctl00_Content_ValidateImage_txt','||||^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$|','||||Invalid|')){var Os=f_E("ctl00_Content_ValidateImage_txt").value;if(CaptchaAjax.CheckCaptcha(Os)==false){AlertWindow.Show("Validate code not match !",false,0,true);return false;}return true;}else return false;}function f_UserJScript_BindProductHome(B2){if(UserJScript.PageName=="producthome.aspx"){var AE=g_Image.split("|");if(AE.length==1){f_E("Logo_Box").style.display="none";f_E("ctl00_Content_ProductHomeContent_Div").innerHTML="<div style='width:100%; height:500px; background:url(../FileUpload/Product/"+AE[0]+") no-repeat right center'></div>";}else{f_E("Logo_Box").style.display="";f_E("Logo_Box").style.background="url(../FileUpload/Logo/"+AE[0]+") no-repeat right center";f_E("ctl00_Content_ProductHomeContent_Div").innerHTML="<div style='width:100%; height:500px; background:url(../FileUpload/Product/"+AE[1]+") no-repeat right center'></div>";}if(g_FocusLeftMenuCtrl!=null){g_FocusLeftMenuCtrl.className="U_LINK11";}B2.className="U_LINK11";g_FocusLeftMenuCtrl=B2;}}function f_UserJScript_ExpandCatInfo(AA){var AB=f_E("Information_Slide");var BO=f_E("Information_Box");var K6=new Tween(AB.style,"left",Tween.strongEaseIn,770,400,0.6,"px");K6.start();K6.onMotionFinished=function(){BO.style.background="#ffffff";f_SetOpacity(BO,0.6);f_E("Information_Content").innerHTML=AA;f_E("CaseStudyButton_Box").style.display="";};}function f_UserJScript_CollapeCatInfo(){var AB=f_E("Information_Slide");var BO=f_E("Information_Box");f_E("CaseStudyButton_Box").style.display="none";BO.style.background="";f_E("Information_Content").innerHTML="";var K6=new Tween(AB.style,"left",Tween.strongEaseIn,400,770,0.5,"px");K6.start();}function f_UserJScript_ShowCatInfo(){if(f_E("Information_Slide")){var CA=window.location.pathname.split("/");var BY=CA[CA.length-2];var AA;var CD=f_E("Information_Slide");if(g_LangID=="1"){switch(BY){case"133":{AA="<p class='U_TEXT11' style='line-height:1.5'>Sealy- "+unescape("N%EA%u0323m%20ba%u0301n%20cha%u0323y%20s%F4%u0301%201%20th%EA%u0301%20gi%u01A1%u0301i")+"</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("%u0110em%20%u0111%EA%u0301n%20nh%u01B0%u0303ng%20gia%u0301%20tri%u0323%20t%E2%u0323n%20h%u01B0%u01A1%u0309ng%20%u01B0u%20Vi%EA%u0323t%20nh%E2%u0301t%20phu%u0323c%20vu%u0323%20cho%20gi%E2%u0301c%20ngu%u0309%20ngon%20cu%u0309a%20tr%EAn%2035%20nghi%u0300n%20kha%u0301ch%20ha%u0300ng%20tr%EAn%20to%E0n%20th%EA%u0301%20gi%u01A1%u0301i%2C%20sa%u0309n%20ph%E2%u0309m%20Sealy%20Posturepedic%20th%u01B0%u0323c%20s%u01B0%u0323%20%u0111%u01B0%u01A1%u0323c%20coi%20la%u0300%20s%u01B0%u0323%20l%u01B0%u0323a%20cho%u0323n%20s%F4%u0301%201%20v%EA%u0300%20sa%u0309n%20ph%E2%u0309m%20n%EA%u0323m%20lo%u0300")+" xo.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("%u0110%u01B0%u01A1%u0323c%20nghi%EAn%20c%u01B0%u0301u%20va%u0300%20ch%EA%u0301%20ta%u0323o%20d%u01B0%u01A1%u0301i%20s%u01B0%u0323%20h%u01A1%u0323p%20ta%u0301c%20cu%u0309a%20ca%u0301c%20chuy%EAn%20gia%20%u0111%E2%u0300u%20nga%u0300nh%20v%EA%u0300%20ph%E2%u0303u%20thu%E2%u0323t%20chi%u0309nh%20hi%u0300nh%2C%20sa%u0309n%20ph%E2%u0309m%20Sealy%20Posturepedic%20trong%20h%u01A1n%2050%20n%u0103m%20qua%20%u0111a%u0303%20%u0111em%20%u0111%EA%u0301n%20s%u01B0%u0323%20n%E2ng%20%u0111%u01A1%u0303%20va%u0300%20h%F4%u0303%20tr%u01A1%u0323%20ho%u0300an%20ha%u0309o%20nh%E2%u0301t%20cho%20ng%u01B0%u01A1%u0300i%20s%u01B0%u0309%20du%u0323ng.%20M%F4%u0323t%20%u0111i%EA%u0300u%20ch%u0103%u0301c%20ch%u0103%u0301n%20la%u0300%20m%F4%u0323t%20chi%EA%u0301c%20gi%u01B0%u01A1%u0300ng%20se%u0303%20ho%u0300an%20to%u0300an%20%u0111a%u0323t%20%u0111%u01B0%u01A1%u0323c%20nh%u01B0%u0303ng%20ti%EAu%20chu%E2%u0309n%20t%F4%u0301i%20%u01B0u%20khi%20ba%u0323n%20%u0111%u0103%u0323t%20l%EAn%20tr%EAn%20chi%EA%u0301c%20gi%u01B0%u01A1%u0300ng%20%u0111o%u0301%20m%F4%u0323t%20t%E2%u0301m%20n%EA%u0323m")+" Sealy Posturepedic.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("%u0110%u0103%u0323c%20%u0111i%EA%u0309m%20cu%u0309a")+" Sealy :</p>"+"<p class='U_TEXT12' style='line-height:1.5'><ul>"+"<li>"+unescape("N%EA%u0323m%20Sealy%20Posturepedic%20mang%20%u0111%E2%u0300y%20%u0111u%u0309%20nh%u01B0%u0303ng%20%u0111%u0103%u0323c%20%u0111i%EA%u0309m%20cu%u0309a%20m%F4%u0323t%20t%E2%u0301m%20n%EA%u0323m%20co%u0301%20tha%u0300nh%20ph%E2%u0300n%20100%25%20cotton%20thi%EAn%20nhi%EAn%2C%20b%EA%u0300%20m%u0103%u0323t%20n%EA%u0323m%20%u0111%u01B0%u01A1%u0323c%20c%E2%u0301u%20ta%u0323o%20t%u01B0%u0300%20ch%E2%u0301t%20li%EA%u0323u%20mouse%20th%u01B0%u01A1%u0323ng%20ha%u0323ng%20se%u0303%20%u0111em%20%u0111%EA%u0301n%20cho%20c%u01A1%20th%EA%u0309%20ca%u0309m%20gia%u0301c%20tho%u1EA3i%20ma%u0301i%2C%20m%EA%u0300m%20m%u01B0%u01A1%u0323t%20va%u0300%20th%u01B0%20gia%u0303n%20t%F4%u0301i%20%u0111a")+".</li>"+"<li>Sealy Posturepedic "+unescape("la%u0300%20s%u01B0%u0323%20k%EA%u0301t%20h%u01A1%u0323p%20ho%u0300an%20ha%u0309o%20gi%u01B0%u0303a%203%20h%EA%u0323%20th%F4%u0301ng%3A%20h%EA%u0323%20th%F4%u0301ng%20N%E2ng%20%u0111%u01A1%u0303%20-%20Comfort%2C%20h%EA%u0323%20th%F4%u0301ng%20H%F4%u0303%20Tr%u01A1%u0323%20%u2013%20Support%20va%u0300%20h%EA%u0323%20th%F4%u0301ng%20N%EA%u0300n")+" - Foundation.</li>"+"<li>"+unescape("L%u01A1%u0301p%20phu%u0309%20b%EAn%20ngo%E0i%20b%u0103%u0300ng%20ch%E2%u0301t%20li%EA%u0323u%20t%u01A1%20lu%u0323a%20Damask%20%u0111%u01B0%u01A1%u0323c%20nh%E2%u0323p%20t%u01B0%u0300%20Bi%u0309%20ta%u0323o%20cho%20n%EA%u0323m%20Sealy%20Posturepedic%20m%F4%u0323t%20ve%u0309%20b%EA%u0300%20ngo%u0300ai%20sang%20tro%u0323ng%2C%20tinh%20t%EA%u0301%20va%u0300%20c%u01B0%u0323c%20ky%u0300%20quy%EA%u0301n%20ru%u0303")+".</li>"+"<li>"+unescape("Ti%u0301nh%20n%u0103ng%20ch%F4%u0301ng%20khu%E2%u0309n%3A%20N%EA%u0323m%20Sealy%20co%u0301%20kha%u0309%20n%u0103ng%20ng%u0103n%20ch%u0103%u0323n%20bu%u0323i%20ba%u0301m%2C%20s%u01B0%u0323%20pha%u0301t%20tri%EA%u0309n%20cu%u0309a%20vi%20tru%u0300ng%20va%u0300%20ca%u0301c%20lo%u0323ai%20n%E2%u0301m%20m%F4%u0301c")+".</li>"+"<li>"+unescape("Ti%u0301nh%20n%u0103ng%20kha%u0301ng%20nhi%EA%u0323t%3A%20T%E2%u0301t%20ca%u0309%20ca%u0301c%20sa%u0309n%20ph%E2%u0309m%20Sealy%20Posturepedic%20co%u0301%20kha%u0309%20n%u0103ng%20chi%u0323u%20nhi%EA%u0323t%20va%u0300%20ch%F4%u0301ng%20cha%u0301y%20c%u01B0%u0323c%20si%EAu")+".</li>"+"</ul></p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("Ha%u0303y%20t%E2%u0323n%20h%u01B0%u01A1%u0309ng%20gi%E2%u0301c%20ngu%u0309%20mang%20%u0111%u0103%u0309ng%20c%E2%u0301p%20th%EA%u0301%20gi%u01A1%u0301i")+".</p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box","Learn more about Sealy Posturepedic",3,270,"window.open('../"+BY+"/CaseStudy.aspx','_self');");f_E("MediaPlayer_Button").style.display="";break;}case"134":case"203":{f_E("MediaPlayer_Button").style.display="";AA="<p class='U_TEXT11' style='line-height:1.5'>SHERIDAN ...."+unescape("TH%D4%u0309I%20H%D4%u0300N%20VA%u0300O%20THI%CA%u0301T%20K%CA%u0301")+"<br />....... "+unescape("TRA%u0309I%20GI%C2%u0301C%20M%u01A0")+" HOA</p>"+"<p class='U_TEXT12' style='line-height:1.5'>SHERIDAN � "+unescape("th%u01B0%u01A1ng%20hi%EA%u0323u%20drap%20va%u0300%20kh%u0103n%20t%u0103%u0301m%20ha%u0300ng%20cao%20c%E2%u0301p%20t%u01B0%u0300%20U%u0301c%20nay%20%u0111a%u0303%20co%u0301%20m%u0103%u0323t%20ta%u0323i%20Vi%EA%u0323t%20Nam.%20Tra%u0309i%20qua%20h%u01A1n%2070%20n%u0103m%20v%u01A1%u0301i%20nh%u01B0%u0303ng%20th%u0103ng%20tr%E2%u0300m%20trong%20vi%EA%u0323c%20x%E2y%20d%u01B0%u0323ng%20th%u01B0%u01A1ng%20hi%EA%u0323u%2C%20SHERIDAN%20nay%20%u0111a%u0303%20tr%u01A1%u0309%20tha%u0300nh%20m%F4%u0323t%20trong%20nh%u01B0%u0303ng%20nha%u0300%20cung%20c%E2%u0301p%20ha%u0300ng%20%u0111%E2%u0300u%20v%EA%u0300%20Drap%20va%u0300%20kh%u0103n%20t%u0103%u0301m%20tr%EAn%20th%EA%u0301%20gi%u01A1%u0301i")+".</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("M%F4%u0303i%20do%u0300ng%20sa%u0309n%20ph%E2%u0309m%20cu%u0309a%20SHERIDAN%20kh%F4ng%20chi%u0309%20%u0111em%20%u0111%EA%u0301n%20ca%u0309m%20gia%u0301c%20an%20to%u0300an%20cho%20ng%u01B0%u01A1%u0300i%20s%u01B0%u0309%20du%u0323ng%20th%F4ng%20qua%20vi%EA%u0323c%20cho%u0323n%20ch%E2%u0301t%20li%EA%u0323u%20cotton%20t%F4%u0301t%20nh%E2%u0301t%20100%25%20%2C%20ma%u0300%20no%u0301%20se%u0303%20nh%u01B0%20m%F4%u0323t%20ng%u01B0%u1EDDi%20ba%u0323n%20nho%u0309%20trang%20tri%u0301%20c%u0103n%20pho%u0300ng%20ngu%u0309%20cu%u0309a%20ba%u0323n%20m%F4%u0303i%20nga%u0300y%20th%EAm%20sinh%20%u0111%F4%u0323ng%20h%u01A1n%20th%F4ng%20qua%20nh%u01B0%u0303ng%20m%E2%u0303u%20thi%EA%u0301t%20k%EA%u0301%20m%u01A1%u0301i%20la%u0323%20va%u0300%20%u0111e%u0323p%20m%u0103%u0301t%2C%20phu%u0300%20h%u01A1%u0323p%20v%u01A1%u0301i%20khuynh%20h%u01B0%u01A1%u0301ng%20th%u01A1%u0300i%20trang%20Qu%F4%u0301c%20T%EA%u0301.%20%u0110%E2y%20c%u0169ng%20l%E0%20ph%u01B0%u01A1ng%20ch%E2m%20chi%u1EBFn%20l%u01B0%u1EE3c%20m%E0%20SHERIDAN%20%u0111%E3%20kh%u1EB3ng%20%u0111%u1ECBnh%20h%u01A1n%2070%20n%u0103m")+" qua...</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("Nga%u0300y%20nay%2C%20ca%u0301i%20t%EAn%20SHERIDAN%20la%u0300%20s%u01B0%u0323%20k%EA%u0301t%20h%u01A1%u0323p%20%u0111%F4%u0300ng%20nh%E2%u0301t%20cu%u0309a%20n%u0103m%20y%EA%u0301u%20t%F4%u0301%3A%20thi%EA%u0301t%20k%EA%u0301%20tuy%EA%u0323t%20my%u0303%2C%20phong%20ca%u0301ch%20%u0111i%u0309nh%20cao%2C%20ch%E2%u0301t%20l%u01B0%u01A1%u0323ng%20v%u01B0%u01A1%u0323t%20tr%F4%u0323i%2C%20sa%u0301ng%20ta%u0323o%20kh%F4ng%20ng%u01B0%u0300ng%2C%20va%u0300%20s%u01B0%u0323%20tinh%20t%EA%u0301%20tr%EAn%20m%F4%u0303i%20tha%u0300nh%20ph%E2%u0309m%20ma%u0300%20SHERIDAN%20lu%F4n%20n%F4%u0303%20l%u01B0%u0323c%20kh%F4ng%20ng%u01B0%u0300ng%20gi%u01A1%u0301i%20thi%EA%u0323u%20%u0111%EA%u0301n%20ng%u01B0%u01A1%u0300i%20ti%EAu%20du%u0300ng")+".</p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box",unescape("C%F4ng%20ngh%EA%u0323%20x%u01B0%u0309%20ly%u0301%20va%u0309i%20cu%u0309a%20Sheridan"),3,270,"window.open('../"+BY+"/CaseStudy.aspx','_self');");break;}case"137":{f_E("MediaPlayer_Button").style.display="";AA="<p class='U_TEXT11' style='line-height:1.5'>Santas - "+unescape("%D4m%20%E2%u0301p%20nh%u01B0%u0303ng%20gi%E2%u0301c%20m%u01A1%20cu%u0309a%20ba%u0323n")+" ...</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("Kh%u0103n%20tra%u0309i%20gi%u01B0%u01A1%u0300ng%20Santas%20pha%u0309n%20a%u0301nh%20s%u01B0%u0323%20tra%u0301ng%20l%EA%u0323%20v%u01A1%u0301i%20nh%u01B0%u0303ng%20m%E2%u0303u%20thi%EA%u0301t%20k%EA%u0301%20b%u0103%u0300ng%20va%u0309i%20in%20va%u0300%20va%u0309i%20s%u01A1%u0323i.%20%u0110%F4%u0301i%20v%u01A1%u0301i%20nh%u01B0%u0303ng%20ch%E2%u0301t%20li%EA%u0323u%20in%20thi%u0300%20thi%EA%u0301t%20k%EA%u0301%20thi%EAn%20v%EA%u0300%20nh%u01B0%u0303ng%20hi%u0300nh%20a%u0309nh%20c%E2y%20co%u0309%2C%20th%u01B0%u0323c%20v%E2%u0323t%20r%E2%u0301t%20nhe%u0323%20nha%u0300ng%20nh%u01B0%20m%F4%u0323t%20b%u01B0%u0301c%20tranh%20hi%EA%u0323n%20l%EAn%20tr%EAn%20nh%u01B0%u0303ng%20%F4%20c%u01B0%u0309a%20s%F4%u0309%20vu%u0300ng%20n%F4ng%20th%F4n%20n%u01B0%u01A1%u0301c%20Anh%20trong%20th%u01A1%u0300i%20ky%u0300%20phu%u0323c%20h%u01B0ng.%20S%u01B0%u0323%20ca%u0309i%20ti%EA%u0301n%20la%u0300%20chi%u0300a%20kho%u0301a%20cho%20khuynh%20h%u01B0%u01A1%u0301ng%20th%u01A1%u0300i%20trang%20cu%u0309a%20chi%EA%u0301c%20gi%u01B0%u01A1%u0300ng%20ngu%u0309.%20Nh%u01B0%u0303ng%20ki%EA%u0309u%20thi%EA%u0301t%20k%EA%u0301%20co%u0301%20s%u0103%u0303n%20trong%203%20do%u0300ng%20thi%EA%u0301t%20k%EA%u0301%20chi%u0301nh%20%u0111%u01B0%u01A1%u0323c%20hi%u0300nh%20tha%u0300nh%20d%u01B0a%20tr%EAn%20vi%EA%u0323c%20cho%u0323n%20ch%E2%u0301t%20li%EA%u0323u%20va%u0309i%20s%u01A1%u0323i%20cotton%20t%F4%u0301t%20nh%E2%u0301t")+".</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Santas "+unescape("cu%u0303ng%20cung%20c%E2%u0301p%20kh%u0103n%20t%u0103%u0301m%20cao%20c%E2%u0301p%20v%u01A1%u0301i%20nh%u01B0%u0303ng%20ho%u0323a%20ti%EA%u0301t%20r%F4%u0301i%20tung%20nh%u01B0%20va%u0309i%20d%EA%u0323t%20hoa%2C%20%u0111%F4%u0300%20th%EAu%20hay%20nh%u01B0%u0303ng%20%u0111%u01B0%u01A1%u0300ng%20vi%EA%u0300n%20ca%u0301ch%20%u0111i%EA%u0323u.%20%u0110%EA%u0309%20sa%u0301ng%20ta%u0323o%20n%EAn%20nh%u01B0%u0303ng%20m%E2%u0303u%20thi%EA%u0301t%20k%EA%u0301%20na%u0300y%2C%20Santas%20pha%u0309i%20tu%E2n%20thu%u0309%20nghi%EAm%20ng%u0103%u0323t%20s%u01B0%u0323%20ki%EA%u0309m%20%u0111i%u0323nh%20n%u0103%u0300m%20trong%20ba%u0309n%20h%EA%u0323%20th%F4%u0301ng%20ma%u0300u%20chu%E2%u0309n%20cu%u0309a%20My%u0303%20v%EA%u0300%20%u0111%F4%u0323%20mi%u0323n%20va%u0309i%2C%20ti%u0301nh%20%u0111a%u0300n%20h%F4%u0300i%20cu%u0303ng%20nh%u01B0%20%u0111%F4%u0323%20th%E2%u0301m%20hu%u0301t")+".</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("%u0110%EA%u0309%20la%u0300m%20n%EAn%20chi%EA%u0301c%20kh%u0103n%20t%u0103%u0301m%20va%u0300%20kh%u0103n%20tra%u0309i%20gi%u01B0%u01A1%u0300ng%20cao%20c%E2%u0301p%2C%20Santas%20pha%u0309i%20tra%u0309i%20qua%20qua%u0301%20tri%u0300nh%20x%u01B0%u0309%20ly%u0301%20ch%E2%u0301t%20l%u01B0%u01A1%u0323ng%20nghi%EAm%20ng%u0103%u0323t%20%2C%20bao%20g%F4%u0300m")+" :</p>"+"<p class='U_TEXT12' style='line-height:1.5'><ul>"+"<li>"+unescape("Thi%EA%u0301t%20k%EA%u0301")+".</li>"+"<li>"+unescape("Chu%E2%u0309n%20bi%u0323%20ki%EA%u0309m%20%u0111i%u0323nh%20ch%E2%u0301t%20l%u01B0%u01A1%u0323ng%20va%u0309i%20s%u01A1%u0323i")+".</li>"+"<li>"+unescape("Nhu%u1ED9m")+".</li>"+"<li>In "+unescape("va%u0309i")+".</li>"+"<li>"+unescape("Ho%E0n%20t%u1EA5t%20v%u1EA3i%20s%u1EE3i")+".</li>"+"<li>"+unescape("Kh%E2u%20va%u0309i%20s%u01A1%u0323i")+".</li>"+"<li>"+unescape("Ch%u01B0%u0301ng%20nh%E2%u0323n%20ch%E2%u0301t%20l%u01B0%u01A1%u0323ng")+".</li>"+"</ul></p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box","Learn more about Santas Quality Commitment",3,270,"window.open('../"+BY+"/CaseStudy.aspx','_self');");break;}case"138":{AA="<p class='U_TEXT11' style='line-height:1.5'>"+unescape("G%F4%u0301i")+" Billerbeck</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("N%u0103m%201921%2C%20Paul%20Dultgen%20va%u0300%20Heinrich%20Billerbeck%20%u0111a%u0303%20tha%u0300nh%20l%E2%u0323p%20ra%20nha%u0300%20ma%u0301y%20%5C%22Rhinean%20Downquilt%20%20Dultgen%20va%u0300%20Billerbeck%5C%22.%20Tra%u0309i%20qua%20th%u01A1%u0300i%20gian%20da%u0300i%20x%E2y%20d%u01B0%u0323ng%20va%u0300%20pha%u0301t%20tri%EA%u0309n%20th%u01B0%u01A1ng%20hi%EA%u0323u%2C%20%u0111%EA%u0301n%20n%u0103m%202003%2C%20%20c%F4ng%20ty%20chi%u0301nh%20th%u01B0%u0323c%20%u0111%F4%u0323c%20l%E2%u0323p%20va%u0300%20l%E2%u0301y%20t%EAn%20la%u0300")+" Billerbeck Betten- Union Gmbh & Co. KG .</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Billerbeck "+unescape("la%u0300%20m%F4%u0323t%20c%F4ng%20ty%20co%u0301%20truy%EA%u0300n%20th%F4%u0301ng%20gia%20%u0111i%u0300nh%20l%E2u%20%u0111%u01A1%u0300i.%20T%u01B0%u0300%20n%u0103m%201921%2C%20BillerBeck%20%u0111a%u0303%20co%u0301%20ti%EAu%20chi%u0301%20sa%u0309n%20xu%E2%u0301t%20ra%20nh%u01B0%u0303ng%20%u0111%F4%u0300%20du%u0300ng%20ch%E2%u0301t%20l%u01B0%u01A1%u0323ng%20cao%20da%u0300nh%20cho%20pho%u0300ng%20ngu%u0309%2C%20b%EAn%20ca%u0323nh%20nh%u01B0%u0303ng%20v%E2%u0323t%20li%EA%u0323u%20nh%F4%u0300i%20cho%20g%F4%u0301i%20v%u01A1%u0301i%20nh%u01B0%u0303ng%20chi%EA%u0301c%20vo%u0309%20bo%u0323c%20%u0111e%u0323p.%20%u0110%EA%u0309%20la%u0300m%20%u0111%u01B0%u01A1%u0323c%20vi%EA%u0323c%20na%u0300y%2C%20Billerbeck%20%u0111a%u0303%20chuy%EA%u0309n%20th%EA%u0309%20y%u0301%20t%u01B0%u01A1%u0309ng%20cu%u0309a%20m%F4%u0323t%20gi%E2%u0301c%20ngu%u0309%20kho%u0309e%20ma%u0323nh%20va%u0300o%20th%u01B0%u0323c%20t%EA%u0301%20t%u01B0%u0300%20nh%u01B0%u0303ng%20th%u01B0%u01A1ng%20hi%EA%u0323u%20%u0111a%u0323t%20ti%EAu%20chu%E2%u0309n%20ch%E2%u0301t%20l%u01B0%u01A1%u0323ng%20cao%20nh%E2%u0301t%20cu%u0300ng%20v%u01A1%u0301i%20vi%EA%u0323c%20k%EA%u0301t%20h%u01A1%u0323p%20nh%u01B0%u0303ng%20v%E2%u0323t%20li%EA%u0323u%20%u0111%u01B0%u01A1%u0323c%20cho%u0323n%20lo%u0323c%20ky%u0303%20l%u01B0%u01A1%u0303ng%20trong%20ph%u01B0%u01A1ng%20pha%u0301p%20sa%u0309n%20xu%E2%u0301t%20th%E2n%20thi%EA%u0323n%20v%u01A1%u0301i%20m%F4i%20tr%u01B0%u01A1%u0300ng")+".</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("KHA%u0301I%20NI%CA%u0323M%20MARKETING%3A%20G%F4%u0301i%20Billerbeck%20la%u0300%20s%u01B0%u0323%20k%EA%u0301t%20h%u01A1%u0323p%20%u0111%F4%u0300ng%20nh%E2%u0301t%20gi%u01B0%u0303a%20%5C%22Truy%EA%u0300n%20th%F4%u0301ng%20va%u0300%20ky%u0303%20n%u0103ng%5C%22%2C%20%5C%22ch%E2%u0301t%20l%u01B0%u01A1%u0323ng%20va%u0300%20ca%u0309i%20ti%EA%u0301n%5C%22%20b%EAn%20ca%u0323nh%20nh%u01B0%u0303ng%20ho%u0323at%20%u0111%F4%u0323ng%20PR%2C%20t%u01B0%20v%E2%u0301n%2C%20t%F4%u0309%20ch%u01B0%u0301c%20nh%u01B0%u0303ng%20kho%u0301a%20hu%E2%u0301n%20luy%EA%u0323n%20chuy%EAn%20nghi%EA%u0323p%20cho%20nh%u01B0%u0303ng%20thi%u0323%20tr%u01B0%u01A1%u0300ng%20ba%u0301n%20si%u0309%20va%u0300%20le%u0309%20tr%EAn%20kh%u0103%u0301p%20th%EA%u0301%20gi%u01A1%u0301i")+".</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("PHA%u0323M%20VI%20QU%D4%u0301C%20T%CA%u0301%3A%20Billerbeck%20%u0111a%u0303%20thi%EA%u0301t%20l%E2%u0323p%20quy%20m%F4%20t%F4%u0309%20ch%u01B0%u0301c%20d%u01B0%u01A1%u0301i%20kha%u0301i%20ni%EA%u0323m%20cu%u0309a%20m%F4%u0323t%20t%E2%u0323p%20%u0111o%u0300an.%20V%u01A1%u0301i%20nh%u01B0%u0303ng%20c%F4ng%20ty%20cu%u0300ng%20ki%EA%u0309u%20co%u0301%20m%u0103%u0323t%20ta%u0323i%20%u0110%u01B0%u0301c%2C%20Thu%u0323y%20Si%u0303%2C%20U%u0301c%2C%20Hungary%20va%u0300%20Nh%E2%u0323t%20Ba%u0309n%20%u0111a%u0303%20cu%u0309ng%20c%F4%u0301%20th%EAm%20s%u01B0%u0301c%20ma%u0323nh%20cu%u0309a%20th%u01B0%u01A1ng%20hi%EA%u0323u%20Billerbeck%20tr%EAn%20thi%u0323%20tr%u01B0%u01A1%u0300ng%20qu%F4%u0301c%20t%EA%u0301.%20S%u01B0%u0323%20li%EAn%20k%EA%u0301t%2C%20hi%EA%u0323p%20l%u01B0%u0323c%20cu%u0309a%20nhi%EA%u0300u%20nho%u0301m%20t%F4%u0309%20ch%u01B0%u0301c%20%u0111a%u0303%20%u0111a%u0309m%20ba%u0309o%20vi%EA%u0323c%20s%u01B0%u0309%20du%u0323ng%20nh%u01B0%u0303ng%20v%E2%u0323t%20li%EA%u0323u%20th%F4%20va%u0300%20vi%EA%u0323c%20tuy%EA%u0309n%20cho%u0323n%20nh%E2n%20vi%EAn%20hi%EA%u0323u%20qua%u0309%20%u0111%u01B0%u01A1%u0323c%20t%F4%u0301i%20%u01B0u%20ho%u0301a%20h%u01A1n.%20%u0110o%u0301%20cu%u0303ng%20la%u0300%20nh%u01B0%u0303ng%20l%u01A1%u0323i%20th%EA%u0301%20v%EA%u0300%20%u0111%F4%u0301i%20ta%u0301c%20va%u0300%20kha%u0301ch%20ha%u0300ng%20cu%u0309a%20Billerbeck%20tr%EAn%20kh%u0103%u0301p%20th%EA%u0301%20gi%u01A1%u0301i")+".</p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box",unescape("L%u01A1%u0300i%20khuy%EAn%20cho%20m%F4%u0323t%20gi%E2%u0301c%20ngu%u0309%20ho%E0n%20ha%u0309o"),3,270,"window.open('../"+BY+"/CaseStudy.aspx','_self');");break;}case"141":{f_E("MediaPlayer_Button").style.display="";AA="<p class='U_TEXT11' style='line-height:1.5'>Mobalpa � Design your life style</p>"+"<p class='U_TEXT12' style='line-height:1.5'><b>"+unescape("Li%u0323ch%20s%u01B0%u0309%20th%u01B0%u01A1ng%20hi%EA%u0323u")+".</b></p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("Ca%u0301ch%20%u0111%E2y%20h%u01A1n%20100%20n%u0103m%2C%20m%F4%u0323t%20c%u01B0%u0309a%20ha%u0300ng%20chuy%EAn%20gia%20c%F4ng%20ca%u0301c%20%u0111%F4%u0300%20g%F4%u0303%20my%u0303%20thu%E2%u0323t%2C%20%u0111%u0103%u0323c%20bi%EA%u0323t%20la%u0300%20tu%u0309%20b%EA%u0301p%20%u0111a%u0303%20%u0111%u01B0%u01A1%u0323c%20ra%20%u0111%u01A1%u0300i%20ta%u0323i%20Thones%2C%20vu%u0300ng%20nu%u0301i%20Alps%20n%u01B0%u01A1%u0301c%20Pha%u0301p.%20%u0110%EA%u0301n%20n%u0103m%201949%2C%20c%F4ng%20ty%20%u0111a%u0303%20pha%u0301t%20tri%EA%u0309n%20va%u0300%20quy%EA%u0301t%20%u0111i%u0323nh%20l%E2%u0301y%20t%EAn%20Mobalpa%20la%u0300m%20th%u01B0%u01A1ng%20hi%EA%u0323u%20chi%u0301nh%20cho%20nh%u01B0%u0303ng%20do%u0300ng%20tu%u0309%20b%EA%u0301p%20cao%20c%E2%u0301p.%20Nga%u0300y%20nay%2C%20Mobalpa%20%u0111a%u0303%20x%E2y%20d%u01B0%u0323ng%208%20%u0111i%u0323a%20%u0111i%EA%u0309m%20sa%u0309n%20xu%E2%u0301t%20kh%u0103%u0301p%20n%u01B0%u01A1%u0301c%20Pha%u0301p%20v%u01A1%u0301i%20h%u01A1n%201000%20chuy%EAn%20gia%20gia%u0300u%20kinh%20nghi%EA%u0323m%20trong%20li%u0303nh%20v%u01B0%u0323c%20thi%EA%u0301t%20k%EA%u0301%20nha%u0300%20b%EA%u0301p")+".</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("Vi%u0300%20v%E2%u0323y%2C%20m%F4%u0303i%20ch%EA%u0301%20ta%u0301c%20cu%u0309a%20Mobalpa%20b%EAn%20ca%u0323nh%20ne%u0301t%20tinh%20xa%u0309o%20%u0111%u0103%u0323c%20tr%u01B0ng%20cu%u0309a%20t%u01B0%u0300ng%20do%u0300ng%20sa%u0309n%20ph%E2%u0309m%2C%20lu%F4n%20to%E1t%20l%EAn%20m%F4%u0323t%20ve%u0309%20%u0111e%u0323p%20sang%20tro%u0323ng%20va%u0300%20thu%E2%u0300n%20khi%EA%u0301t%20cu%u0309a%20mi%EA%u0300n%20nu%u0301i%20Alps")+".</p>"+"<p class='U_TEXT12' style='line-height:1.5'><b>Mobalpa � "+unescape("S%u01B0%u0323%20ha%u0300i%20ho%u0300a%20gi%u01B0%u0303a%20ch%E2%u0301t%20l%u01B0%u01A1%u0323ng%20va%u0300%20m%F4i%20tr%u01B0%u01A1%u0300ng")+":</b></p>"+"<p class='U_TEXT12' style='line-height:1.5'><ul>"+"<li>"+unescape("Gia%u0309i%20th%u01B0%u01A1%u0309ng%20ISO%209001%20cho%20h%EA%u0323%20th%F4%u0301ng%20qua%u0309n%20ly%u0301%20ch%E2%u0301t%20l%u01B0%u01A1%u0323ng%20v%u01B0%u01A1%u0323t%20tr%F4%u0323i")+".</li>"+"<li>"+unescape("Gi%u1EA3i%20th%u01B0%u01A1%u0309ng%20ISO%2014001%20cho%20nha%u0300%20qua%u0309n%20ly%u0301%20th%E2n%20thi%EA%u0323n%20m%F4i%20tr%u01B0%u01A1%u0300ng")+".</li>"+"<li>"+unescape("Gi%u1EA3i%20th%u01B0%u01A1%u0309ng%20%5C%22Enterprise%20et%20Environment%5C%22%20gia%u0309i%20th%u01B0%u01A1%u0309ng%20danh%20gia%u0301%20cho%20vi%EA%u0323c%20cam%20k%EA%u0301t%20ba%u0309o%20v%EA%u0323%20m%F4i%20tr%u01B0%u01A1%u0300ng")+".</li>"+"<li>Mobalpa "+unescape("cu%u0303ng%20la%u0300%20tha%u0300nh%20vi%EAn%20cu%u0309a%20%5C%22Club%20Profor%EAts%5C%22%20%28%20WWF%20%29%20v%u01A1%u0301i%20cam%20k%EA%u0301t%20lu%F4n%20ba%u0309o%20v%EA%u0323%20va%u0300%20%u0111em%20%u0111%EA%u0301n%20s%u01B0%u0323%20ha%u0300i%20ho%u0300a%20gi%u01B0%u0303a%20ch%E2%u0301t%20l%u01B0%u01A1%u0323ng%20sa%u0309n%20ph%E2%u0309m%20v%u01A1%u0301i%20m%F4i%20tr%u01B0%u01A1%u0300ng")+".</li>"+"<li>"+unescape("Gi%u1EA3i%20th%u01B0%u01A1%u0309ng%20ng%F4i%20sao%202005%20%u2013%20Gi%u1EA3i%20th%u01B0%u01A1%u0309ng%20uy%20ti%u0301n%20nh%E2%u0301t%20ta%u0323i%20Pha%u0301p%20da%u0300nh%20cho%20nha%u0300%20cung%20c%E2%u0301p%20di%u0323ch%20vu%u0323%20thi%EA%u0301t%20k%EA%u0301%20n%F4%u0323i%20th%E2%u0301t%20t%F4%u0301t%20nh%E2%u0301t")+".</li>"+"</ul></p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("T%E2%u0301t%20ca%u0309%20nh%u01B0%u0303ng%20gia%u0309i%20th%u01B0%u01A1%u0309ng%20tr%EAn%20chi%u0301nh%20la%u0300%20tha%u0300nh%20qua%u0309%20x%u01B0%u0301ng%20%u0111a%u0301ng%20v%u01A1%u0301i%20nh%u01B0%u0303ng%20n%F4%u0303%20l%u01B0%u0323c%20nh%u0103%u0300m%20%u0111%u01B0a%20Mobalpa%20tr%u01A1%u0309%20tha%u0300nh%20th%u01B0%u01A1ng%20hi%EA%u0323u%20k%EA%u0323%20b%EA%u0301p%20ha%u0300ng%20%u0111%E2%u0300u%20th%EA%u0301%20gi%u01A1%u0301i")+".</p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box","Learn more about Mobalpa's commitment",3,270,"window.open('../"+BY+"/CaseStudy.aspx','_self');");break;}case"142":{AA="<p class='U_TEXT11' style='line-height:1.5'>SILIT - "+unescape("D%u1EE4NG%20C%u1EE4%20NH%C0%20B%u1EBEP%20CAO%20C%u1EA4P%20T%u1EEA%20%u0110%u1EE8C")+"</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("Nhi%u1EC1u%20th%u1EADp%20ni%EAn%20qua%2C%20Silit%20lu%F4n%20l%E0%20m%u1ED9t%20trong%20nh%u1EEFng%20th%u01B0%u01A1ng%20hi%u1EC7u%20d%u1EABn%20%u0111%u1EA7u%20v%u1EC1%20ch%u1EA5t%20l%u01B0%u1EE3ng%2C%20c%F4ng%20n%u0103ng%20%u01B0u%20vi%u1EC7t%20v%E0%20ki%u1EC3u%20d%E1ng%20thi%u1EBFt%20k%u1EBF%20tinh%20t%u1EBF.%20Ch%u1EA5t%20li%u1EC7u%20Silargan%20%AE%20v%E0%20e30%20v%u1EDBi%20c%E1c%20t%EDnh%20n%u0103ng%20kh%E1ng%20khu%u1EA9n%2C%20v%E0%20kh%F4ng%20ch%u1EE9a%20niken%20%u0111%u01B0%u1EE3c%20xem%20l%E0%20b%u01B0%u1EDBc%20c%u1EA3i%20ti%u1EBFn%20%u0111%u1ED9t%20ph%E1%20c%u1EE7a%20Silit%20trong%20vi%u1EC7c%20ch%u1EBF%20t%u1EA1o%20ra%20nh%u1EEFng%20d%u1EE5ng%20c%u1EE5%20n%u1EA5u%20%u0103n%20an%20to%E0n%20cho%20s%u1EE9c%20kh%u1ECFe.%20Lu%F4n%20%u0111i%20ti%EAn%20phong%20trong%20vi%u1EC7c%20%u0111%u01B0a%20ra%20nh%u1EEFng%20ph%E1t%20ki%u1EBFn%20m%u1EDBi%20m%u1EBB%2C%20Silit%20kh%F4ng%20ch%u1EC9%20l%E0%20m%u1ED9t%20th%u01B0%u01A1ng%20hi%u1EC7u%20%u0111%u1EB3ng%20c%u1EA5p%u201Cmade%20in%20Germany%u201D%20m%E0%20%u0111%E3%20tr%u1EDF%20th%E0nh%20m%u1ED9t%20trong%20nh%u1EEFng%20th%u01B0%u01A1ng%20hi%u1EC7u%20qu%u1ED1c%20t%u1EBF%20uy%20t%EDn%20nh%u1EA5t%20trong%20l%u0129nh%20v%u1EF1c%20s%u1EA3n%20xu%u1EA5t%20c%E1c%20s%u1EA3n%20ph%u1EA9m%20d%u1EE5ng%20c%u1EE5%20n%u1EA5u%20%u0103n%2C%20d%u1EE5ng%20c%u1EE5%20nh%E0%20b%u1EBFp")+".</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("T%u1EA1i%20Silit%2C%20c%E1c%20chuy%EAn%20gia%20c%u1EE7a%20ch%FAng%20t%F4i%20d%E0nh%20tr%u1ECDn%20ni%u1EC1m%20%u0111am%20m%EA%20v%E0%20kh%F4ng%20ng%u1EEBng%20n%u1ED7%20l%u1EF1c%20%u0111em%20l%u1EA1i%20nh%u1EEFng%20s%E1ng%20t%u1EA1o%20m%u1EDBi%20m%u1EBB%20v%u1EDBi%20m%u1EE5c%20%u0111%EDch%20t%u1EA1o%20ra%20nh%u1EEFng%20s%u1EA3n%20ph%u1EA9m%20t%u1ED1i%20%u01B0u%20nh%u1EA5t.%20Nh%u1EEFng%20s%u1EA3n%20ph%u1EA9m%20c%F3%20th%u1EC3%20gi%FAp%20cho%20c%F4ng%20vi%u1EC7c%20ch%u1EBF%20bi%u1EBFn%20th%u1EE9c%20%u0103n%20v%E0%20n%u1EA5u%20n%u01B0%u1EDBng%20c%u1EE7a%20ng%u01B0%u1EDDi%20n%u1ED9i%20tr%u1EE3%20ng%E0y%20c%E0ng%20tr%u1EDF%20n%EAn%20%u0111%u01A1n%20gi%u1EA3n%2C%20th%FA%20v%u1ECB%20h%u01A1n.%20V%E0%20tr%EAn%20h%u1EBFt%20ch%EDnh%20l%E0%20v%EC%20dinh%20d%u01B0%u1EE1ng%20v%E0%20s%u1EE9c%20kh%u1ECFe%20c%u1EE7a%20ng%u01B0%u1EDDi%20s%u1EED%20d%u1EE5ng")+".</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("Gia%u0309i%20th%u01B0%u01A1%u0309ng")+": </p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("H%E0ng%20lo%u1EA1t%20gi%u1EA3i%20th%u01B0%u1EDFng%20v%u1EC1%20ki%u1EC3u%20d%E1ng%20d%E0nh%20cho%20c%E1c%20s%u1EA3n%20ph%u1EA9m%20Silit%20ch%EDnh%20l%E0%20s%u1EF1%20c%F4ng%20nh%u1EADn%20%u0111%u1EA7y%20thuy%u1EBFt%20ph%u1EE5c%20%u0111%u1ED1i%20v%u1EDBi%20nh%u1EEFng%20n%u1ED7%20l%u1EF1c%20s%E1ng%20t%u1EA1o%20c%u1EE7a%20%u0111%u1ED9i%20ng%u0169%20thi%u1EBFt%20k%u1EBF.%20C%u1ED9ng%20t%E1c%20v%u1EDBi%20c%E1c%20chuy%EAn%20gia%20thi%u1EBFt%20k%u1EBF%20h%E0ng%20%u0111%u1EA7u%2C%20Silit%20mong%20mu%u1ED1n%20li%EAn%20t%u1EE5c%20%u0111%u01B0a%20ra%20nh%u1EEFng%20m%u1EABu%20m%E3%20s%u1EA3n%20ph%u1EA9m%20mang%20ki%u1EC3u%20d%E1ng%20ho%E0n%20thi%u1EC7n%20v%E0%20%u0111%E1p%20%u1EE9ng%20nh%u1EEFng%20c%F4ng%20n%u0103ng%20c%u1EE7a%20ng%u01B0%u1EDDi%20ti%EAu%20d%F9ng%20kh%F4ng%20ch%u1EC9%20trong%20th%u1EDDi%20%u0111i%u1EC3m%20hi%u1EC7n%20t%u1EA1i.%20Ngo%E0i%20ra%2C%20c%E1c%20s%u1EA3n%20ph%u1EA9m%20c%u1EE7a%20Silit%20v%u1EDBi%20nh%u1EEFng%20ch%u1EE9c%20n%u0103ng%20%u0111i%u1EC1u%20khi%u1EC3n%20m%u1EDBi%20c%F2n%20mang%20t%EDnh%20%u0111%u1ED9t%20ph%E1%20v%E0%20%u0111%u1ECBnh%20h%u01B0%u1EDBng%20cho%20nh%u1EEFng%20c%F4ng%20n%u0103ng%20m%u1EDBi%20mang%20t%EDnh%20l%E2u%20d%E0i%20gi%FAp%20cho%20c%F4ng%20vi%u1EC7c%20n%u1EA5u%20n%u01B0%u1EDBng%20ng%E0y%20c%E0ng%20tr%u1EDF%20n%EAn%20nh%u1EB9%20nh%E0ng%20v%E0%20%u0111%u01A1n%20gi%u1EA3n")+".</p>"+"<p class='U_TEXT12' style='line-height:1.5'>"+unescape("V%u1EDBi%20c%E1c%20s%u1EA3n%20ph%u1EA9m%20d%u1EE5ng%20c%u1EE5%20nh%E0%20b%u1EBFp%20c%u1EE7a%20Silit%2C%20c%F4ng%20vi%u1EC7c%20n%u1EA5u%20%u0103n%20tr%u1EDF%20n%EAn%20m%u1ED9t%20h%E0nh%20tr%ECnh%20kh%E1m%20ph%E1%20k%u1EF3%20th%FA%2C%20n%F3%20khi%u1EBFn%20cho%20cu%u1ED9c%20s%u1ED1ng%20tr%u1EDF%20n%EAn%20thi%20v%u1ECB%20h%u01A1n.%20V%E0%20%u0111i%u1EC1u%20quan%20tr%u1ECDng%20nh%u1EA5t%20ch%EDnh%20l%E0%20c%E1c%20ch%u1ECB%20em%20n%u1ED9i%20tr%u1EE3%20s%u1EBD%20c%u1EA3m%20th%u1EA5y%20th%EDch%20th%FA%20v%E0%20y%EAn%20t%E2m%20h%u01A1n%20khi%20c%F3%20th%u1EC3%20%u0111em%20%u0111%u1EBFn%20cho%20b%u1EEFa%20%u0103n%20gia%20%u0111%ECnh%2C%20cho%20nh%u1EEFng%20ng%u01B0%u1EDDi%20th%E2n%20y%EAu%20nh%u1EEFng%20b%u1EEFa%20%u0103n%20kh%F4ng%20ch%u1EC9%20%u0111%u1EA7y%20b%u1ED5%20d%u01B0%u1EE1ng%20m%E0%20c%F2n%20ng%u1EADp%20tr%E0n%20s%u1EAFc%20m%E0u%20c%u1EE7a%20ni%u1EC1m%20vui%20v%E0%20h%u1EA1nh%20ph%FAc")+".</p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box",unescape("Ti%u0300m%20hi%EA%u0309u%20h%EA%u0323%20th%F4%u0301ng%20ch%EA%u0301%20bi%EA%u0301n%20th%u1EE9c%20%u0103n%20m%u01A1%u0301i%20t%u01B0%u0300%20Silit"),3,280,"window.open('../"+BY+"/CaseStudy.aspx','_self');");f_E("MediaPlayer_Button").style.display="";break;}default:{f_E("Information_Box").style.display="none";f_E("Information_BackSlide").style.display="none";f_E("Information_Slide").style.display="none";f_E("Information_Content").style.display="none";break;}}}else{switch(BY){case"133":{AA="<p class='U_TEXT11' style='line-height:1.5'>Sealy- The world's # 1 selling mattress</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Sealy Posturepedic is the number one choice of bedding with over 35 million people worldwide experiencing the benefits of a better night's sleep.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Developed in conjunction with leading orthopedic surgeons, Sealy Posturepedic has been providing superior comfort and support for over 50 years. You can be sure that every bed meets the most exacting standards laid down by Sealy.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Sealy Characteristics :</p>"+"<p class='U_TEXT12' style='line-height:1.5'><ul>"+"<li>Sealy Posturepedic features 100% natural cotton felt in conjunction with layers of premium latex or Sealy foam. The innovative comfort layers will provide resilient body cushioning and conformability year after year.</li>"+"<li>Sealy Posturepedic is perfect combination of Triple System Design: Comfort system, Support system and Foundation system.</li>"+"<li>Exclusively imported Belgian Damask gives Sealy Posturepedic beds an elegant appearance and a luxurious feel.  With the added protection of the anti-microbial and fire retardant treatments on the Damask, the Sealy Posturepedic mattress is sure to provide you with the ultimate in sleep comfort.</li>"+"<li><b>Health-Shield�Treatment</b> : Health-Shield� is an anti-microbial treatment developed to inhibit the growth of dust mites,bacteria,mould and mildew. It provides you and your family with an effective way to assist in the managementof asthma, eczema and other allergies.</li>"+"<li><b>Fire Retardant Treatment</b> : All Sealy Posturepedic mattresses comply with the specification for resistance to ignition of mattresses, divans and bed bases (for the use in domestic premises) BS7177: 1996 Cat 1.</li>"+"</ul></p>"+"<p class='U_TEXT12' style='line-height:1.5'>Believe in World Class Sleeping...</p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box","Learn more about Sealy Posturepedic",3,270,"window.open('../133/CaseStudy.aspx','_self');");f_E("MediaPlayer_Button").style.display="";break;}case"134":{f_E("MediaPlayer_Button").style.display="";AA="<p class='U_TEXT12' style='line-height:1.5'>For over 70 years Sheridan has been the leading brand of bedlinen and bath towel in Australia. The brand has aimed at meeting the needs of most consumers, and are distributed across their respective channels ranging from up market department and speciality bedlinen outlets to discount department stores.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Luxurious, ultra- soft, 100% cotton sheets harmonize across the entire Sheridan bedlinen collection, offering the best quality and variety of solid colours and textures in the marketplace. Besides, Sheridan is the aspirational style leader for Australia homes with a luxurious mix of traditional, modern and contemporary products is balanced by enduring classics for the home. Sherdian is uncompromising in its quality, innovative in its product, directional in its design and distinctive in its handwritting.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Today, the name Sheridan is synonymous with great design, luxury, quality, innovation and craftsmanship in bedlinen.</p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box","Learn more about Sheridan weaving",3,270,"window.open('../"+BY+"/CaseStudy.aspx','_self');");break;}case"203":{AA="<p class='U_TEXT12' style='line-height:1.5'>For over 70 years Sheridan has been the leading brand of bedlinen and bath towel in Australia. The brand has aimed at meeting the needs of most consumers, and are distributed across their respective channels ranging from up market department and speciality bedlinen outlets to discount department stores.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Luxurious, ultra- soft, 100% cotton sheets harmonize across the entire Sheridan bedlinen collection, offering the best quality and variety of solid colours and textures in the marketplace. Besides, Sheridan is the aspirational style leader for Australia homes with a luxurious mix of traditional, modern and contemporary products is balanced by enduring classics for the home. Sherdian is uncompromising in its quality, innovative in its product, directional in its design and distinctive in its handwritting.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Today, the name Sheridan is synonymous with great design, luxury, quality, innovation and craftsmanship in bedlinen.</p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box","Learn more about Sheridan weaving",3,270,"window.open('../"+BY+"/CaseStudy.aspx','_self');");break;}case"137":{f_E("MediaPlayer_Button").style.display="";AA="<p class='U_TEXT11' style='line-height:1.5'>Santas - Embracing your dreams ...</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Santas Bed Linen reflects the essence of splendour with its array of print designs and fabric textures. Print designs range from soft florals that mirror the English country side to renaissance panel prints. Innovation is the key word in Bed Fashion. The designs are available in three major design lines accomplished on the finest grade of cotton fabric.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Santas offers a full range of high quality towels with intricate detail, such as jacquard, embroidery and complex design borders in a full colour pallette with endorsement of US Cotton, assures the softness, durability and best absorbent.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>7 steps of Quality process :</p>"+"<p class='U_TEXT12' style='line-height:1.5'><ul>"+"<li>Designing.</li>"+"<li>Quality of Fabric Preparation.</li>"+"<li>Dyeing.</li>"+"<li>Printing.</li>"+"<li>Fabric finishing.</li>"+"<li>Fabric stitching.</li>"+"<li>Quality of Assurance.</li>"+"</ul></p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box","Learn more about Santas Quality Commitment",3,270,"window.open('../"+BY+"/CaseStudy.aspx','_self');");break;}case"138":{AA="<p class='U_TEXT11' style='line-height:1.5'>Billerbeck Pillow</p>"+"<p class='U_TEXT12' style='line-height:1.5'>1921 : D�ltgen and Heinrich Billerbeck established the \"Rhinean Downquilt Factory D�ltgen and Billerbeck\" in Wuppertal, Germany. Year 2003, Billerbeck Betten-Union GmbH & Co.KG becomes an independent company after Management Buy-Out.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>Billerbeck is a company that looks back on a long family tradition: since 1921 we produce high quality bedding goods, putting together proven filling materials with fine casings. We convert the idea of healthy sleep into reality by means of brand products that fulfil the highest quality standards by combining selected material components and environmentally responsible production methods.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>MARKETING CONCEPTS - billerbeck is synonym to \"tradition and skill\" , \"quality and innovation\" in a clearly defined range of bedding articles. Billerbeck also support the retailing customers with competent counselling, professional trainings of the floor people and conceptual communication, such as eye catching general publicity, intensive consumer information (also through our homepage) and considerable PR-activities.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>INTERNATIONAL RADIUS - constitutes a major aspect in our corporate concept. With sister companies in Germany, Switzerland, Austria, Hungary and Japan billerbeck stands strong for the world wide market. The synergies of a large group guarantee an optimum use of the raw materials and an efficient employment of know how - all to the advantage of our partners and customers.</p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box","Learn more about Billerbeck sleeping advices",3,270,"window.open('../"+BY+"/CaseStudy.aspx','_self');");break;}case"141":{f_E("MediaPlayer_Button").style.display="";AA="<p class='U_TEXT11' style='line-height:1.5'>Mobalpa � Design your life style</p>"+"<p class='U_TEXT12' style='line-height:1.5'><b>Mobalpa History</b></p>"+"<p class='U_TEXT12' style='line-height:1.5'>It all started 100 years ago, in 1907, with a cabinetmaking workshop in Th�nes, in the French Alps, where various wooden objects were made, especially kitchen cabinets. The workshop grew, and then in 1949 branched out, with the creation of the Mobalpa brand name and the first unit-based kitchens. Nowadays, Mobalpa has 8 production sites in France employing more than 1000 people. The brand has already brought satisfaction to more than a million customers with fully customized kitchens.</p>"+"<p class='U_TEXT12' style='line-height:1.5'><b>Mobalpa is commited to quality and the environment :</b></p>"+"<p class='U_TEXT12' style='line-height:1.5'><ul>"+"<li>Quality and the environment have always been top priorities for Mobalpa.</li>"+"<li>ISO 9001 certification for its quality management system.</li>"+"<li>ISO 14001 certification for its environmental management. Its commitment to the environment has always been acknowledged and appreciated by the authorities.</li>"+"<li>\"Entreprises et Environnement\" award, a particularly important honour since it was awarded to Mobalpa in the 'all companies combined' category. In a similar vein, Mobalpa is also a member of the \"Club Profor�ts\" (WWF), the aim of which is to protect and manage forests as part of a sustainable development approach.</li>"+"<li>THE 2005 STAR OF DESIGN � CREATION UNDER A LUCKY STAR: Mobalpa has received an award from th French \"Observeur du design\" for the ergonomics of its arawer interior.</li>"+"</ul></p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box","Learn more about Mobalpa's commitment",3,270,"window.open('../"+BY+"/CaseStudy.aspx','_self');");break;}case"142":{AA="<p class='U_TEXT11' style='line-height:1.5'>Silit - PURE COOKING ENJOYMENT</p>"+"<p class='U_TEXT12' style='line-height:1.5'>For decades, Silit has stood for top-of-the-line products which make the mark by virtue of their excellent quality, optimal, functionality and sophisticated design. Trail-blazing innovations such as Sicomatic � and the nickel-free, anti-bacterial high-tech cookware materials Silargan � and e30 have revolutionized the world of wellness cuisine. Due to modern technologies, on going product development and consistently high �Made in Germany� quality, Silit has become an internationally leading manufacturer of products for the modern kitchen.</p>"+"<p class='U_TEXT12' style='line-height:1.5'>We put passion and know-how into our unceasing efforts to make cooking and preparing food easier, more appealing and healthier all the time. Design is an integral component of Silit�s entrepreneurial philosophy. Numerous awards have confirmed the exceptional aesthetics and design of Silit products. In collaboration with internationally renowned designers, Silit constantly develops high-quality, unique products which integrate form and functionality � in tune with the times but made to last. Everyday products with that special touch � this is what Silit products are all about. With Silit products, cooking and preparing foods means more adventure, more quality of life, more wellness and more dining pleasure...</p>";f_ShowCatInfo1(CD,AA);Button.CreateStyle1("CaseStudyButton_Box","Learn more about Silit new cooking dimension",3,270,"window.open('../"+BY+"/CaseStudy.aspx','_self');");f_E("MediaPlayer_Button").style.display="";break;}default:{f_E("Information_Box").style.display="none";f_E("Information_BackSlide").style.display="none";f_E("Information_Slide").style.display="none";f_E("Information_Content").style.display="none";break;}}}}}function f_ShowCatInfo1(CD,AA){CD.onclick=function(){if(this.style.left=="400px")f_UserJScript_CollapeCatInfo();else f_UserJScript_ExpandCatInfo(AA);};if(CD.style.left=="400px"){f_UserJScript_CollapeCatInfo();}f_UserJScript_ExpandCatInfo(AA);}function f_UserJScript_ShowMoviePanel(){var Fc=f_E("MediaPlayer_Box");var AB=f_E("MediaPlayer_Box").parentNode;if(AB.offsetHeight==0){AB.style.display="";var JN=new Tween(AB.style,"height",Tween.strongEaseIn,0,315,0.5,"px");JN.start();JN.onMotionFinished=function(){var CA=window.location.pathname.split("/");var BY=CA[CA.length-2];switch(BY){case"133":{MediaPlayer.CreateMediaPlayer("MediaPlayer_Box","../Scripts/MediaPlayer/Scripts/player-viral.swf","../../../FileUpload/Movies/Sealy_250.flv","../FileUpload/Movies/Sealy.jpg");f_E("MovieTitle_lb").innerHTML="What is Sealy Posturepedic?";var C9=document.createElement("div");C9.id="Chapter_Box";C9.style.cssText="float:left; height:40px; width:100%; background:#000";C9.innerHTML="<div style=\"height:5px; clear:both\"></div>"+"<a class=\"U_LINK24\" href=\"javascript:void(0)\" onclick=\"f_E('MovieTitle_lb').innerHTML = 'What is Sealy Posturepedic?';MediaPlayer.CreateMediaPlayer('MediaPlayer_Box','../Scripts/MediaPlayer/Scripts/player-viral.swf','../../../FileUpload/Movies/Sealy_250.flv','../FileUpload/Movies/Sealy.jpg');\" title=\"What is Sealy Posturepedic?\">1</a>"+"<a class=\"U_LINK24\" href=\"javascript:void(0)\" onclick=\"f_E('MovieTitle_lb').innerHTML = 'The Triple Systems Approach?';MediaPlayer.CreateMediaPlayer('MediaPlayer_Box','../Scripts/MediaPlayer/Scripts/player-viral.swf','../../../FileUpload/Movies/TheTripleSystemsApproach.flv','../FileUpload/Movies/Sealy.jpg');\" title=\"The Triple Systems Approach?\">2</a>"+"<a class=\"U_LINK24\" href=\"javascript:void(0)\" onclick=\"f_E('MovieTitle_lb').innerHTML = 'Building The Spring Unit';MediaPlayer.CreateMediaPlayer('MediaPlayer_Box','../Scripts/MediaPlayer/Scripts/player-viral.swf','../../../FileUpload/Movies/BuildingTheSpringUnit.flv','../FileUpload/Movies/Sealy.jpg');\" title=\"Building The Spring Unit\">3</a>"+"<a class=\"U_LINK24\" href=\"javascript:void(0)\" onclick=\"f_E('MovieTitle_lb').innerHTML = 'Building The Mattress';MediaPlayer.CreateMediaPlayer('MediaPlayer_Box','../Scripts/MediaPlayer/Scripts/player-viral.swf','../../../FileUpload/Movies/BuildingTheMattress.flv','../FileUpload/Movies/Sealy.jpg');\" title=\"Building The Mattress\">4</a>"+"<a class=\"U_LINK24\" href=\"javascript:void(0)\" onclick=\"f_E('MovieTitle_lb').innerHTML = 'Research and Development';MediaPlayer.CreateMediaPlayer('MediaPlayer_Box','../Scripts/MediaPlayer/Scripts/player-viral.swf','../../../FileUpload/Movies/ResearchAndDevelopment.flv','../FileUpload/Movies/Sealy.jpg');\" title=\"Research and Development\">5</a>"+"<a class=\"U_LINK24\" href=\"javascript:void(0)\" onclick=\"f_E('MovieTitle_lb').innerHTML = 'Posturetech Coil';MediaPlayer.CreateMediaPlayer('MediaPlayer_Box','../Scripts/MediaPlayer/Scripts/player-viral.swf','../../../FileUpload/Movies/PosturetechCoil.flv','../FileUpload/Movies/Sealy.jpg');\" title=\"Posturetech Coil\">6</a>"+"<a class=\"U_LINK24\" href=\"javascript:void(0)\" onclick=\"f_E('MovieTitle_lb').innerHTML = 'Introducing Crown Jewel';MediaPlayer.CreateMediaPlayer('MediaPlayer_Box','../Scripts/MediaPlayer/Scripts/player-viral.swf','../../../FileUpload/Movies/IntroducingCrownJewel.flv','../FileUpload/Movies/Sealy.jpg');\" title=\"Introducing Crown Jewel\">7</a>";AB.appendChild(C9);break;}case"203":case"134":{MediaPlayer.CreateMediaPlayer("MediaPlayer_Box","../Scripts/MediaPlayer/Scripts/player-viral.swf","../../../FileUpload/Movies/Sheridan.flv","../FileUpload/Movies/Sheridan.jpg");f_E("MovieTitle_lb").innerHTML="Sheridan Spring / Summer 2009";var C9=document.createElement("div");C9.id="Chapter_Box";C9.style.cssText="float:left; height:40px; width:100%; background:#000";AB.appendChild(C9);break;}case"137":{MediaPlayer.CreateMediaPlayer("MediaPlayer_Box","../Scripts/MediaPlayer/Scripts/player-viral.swf","../../../FileUpload/Movies/Santas.flv","../FileUpload/Movies/Santas.jpg");f_E("MovieTitle_lb").innerHTML="Santas 1010";var C9=document.createElement("div");C9.id="Chapter_Box";C9.style.cssText="float:left; height:40px; width:100%; background:#000";AB.appendChild(C9);break;}case"141":{MediaPlayer.CreateMediaPlayer("MediaPlayer_Box","../Scripts/MediaPlayer/Scripts/player-viral.swf","../../../FileUpload/Movies/Mobalpa.flv","../FileUpload/Movies/Mobalpa.jpg");f_E("MovieTitle_lb").innerHTML="Mobalpa - Design your lifestyle";var C9=document.createElement("div");C9.id="Chapter_Box";C9.style.cssText="float:left; height:40px; width:100%; background:#000";AB.appendChild(C9);break;}case"142":{MediaPlayer.CreateMediaPlayer("MediaPlayer_Box","../Scripts/MediaPlayer/Scripts/player-viral.swf","../../../FileUpload/Movies/SilitGenerationECO.flv","../FileUpload/Movies/Silit.jpg");f_E("MovieTitle_lb").innerHTML="Silit - New Generation ECO";var C9=document.createElement("div");C9.id="Chapter_Box";C9.style.cssText="float:left; height:40px; width:100%; background:#000";AB.appendChild(C9);break;}}}}else{AB.removeChild(f_E("Chapter_Box"));Fc.innerHTML="";f_E("MovieTitle_lb").innnerHTML="";var JN=new Tween(AB.style,"height",Tween.strongEaseIn,315,0,0.5,"px");JN.start();JN.onMotionFinished=function(){AB.style.display="none";}}}function f_UserJScript_BindProductOfCategory(){var AC=UserJScript.Class1.GetData2(new Array(g_ObjPage.Page,g_ObjPage.NumRow,g_ObjPage.TableName,g_ObjPage.Select1,g_ObjPage.Select2,g_ObjPage.Search,g_ObjPage.Order)).value;if(AC){var AD=AC.Rows.length;var AS,AL,H0,C0,Lk,Ah,BY,Lj,AE,Az,JJ,IA,Eg,i;var AA=new StringBuffer();AE=f_UserJScript_GetArrayFileNameAndResolution(AC.Rows[0].Product_Image,"");Eg=AE[1];IA="ProductDetail.aspx";switch(Eg.indexOf("@")==-1?Eg:Eg.substring(0,Eg.indexOf("@"))){case"700x700":{Az="U_DIV17";JJ="U_LINK17";break;}case"940x470":{Az="U_DIV29";JJ="U_LINK19";break;}case"750x500":{Az="U_DIV31";JJ="U_LINK20";break;}default:{Az="U_DIV26";JJ="U_LINK7";IA="ProductsDetail.aspx";break;}}for(i=0;i<AD;){AS=AC.Rows[i];BY=AS.Product_ID;Lk=AS.Product_Code==null?"":AS.Product_Code;C0=AS.Product_Image;AE=f_UserJScript_GetArrayFileNameAndResolution(C0,g_ExternalHost+"FileUpload/Product/");C0=AE[0].indexOf("@")==-1?AE[0]:AE[0].substring(0,AE[0].indexOf("@"));AL=AS.ProductProperty_Name;Lj=AS.ProductProperty_Description==null?"":AS.ProductProperty_Description.replace(/\"/g,'\\\'');H0=AS.Product_Price+"";Ah="../"+g_PID+"@"+g_SelectCatID+"@"+BY+"/"+f_UrlSeo(AL)+"_"+IA;AA.append("<div class='").append(Az).append("'>");AA.append("<a href='").append(Ah).append("' class='").append(JJ).append("' style='background:url(").append(C0).append(") no-repeat center'").append((AS.ProductProperty_Description!=null)?" onmouseover=\"Tip('<div style=\\'width:350px; background:#EEEFF3\\'><div style=\\'line-height:2; text-align:center\\' class=\\'U_TEXT9\\'>"+AL+"</div><div style=\\'line-height:1.5\\'>"+Lj+"</div></div>')\" onmouseout=\"UnTip()\"":"").append("></a>");AA.append("<a href='").append(Ah).append("' class='U_LINK5'>").append(AL).append("</a>");AA.append("<a href='").append(Ah).append("' class='U_LINK8' style='float:left;width:100%'>").append(Lk).append("</a>");AA.append("<a href='").append(Ah).append("' class='U_LINK21'>").append(f_ShowProductPrice(H0)).append("</a>");AA.append("</div>");i++;}f_E("ctl00_Content_ProductContent_Box").innerHTML=AA.toString();var JI=parseInt(g_ObjPage.Page)+1;f_E("Page_txt").value=JI;f_E("Page1_txt").value=JI;}}function f_ShowProductPrice(H0){var AJ="";switch(H0){case"10000000":{AJ=g_LangID==1?unescape("H%u1EBFt%20h%E0ng"):"Stock out";break;}case"10000001":{AJ=g_LangID==1?unescape("S%u1EAFp%20ra%20m%u1EAFt"):"Comming soon";break;}case"10000002":{AJ=g_LangID==1?unescape("Gi%E1%20tham%20kh%u1EA3o%20t%u1EA1i%20c%u1EEDa%20h%E0ng"):"Price detail";break;}default:{AJ=f_ConvertToMoney(H0,".000 VN"+unescape("%u0110"));}}return AJ;}function f_AjaxGetTotalPageProduct(){g_ObjPage.TotalPage=UserJScript.Class1.GetTotalPage(new Array(g_ObjPage.NumRow,g_ObjPage.TableName,g_ObjPage.Search)).value;try{f_E("TotalPage_box").innerHTML=g_ObjPage.TotalPage+1;f_E("TotalPage1_box").innerHTML=g_ObjPage.TotalPage+1;}catch(ex){}}function f_UserJScript_ProductOrder(OV){if(g_ObjPage.Order!=OV){g_ObjPage.Order=OV;f_UserJScript_BindProductOfCategory();}}function f_BoldMenuSelect(Ll){var AE=f_E("ctl00_Category_Box").chileNodes;var Ag=AE.length;var i;for(i=0;i<Ag;){if(AE[i].innerHTML==Ll){AE[i].className="U_LINK9";break;}i++;}}function f_CreateLeftFilter(){if(g_LangID==1){f_E("CatTitle_Box").innerHTML=unescape("L%u1ECCC%20S%u1EA2N%20PH%u1EA8M");var AA="<div class='U_TEXT7' style='height:30px;line-height:2.5;border-bottom:1px solid #DDDDDD'>theo "+unescape("%u0110%u01A1n%20gi%E1")+"</div>"+"<div style='height:25px; line-height:2'><a onclick=\"f_UserJScript_ProductOrder('Product_Price asc');\" class='U_LINK6' href='javascript:void(0)'>&nbsp; &nbsp; "+unescape("T%u0103ng%20d%u1EA7n")+"</a></div>"+"<div style='height:25px; line-height:2'><a onclick=\"f_UserJScript_ProductOrder('Product_Price desc');\" class='U_LINK6' href='javascript:void(0)'>&nbsp; &nbsp; "+unescape("Gi%u1EA3m%20d%u1EA7n")+"</a></div>"+"<div class='U_TEXT7' style='height:30px;line-height:2.5;border-bottom:1px solid #DDDDDD'>theo ABC</div>"+"<div style='height:25px; line-height:2'><a onclick=\"f_UserJScript_ProductOrder('ProductProperty_Name asc');\" class='U_LINK6' href='javascript:void(0)'>&nbsp; &nbsp; A - Z</a></div>"+"<div style='height:25px; line-height:2'><a onclick=\"f_UserJScript_ProductOrder('ProductProperty_Name desc')\" class='U_LINK6' href='javascript:void(0)'>&nbsp; &nbsp; Z - A</a></div>";f_E("ctl00_Category_Box").innerHTML=AA;}else{f_E("CatTitle_Box").innerHTML="FILTER BY";var AA="<div class='U_TEXT7' style='height:30px;line-height:2.5;border-bottom:1px solid #DDDDDD'>by Price</div>"+"<div style='height:25px; line-height:2'><a onclick=\"f_UserJScript_ProductOrder('Product_Price asc');\" class='U_LINK6' href='javascript:void(0)'>&nbsp; &nbsp; Ascending</a></div>"+"<div style='height:25px; line-height:2'><a onclick=\"f_UserJScript_ProductOrder('Product_Price desc');\" class='U_LINK6' href='javascript:void(0)'>&nbsp; &nbsp; Descending</a></div>"+"<div class='U_TEXT7' style='height:30px;line-height:2.5;border-bottom:1px solid #DDDDDD'>by ABC</div>"+"<div style='height:25px; line-height:2'><a onclick=\"f_UserJScript_ProductOrder('ProductProperty_Name asc');\" class='U_LINK6' href='javascript:void(0)'>&nbsp; &nbsp; A - Z</a></div>"+"<div style='height:25px; line-height:2'><a onclick=\"f_UserJScript_ProductOrder('ProductProperty_Name desc')\" class='U_LINK6' href='javascript:void(0)'>&nbsp; &nbsp; Z - A</a></div>";f_E("ctl00_Category_Box").innerHTML=AA;}}function f_UserJScript_BindAdsOfCategory(){var AA=new StringBuffer();var AC=UserJScript.Class1.GetPageCache("Ads_Cache","WHERE Ads_Active = 'True'",new Array(g_ObjPage.Page,g_ObjPage.NumRow,g_ObjPage.TableName,"Ads_CategoryID,AdsList_Title,Ads_Image,Ads_URL,Ads_StartDate,Ads_DisplayOrder,AdsList_LangID","Ads_CategoryID,AdsList_Title,Ads_Image,Ads_URL,Ads_StartDate,Ads_DisplayOrder,AdsList_LangID",g_ObjPage.Search,g_ObjPage.Order)).value;if(AC){var AD=AC.Rows.length;var AS,BY,C0,Ak,Ab,Lj,H0,Ah,Lk,i,K4,K5,K3;K5=new StringBuffer();K3=new StringBuffer();for(i=0;i<AD;){AS=AC.Rows[i];C0=AS.Ads_Image;Ak=f_UserJScript_GetArrayFileNameAndResolution(C0,"../FileUpload/Ads/Full/");C0=C0.substring(0,C0.indexOf("|"));Ab=AS.AdsList_Title;Ah=AS.Ads_URL==null?"javascript:void(0)":AS.Ads_URL;K4="PopupWindow.CreateImagePopup('"+Ab+"','"+Ab+"','"+Ak[0]+"','"+Ak[1]+"',0,true,true,'1|0|0',null,true);";K5.append("<a href='").append(Ah).append("' class=\"U_LINK26\" style=\"margin-bottom:0px;background:url(../FileUpload/Ads/").append(C0).append(") no-repeat center\" onclick=\"").append(K4).append("\"></a>");K3.append("<a href='").append(Ah).append("' class=\"U_LINK26 U_LINK5\" style=\"height:30px;text-align:center;border:0px;line-height:1.5\" onclick=\"").append(K4).append("\">").append(Ab).append("</a>");if((i+1)%6==0){AA.append(K5.toString()).append(K3.toString());K5.removeAll();K3.removeAll();}i++;}}f_E("ctl00_Content_AdsContent_Box").innerHTML=AA.toString();var JI=parseInt(g_ObjPage.Page,10)+1;f_E("Page_txt").value=JI;f_E("Page1_txt").value=JI;}function f_UserJScript_GetArrayFileNameAndResolution(AV,B1){var AJ=new Array();var i,AE,HW,AD,K2,Ki;AE=AV.split("@");AD=AE.length;K2=new StringBuffer();Ki=new StringBuffer();for(i=0;i<AD;){HW=AE[i].split("|");K2.append(K2.toString()==""?"":"@").append(B1).append(HW[0]);Ki.append(Ki.toString()==""?"":"@").append(HW[1]);i++;}AJ[0]=K2.toString();AJ[1]=Ki.toString();return AJ;}function f_UserJScript_AdsFilter(Li){g_ObjPage.Search="WHERE Ads_CategoryID = "+Li+" AND AdsList_LangID ="+g_LangID;g_ObjPage.Page=0;f_UserJScript_BindAdsOfCategory();f_AjaxGetTotalPageProduct();f_E("Cat_cb").value=Li;f_E("Cat1_cb").value=Li;}function f_AjaxGetTotalPageAds(Am){g_ObjPage.TotalPage=g_Class1.GetTotalPage(new Array(g_ObjPage.NumRow,Am,g_ObjPage.Search)).value;g_ObjPage.TotalRecord=g_Class1.GetTotalRecord(new Array(Am,g_ObjPage.Search)).value;try{f_E("TotalPage_box").innerHTML=g_ObjPage.TotalPage+1;f_E("TotalPage1_box").innerHTML=g_ObjPage.TotalPage+1;}catch(ex){}}function f_UserJScript_AddItemToCart(){var OX=f_E("ProductStyle_cb");var AC;if(OX)AC=UserJScript.Class4.AddItemToCart(g_ProcudtID+"",parseInt(OX.value)).value;else{AC=UserJScript.Class4.AddItemToCart(g_ProcudtID+"",-1).value;}if(AC==true){f_E("CartItemCount_Box").innerHTML=parseInt(f_E("CartItemCount_Box").innerHTML)+1;f_UserJScript_ShowYourBag();}}function f_CreateThumbnailImage(AV){var AA="";var AE=f_E("ctl00_Content_ProductImage_Box").title.split("@");var i;var AD=AE.length;for(i=0;i<AD;){if(AE[i].substring(AE[i].lastIndexOf("/")+1)!=AV){AA+="<a href='javascript:void(0)' class='U_LINK18' style='background:url("+AE[i].replace("Extra","Thumbnail")+") no-repeat center' onclick=\"f_SwapImageProduct('ctl00_Content_ProductImage_Box','"+AE[i].replace("Extra","Full")+"');\"></a><div style='height:5px; clear:both'></div>";}i++;}f_E("ctl00_Content_ThumbnailImage_Box").innerHTML=AA;}function f_UserJScript_CreateViewCatalog(){f_E("ViewCatalog_hpl").onclick=f_E("ctl00_Content_ProductImage_Click").onclick;}function f_ChangeDetailDescription(AP){var AD=g_ArrDescription.length;if(AD>0){f_E("ctl00_Content_ItemInformation_Box").innerHTML=g_ArrDescription[AP];f_E("ctl00_Content_ProductPrice_Box").innerHTML=f_ConvertToMoney(g_ArrPrice[AP],".000 VN"+unescape("%u0110"));if(g_ArrCode[AP]!=undefined)f_E("ctl00_Content_ProductCode_Box").innerHTML=g_ArrCode[AP];}}function f_ImportData(Ow,Ov,Ou,Kh){var AC=g_Class3.ImportExcel(Ow,Ov,Ou,Kh).value;if(AC){alert(AC);}}function f_SwapImageProduct(DT,Dq){if(g_CheckImageSwapping==true){return;}g_CheckImageSwapping=true;var KV=f_E(DT);var Ot=Dq.substring(Dq.lastIndexOf("/")+1,Dq.lastIndexOf("."));if(KV.style.background.indexOf(Ot)!=-1){return;}var CG=new OpacityTween(KV,Tween.strongEaseIn,100,0,0.6);CG.start();CG.onMotionFinished=function(){f_CreateThumbnailImage(Dq.substring(Dq.lastIndexOf("/")+1));KV.style.background="url("+Dq+") no-repeat center";var OY=new OpacityTween(KV,Tween.strongEaseIn,0,100,0.6);OY.start();OY.onMotionFinished=function(){MagicZoom.FullImage=Dq.replace("Full","Extra");g_CheckImageSwapping=false;};}}function f_UserJScript_ShowIntroAds(){ImageTween.SwapArrImage("FullImage_Img","../FileUpload/Banner/","|SheridanFull.jpg||SantasFull.jpg||BillerbeckFull.jpg||MobalpaFull.jpg||SilitFull.jpg||WusthofFull.jpg||KaiserFull.jpg||SoehnleFull.jpg|","|../134/Sheridan_ProductHome.aspx||../137/Santas_ProductHome.aspx||../138/Billerbeck_ProductHome.aspx||../141/Mobalpa_ProductHome.aspx||../142/Silit_ProductHome.aspx||../User/HomePage.aspx||../11@144/Kaiser_Product.aspx||../User/HomePage.aspx|","|_self||_self||_self||_self||_self||_self||_self||_self|",0,"|f_UserJScript_BannerHighlightChange();||f_UserJScript_BannerHighlightChange();||f_UserJScript_BannerHighlightChange();||f_UserJScript_BannerHighlightChange();||f_UserJScript_BannerHighlightChange();||f_UserJScript_BannerHighlightChange();||f_UserJScript_BannerHighlightChange();||f_UserJScript_BannerHighlightChange();|",true,"U_LINK27");}function f_UserJScript_BannerHighlightChange(){}function f_UserJScript_UpdateQuantity(AP,LZ){var Lf=f_E("Quantity"+AP+"_Box");var Ox=f_E("SubTotal"+AP+"_Box");if((parseInt(Lf.innerHTML)>1&&LZ==false)||(parseInt(Lf.innerHTML)>0&&LZ==true)){var AC=UserJScript.Class4.UpdateQuantity(new Array(AP,LZ)).value;if(AC){var AE=AC.split("|");Lf.innerHTML=AE[0];Ox.innerHTML=f_ConvertToMoney(AE[1],".000 VN"+unescape("%u0110"));f_E("ctl00_Content_TotalPrice_Box").innerHTML=f_ConvertToMoney(AE[2],".000 VN"+unescape("%u0110"));}}}function f_CaculateTotalPrice(){f_E("ctl00_Content_TotalPrice_Box").innerHTML=f_ConvertToMoney(UserJScript.Class4.TotalPrice().value,".000 VN"+unescape("%u0110"));}function f_RemoveCartItem(AP){var AC=UserJScript.Class4.RemoveCartItem(AP).value;if(AC){f_E("ctl00_Content_CartDetail_Box").innerHTML=UserJScript.Class4.CreateCartHTML(g_ExternalHost).value;f_CaculateTotalPrice();}}function f_UserJScript_EventOnKeyDown(event){event=event||window.event;var AI=event.keyCode;if(f_CheckREGEX(UserJScript.PanelFocus,"(^\\Page1_txt$)|(^\\Page_txt$)",null)==true){if(!((AI>=96&&AI<=105)||(AI>=48&&AI<=57)||AI==16||AI==17||AI==8||AI==46||AI==35||AI==36||AI==37||AI==38||AI==39||AI==40||AI==13)){return false;}}switch(AI){case 13:{switch(UserJScript.PanelFocus){case"EmailJoinUs_txt":{if(AlertWindow.ValidateSubmitForm(UserJScript.PanelFocus,'^([A-Za-z0-9_\\-\\.])+\\@([A-Za-z0-9_\\-\\.])+\\.([A-Za-z]{2,4})$','Invalid Email Address !')){f_UserJScript_JoinUsEmail(f_E("EmailJoinUs_txt"));}break;}case"Search_txt":{f_UserJScript_SearchProduct(f_E("Search_txt").value);break;}case"Username_txt":case"Password_txt":{f_UserJScript_CheckLoginAccount(f_E("Login_bt"));break;}default:{if(f_CheckREGEX(UserJScript.PanelFocus,"(^\\Page1_txt$)|(^\\Page_txt$)",null)==true){var LY=f_E(UserJScript.PanelFocus);var KX=parseInt(f_Trim(LY.value));switch(UserJScript.PageName){case"advertising.aspx":{if(KX<g_ObjPage.TotalPage+2){g_ObjPage.Page=KX-1;f_UserJScript_BindAdsOfCategory();}break;}case"product.aspx":{if(KX<g_ObjPage.TotalPage+2){g_ObjPage.Page=KX-1;f_UserJScript_BindProductOfCategory();}break;}}LY.focus();LY.select();return false;}break;}}break;}case 17:{UserJScript.KeyDown=AI;return false;}case 37:{if((UserJScript.PageName=="advertising.aspx")&&UserJScript.PanelFocus==null){if(f_PrePage()){f_UserJScript_BindAdsOfCategory();}return false;}if((UserJScript.PageName=="product.aspx")&&UserJScript.PanelFocus==null){if(f_PrePage()){f_UserJScript_BindProductOfCategory();}return false;}break;}case 39:{if((UserJScript.PageName=="advertising.aspx")&&UserJScript.PanelFocus==null){if(f_NextPage()){f_UserJScript_BindAdsOfCategory();}return false;}if((UserJScript.PageName=="product.aspx")&&UserJScript.PanelFocus==null){if(f_NextPage()){f_UserJScript_BindProductOfCategory();}return false;}break;}case 40:{if((UserJScript.PageName=="advertising.aspx")&&UserJScript.PanelFocus==null){if(f_FirstPage()){f_UserJScript_BindAdsOfCategory();}return false;}if((UserJScript.PageName=="product.aspx")&&UserJScript.PanelFocus==null){if(f_FirstPage()){f_UserJScript_BindProductOfCategory();}return false;}break;}case 38:{if((UserJScript.PageName=="advertising.aspx")&&UserJScript.PanelFocus==null){if(f_LastPage()){f_UserJScript_BindAdsOfCategory();}return false;}if((UserJScript.PageName=="product.aspx")&&UserJScript.PanelFocus==null){if(f_LastPage()){f_UserJScript_BindProductOfCategory();}return false;}break;}}return true;}function f_UserJScript_EventOnKeyUp(event){event=event||window.event;var AI=event.keyCode;if(AI==17){UserJScript.KeyDown=null;}}function f_UserJScript_ShowYourBag(){var AC=UserJScript.Class4.CreateCartHTML(g_ExternalHost).value;if(AC){var AA=new StringBuffer();var AB=f_E("Header_Box");var AN=document.createElement("div");AN.id="CartDetail_Box";AN.title="false";AN.style.cssText="position:absolute; left:"+(f_GetPosition(AB)[0]+748)+"px; top:0px;width:250px; height:0px; background:#ffffff;border:solid 1px #000;overflow:hidden; z-index:20";AA.append("<div style='height:5px; clear:both'></div>");AA.append("<div style='float: left; width: 80px;height:55px; text-align:center'><img src='../App_Themes/UserLayout/Skin1/Images/HomeBag.png' alt='HomeStudioPlus, Home Studio Plus, chan ga goi nem, ga trai giuong, khan tam, noi that phong ngu, Sheridan, Sheridan Viet Nam, Santas, Santas Viet Nam, Billerbeck, Billerbeck Viet Nam, Goi, Molbalpa, Molbalpa Viet Nam, Tu bep ngoai nhap, ke bap cao cap, nha bep, bep ngoai nhap, Silit, Silit Viet Nam, dung cu nha bep, do dung nha bep, noi ap suat, chao khong dinh, home, trang tri noi that, cong ty phan phoi noi that, noi that chau au, noi that sang trong, noi that cao cap, noi that' width='30' height='41' /></div>");AA.append("<div style='float:left; width:170px; height:55px'><span class='U_TEXT5'>").append(g_LangID=="1"?unescape("GI%u1ECE%20H%C0NG"):"YOUR BAG").append("</span><br /></div><div style='clear: both' class='U_DIV20'></div><div style='height:5px; clear:both'></div>");AN.innerHTML=AA.toString();AN=document.body.insertBefore(AN,document.body.firstChild);var Aw=parseInt(AC.split("||")[1])*93+65;var J3=0;if(Aw>(document.documentElement.offsetHeight-300)){AN.style.width="270px";AN.style.left=f_GetPosition(AB)[0]+728+"px";J3=document.documentElement.offsetHeight-300;}var C_=new Tween(AN.style,"height",Tween.bounceEaseOut,0,(J3==0?Aw:J3),0.6,"px");C_.start();C_.onMotionFinished=function(){if(J3!=0){AN.innerHTML+="<div style='float:left; width:270px;overflow-x:hidden; overflow-y:scroll; height:"+(J3-65)+"px'>"+AC.split("||")[0]+"</div>";}else AN.innerHTML+=AC.split("||")[0];setTimeout("f_UserJScript_HiddenYourBag("+Aw+")",2000);};AN.onmouseover=function(){AN.title="true";};AN.onmouseout=function(){AN.title="false";};}}function f_UserJScript_HiddenYourBag(Aw){var AB=f_E("CartDetail_Box");if(AB.title=="false"){AB.innerHTML="";var C_=new Tween(AB.style,"height",Tween.bounceEaseIn,Aw,0,0.4,"px");C_.start();C_.onMotionFinished=function(){document.body.removeChild(f_E("CartDetail_Box"));};}else setTimeout("f_UserJScript_HiddenYourBag("+Aw+")",2000);}function f_CheckMousePointInObject(event,AB){var Ay,Ca,Ap,Cb;Ay=AB.offsetLeft;Ca=AB.offsetLeft+AB.offsetWidth;Ap=AB.offsetTop;Cb=AB.offsetTop+AB.offsetHeight;if(event.clientX>=Ay&&event.clientX<=Ca&&event.clientY>=Ap&&event.clientY<=Cb)return true;return false;}if(typeof dd_domreadycheck=="undefined")var dd_domreadycheck=false;var ddlevelsmenu={enableshim:true,arrowpointers:{downarrow:["../Scripts/SubMenu/arrow-down.gif",11,7],rightarrow:["../Scripts/SubMenu/arrow-right.gif",12,12],showarrow:{toplevel:true,sublevel:true}},hideinterval:300,effects:{enableswipe:true,enablefade:true,duration:200},httpsiframesrc:"blank.htm",topmenuids:[],topitems:{},subuls:{},lastactivesubul:{},topitemsindex:-1,ulindex:-1,hidetimers:{},shimadded:false,nonFF:!/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent),getoffset:function(what,offsettype){return(what.offsetParent)?what[offsettype]+this.getoffset(what.offsetParent,offsettype):what[offsettype]},getoffsetof:function(el){el._offsets={left:this.getoffset(el,"offsetLeft"),top:this.getoffset(el,"offsetTop")}},getwindowsize:function(){this.docwidth=window.innerWidth?window.innerWidth-10:this.standardbody.clientWidth-10;this.docheight=window.innerHeight?window.innerHeight-15:this.standardbody.clientHeight-18;},gettopitemsdimensions:function(){for(var m=0;m<this.topmenuids.length;m++){var topmenuid=this.topmenuids[m];for(var i=0;i<this.topitems[topmenuid].length;i++){var header=this.topitems[topmenuid][i];var submenu=document.getElementById(header.getAttribute('rel'));header._dimensions={w:header.offsetWidth,h:header.offsetHeight,submenuw:submenu.offsetWidth,submenuh:submenu.offsetHeight};}}},isContained:function(m,e){var e=window.event||e;var c=e.relatedTarget||((e.type=="mouseover")?e.fromElement:e.toElement);while(c&&c!=m)try{c=c.parentNode}catch(e){c=m}if(c==m)return true;else return false;},addpointer:function(target,imgclass,imginfo,BeforeorAfter){var pointer=document.createElement("img");pointer.src=imginfo[0];pointer.style.width=imginfo[1]+"px";pointer.style.height=imginfo[2]+"px";if(imgclass=="rightarrowpointer"){pointer.style.left=target.offsetWidth-imginfo[2]-2+"px";}pointer.className=imgclass;var target_firstEl=target.childNodes[target.firstChild.nodeType!=1?1:0];if(target_firstEl&&target_firstEl.tagName=="SPAN"){target=target_firstEl;}if(BeforeorAfter=="before"){target.insertBefore(pointer,target.firstChild);}else{if(target.innerHTML.indexOf("arrow-down.gif")==-1){target.appendChild(pointer);}}},css:function(el,targetclass,action){var needle=new RegExp("(^|\\s+)"+targetclass+"($|\\s+)","ig");if(action=="check")return needle.test(el.className);else if(action=="remove")el.className=el.className.replace(needle,"");else if(action=="add"&&!needle.test(el.className))el.className+=" "+targetclass;},addshimmy:function(target){var shim=(!window.opera)?document.createElement("iframe"):document.createElement("div");shim.className="ddiframeshim";shim.setAttribute("src",location.protocol=="https:"?this.httpsiframesrc:"about:blank");shim.setAttribute("frameborder","0");target.appendChild(shim);try{shim.style.filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';}catch(e){}return shim;},positionshim:function(header,submenu,dir,scrollX,scrollY){if(header._istoplevel){var scrollY=window.pageYOffset?window.pageYOffset:this.standardbody.scrollTop;var topgap=header._offsets.top-scrollY;var bottomgap=scrollY+this.docheight-header._offsets.top-header._dimensions.h;if(topgap>0){this.shimmy.topshim.style.left=scrollX+"px";this.shimmy.topshim.style.top=scrollY+"px";this.shimmy.topshim.style.width="99%";this.shimmy.topshim.style.height=topgap+"px";}if(bottomgap>0){this.shimmy.bottomshim.style.left=scrollX+"px";this.shimmy.bottomshim.style.top=header._offsets.top+header._dimensions.h+"px";this.shimmy.bottomshim.style.width="99%";this.shimmy.bottomshim.style.height=bottomgap+"px";}}},hideshim:function(){this.shimmy.topshim.style.width=this.shimmy.bottomshim.style.width=0;this.shimmy.topshim.style.height=this.shimmy.bottomshim.style.height=0;},buildmenu:function(mainmenuid,header,submenu,submenupos,istoplevel,dir){header._master=mainmenuid;header._pos=submenupos;header._istoplevel=istoplevel;if(istoplevel){this.addEvent(header,function(e){ddlevelsmenu.hidemenu(ddlevelsmenu.subuls[this._master][parseInt(this._pos)])},"click");}this.subuls[mainmenuid][submenupos]=submenu;header._dimensions={w:header.offsetWidth,h:header.offsetHeight,submenuw:submenu.offsetWidth,submenuh:submenu.offsetHeight};this.getoffsetof(header);submenu.style.left=0;submenu.style.top=0;submenu.style.visibility="hidden";this.addEvent(header,function(e){if(!ddlevelsmenu.isContained(this,e)){var submenu=ddlevelsmenu.subuls[this._master][parseInt(this._pos)];if(this._istoplevel){ddlevelsmenu.css(this,"selected","add");clearTimeout(ddlevelsmenu.hidetimers[this._master][this._pos]);}ddlevelsmenu.getoffsetof(header);var scrollX=window.pageXOffset?window.pageXOffset:ddlevelsmenu.standardbody.scrollLeft;var scrollY=window.pageYOffset?window.pageYOffset:ddlevelsmenu.standardbody.scrollTop;var submenurightedge=this._offsets.left+this._dimensions.submenuw+(this._istoplevel&&dir=="topbar"?0:this._dimensions.w);var submenubottomedge=this._offsets.top+this._dimensions.submenuh;var menuleft=(this._istoplevel?this._offsets.left+(dir=="sidebar"?this._dimensions.w:0):this._dimensions.w);if(submenurightedge-scrollX>ddlevelsmenu.docwidth){menuleft+=-this._dimensions.submenuw+(this._istoplevel&&dir=="topbar"?this._dimensions.w:-this._dimensions.w);}submenu.style.left=menuleft+"px";var menutop=(this._istoplevel?this._offsets.top+(dir=="sidebar"?0:this._dimensions.h):this.offsetTop);if(submenubottomedge-scrollY>ddlevelsmenu.docheight){if(this._dimensions.submenuh<this._offsets.top+(dir=="sidebar"?this._dimensions.h:0)-scrollY){menutop+=-this._dimensions.submenuh+(this._istoplevel&&dir=="topbar"?-this._dimensions.h:this._dimensions.h);}else{menutop+=-(this._offsets.top-scrollY)+(this._istoplevel&&dir=="topbar"?-this._dimensions.h:0);}}submenu.style.top=menutop+"px";if(ddlevelsmenu.enableshim&&(ddlevelsmenu.effects.enableswipe==false||ddlevelsmenu.nonFF)){ddlevelsmenu.positionshim(header,submenu,dir,scrollX,scrollY);}else{submenu.FFscrollInfo={x:scrollX,y:scrollY};}ddlevelsmenu.showmenu(header,submenu,dir);}},"mouseover");this.addEvent(header,function(e){var submenu=ddlevelsmenu.subuls[this._master][parseInt(this._pos)];if(this._istoplevel){if(!ddlevelsmenu.isContained(this,e)&&!ddlevelsmenu.isContained(submenu,e))ddlevelsmenu.hidemenu(submenu);}else if(!this._istoplevel&&!ddlevelsmenu.isContained(this,e)){ddlevelsmenu.hidemenu(submenu);}},"mouseout");},setopacity:function(el,value){el.style.opacity=value;if(typeof el.style.opacity!="string"){el.style.MozOpacity=value;if(el.filters){el.style.filter="progid:DXImageTransform.Microsoft.alpha(opacity="+value*100+")";}}},showmenu:function(header,submenu,dir){if(this.effects.enableswipe||this.effects.enablefade){if(this.effects.enableswipe){var endpoint=(header._istoplevel&&dir=="topbar")?header._dimensions.submenuh:header._dimensions.submenuw;submenu.style.width=submenu.style.height=0;submenu.style.overflow="hidden";}if(this.effects.enablefade){this.setopacity(submenu,0);}submenu._curanimatedegree=0;submenu.style.visibility="visible";clearInterval(submenu._animatetimer);submenu._starttime=new Date().getTime();submenu._animatetimer=setInterval(function(){ddlevelsmenu.revealmenu(header,submenu,endpoint,dir)},10);}else{submenu.style.visibility="visible";}},revealmenu:function(header,submenu,endpoint,dir){var elapsed=new Date().getTime()-submenu._starttime;if(elapsed<this.effects.duration){if(this.effects.enableswipe){if(submenu._curanimatedegree==0){submenu.style[header._istoplevel&&dir=="topbar"?"width":"height"]="auto";}submenu.style[header._istoplevel&&dir=="topbar"?"height":"width"]=(submenu._curanimatedegree*endpoint)+"px";}if(this.effects.enablefade){this.setopacity(submenu,submenu._curanimatedegree);}}else{clearInterval(submenu._animatetimer);if(this.effects.enableswipe){submenu.style.width="auto";submenu.style.height="auto";submenu.style.overflow="visible";}if(this.effects.enablefade){this.setopacity(submenu,1);submenu.style.filter="";}if(this.enableshim&&submenu.FFscrollInfo)this.positionshim(header,submenu,dir,submenu.FFscrollInfo.x,submenu.FFscrollInfo.y);}submenu._curanimatedegree=(1-Math.cos((elapsed/this.effects.duration)*Math.PI))/2;},hidemenu:function(submenu){if(typeof submenu._pos!="undefined"){this.css(this.topitems[submenu._master][parseInt(submenu._pos)],"selected","remove");if(this.enableshim)this.hideshim();}clearInterval(submenu._animatetimer);submenu.style.left=0;submenu.style.top="-1000px";submenu.style.visibility="hidden";},addEvent:function(target,functionref,tasktype){if(target.addEventListener)target.addEventListener(tasktype,functionref,false);else if(target.attachEvent)target.attachEvent('on'+tasktype,function(){return functionref.call(target,window.event)});},domready:function(functionref){if(dd_domreadycheck){functionref();return}if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);functionref();dd_domreadycheck=true;},false)}else if(document.attachEvent){if(document.documentElement.doScroll&&window==window.top)(function(){if(dd_domreadycheck){functionref();return;}try{document.documentElement.doScroll("left");}catch(error){setTimeout(arguments.callee,0);return;}functionref();dd_domreadycheck=true;})();}if(document.attachEvent&&parent.length>0)this.addEvent(window,function(){functionref()},"load");},init:function(mainmenuid,dir){this.standardbody=(document.compatMode=="CSS1Compat")?document.documentElement:document.body;this.topitemsindex=-1;this.ulindex=-1;this.topmenuids.push(mainmenuid);this.topitems[mainmenuid]=[];this.subuls[mainmenuid]=[];this.hidetimers[mainmenuid]=[];if(this.enableshim&&!this.shimadded){this.shimmy={};this.shimmy.topshim=this.addshimmy(document.body);this.shimmy.bottomshim=this.addshimmy(document.body);this.shimadded=true;}var menubar=document.getElementById(mainmenuid);var alllinks=menubar.getElementsByTagName("a");this.getwindowsize();for(var i=0;i<alllinks.length;){if(alllinks[i].getAttribute('rel')){this.topitemsindex++;this.ulindex++;var menuitem=alllinks[i];this.topitems[mainmenuid][this.topitemsindex]=menuitem;var dropul=document.getElementById(menuitem.getAttribute('rel'));document.body.appendChild(dropul);dropul.style.zIndex=2000;dropul._master=mainmenuid;dropul._pos=this.topitemsindex;this.addEvent(dropul,function(){ddlevelsmenu.hidemenu(this)},"click");var arrowclass=(dir=="sidebar")?"rightarrowpointer":"downarrowpointer";var arrowpointer=(dir=="sidebar")?this.arrowpointers.rightarrow:this.arrowpointers.downarrow;if(this.arrowpointers.showarrow.toplevel)this.addpointer(menuitem,arrowclass,arrowpointer,(dir=="sidebar")?"before":"after");this.buildmenu(mainmenuid,menuitem,dropul,this.ulindex,true,dir);dropul.onmouseover=function(){clearTimeout(ddlevelsmenu.hidetimers[this._master][this._pos]);};this.addEvent(dropul,function(e){if(!ddlevelsmenu.isContained(this,e)&&!ddlevelsmenu.isContained(ddlevelsmenu.topitems[this._master][parseInt(this._pos)],e)){var dropul=this;if(ddlevelsmenu.enableshim)ddlevelsmenu.hideshim();ddlevelsmenu.hidetimers[this._master][this._pos]=setTimeout(function(){ddlevelsmenu.hidemenu(dropul);},ddlevelsmenu.hideinterval);}},"mouseout");var subuls=dropul.getElementsByTagName("ul");for(var c=0;c<subuls.length;c++){this.ulindex++;var parentli=subuls[c].parentNode;if(this.arrowpointers.showarrow.sublevel)this.addpointer(parentli.getElementsByTagName("a")[0],"rightarrowpointer",this.arrowpointers.rightarrow,"before");this.buildmenu(mainmenuid,parentli,subuls[c],this.ulindex,false,dir);}}i++;}this.addEvent(window,function(){ddlevelsmenu.getwindowsize();ddlevelsmenu.gettopitemsdimensions()},"resize");},setup:function(mainmenuid,dir){this.domready(function(){ddlevelsmenu.init(mainmenuid,dir)});}};function Delegate(){}Delegate.create=function(o,f){var a=new Array();var l=arguments.length;for(var i=2;i<l;i++)a[i-2]=arguments[i];return function(){var aP=[].concat(arguments,a);f.apply(o,aP);}};Tween=function(obj,prop,func,begin,finish,duration,suffixe){this.init(obj,prop,func,begin,finish,duration,suffixe)};var t=Tween.prototype;t.obj=new Object();t.prop='';t.func=function(t,b,c,d){return c*t/d+b;};t.begin=0;t.change=0;t.prevTime=0;t.prevPos=0;t.looping=false;t._duration=0;t._time=0;t._pos=0;t._position=0;t._startTime=0;t._finish=0;t.name='';t.suffixe='';t._listeners=new Array();t.setTime=function(t){this.prevTime=this._time;if(t>this.getDuration()){if(this.looping){this.rewind(t-this._duration);this.update();this.broadcastMessage('onMotionLooped',{target:this,type:'onMotionLooped'});}else{this._time=this._duration;this.update();this.stop();this.broadcastMessage('onMotionFinished',{target:this,type:'onMotionFinished'});}}else if(t<0){this.rewind();this.update();}else{this._time=t;this.update();}};t.getTime=function(){return this._time;};t.setDuration=function(d){this._duration=(d==null||d<=0)?100000:d;};t.getDuration=function(){return this._duration;};t.setPosition=function(p){this.prevPos=this._pos;var a=this.suffixe!=''?this.suffixe:'';this.obj[this.prop]=Math.round(p)+a;this._pos=p;this.broadcastMessage('onMotionChanged',{target:this,type:'onMotionChanged'});};t.getPosition=function(t){if(t==undefined)t=this._time;return this.func(t,this.begin,this.change,this._duration);};t.setFinish=function(f){this.change=f-this.begin;};t.geFinish=function(){return this.begin+this.change;};t.init=function(obj,prop,func,begin,finish,duration,suffixe){if(!arguments.length)return;this._listeners=new Array();this.addListener(this);if(suffixe)this.suffixe=suffixe;this.obj=obj;this.prop=prop;this.begin=begin;this._pos=begin;this.setDuration(duration);if(func!=null&&func!=''){this.func=func;}this.setFinish(finish);};t.start=function(){this.rewind();this.startEnterFrame();this.broadcastMessage('onMotionStarted',{target:this,type:'onMotionStarted'});};t.rewind=function(t){this.stop();this._time=(t==undefined)?0:t;this.fixTime();this.update();};t.fforward=function(){this._time=this._duration;this.fixTime();this.update();};t.update=function(){this.setPosition(this.getPosition(this._time));};t.startEnterFrame=function(){this.stopEnterFrame();this.isPlaying=true;this.onEnterFrame();};t.onEnterFrame=function(){if(this.isPlaying){this.nextFrame();setTimeout(Delegate.create(this,this.onEnterFrame),0);}};t.nextFrame=function(){this.setTime((this.getTimer()-this._startTime)/1000);};t.stop=function(){this.stopEnterFrame();this.broadcastMessage('onMotionStopped',{target:this,type:'onMotionStopped'});};t.stopEnterFrame=function(){this.isPlaying=false;};t.continueTo=function(finish,duration){this.begin=this._pos;this.setFinish(finish);if(this._duration!=undefined)this.setDuration(duration);this.start();};t.resume=function(){this.fixTime();this.startEnterFrame();this.broadcastMessage('onMotionResumed',{target:this,type:'onMotionResumed'});};t.yoyo=function(){this.continueTo(this.begin,this._time);};t.addListener=function(o){this.removeListener(o);return this._listeners.push(o);};t.removeListener=function(o){var a=this._listeners;var i=a.length;while(i--){if(a[i]==o){a.splice(i,1);return true;}}return false;};t.broadcastMessage=function(){var arr=new Array();for(var i=0;i<arguments.length;i++){arr.push(arguments[i])}var e=arr.shift();var a=this._listeners;var l=a.length;for(var i=0;i<l;i++){if(a[i][e])a[i][e].apply(a[i],arr);}};t.fixTime=function(){this._startTime=this.getTimer()-this._time*1000;};t.getTimer=function(){return new Date().getTime()-this._time;};Tween.backEaseIn=function(t,b,c,d,a,p){if(s==undefined)var s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b;};Tween.backEaseOut=function(t,b,c,d,a,p){if(s==undefined)var s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;};Tween.backEaseInOut=function(t,b,c,d,a,p){if(s==undefined)var s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;};Tween.elasticEaseIn=function(t,b,c,d,a,p){if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*0.3;if(!a||a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;};Tween.elasticEaseOut=function(t,b,c,d,a,p){if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*0.3;if(!a||a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return(a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b);};Tween.elasticEaseInOut=function(t,b,c,d,a,p){if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)var p=d*(0.3*1.5);if(!a||a<Math.abs(c)){var a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-0.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*0.5+c+b;};Tween.bounceEaseOut=function(t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b;}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+0.75)+b;}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+0.9375)+b;}else{return c*(7.5625*(t-=(2.625/2.75))*t+0.984375)+b;}};Tween.bounceEaseIn=function(t,b,c,d){return c-Tween.bounceEaseOut(d-t,0,c,d)+b;};Tween.bounceEaseInOut=function(t,b,c,d){if(t<d/2)return Tween.bounceEaseIn(t*2,0,c,d)*0.5+b;else return Tween.bounceEaseOut(t*2-d,0,c,d)*0.5+c*0.5+b;};Tween.strongEaseInOut=function(t,b,c,d){return c*(t/=d)*t*t*t*t+b;};Tween.regularEaseIn=function(t,b,c,d){return c*(t/=d)*t+b;};Tween.regularEaseOut=function(t,b,c,d){return-c*(t/=d)*(t-2)+b;};Tween.regularEaseInOut=function(t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b;};Tween.strongEaseIn=function(t,b,c,d){return c*(t/=d)*t*t*t*t+b;};Tween.strongEaseOut=function(t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b;};Tween.strongEaseInOut=function(t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b;};OpacityTween.prototype=new Tween();OpacityTween.prototype.constructor=Tween;OpacityTween.superclass=Tween.prototype;function OpacityTween(obj,func,fromOpacity,toOpacity,duration){this.targetObject=obj;this.init(new Object(),'x',func,fromOpacity,toOpacity,duration);}var o=OpacityTween.prototype;o.targetObject={};o.onMotionChanged=function(evt){var v=evt.target._pos;var t=this.targetObject;t.style['opacity']=v/100;t.style['-moz-opacity']=v/100;if(t.filters)t.filters.alpha['opacity']=v;};function Delegate(){}Delegate.create=function(o,f){var a=new Array();var l=arguments.length;for(var i=2;i<l;i++)a[i-2]=arguments[i];return function(){var aP=[].concat(arguments,a);f.apply(o,aP);}};function Sequence(){this.children=new Array();this.currentChildIndex=0;this._listeners=new Array();this.nextObject=new Object();this.addListener(this);}var s=Sequence.prototype;s.addChild=function(tween){this.children.push(tween)};s.removeChild=function(tween){var a=this.children;var i=a.length;while(i--){if(a[i]==tween){a.splice(i,1);return true;}}return false;};s.start=function(){this.rewind();this.play();this.broadcastMessage('onMotionStarted',{target:this,type:'onMotionStarted'});};s.next=function(){this.children[this.currentChildIndex].removeListener(this.nextObject);if(this.currentChildIndex<this.children.length-1){this.currentChildIndex++;this.play();}else{this.stop();this.broadcastMessage('onMotionFinished',{target:this,type:'onMotionFinished'});}};s.play=function(){this.nextObject=new Object();this.nextObject.onMotionFinished=Delegate.create(this,this.next);this.children[this.currentChildIndex].addListener(this.nextObject);this.children[this.currentChildIndex].start();};s.stop=function(){this.children[this.currentChildIndex].stop();this.broadcastMessage('onMotionStopped',{target:this,type:'onMotionStopped'});};s.rewind=function(){this.children[this.currentChildIndex].removeListener(this.nextObject);this.currentChildIndex=0;for(var i=0;i<this.children.length;i++){this.children[i].rewind();}};s.fforward=function(){this.children[this.currentChildIndex].removeListener(this.nextObject);for(var i=0;i<this.children.length;i++){this.children[i].fforward();}this.currentChildIndex=this.children.length-1;};s.resume=function(){this.children[this.currentChildIndex].resume();this.broadcastMessage('onMotionResumed',{target:this,type:'onMotionStopped'});};s.addListener=function(o){this.removeListener(o);return this._listeners.push(o);};s.removeListener=function(o){var a=this._listeners;var i=a.length;while(i--){if(a[i]==o){a.splice(i,1);return true;}}return false;};s.broadcastMessage=function(){var arr=new Array();for(var i=0;i<arguments.length;i++){arr.push(arguments[i])}var e=arr.shift();var a=this._listeners;var l=a.length;for(var i=0;i<l;i++){if(a[i][e])a[i][e].apply(a[i],arr);}};var PopupWindow={init:function(){if(this.ArrPopupPos==undefined)this.ArrPopupPos=new Array();if(this.MaxzIndex==undefined)this.MaxzIndex=2000;if(this.PanelLock==undefined)this.PanelLock="";this.DragObject=null;this.MouseOffset=null;if(this.IsWrap==undefined)this.IsWrap=false;if(this.PopupPosition==undefined)this.PopupPosition=null;if(document.onmousemove!=undefined)this.OnmousemoveObject=document.onmousemove;if(document.onmouseup!=undefined)this.OnmouseupObject=document.onmouseup;if(document.onkeydown!=undefined)this.OnkeydownObject=document.onkeydown;document.onmousemove=f_PW_MouseMove;document.onmouseup=f_PW_MouseUp;this.ItemSelectID=null;this.Path=null;this.RootPath=null;this.Class=PopupWindowClass;},dispose:function(){this.DragObject=null;this.MouseOffset=null;if(this.OnmousemoveObject!=null)document.onmousemove=this.OnmousemoveObject;if(this.OnmouseupObject!=null)document.onmouseup=this.OnmouseupObject;if(this.OnkeydownObject!=null)document.onkeydown=this.OnkeydownObject;this.OnmousemoveObject=null;this.OnmouseupObject=null;this.OnkeydownObject=null;this.ItemSelectID=null;this.Path=null;this.Class=null;},ReleaseDocumentFunctionCatch:function(){if(this.OnmousemoveObject!=null)document.onmousemove=this.OnmousemoveObject;if(this.OnmouseupObject!=null)document.onmouseup=this.OnmouseupObject;if(this.OnkeydownObject!=null)document.onkeydown=this.OnkeydownObject;},CreateImagePopup:function(Ab,BI,Ak,Bm,A8,Ax,Aa,Ai,AR,Ac){var CJ;this.init();this.MaxzIndex=this.MaxzIndex+1;if(f_PW_CheckPanelNameExist(BI)==true)return;var AH=f_PW_CheckPanelExist();var AE=Ak.split("@");var Ba=Bm.split("@");var AU=parseInt(Ba[A8].substring(0,Ba[A8].indexOf("x")))+20;var Aw=parseInt(Ba[A8].substring(Ba[A8].indexOf("x")+1));CJ=(AU<200)?200:AU;var d=document;var r=d.documentElement;var ww=r.clientWidth+r.scrollLeft;var wh=r.clientHeight+r.scrollTop;if(Aw>(r.offsetHeight-75))Ax=false;if(Aa==true){if(this.PanelLock.indexOf("|"+AH+"|")==-1){this.CreateBlockElement(AH);}}var AN=d.createElement("div");AN.id="PWImagePopup"+AH+"_div";AN.style.cssText="width:"+CJ+"px;top:"+(r.scrollTop+5)+"px;left:"+parseInt((ww/2)-(AU/2))+"px;position:absolute;margin:0px; padding:0px; border:0px;z-index:"+(Aa?(this.MaxzIndex+1):this.MaxzIndex)+";opacity: 0;filter:alpha(opacity=0)";AN=d.body.insertBefore(AN,d.body.firstChild);AN.title=BI;Gr=Ai.split("|");var Ei="";if(AE.length>1){Ei="<div class=\"PW_Div9\">"+"<a href=\"javascript:void(0)\" class=\"PW_Link1\" alt=\"First\" onclick=\"PopupWindow.FirstImage('"+Ak+"','"+Bm+"',"+AH+","+Ax+","+Aa+",'"+Ai+"','"+AR+"',"+Ac+");\"></a>"+"<a href=\"javascript:void(0)\" class=\"PW_Link2\" alt=\"Previous\" onclick=\"PopupWindow.PreImage('"+Ak+"','"+Bm+"',"+AH+","+Ax+","+Aa+",'"+Ai+"','"+AR+"',"+Ac+");\"></a>"+"<div id=\"PWImagePos"+AH+"_lb\" class=\"PW_Div10\">"+(A8+1)+"/"+AE.length+"</div>"+"<a href=\"javascript:void(0)\" class=\"PW_Link3\" alt=\"Next\" onclick=\"PopupWindow.NextImage('"+Ak+"','"+Bm+"',"+AH+","+Ax+","+Aa+",'"+Ai+"','"+AR+"',"+Ac+");\"></a>"+"<a href=\"javascript:void(0)\" class=\"PW_Link4\" alt=\"Last\" onclick=\"PopupWindow.LastImage('"+Ak+"','"+Bm+"',"+AH+","+Ax+","+Aa+",'"+Ai+"','"+AR+"',"+Ac+");\"></a>"+"</div>";}AN.innerHTML="<div class=\"PW_Div1\"></div>"+"<div class=\"PW_Div2\" style=\"width:"+(CJ-24)+"px\">"+"<div id=\"PWDrag"+AH+"_Div\" class=\"PW_Text1\" style=\"float:left;width:"+(CJ-115)+"px;height:28px\" onMouseOver=\"this.style.cursor='move';\" ondblclick=\"PopupWindow.MaximizeWindow(this);\">"+Ab+"</div>"+"<div class='PW_Div8' onclick=\"PopupWindow.ClosePopupWindow(this);"+(AR==null?"":AR)+"\">&nbsp;</div>"+(Gr[1]!="1"?"":"<div class='PW_Div11' onclick='PopupWindow.MaximizeWindow(this);'>&nbsp;</div>")+(Gr[2]!="1"?"":"<div class='PW_Div12' onclick='PopupWindow.MinimizeWindow(this,document.documentElement.offsetHeight - 30);'>&nbsp;</div>")+"</div>"+"<div class=\"PW_Div3\"></div>"+"<div style=\"width:"+CJ+"px; background:#000; clear:both\">"+"<div class=\"PW_IMG2\" style=\"width:"+(CJ-10)+"px;height:"+Aw+"px;margin-left:auto; margin-right:auto;text-align:center;padding-bottom:5px\">"+"<img id=\"PWPopupImage"+AH+"_img\" src=\""+AE[A8]+"\" alt=\"Image\" width=\""+(AU-20)+"\" height=\""+Aw+"\" />"+"</div>"+"<div id=\"PWBottomDrag"+AH+"_Div\" class=\"PW_Div4\" style=\"width:"+(CJ-10)+"px\">"+Ei+"</div>"+"</div>"+"<div class=\"PW_Div5\"></div>"+"<div class=\"PW_Div6\" style=\"width:"+(CJ-24)+"px\"></div>"+"<div class=\"PW_Div7\"></div>";var BT=r.offsetHeight-AN.offsetHeight;if(BT>0){AN.style.top=parseInt(BT/2)+r.scrollTop+"px";}var CG=new OpacityTween(AN,Tween.strongEaseIn,0,100,0.4);CG.start();if(Ax==false)f_PW_MakeDraggable(AN.id,AN.id,Ax);else f_PW_MakeDraggable("PWDrag"+AH+"_Div",AN.id,Ax);this.ArrPopupPos[this.ArrPopupPos.length]=AH;if(Ac!=null&&Ac==true){AN.childNodes[0].title="1";document.onkeydown=function(event){event=event||window.event;var AI=event.keyCode;if(AI==27){if(PopupWindow.ArrPopupPos.length>0){var BG=f_E("PWImagePopup"+PopupWindow.ArrPopupPos[PopupWindow.ArrPopupPos.length-1]+"_div");if(BG.childNodes[0].title=="1"){BG.childNodes[0].title="0";PopupWindow.ClosePopupWindow(BG);if(AR!=null)setTimeout(AR,1);}}}else if(AE.length>1){if(AI==37){f_PW_PreImage(Ak,Bm,1,Ax,Aa,Ai,AR,Ac);}else if(AI==38){f_PW_FirstImage(Ak,Bm,1,Ax,Aa,Ai,AR,Ac);}else if(AI==39){f_PW_NextImage(Ak,Bm,1,Ax,Aa,Ai,AR,Ac);}else if(AI==40){f_PW_LastImage(Ak,Bm,1,Ax,Aa,Ai,AR,Ac);}}return false;};}},CreateHTMLPopup:function(Ab,BI,AA,AU,Aw,Ax,Aa,Ai,AR,Ac){this.init();this.MaxzIndex=this.MaxzIndex+1;if(f_PW_CheckPanelNameExist(BI)==true)return;var AH=f_PW_CheckPanelExist();var d=document;var r=d.documentElement;var ww=r.clientWidth+r.scrollLeft;var wh=r.clientHeight+r.scrollTop;if(Aw>(r.offsetHeight-75))Ax=false;if(Aa==true){this.CreateBlockElement(AH);}Ai=Ai.split("|");var AN=d.createElement("div");AN.id="PWImagePopup"+AH+"_div";AN.style.cssText="width:"+AU+"px;top:"+(r.scrollTop+5)+"px;left:"+parseInt((ww/2)-(AU/2))+"px;position:absolute;margin:0px; padding:0px; border:0px;z-index:"+(Aa?(this.MaxzIndex+1):this.MaxzIndex)+";opacity: 0;filter:alpha(opacity=0)";AN=d.body.insertBefore(AN,d.body.firstChild);AN.innerHTML="<div class=\"PW_Div1\"></div>"+"<div class=\"PW_Div2\" style=\"width:"+(AU-24)+"px\">"+"<div id=\"PWDrag"+AH+"_Div\" class=\"PW_Text1\" style=\"float:left;width:"+(AU-115)+"px;height:28px\" onMouseOver=\"this.style.cursor='move';\""+(Ai[1]!="1"?"":" ondblclick=\"PopupWindow.MaximizeWindow(this);\"")+">"+Ab+"</div>"+"<div class='PW_Div8' onclick=\"PopupWindow.ClosePopupWindow(this);"+(AR==undefined?"":AR)+"\">&nbsp;</div>"+(Ai[1]!="1"?"":"<div class='PW_Div11' onclick='PopupWindow.MaximizeWindow(this);'>&nbsp;</div>")+(Ai[2]!="1"?"":"<div class='PW_Div12' onclick='PopupWindow.MinimizeWindow(this,document.documentElement.offsetHeight - 30);'>&nbsp;</div>")+"</div>"+"<div class=\"PW_Div3\"></div>"+"<div style=\"width:"+AU+"px; background:#000; clear:both\">"+"<div style=\"width:"+(AU-10)+"px;height:"+Aw+"px;margin-left:auto; margin-right:auto;text-align:left;background:#ffffff; overflow:auto\">"+AA+"</div>"+"<div id=\"PWBottomDrag"+AH+"_Div\" class=\"PW_Div4\" style=\"width:"+(AU-10)+"px\"></div>"+"</div>"+"<div class=\"PW_Div5\"></div>"+"<div class=\"PW_Div6\" style=\"width:"+(AU-24)+"px\"></div>"+"<div class=\"PW_Div7\"></div>";var BT=r.offsetHeight-AN.offsetHeight;if(BT>0){AN.style.top=parseInt(BT/2)+r.scrollTop+"px";}var CG=new OpacityTween(AN,Tween.strongEaseIn,0,100,0.4);CG.start();f_PW_MakeDraggable("PWDrag"+AH+"_Div",AN.id,Ax);f_PW_MakeDraggable("PWBottomDrag"+AH+"_Div",AN.id,Ax);this.ArrPopupPos[this.ArrPopupPos.length]=AH;if(Ac!=undefined&&Ac==true){AN.childNodes[0].title="1";document.onkeydown=function(event){event=event||window.event;var AI=event.keyCode;if(AI==27){if(PopupWindow.ArrPopupPos.length>0){var BG=f_E("PWImagePopup"+PopupWindow.ArrPopupPos[PopupWindow.ArrPopupPos.length-1]+"_div");if(BG.childNodes[0].title=="1"){BG.childNodes[0].title="0";PopupWindow.ClosePopupWindow(BG);if(AR!=null)setTimeout(AR,1);}}return false;}};}},CreateHTMLPopup2:function(Ab,BI,AA,AU,Aw,Ax,Aa,AR,Ac){this.init();this.MaxzIndex=this.MaxzIndex+1;if(f_PW_CheckPanelNameExist(BI)==true)return;var AH=f_PW_CheckPanelExist();var d=document;var r=d.documentElement;var ww=r.clientWidth+r.scrollLeft;var wh=r.clientHeight+r.scrollTop;if(Aw>(r.offsetHeight-75))Ax=false;if(Aa==true){this.CreateBlockElement(AH);}var AN=d.createElement("div");AN.id="PWImagePopup"+AH+"_div";AN.style.cssText="width:"+AU+"px;height:"+(Aw+10)+"px;top:"+(r.scrollTop+5)+"px;left:"+parseInt((ww/2)-(AU/2))+"px;z-index:"+(Aa?(this.MaxzIndex+1):this.MaxzIndex)+";opacity: 1;filter:alpha(opacity=100)";AN.className="PW_Div14";AN=d.body.insertBefore(AN,d.body.firstChild);AN.innerHTML="<div style='float:left;width:100%;position:relative;height:"+Aw+"px'><a href='javascript:void(0)' class='PW_Link6' style='left:"+(AU-10)+"px' onclick='PopupWindow.ClosePopupWindow(this);'></a>"+AA+"</div>"+"<div class='PW_Div15 PW_Text2'>"+Ab+"</div>";var BT=r.offsetHeight-AN.offsetHeight;if(BT>0){AN.style.top=parseInt(BT/2)+r.scrollTop+"px";}f_PW_MakeDraggable("PWDrag"+AH+"_Div",AN.id,Ax);this.ArrPopupPos[this.ArrPopupPos.length]=AH;if(Ac!=undefined&&Ac==true){AN.childNodes[0].title="1";document.onkeydown=function(event){event=event||window.event;var AI=event.keyCode;if(AI==27){if(PopupWindow.ArrPopupPos.length>0){var BG=f_E("PWImagePopup"+PopupWindow.ArrPopupPos[PopupWindow.ArrPopupPos.length-1]+"_div");if(BG.childNodes[0].title=="1"){BG.childNodes[0].title="0";PopupWindow.ClosePopupWindow(BG);if(AR!=null)setTimeout(AR,1);}}return false;}};}},CreateHTMLPopup3:function(Ab,BI,AA,AU,Aw,Ax,Aa,AR,Ac){this.init();this.MaxzIndex=this.MaxzIndex+1;if(f_PW_CheckPanelNameExist(BI)==true)return;var AH=f_PW_CheckPanelExist();var d=document;var r=d.documentElement;var ww=r.clientWidth+r.scrollLeft;var wh=r.clientHeight+r.scrollTop;if(Aw>(r.offsetHeight-75))Ax=false;if(Aa==true){this.CreateBlockElement(AH);}var AN=d.createElement("div");AN.id="PWImagePopup"+AH+"_div";AN.style.cssText="position:absolute;width:"+AU+"px;height:"+(Aw+10)+"px;top:"+(r.scrollTop+5)+"px;left:"+parseInt((ww/2)-(AU/2))+"px;z-index:"+(Aa?(this.MaxzIndex+1):this.MaxzIndex);AN=d.body.insertBefore(AN,d.body.firstChild);AN.innerHTML=AA;var BT=r.offsetHeight-AN.offsetHeight;if(BT>0){AN.style.top=parseInt(BT/2)+r.scrollTop+"px";}f_PW_MakeDraggable("PWDrag"+AH+"_Div",AN.id,Ax);this.ArrPopupPos[this.ArrPopupPos.length]=AH;if(Ac!=undefined&&Ac==true){AN.childNodes[0].title="1";document.onkeydown=function(event){event=event||window.event;var AI=event.keyCode;if(AI==27){if(PopupWindow.ArrPopupPos.length>0){var BG=f_E("PWImagePopup"+PopupWindow.ArrPopupPos[PopupWindow.ArrPopupPos.length-1]+"_div");if(BG.childNodes[0].title=="1"){BG.childNodes[0].title="0";PopupWindow.ClosePopupWindow(BG);if(AR!=null)setTimeout(AR,1);}}return false;}};}},CreateContextMenu:function(event,A5,At,Io,Ij,It,Gd){var Ge=Gd==null?2:Gd;if(!event)event=window.event;var AI;if(BrowserDetect.browser=="Opera")AI=event.which;else AI=event.button;if(AI!=Ge&&At<=1)return;this.init();f_CreateBlockPage("BlockPage_layer","PopupWindow.RemoveContextMenu("+At+");");var Cg=f_GetHiestZIndexOnPage()+1;document.oncontextmenu=function(){return false;};f_PW_RemoveContextMenu(At);var BL="["+At+"]";var C1="["+(At+1)+"]";var Ae=Io.split(BL);var AM=Ij.split(BL);var An=It.split(BL);if(A5==null){A5=f_GetMouseCoords(event);}if(AI==Ge||At>1){var E$=A5[1];var Ag=AM.length;var AA="<table cellspacing='0' cellpadding='3' class='PW_TD1'>";for(i=0;i<Ag;){if(AM[i]==""){AA+="<tr><td colspan='2' style='height:10px'></td></tr>";E$+=11;}else{if(Ae[i].indexOf(C1)!=-1){var Gm=AM[i].substring(0,AM[i].indexOf(C1));var Ir=Ae[i].substring(0,Ae[i].indexOf(C1));AA+="<tr onclick=\"var p_Ctrl = f_E('ContextMenu"+At+"_div');PopupWindow.CreateContextMenu(event,new Array(p_Ctrl.offsetLeft + p_Ctrl.offsetWidth,"+E$+"),"+(At+1)+",'"+Ae[i].substring(Ae[i].indexOf(C1)+3)+"','"+AM[i].substring(AM[i].indexOf(C1)+3)+"','"+An[i].substring(An[i].indexOf(C1)+3)+"');\">"+"<td id='ContextMenu_"+Gm+"_box' style='width:20px' class='PW_TD2 "+Ir+"'></td><td class='PW_TD2'><div style='float:left;height:100%'><a href='javascript:void(0)' class='PW_Link5'>"+Gm+"</a></div><div class='QueryAnalyzer_DIV23'>&nbsp;</div></td>"+"</tr>";}else{AA+="<tr>"+"<td style='width:20px' class='PW_TD2 "+Ae[i]+"'></td><td class='PW_TD2'><a href='javascript:void(0)' class='PW_Link5' onclick=\""+An[i]+"PopupWindow.RemoveContextMenu(1);\">"+AM[i]+"</a></td>"+"</tr>";}E$+=28;}i++;}AA+="</table>";var AY=document.createElement("div");AY.id="ContextMenu"+At+"_div";AY.style.cssText="position:absolute; left:"+A5[0]+"px; top:"+A5[1]+"px; z-index:"+Cg;AY=document.body.insertBefore(AY,document.body.firstChild);AY.innerHTML=AA;var BT=AY.offsetHeight+A5[1]-document.documentElement.offsetHeight;if(BT>0){AY.style.top=A5[1]-BT+"px";AY.style.left=A5[0]+3+"px";}AY.style.width=AY.childNodes[0].offsetWidth+"px";}},ArrangePopupPosition:function(){if(this.ArrPopupPos.length==2){var C2=f_E("PWImagePopup"+this.ArrPopupPos[0]+"_div");var Cp=f_E("PWImagePopup"+this.ArrPopupPos[1]+"_div");if(C2.offsetWidth+Cp.offsetWidth>document.documentElement.offsetWidth){C2.style.left="5px";C2.style.top="5px";Cp.style.left=parseInt(document.documentElement.offsetWidth-Cp.offsetWidth-5)+"px";Cp.style.top=parseInt(document.documentElement.offsetHeight-Cp.offsetHeight-5)+"px";}else{var Gn=parseInt((document.documentElement.offsetWidth-C2.offsetWidth-Cp.offsetWidth)/3);C2.style.left=Gn+"px";Cp.style.left=parseInt(2*Gn+C2.offsetWidth)+"px";}}},CreateFileBrowserDialogPopup:function(A1,Iw,B1){var AA="";switch(A1){case"Folder":{AA="<div style=\"height:10px; clear:both\"></div>"+"<div class=\"FBD_TEXT1\" style=\"float:left;width:100px; height:37px; line-height:1.7;text-align:right\">Look in : &nbsp; </div>"+"<div id=\"RootDirectory_box\" style=\"float:left;width:300px; height:37px\"></div>"+"<div class=\"FBD_DIV5\" onclick=\"PopupWindow.UpFolder();\"></div>"+"<div id=\"DialogContent_box\" style=\"margin-left:auto; margin-right:auto; overflow:auto;width:480px; height:280px; border:1px solid #3C86EE; clear:both; background:#fff\"></div>"+"<div style=\"height:10px; clear:both\"></div>"+"<div style=\"height:30px\">"+"<div class=\"FBD_TEXT1\" style=\"float:left; width:100px; height:100%; text-align:right;line-height:1.5\">Folder name : &nbsp; </div>"+"<div style=\"float:left; width:300px; height:100%; line-height:1.5\">"+"<input id=\"BrowserValue_txt\" type=\"text\" style=\"border:1px solid #3C86EE; height:22px; width:100%\" />"+"</div>"+"<div style=\"float:right; width:74px; height:100%; text-align:left;line-height:1.5\">"+"<input id=\"Open_bt\" type=\"button\" value=\"Open\" style=\"width:60px\" onclick=\"f_E('"+Iw+"').value = PopupWindow.Path + '/' + f_E('BrowserValue_txt').value; PopupWindow.RemovePopup(PopupWindow.ArrPopupPos[PopupWindow.ArrPopupPos.length - 1]);Combobox.dispose();\" />"+"</div>"+"</div>"+"<div style=\"height:30px\">"+"<div class=\"FBD_TEXT1\" style=\"float:left; width:100px; height:100%; text-align:right;line-height:1.5\">"+"Files of type : &nbsp; "+"</div>"+"<div id=\"FileType_box\" style=\"float:left; width:300px; height:100%; line-height:1.5\">"+"</div>"+"<div style=\"float:right; width:74px; height:100%; text-align:left;line-height:1.5\">"+"<input id=\"Cancel_bt\" type=\"button\" value=\"Cancel\" style=\"width:60px\" onclick=\"PopupWindow.RemovePopup(PopupWindow.ArrPopupPos[PopupWindow.ArrPopupPos.length - 1]); Combobox.dispose();\" />"+"</div>"+"</div>";this.CreateHTMLPopup("Folder Choose","FolderPopup",AA,520,400,true,true,"1|0|1","Combobox.dispose();",false);this.init();Combobox.CreateComboboxStyle1("RootDirectory_box","RootDir_cb",300,0,"","Root...","Root...","");Combobox.CreateComboboxStyle1("FileType_box","FileType_cb",300,0,"","All files","All files","");this.Path=B1;this.RootPath=B1;f_PW_ShowContentDialog("Folder");break;}}},ClosePopupWindow:function(AB){if(AB!=null){while(AB.id.indexOf("PWImagePopup")!=0){AB=AB.parentNode;}var AH=AB.id.substring(12,AB.id.lastIndexOf("_div"));f_PW_RemovePopup(AH);}},CloseContextMenu:function(AB){if(AB!=undefined){while(AB.id.indexOf("ContextMenu")!=0){AB=AB.parentNode;}AB.parentNode.removeChild(AB);}},DoubleClickFolder:function(D8){f_PW_DoubleClickFolder(D8);},ClickFolder:function(AB){f_PW_ClickFolder(AB);},RootComboClick:function(AO,Dc){f_PW_RootComboClick(AO,Dc);},UpFolder:function(){f_PW_UpFolder();},FirstImage:function(Ak,BA,AH,BF,Aa,Ai,AR,Ac){f_PW_FirstImage(Ak,BA,AH,BF,Aa,Ai,AR,Ac);},PreImage:function(Ak,BA,AH,BF,Aa,Ai,AR,Ac){f_PW_PreImage(Ak,BA,AH,BF,Aa,Ai,AR,Ac);},NextImage:function(Ak,BA,AH,BF,Aa,Ai,AR,Ac){f_PW_NextImage(Ak,BA,AH,BF,Aa,Ai,AR,Ac);},LastImage:function(Ak,BA,AH,BF,Aa,Ai,AR,Ac){f_PW_LastImage(Ak,BA,AH,BF,Aa,Ai,AR,Ac);},RemovePopup:function(AH){f_PW_RemovePopup(AH);},RemoveContextMenu:function(At){f_PW_RemoveContextMenu(At);},MinimizeWindow:function(AB,Ap){f_PW_MinimizeWindow(AB,Ap);},MaximizeWindow:function(AB){f_PW_MaximizeWindow(AB);},CreateBlockElement:function(AH){f_PW_CreateBlockElement(AH);}};function f_PW_GetLocalFolderList(){var AA="";var B3=new Array();var AD=0;var AC;var i;AC=PopupWindow.Class.GetLocalFolderList(PopupWindow.Path).value;if(AC){B3=AC.split("|");AD=B3.length;for(i=0;i<AD;){AA+="<div id=\"Content"+i+"_box\" class=\"FBD_DIV2\" onclick=\"PopupWindow.ClickFolder(this);\"  ondblclick=\"PopupWindow.DoubleClickFolder('"+B3[i]+"');\">"+"<div class=\"FBD_DIV3\"></div>"+"<div>"+B3[i]+"</div>"+"</div>";i++;}}return AA;}function f_PW_ShowContentDialog(A1){switch(A1){case"Folder":{var Ab=PopupWindow.Class.GetTreeRoot(PopupWindow.RootPath,PopupWindow.Path).value;var AT=Ab;var A0="";var AM=Ab.split("|");var i;var AD=AM.length;for(i=0;i<AD;){A0+="PopupWindow.RootComboClick('"+AM[i].substring(0,AM[i].lastIndexOf("/")+1)+"','../');|";i++;}Ab=Ab.replace(new RegExp("../","g"),"&nbsp;&nbsp;");Combobox.RenewDetailCombo("RootDir_cb","0","",Ab,AT,A0);var AA=f_PW_GetLocalFolderList(PopupWindow.Path);if(AA!=""){f_E("DialogContent_box").innerHTML=AA;f_E("BrowserValue_txt").value="";return true;}else{var Ao=PopupWindow.Path.lastIndexOf("/");if(Ao!=PopupWindow.Path.length-1)PopupWindow.Path=PopupWindow.Path.substring(0,Ao==2?(Ao+1):Ao);return false;}}}}function f_PW_DoubleClickFolder(D8){if(PopupWindow.Path[PopupWindow.Path.length-1]!="/"){PopupWindow.Path=PopupWindow.Path+"/"+D8;}else{PopupWindow.Path=PopupWindow.Path+D8;}if(f_PW_ShowContentDialog("Folder")==true)PopupWindow.ItemSelectID=null;}function f_PW_ClickFolder(AB){if(PopupWindow.ItemSelectID!=null){f_E(PopupWindow.ItemSelectID).childNodes[1].className="";}AB.childNodes[1].className="FBD_DIV4";f_E("BrowserValue_txt").value=AB.childNodes[1].innerHTML;PopupWindow.ItemSelectID=AB.id;}function f_PW_RootComboClick(AO,Dc){var AD=f_CountOccurrenceCharacter(AO,Dc);if(AD>0){while(AD>0){f_PW_CreatePreviousFolderPath();AD--;}f_PW_ShowContentDialog("Folder");}}function f_PW_CreatePreviousFolderPath(){var Ao=PopupWindow.Path.lastIndexOf("/");if(Ao!=PopupWindow.Path.length-1)PopupWindow.Path=PopupWindow.Path.substring(0,Ao==2?(Ao+1):Ao);}function f_PW_UpFolder(){var Ao=PopupWindow.Path.lastIndexOf("/");if(Ao!=PopupWindow.Path.length-1){if(PopupWindow.Path!=PopupWindow.RootPath){PopupWindow.Path=PopupWindow.Path.substring(0,Ao==2?(Ao+1):Ao);f_PW_ShowContentDialog("Folder");}}}function f_PW_CheckPanelExist(){var AD=PopupWindow.ArrPopupPos.length;var AP=0;if(AD==0)AP=1;else{var AJ;var i=1;var j;while(AP==0){AJ=false;for(j=0;j<AD;){if(i==PopupWindow.ArrPopupPos[j]){AJ=true;break;}j++;}if(AJ==false){AP=i;}i++;}}return AP;}function f_PW_CheckPanelNameExist(AL){var AJ=false;if(AL!=null){var i;var DB=PopupWindow.ArrPopupPos.length;for(i=0;i<DB;){if(f_E("PWImagePopup"+PopupWindow.ArrPopupPos[i]+"_div").title==AL){AJ=true;break;}i++;}}return AJ;}function f_PW_CompareResolution(Bm,DG,DK){DG-=1;DK-=1;var Ba=Bm.split("@");var Ik=parseInt(Ba[DG].substring(0,Ba[DG].indexOf("x")));var Im=parseInt(Ba[DG].substring(Ba[DG].indexOf("x")+1));var Iq=parseInt(Ba[DK].substring(0,Ba[DK].indexOf("x")));var Iv=parseInt(Ba[DK].substring(Ba[DK].indexOf("x")+1));if(Ik==Iq&&Im==Iv){return true;}return false;}function f_PW_FirstImage(Ak,BA,AH,BF,Aa,Ai,AR,Ac){var AB=f_E("PWImagePos"+AH+"_lb");var AX=AB.innerHTML.split("/");if(AX[0]=="1")return;AX[0]=parseInt(AX[0]);AX[1]=parseInt(AX[1]);if(f_PW_CompareResolution(BA,AX[0],1)){var AE=Ak.split("@");var BK=f_E("PWPopupImage"+AH+"_img");BK.src="";BK.src=AE[0];}else{f_PW_DeleteArrItem(AH);var Ab=f_E("PWDrag"+AH+"_Div").innerHTML;var BI=f_E("PWImagePopup"+AH+"_div").title;document.body.removeChild(f_E("PWImagePopup"+AH+"_div"));PopupWindow.ReleaseDocumentFunctionCatch();PopupWindow.CreateImagePopup(Ab,BI,Ak,BA,0,BF,Aa,Ai,AR,Ac);PopupWindow.ArrangePopupPosition();}AB.innerHTML=1+"/"+AX[1];}function f_PW_PreImage(Ak,BA,AH,BF,Aa,Ai,AR,Ac){var AB=f_E("PWImagePos"+AH+"_lb");var AX=AB.innerHTML.split("/");var A8=parseInt(AX[0]);if(A8>1){if(f_PW_CompareResolution(BA,A8,A8-1)){var AE=Ak.split("@");var BK=f_E("PWPopupImage"+AH+"_img");BK.src="";BK.src=AE[A8-2];}else{f_PW_DeleteArrItem(AH);var Ab=f_E("PWDrag"+AH+"_Div").innerHTML;var BI=f_E("PWImagePopup"+AH+"_div").title;document.body.removeChild(f_E("PWImagePopup"+AH+"_div"));PopupWindow.ReleaseDocumentFunctionCatch();PopupWindow.CreateImagePopup(Ab,BI,Ak,BA,A8-2,BF,Aa,Ai,AR,Ac);PopupWindow.ArrangePopupPosition();}AB.innerHTML=(A8-1)+"/"+AX[1];}}function f_PW_NextImage(Ak,BA,AH,BF,Aa,Ai,AR,Ac){var AB=f_E("PWImagePos"+AH+"_lb");var AX=AB.innerHTML.split("/");var A8=parseInt(AX[0]);if(A8<parseInt(AX[1])){if(f_PW_CompareResolution(BA,A8,A8+1)){var AE=Ak.split("@");var BK=f_E("PWPopupImage"+AH+"_img");BK.src="";BK.src=AE[A8];}else{f_PW_DeleteArrItem(AH);var Ab=f_E("PWDrag"+AH+"_Div").innerHTML;var BI=f_E("PWImagePopup"+AH+"_div").title;document.body.removeChild(f_E("PWImagePopup"+AH+"_div"));PopupWindow.ReleaseDocumentFunctionCatch();PopupWindow.CreateImagePopup(Ab,BI,Ak,BA,A8,BF,Aa,Ai,AR,Ac);PopupWindow.ArrangePopupPosition();}AB.innerHTML=(A8+1)+"/"+AX[1];}}function f_PW_LastImage(Ak,BA,AH,BF,Aa,Ai,AR,Ac){var AB=f_E("PWImagePos"+AH+"_lb");var AX=AB.innerHTML.split("/");if(AX[0]==AX[1])return;AX[0]=parseInt(AX[0]);AX[1]=parseInt(AX[1]);if(f_PW_CompareResolution(BA,AX[0],AX[1])){var AE=Ak.split("@");var BK=f_E("PWPopupImage"+AH+"_img");BK.src="";BK.src=AE[AX[1]-1];}else{f_PW_DeleteArrItem(AH);var Ab=f_E("PWDrag"+AH+"_Div").innerHTML;var BI=f_E("PWImagePopup"+AH+"_div").title;document.body.removeChild(f_E("PWImagePopup"+AH+"_div"));PopupWindow.ReleaseDocumentFunctionCatch();PopupWindow.CreateImagePopup(Ab,BI,Ak,BA,AX[1]-1,BF,Aa,Ai,AR,Ac);PopupWindow.ArrangePopupPosition();}AB.innerHTML=AX[1]+"/"+AX[1];}function f_PW_RemovePopup(AH){PopupWindow.PanelLock=PopupWindow.PanelLock.replace("|"+AH+"|","");var Is="PWImagePopup"+AH+"_div";var Dz="PWOverLayer_div";var Ep=f_E(Is);try{var CG=new OpacityTween(Ep,Tween.strongEaseIn,100,0,0.6);CG.start();CG.onMotionFinished=function(){document.body.removeChild(Ep);f_PW_DeleteArrItem(AH);if(f_E(Dz)!=undefined&&PopupWindow.PanelLock==""){document.body.removeChild(f_E(Dz));PopupWindow.dispose();}}}catch(e){document.body.removeChild(Ep);f_PW_DeleteArrItem(AH);if(f_E(Dz)!=undefined&&PopupWindow.PanelLock==""){document.body.removeChild(f_E(Dz));PopupWindow.dispose();}}}function f_PW_DeleteArrItem(AC){var i;var AD=PopupWindow.ArrPopupPos.length;for(i=0;i<AD;){if(AC==PopupWindow.ArrPopupPos[i]){PopupWindow.ArrPopupPos.splice(i,1);return;}i++;}}function f_PW_MapPath(Br){return window.location.protocol+"//"+window.location.host+"/"+window.location.pathname.split("/")[1]+"/"+Br;}function f_PW_CheckMousePointInContextMenu(event){var i;var Aq="";for(i=1;i<4;){Aq="ContextMenu"+i+"_div";if(f_E(Aq)){if(f_PW_CheckMousePointInObject(event,f_E(Aq))==true)return true;}i++;}return false;}function f_PW_CheckMousePointInObject(event,AB){var Ay,Ca,Ap,Cb;Ay=AB.offsetLeft;Ca=AB.offsetLeft+AB.offsetWidth;Ap=AB.offsetTop;Cb=AB.offsetTop+AB.offsetHeight;if(event.clientX>=Ay&&event.clientX<=Ca&&event.clientY>=Ap&&event.clientY<=Cb)return true;return false;}function f_PW_RemoveContextMenu(At){var i=At;for(i;;){if(f_RemoveNode("ContextMenu"+i+"_div")==false){return;}else{f_RemoveNode("BlockPage_layer");f_RemoveNode("BlockPage_layerBottomBorder");}i++;}}function f_PW_GetMouseOffset(Au,event){event=event||window.event;var Df=f_GetPosition(Au);var A5=f_GetMouseCoords(event);return new Array(A5[0]-Df[0],A5[1]-Df[1]);}function f_PW_MouseMove(event){if(PopupWindow.DragObject){event=event||window.event;var A5=f_GetMouseCoords(event);var CT=A5[0]-PopupWindow.MouseOffset[0];var C6=A5[1]-PopupWindow.MouseOffset[1];PopupWindow.DragObject.style.top=C6+"px";PopupWindow.DragObject.style.left=CT+"px";var Gg=document.documentElement.offsetWidth+document.documentElement.scrollLeft-PopupWindow.DragObject.offsetWidth;var Gp=document.documentElement.offsetHeight+document.documentElement.scrollTop-PopupWindow.DragObject.offsetHeight;if(PopupWindow.IsWrap==true){if(CT<0)PopupWindow.DragObject.style.left="0px";else if(CT>Gg)PopupWindow.DragObject.style.left=Gg+"px";if(C6<0)PopupWindow.DragObject.style.top="0px";else if(C6>Gp){PopupWindow.DragObject.style.top=Gp+"px";}}}return false;}function f_PW_MouseUp(){PopupWindow.DragObject=null;return false;}function f_PW_MakeDraggable(Ar,D6,BF){var AB=f_E(Ar);if(!AB)return;AB.onmousedown=function(event){PopupWindow.IsWrap=BF;PopupWindow.DragObject=f_E(D6);PopupWindow.MouseOffset=f_PW_GetMouseOffset(PopupWindow.DragObject,event);if(Ar==D6){if(this.style.zIndex!=PopupWindow.MaxzIndex){PopupWindow.MaxzIndex=PopupWindow.MaxzIndex+1;}this.style.zIndex=PopupWindow.MaxzIndex;}return false;};if(Ar!=D6){f_E(D6).onmousedown=function(){if(PopupWindow.ArrPopupPos.length>1){if(this.style.zIndex!=PopupWindow.MaxzIndex){PopupWindow.MaxzIndex=PopupWindow.MaxzIndex+1;}this.style.zIndex=PopupWindow.MaxzIndex;}};}}function f_PW_MinimizeWindow(AB,Ap){while(AB.id.indexOf("PWImagePopup")!=0){AB=AB.parentNode;}if(AB.offsetWidth!=220&&(AB.offsetWidth!=document.documentElement.offsetWidth||AB.offsetHeight!=(document.documentElement.offsetHeight+5))){PopupWindow.PopupPosition=AB.offsetLeft+"|"+AB.offsetTop+"|"+AB.offsetWidth+"|"+AB.offsetHeight;}AB.childNodes[3].style.display="none";AB.style.width="220px";AB.childNodes[1].style.width="196px";AB.childNodes[1].childNodes[0].style.width="105px";AB.childNodes[5].style.width="196px";AB.childNodes[1].childNodes[0].onclick=function(){f_PW_MaximizeWindow(AB);return false;};var Er=new Tween(AB.style,"top",Tween.strongEaseOut,AB.offsetTop,Ap,0.3,"px");Er.start();var Eq=new Tween(AB.style,"left",Tween.strongEaseOut,AB.offsetLeft,0,0.3,"px");Eq.start();}function f_PW_MaximizeWindow(AB){while(AB.id.indexOf("PWImagePopup")!=0){AB=AB.parentNode;}var Gl=document.body.offsetWidth;var Ih=document.body.offsetHeight;if(Gl==AB.offsetWidth||AB.offsetWidth==220){if(AB.offsetWidth==220){f_AddEvent(AB.childNodes[1].childNodes[0],"click",function(){},true);}var D9=PopupWindow.PopupPosition.split("|");f_PW_ResizeWindow(AB,parseInt(D9[0]),parseInt(D9[1]),parseInt(D9[2]),parseInt(D9[3]));}else{if(AB.offsetWidth!=220)PopupWindow.PopupPosition=AB.offsetLeft+"|"+AB.offsetTop+"|"+AB.offsetWidth+"|"+AB.offsetHeight;f_PW_ResizeWindow(AB,0,0,Gl,Ih);}}function f_PW_ResizeWindow(AB,Ay,Ap,AU,Aw){var Er=new Tween(AB.style,"top",Tween.strongEaseOut,AB.offsetTop,Ap,0.3,"px");Er.start();var Eq=new Tween(AB.style,"left",Tween.strongEaseOut,AB.offsetLeft,Ay,0.3,"px");Eq.start();var GG=new Tween(AB.style,"width",Tween.strongEaseOut,AB.offsetWidth,AU,0.3,"px");GG.start();GG.onMotionFinished=function(){AB.childNodes[1].style.width=(AU-24)+"px";AB.childNodes[1].childNodes[0].style.width=(AU-115)+"px";AB.childNodes[5].style.width=(AU-24)+"px";AB.childNodes[3].style.width=AU+"px";AB.childNodes[3].childNodes[0].style.height=(Aw-79)+"px";AB.childNodes[3].childNodes[0].style.width=(AU-10)+"px";AB.childNodes[3].childNodes[1].style.width=(AU-10)+"px";AB.childNodes[3].style.display="";};}function f_PW_CreateBlockElement(AH){PopupWindow.PanelLock+="|"+AH+"|";if(f_E("PWOverLayer_div")==undefined){var d=document;var Af=f_E("PWBottomBorder_div");if(Af==undefined){Af=d.createElement("div");Af.id="PWBottomBorder_div";Af.className="PW_Div16";Af=d.body.appendChild(Af);}var b=d.createElement("div");b.id="PWOverLayer_div";b.className="PW_Div13";b.style.cssText="z-index:"+PopupWindow.MaxzIndex;b=d.body.appendChild(b);b.style.height=Af.offsetTop+"px";}}var AlertWindow={init:function(){if(this.zIndex==undefined)this.zIndex=f_GetHiestZIndexOnPage()+1;if(this.ArrAlert==undefined)this.ArrAlert=new Array();if(this.ErrorState==undefined)this.ErrorState=false;if(this.ArrThemes==undefined)this.ArrThemes="";if(this.OnkeydownObject==undefined)this.OnkeydownObject=null;this.OnkeydownObject=document.onkeydown;},dispose:function(){if(this.ArrAlert!=undefined)this.ArrAlert=new Array();if(this.ErrorState!=undefined)this.ErrorState=false;if(this.ArrThemes!=undefined)this.ArrThemes="";document.onkeydown=this.OnkeydownObject;},Show:function(AT,I5,E4,Aa){this.init();var BS=this.ArrAlert.length;if(Aa==true){f_AlertWindow_CreateBlockElement(BS);}var AA="<div class=\"AlertWindow_DIV4\">"+"<div class=\"AlertWindow_DIV1 AlertWindow_IMG1\"></div>"+"<div class=\"AlertWindow_DIV3\"></div>"+"<div class=\"AlertWindow_DIV1 AlertWindow_IMG3\"></div>"+"</div>"+"<div class=\"AlertWindow_DIV5\">"+"<div class=\"AlertWindow_DIV6\"></div>"+"<div class=\"AlertWindow_DIV8\">"+(I5==true?"<div class='AlertWindow_DIV11'><div class=\"AlertWindow_DIV21\"></div></div>":"")+"<div style='float:left'>"+AT+"</div></div>"+"<div class=\"AlertWindow_DIV7\"></div>"+"</div>"+"<div class=\"AlertWindow_DIV4\">"+"<div class=\"AlertWindow_DIV1 AlertWindow_IMG2\"></div>"+"<div class=\"AlertWindow_DIV2\"></div>"+"<div class=\"AlertWindow_DIV1 AlertWindow_IMG4\"></div>"+"</div>";var CB="AlertWindow_"+BS;this.ArrAlert[BS]=CB;var b=document.createElement("div");b.id=CB;b.style.cssText="position:absolute;background:transparent;z-index:"+this.zIndex;b=document.body.appendChild(b);b.innerHTML=AA;var Ch=b.childNodes[1].childNodes[1].offsetHeight;var DN=b.childNodes[1].offsetWidth;DN=b.childNodes[1].offsetWidth+5;b.childNodes[1].style.width=DN+"px";b.childNodes[1].childNodes[1].childNodes[0].style.height=Ch+"px";b.childNodes[0].childNodes[1].style.height=Ch+"px";b.childNodes[2].childNodes[1].style.height=Ch+"px";b.style.width=DN+18+"px";b.style.height=Ch+"px";b.style.left=parseInt(document.documentElement.offsetWidth/2-b.offsetWidth/2)+"px";b.style.top=parseInt(document.documentElement.offsetHeight/2-b.offsetHeight/2+document.documentElement.scrollTop)+"px";if(Aa==true){f_E("AWLockLayer_"+BS).onclick=function(){AlertWindow.CloseAlertWindow(BS);};}document.onkeydown=function(event){event=event||window.event;var AI=event.keyCode;if(AI==27||AI==13){AlertWindow.CloseAlertWindow(BS);return false;}return true;};var C4=document.createElement("div");C4.style.cssText="position:absolute; width:100px;left:0px;top:"+document.documentElement.scrollTop+"px";C4=document.body.appendChild(C4);C4.innerHTML="<input type='text' value='' />";C4.childNodes[0].focus();document.body.removeChild(C4);if(isNaN(E4)==false){if(E4>0)setTimeout("AlertWindow.CloseAlertWindow("+BS+");",parseFloat(E4)*1000);}},ShowExecuteState:function(By,Ga){var GZ,E8,DP,GW,GU,Cg,BN;Cg=f_GetHiestZIndexOnPage()+1;E8=f_GetYOffset();GZ=document.documentElement.offsetHeight+E8;BN=document.createElement("div");BN.id="Loading_box";BN.style.cssText="height:"+GZ+"px;margin:0px;padding:0px;border:0px;z-index:"+Cg;BN.className=(Ga==3?"AlertWindow_DIV24":"AlertWindow_DIV12");BN=document.body.insertBefore(BN,document.body.firstChild);BN=document.createElement("div");BN.id="LoadingAlert_box";BN.style.cssText="z-index:"+(Cg+1);switch(Ga){case 2:case 3:{BN.className="AlertWindow_DIV15 AlertWindow_TEXT2";BN.innerHTML="<div class='AlertWindow_DIV16'></div><div class='AlertWindow_DIV18'><div class='AlertWindow_DIV19'></div><div style='float:left;height:100%'>"+By+"</div><div id='AlertWindowDot_div' class='AlertWindow_DIV20'></div></div><div class='AlertWindow_DIV17'></div>";break;}default:{BN.className="AlertWindow_DIV14 AlertWindow_TEXT1";BN.innerHTML=By;}}BN=document.body.insertBefore(BN,document.body.firstChild);DP=f_E("LoadingAlert_box");GW=document.documentElement.offsetWidth/2-DP.offsetWidth/2;GU=document.documentElement.offsetHeight/2-DP.offsetHeight/2;DP.style.left=GW+"px";DP.style.top=GU+E8+"px";f_AlertWindow_AnimateDot();},RemoveExecuteState:function(){var E6,E5;E6=f_E("LoadingAlert_box");E5=f_E("Loading_box");if(E6!=null)document.body.removeChild(E6);if(E5!=null)document.body.removeChild(E5);},ShowValidateAlert:function(Aq,AT,Ay,Ap){if(f_AlertWindow_CheckAlertWindowExist(Aq+"_Alert")){var BS=this.ArrAlert.length;var AA="<div class=\"AlertWindow_DIV4\">"+"<div class=\"AlertWindow_DIV9\"><div class=\"AlertWindow_DIV22\"></div></div>"+"<div class=\"AlertWindow_DIV1 AlertWindow_IMG1\"></div>"+"<div class=\"AlertWindow_DIV3\"></div>"+"<div class=\"AlertWindow_DIV1 AlertWindow_IMG3\"></div>"+"</div>"+"<div class=\"AlertWindow_DIV5\">"+"<div class=\"AlertWindow_DIV6\"></div>"+"<div class=\"AlertWindow_DIV8\">&nbsp;"+AT+"</div>"+"<div class=\"AlertWindow_DIV7\"></div>"+"</div>"+"<div class=\"AlertWindow_DIV4\">"+"<div class=\"AlertWindow_DIV10\"><div class=\"AlertWindow_DIV23\"></div></div>"+"<div class=\"AlertWindow_DIV1 AlertWindow_IMG2\"></div>"+"<div class=\"AlertWindow_DIV2\"></div>"+"<div class=\"AlertWindow_DIV1 AlertWindow_IMG4\"></div>"+"</div>";var CB=Aq+"_Alert";this.ArrAlert[BS]=CB;var b=document.createElement("div");b.id=CB;b.style.cssText="top:0px;left:0px;position:absolute;background:transparent;z-index:"+(this.zIndex+10);b=document.body.insertBefore(b,document.body.firstChild);b.innerHTML=AA;var Ch=b.childNodes[1].childNodes[1].offsetHeight+"px";var DN=b.childNodes[1].offsetWidth+"px";b.childNodes[1].style.width=DN;b.childNodes[0].childNodes[2].style.height=Ch;b.childNodes[2].childNodes[2].style.height=Ch;b.onclick=function(){AlertWindow.CloseValidateAlertWindow(b.id);};b.style.left=Ay+"px";b.style.top=Ap+"px";}else{f_E(Aq+"_Alert").childNodes[1].childNodes[1].innerHTML="&nbsp;"+AT;}f_AlertWindow_Relocation(Aq+"_Alert");},ValidateForm:function(DM,CR,CQ){this.init();var B_=DM.split("|");var AB,i,As;var Ag=B_.length;for(i=0;i<Ag;){AB=f_E(B_[i]);As=B_[i].substring(B_[i].lastIndexOf("_")+1);switch(As){case"txt":case"txtN":{f_AlertWindow_AddTextboxEvent(AB,DM,CR,CQ);break;}case"cb":{f_AlertWindow_AddComboboxEvent(AB,DM,CR,CQ);break;}}i++;}},ValidateSubmitForm:function(DM,CR,CQ){this.init();var B_=DM.split("|");var Bv=CR.split("|");var BC=CQ.split("|");var AB,i,As;var Ag=B_.length;for(i=0;i<Ag;){AB=f_E(B_[i]);As=B_[i].substring(B_[i].lastIndexOf("_")+1);switch(As){case"txt":{if(f_Trim(AB.value)==""){if(BC[i]!="")this.Show(BC[i],true,0,true);else this.Show("Require "+AB.title,true,0,true);AB.focus();AB.select();return false;}if(Bv[i]!=""){if(f_AlertWindow_CheckREGEX(f_Trim(AB.value),Bv[i])==false){this.Show(AB.title+" "+BC[i],true,0,true);AB.focus();AB.select();return false;}}break;}case"txtN":{if(Bv[i]!=""&&f_Trim(AB.value)!=""){if(f_AlertWindow_CheckREGEX(f_Trim(AB.value),Bv[i])==false){this.Show(AB.title+" "+BC[i],true,0,true);AB.focus();AB.select();return false;}}break;}case"cb":{if(AB.selectedIndex==0){this.Show("Please choose "+AB.title,true,0,true);return false;}break;}case"rte":{var EE=AB.childNodes[2].childNodes[0];var E0=f_Trim(RichTextEditor.GetHTMLbyID(EE.id.substring(0,EE.id.lastIndexOf("_Body"))));if(E0==""||E0=="<br/>"){if(BC[i]!="")this.Show(BC[i],true,0,true);else this.Show("Require "+AB.title,true,0,true);EE.contentWindow.focus();return false;}if(Bv[i]!=""){if(f_AlertWindow_CheckREGEX(E0,Bv[i])==false){this.Show(AB.title+" "+BC[i],true,0,true);EE.contentWindow.focus();return false;}}break;}}i++;}return true;},CloseAlertWindow:function(BS){var AB=f_E("AlertWindow_"+BS);if(AB!=undefined)document.body.removeChild(AB);AB=f_E("AWLockLayer_"+BS);if(AB!=undefined)document.body.removeChild(AB);this.dispose();},CloseValidateAlertWindow:function(Aq){if(f_E(Aq)){f_AlertWindow_DeleteArrAlertItem(Aq);document.body.removeChild(f_E(Aq));f_AlertWindow_DeleteArrAlertItem(Aq);}}};function f_AlertWindow_CreateBlockElement(BS){var EF="AWLockLayer_"+BS;if(f_E(EF)==undefined){var d=document;var Af=f_E("AWBottomBorder_div");if(Af==undefined){Af=d.createElement("div");Af.id="AWBottomBorder_div";Af.className="AlertWindow_DIV13";Af=d.body.appendChild(Af);}var b=d.createElement("div");b.id=EF;b.className="AlertWindow_DIV12";b.style.cssText="z-index:"+AlertWindow.zIndex;b=d.body.appendChild(b);if(Af.offsetTop>d.body.offsetHeight){b.style.height=Af.offsetTop+"px";}}}function f_AlertWindow_Relocation(CB){var By=f_E(CB);var I3=0;var Hi=0;var EA=document.documentElement.offsetWidth;var Hi=document.documentElement.offsetHeight;if(By.offsetLeft+By.offsetWidth>=EA){By.style.left="-1000px";By.childNodes[0].childNodes[0].style.display="none";By.childNodes[2].childNodes[0].style.display="inline";var I2=f_E(CB.substring(0,CB.length-6));var I4=f_AlertWindow_GetPosition(I2);By.style.left=I4[0]-By.offsetWidth-10+"px";}}function f_AlertWindow_CheckAlertWindowExist(BY){var i;var Ag=AlertWindow.ArrAlert.length;for(i=0;i<Ag;){if(BY==AlertWindow.ArrAlert[i]){return false;}i++;}return true;}function f_AlertWindow_DeleteArrAlertItem(BY){var i;var Ag=AlertWindow.ArrAlert.length;for(i=0;i<Ag;){if(BY==AlertWindow.ArrAlert[i]){AlertWindow.ArrAlert=AlertWindow.ArrAlert.splice(i+1,1);return true;}i++;}return false;}function f_AlertWindow_AddTextboxEvent(AB,Aq,CR,CQ){AB.onkeydown=function(event){if(!event)event=window.event;var AI=event.keyCode;if(AI==9){if(AlertWindow.ErrorState){this.focus();this.select();return false;}}return true;};AB.onkeyup=function(event){if(!event)event=window.event;var AI=event.keyCode;if(AI!=27){var Bu=Aq.split("|");var Bv=CR.split("|");var BC=CQ.split("|");var Bn=f_AlertWindow_GetPosition(AB);var i;var As;var Ag=Bu.length;for(i=0;i<Ag;){if(Bu[i]==this.id){As=Bu[i].substring(Bu[i].lastIndexOf("_")+1);if(f_Trim(this.value)==""&&As=="txt"){if(BC[i]!="")AlertWindow.ShowValidateAlert(this.id,BC[i],(Bn[0]+this.offsetWidth+10),Bn[1]-13);else{AlertWindow.ShowValidateAlert(this.id,"Require "+this.title,(Bn[0]+this.offsetWidth+10),Bn[1]-13);}AlertWindow.ErrorState=true;return false;}if(Bv[i]!=""){if(f_AlertWindow_CheckREGEX(f_Trim(this.value),Bv[i],false)==false){AlertWindow.ShowValidateAlert(this.id,BC[i],(Bn[0]+this.offsetWidth+10),Bn[1]-13);AlertWindow.ErrorState=true;return false;}}AlertWindow.ErrorState=false;AlertWindow.CloseValidateAlertWindow(this.id+"_Alert");}i++;}}};}function f_AlertWindow_AddComboboxEvent(AB,Aq,CR,CQ){AB.onkeydown=function(event){if(!event)event=window.event;var AI=event.keyCode;if(AI==9){if(AlertWindow.ErrorState){this.focus();return false;}}return true;};AB.onchange=function(event){var Bu=Aq.split("|");var Bv=CR.split("|");var BC=CQ.split("|");var Bn=f_AlertWindow_GetPosition(AB);var i;var Ag=Bu.length;for(i=0;i<Ag;){if(Bu[i]==this.id){if(AB.selectedIndex==0){if(BC[i]!="")AlertWindow.ShowValidateAlert(this.id,BC[i],(Bn[0]+this.offsetWidth+10),Bn[1]-13);else{AlertWindow.ShowValidateAlert(this.id,"Require  choose "+this.title,(Bn[0]+this.offsetWidth+10),Bn[1]-13);}AlertWindow.ErrorState=true;return false;}AlertWindow.ErrorState=false;AlertWindow.CloseValidateAlertWindow(this.id+"_Alert");}i++;}};}function f_AlertWindow_CheckREGEX(AT,Dh,Ex){var Ce;if(Ex)Ce=new RegExp(Dh,"i");else Ce=new RegExp(Dh);return Ce.test(AT);}function f_AlertWindow_GetPosition(Au){var Ay=0;var Ap=0;while(Au.offsetParent){Ay+=Au.offsetLeft;Ap+=Au.offsetTop;Au=Au.offsetParent;}Ay+=Au.offsetLeft;Ap+=Au.offsetTop;return new Array(Ay,Ap);}function f_AlertWindow_AnimateDot(){var EG=f_E("AlertWindowDot_div");if(EG==null){return;}else{if(EG.innerHTML.length==3)EG.innerHTML="";else EG.innerHTML+=".";setTimeout("f_AlertWindow_AnimateDot();",500);}}var ScrollBar={init:function(){this.SlideObject=null;this.SlideOffset=null;if(document.onmousemove!=undefined)this.OnmousemoveObject=document.onmousemove;if(document.onmouseup!=undefined)this.OnmouseupObject=document.onmouseup;if(document.onmousedown!=undefined)this.OnmousedownObject=document.onmousedown;document.onmouseup=f_SBM_MouseUp;document.onmousedown=function(){document.onmousemove=f_SBM_MouseMove;};},dispose:function(){this.SlideObject=null;this.SlideOffset=null;if(this.OnmousemoveObject!=undefined)document.onmousemove=this.OnmousemoveObject;if(this.OnmouseupObject!=undefined)document.onmouseup=this.OnmouseupObject;if(this.OnmousedownObject!=undefined)document.onmousedown=this.OnmousedownObject;},CreateXScrollBar:function(AZ,OD,OA,FU){this.init();var DX=f_E(AZ);f_CleanWhitespace(DX);var FT=DX.childNodes[0].childNodes[0];var Kf=document.createElement("div");Kf.className="ScrollBarMoving_X";Kf.innerHTML="<div class=\"ScrollBarMoving_XSlide\"></div>";DX=DX.appendChild(Kf);var CD=Kf.childNodes[0];CD.title=(FT.offsetWidth-FT.parentNode.offsetWidth)/(CD.parentNode.offsetWidth-CD.offsetWidth);CD.onmousedown=function(event){event=event||window.event;ScrollBar.SlideObject=this;f_CleanWhitespace(ScrollBar.SlideObject);ScrollBar.SlideOffset=f_GetMouseCoords(event)[0]-f_GetPosition(ScrollBar.SlideObject)[0];return false;};if(OD==true){f_SBM_MotionSlide(AZ,"X",OA*1000,FU,0);}},CreateYScrollBar:function(AZ,OD,OA,FU){this.init();var DX=f_E(AZ);f_CleanWhitespace(DX);DX.childNodes[0].style.width=DX.offsetWidth+"px";DX.style.width=(DX.offsetWidth+20)+"px";var FT=DX.childNodes[0].childNodes[0];var Kc=document.createElement("div");Kc.className="ScrollBarMoving_Y";Kc.innerHTML="<div class=\"ScrollBarMoving_YSlide\"></div>";DX=DX.appendChild(Kc);var Ke=Kc.childNodes[0];Ke.title=(FT.offsetHeight-FT.parentNode.offsetHeight)/(Ke.parentNode.offsetHeight-Ke.offsetHeight);Ke.onmousedown=function(event){event=event||window.event;ScrollBar.SlideObject=this;f_CleanWhitespace(ScrollBar.SlideObject);ScrollBar.SlideOffset=f_GetMouseCoords(event)[1]-f_GetPosition(ScrollBar.SlideObject)[1];return false;};},MotionSlide:function(AZ,H4,G_,FU,G8){f_SBM_MotionSlide(AZ,H4,G_,FU,G8);}};function f_SBM_MotionSlide(AZ,H4,G_,FU,G8){if(ScrollBar.SlideObject){if(ScrollBar.SlideObject.parentNode.parentNode.id==AZ){setTimeout("ScrollBar.MotionSlide('"+AZ+"','"+H4+"',"+G_+","+FU+","+(G8+FU)+");",G_);return;}}if(G8!=0){var DX=f_E(AZ);f_CleanWhitespace(DX);var FT=DX.childNodes[0].childNodes[0];var CD=DX.childNodes[1].childNodes[0];if(H4=="X"){var O6=parseFloat(CD.title);var G4=-G8;var CT=parseInt(G8/O6);var I3=0;var EA=CD.parentNode.offsetWidth-CD.offsetWidth;if(CT>EA){G4=0;CT=0;var LX=new Tween(FT.style,"left",Tween.regularEaseInOut,FT.offsetLeft,G4,0.7,"px");LX.start();var LW=new Tween(CD.style,"left",Tween.regularEaseInOut,CD.offsetLeft,CT,0.7,"px");LW.start();f_SBM_MotionSlide(AZ,H4,G_,FU,0);return;}var LX=new Tween(FT.style,"left",Tween.regularEaseInOut,FT.offsetLeft,G4,0.7,"px");LX.start();var LW=new Tween(CD.style,"left",Tween.regularEaseInOut,CD.offsetLeft,CT,0.7,"px");LW.start();}}setTimeout("ScrollBar.MotionSlide('"+AZ+"','"+H4+"',"+G_+","+FU+","+(G8+FU)+");",G_);}function f_SBM_CheckMouseDragScrollbar(event){var Ap,Cb,Ay,Ca;var KS=f_GetPosition(ScrollBar.SlideObject);var A5=f_GetMouseCoords(event);if(ScrollBar.SlideObject.offsetWidth<ScrollBar.SlideObject.offsetHeight){Ap=KS[1]-50;Cb=KS[1]+ScrollBar.SlideObject.offsetHeight+50;if(A5[1]>=Ap&&A5[1]<=Cb)return true;return false;}else{Ay=KS[0]-50;Ca=KS[0]+ScrollBar.SlideObject.offsetWidth+50;if(A5[0]>=Ay&&A5[0]<=Ca)return true;return false;}}function f_SBM_MouseMove(event){if(ScrollBar.SlideObject){event=event||window.event;if(f_SBM_CheckMouseDragScrollbar(event)==true){var KC=ScrollBar.SlideObject.parentNode;var KW=ScrollBar.SlideObject.parentNode.previousSibling.childNodes[0];var A5=f_GetMouseCoords(event);var N7=f_GetPosition(KC);if(ScrollBar.SlideObject.offsetWidth>ScrollBar.SlideObject.offsetHeight){var CT=A5[0]-N7[0]-ScrollBar.SlideOffset;var G4=-parseInt(CT*ScrollBar.SlideObject.title);var I3=0;var EA=KC.offsetWidth-ScrollBar.SlideObject.offsetWidth;if(CT<I3){CT=0;G4=0;}else if(CT>EA){CT=EA;G4=-(KW.offsetWidth-KC.offsetWidth);}ScrollBar.SlideObject.style.left=CT+"px";KW.style.left=G4+"px";}else{var C6=A5[1]-N7[1]-ScrollBar.SlideOffset;var LV=-parseInt(C6*ScrollBar.SlideObject.title);var Hi=0;var HL=KC.offsetHeight-ScrollBar.SlideObject.offsetHeight;if(C6<Hi){C6=0;LV=0;}else if(C6>HL){C6=HL;LV=-(KW.offsetHeight-KC.offsetHeight);}ScrollBar.SlideObject.style.top=C6+"px";KW.style.top=LV+"px";}}}return false;}function f_SBM_MouseUp(){if(ScrollBar.OnmousemoveObject!=undefined)document.onmousemove=ScrollBar.OnmousemoveObject;ScrollBar.SlideObject=null;ScrollBar.SlideOffset=null;return false;}var ImageTween={init:function(){if(this.CheckImageSwapping==undefined)this.CheckImageSwapping=false;if(this.HoldArrSwapping==undefined)this.HoldArrSwapping=false;if(this.DataCache==undefined)this.DataCache=new Array();if(this.SwapArrImageSequence==undefined)this.SwapArrImageSequence=new Array();if(this.SwapArrImageState==undefined)this.SwapArrImageState=new Array();},SwapImage:function(BE,Aj){this.init();if(this.CheckImageSwapping==false){this.CheckImageSwapping=true;var BK=f_E(BE);if(BK.src.indexOf(Aj.replace("../",""))!=-1){this.CheckImageSwapping=false;return;}var CG=new OpacityTween(BK,Tween.strongEaseIn,100,0,0.6);CG.start();CG.onMotionFinished=function(){BK.src=Aj;BK.onload=function(){var Nt=new OpacityTween(this,Tween.strongEaseIn,0,100,0.6);Nt.start();Nt.onMotionFinished=function(){ImageTween.CheckImageSwapping=false;}};}}},SwapArrImage:function(DT,Aj,AV,Ck,Au,Eh,Ed,Ns,O$){this.init();var B3=AV.split("|");if(B3.length>1){var Ej;Ej=ImageTween.SwapArrImageSequence.length;ImageTween.SwapArrImageSequence[Ej]=new Sequence();var An=Ed.split("|");var Eb=Ck.split("|");var Ft=Au.split("|");var C0=f_E(DT);var Nr=f_IT_CheckConfigExist(DT);if(Nr==-1){this.DataCache[this.DataCache.length]=DT;this.DataCache[this.DataCache.length]=AV+"@@"+Ck+"@@"+Au+"@@"+Ed;}var Dq=Aj+B3[1];var GT=Eb[1].split("@");if(Ft[1]=="_P"){C0.onclick=function(){var Nl=Eb[1].split("@");PopupWindow.CreateImagePopup(B3[1],null,Aj+Nl[0],Nl[1],0,true,true,'1|0|1',null,true);}}else if(Ft[1]=="_C"){C0.onclick=function(){setTimeout(Eb[0],0);}}else{if(GT[0]!=""){C0.onclick=function(){window.open(Eb[0]==""?Eb[1]:Eb[0],Ft[1]);}}}AV=AV.replace("|"+B3[1]+"|","");Ck=Ck.replace("|"+Eb[1]+"|","");Au=Au.replace("|"+Ft[1]+"|","");Ed=Ed.replace("|"+An[1]+"|","");C0.src=Dq;if(An[1]!="")setTimeout(An[1],0);C0.onload=function(){GT=ImageTween.DataCache[Nr+1].split("@@");if(GT[0].split("|").length==3){return;}var JX=new Sequence();var JZ=new Sequence();var HE=new Sequence();JX.addChild(new OpacityTween(this,Tween.strongEaseIn,0,100,0.6));JZ.addChild(new OpacityTween(this,Tween.strongEaseIn,100,100,Eh));HE.addChild(new OpacityTween(this,Tween.strongEaseIn,100,0,0.6));ImageTween.SwapArrImageSequence[Ej].addChild(JX);ImageTween.SwapArrImageSequence[Ej].addChild(JZ);ImageTween.SwapArrImageSequence[Ej].addChild(HE);ImageTween.SwapArrImageSequence[Ej].start();ImageTween.SwapArrImageSequence[Ej].onMotionFinished=function(){if(ImageTween.HoldArrSwapping==false){if(AV.length==0){ImageTween.SwapArrImage(DT,Aj,GT[0],GT[1],GT[2],Eh,GT[3]);}else{ImageTween.SwapArrImage(DT,Aj,AV,Ck,Au,Eh,Ed);}}else{f_IT_SetTimeOut(DT,Aj,AV,Ck,Au,Eh,Ed);}};};var Kr=f_GetHiestZIndexOnPage();if(Ns!=null){if(Ns==true){var i,Nu,Ei,LU;i=B3.length-1;while(i>=0){if(B3[i]=="")B3.splice(i,1);else B3[i]=Aj+B3[i];i--;}i=Eb.length-1;while(i>=0){if(Eb[i]=="")Eb.splice(i,1);i--;}i=Ft.length-1;while(i>=0){if(Ft[i]=="")Ft.splice(i,1);i--;}Nu=B3.length;Ei=new StringBuffer();for(i=Nu-1;i>=0;){if(Ft[i]=="_C"){LU=Eb[i];}else{if(GT[0]!=""){LU="window.open('"+Eb[i]+"','"+Ft[i]+"');";}}Ei.append("<a href=\"javascript:void(0)\" onclick=\"").append(LU).append("\" onmouseover=\"f_IT_FocusEvent('").append(DT).append("','").append(B3[i]).append("','").append("").append("',").append(Kr).append(",").append(Ej).append(");\" onmouseout=\"f_IT_LostFocusEvent('").append(DT).append("',").append(Ej).append(",").append(Eh).append(");\" class=\"").append(O$).append("\">").append(i+1).append("</a>");i--;}var Kq=document.createElement("div");Kq.style.cssText="position:absolute;left:0px;top:"+(f_E(DT).offsetHeight-40)+"px;width:100%;height:40px;z-index:"+(Kr+1);Kq.innerHTML=Ei.toString();Kq=f_E(DT).parentNode.appendChild(Kq);}}}},SwingImage:function(LT,BB,EA){var JX=new Sequence();var JZ=new Sequence();var HE=new Sequence();JX.addChild(new Tween(LT.style,"left",Tween.regularEaseOut,0,EA,5,"px"));JZ.addChild(new Tween(LT.style,"left",Tween.regularEaseOut,EA,0,5,"px"));HE.addChild(JX);HE.addChild(JZ);HE.start();HE.onMotionFinished=function(){ImageTween.SwingImage(LT,BB,EA);};},SetTimeOut:function(DT,Aj,AV,Ck,Au,Eh,Ed){f_IT_SetTimeOut(DT,Aj,AV,Ck,Au,Eh,Ed);}};function f_IT_FocusEvent(BE,BM,K4,Kr,Ej){ImageTween.SwapArrImageState[Ej]=true;ImageTween.SwapArrImageSequence[Ej].stop();var KI=BE+"_Over";if(f_E(KI)==null){var PB=f_E(BE).parentNode;var N4=f_E(BE);var Hj=document.createElement("img");Hj.id=KI;Hj.style.cssText="filter:Alpha(opacity=100);width:"+N4.width+";height:"+N4.height+";position:absolute;left:0px;top:0px;z-index:"+Kr;Hj.alt="";Hj.src=BM;Hj=PB.appendChild(Hj);}else f_E(KI).src=BM;}function f_IT_LostFocusEvent(BE,KH,Eh){ImageTween.SwapArrImageState[KH]=false;setTimeout("f_IT_RemoveAndPlaySequence('"+BE+"',"+KH+")",Eh*1000);}function f_IT_RemoveAndPlaySequence(BE,KH){if(ImageTween.SwapArrImageState[KH]==false){var KI=BE+"_Over";f_RemoveNode(KI);ImageTween.SwapArrImageSequence[KH].resume();}}function f_IT_SetTimeOut(DT,Aj,AV,Ck,Au,Eh,Ed){if(ImageTween.HoldArrSwapping==true){setTimeout("ImageTween.SetTimeOut('"+DT+"','"+Aj+"','"+AV+"','"+Ck+"','"+Au+"',"+Eh+","+(Ed==null?"null":("'"+Ed+"'"))+")",2000);}else{ImageTween.SwapArrImage(DT,Aj,AV,Ck,Au,Eh,Ed);}}function f_IT_CheckConfigExist(PA){var AD=ImageTween.DataCache.length;var i;var AJ=-1;for(i=0;i<AD;){if(ImageTween.DataCache[i]==PA){AJ=i;break;}i=i+2;}return AJ;}function f_IT_SetOpacity(object,opacityPct){object.style.filter='alpha(opacity='+opacityPct+')';object.style.MozOpacity=opacityPct/100;object.style.opacity=opacityPct/100;}function f_IT_ChangeOpacity(id,msDuration,msStart,fromO,toO){var element=document.getElementById(id);var opacity=element.style.opacity*100;var msNow=(new Date()).getTime();opacity=fromO+(toO-fromO)*(msNow-msStart)/msDuration;if(opacity<0)f_IT_SetOpacity(element,0);else if(opacity>100)f_IT_SetOpacity(element,100);else{f_IT_SetOpacity(element,opacity);element.timer=window.setTimeout("f_IT_ChangeOpacity('"+id+"',"+msDuration+","+msStart+","+fromO+","+toO+")",1);}}function f_IT_FadeIn(id){var element=document.getElementById(id);if(element.timer)window.clearTimeout(element.timer);var startMS=(new Date()).getTime();element.timer=window.setTimeout("f_IT_ChangeOpacity('"+id+"',1000,"+startMS+",0,100)",1);}function f_IT_FadeOut(id){var element=document.getElementById(id);if(element.timer)window.clearTimeout(element.timer);var startMS=(new Date()).getTime();element.timer=window.setTimeout("f_IT_ChangeOpacity('"+id+"',1000,"+startMS+",100,0)",1);}function f_IT_FadeInImage(foregroundID,newImage,backgroundID){var foreground=f_E(foregroundID);if(backgroundID){var background=f_E(backgroundID);if(background){background.style.background='url('+foreground.src+') no-repeat center';}}f_IT_SetOpacity(foreground,0);foreground.src=newImage;if(foreground.timer)window.clearTimeout(foreground.timer);var startMS=(new Date()).getTime();foreground.timer=window.setTimeout("f_IT_ChangeOpacity('"+foregroundID+"',1000,"+startMS+",0,100)",10);}var Button={init:function(){},dispose:function(){},CreateStyle1:function(AZ,Av,Jo,AU,A0){var BB,AA,Bx;BB=f_E(AZ);AA=new StringBuffer();AA.append("<div class=\"BUTTON_DIV1\"></div>");;AA.append("<div class=\"BUTTON_DIV3\"").append(AU!=null?(" style=\"width:"+(AU-8)+"px\""):"").append(">");AA.append("<div class=\"BUTTON_TEXT").append(Jo).append("\">").append(Av).append("</div>");AA.append("</div>");AA.append("<div class=\"BUTTON_DIV2\"></div>");Bx=document.createElement("div");Bx.className="BUTTON_DIV";Bx.innerHTML=AA.toString();Bx=BB.appendChild(Bx);Bx.onmouseover=function(){Button.ChangeButtonState(this,"HOVER");};Bx.onmouseout=function(){Button.ChangeButtonState(this,"");};Bx.onmousedown=function(){Button.ChangeButtonState(this,"PRESS");};Bx.onmouseup=function(){Button.ChangeButtonState(this,"HOVER");};if(A0!=null){if(A0!=""){Bx.onclick=function(){setTimeout(A0,0);};}}},CreateStyle2:function(AZ,Jv,AU,Aw,A0){var BB=f_E(AZ);var AE=Jv.split("|");var AA="<div style=\"width:"+AU+"px;height:"+Aw+"px\" "+(A0!=null?(" onclick=\""+A0+"\""):"")+"onmouseover=\"this.childNodes[0].className='"+AE[1]+"';\" onmouseout=\"this.childNodes[0].className='"+AE[0]+"';\" onmousedown=\"this.childNodes[0].className='"+AE[2]+"';\" onmouseup=\"this.childNodes[0].className='"+AE[1]+"';\">"+"<div style=\"width:100%;height:100%\" class=\""+AE[0]+"\">"+"</div>"+"</div>";BB.innerHTML=AA;},ChangeButtonState:function(AB,A3){f_Button_ChangeButtonState(AB,A3);}};function f_Button_ChangeButtonState(AB,A3){if(A3==""){AB.childNodes[0].className="BUTTON_DIV1";AB.childNodes[1].className="BUTTON_DIV3";AB.childNodes[2].className="BUTTON_DIV2";}else{AB.childNodes[0].className="BUTTON_DIV1 BUTTON_DIV1"+A3;AB.childNodes[1].className="BUTTON_DIV3 BUTTON_DIV3"+A3;AB.childNodes[2].className="BUTTON_DIV2 BUTTON_DIV2"+A3;}}
