var WebSquareDefaultEngineType='5';
/*
 * WebSquare Platform v2.0
 * http://www.websquare.co.kr
 *
 * Version : 5.0_2.3161B.20180612.160614
 * Date: 20180612.160635
 */

String.prototype.wq_trim=(function(){var _1=new RegExp("^\\s\\s*");var _2=new RegExp("\\s\\s*$");return function(){return this.replace(_1,"").replace(_2,"");};})();if(typeof String.prototype.trim=="undefined"){String.prototype.trim=String.prototype.wq_trim;}String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.substr(1);};String.prototype.wq_replaceAll=function(_3,_4){["String.wq_replaceAll"];_3=_3.replace(/(\W)/g,"\\$1");return this.replace(new RegExp(_3,"gi"),_4);};if(typeof String.prototype.replaceAll=="undefined"){String.prototype.replaceAll=String.prototype.wq_replaceAll;}String.prototype.startsWith=function(s){return this.substring(0,s.length)==s;};String.prototype.endsWith=function(s){return this.substring(this.length-s.length,this.length)==s;};String.prototype.capitalizeStyle=(function(){var _7={};return function(){var _8=_7[this];if(_8){return _8;}if(this.indexOf("-")<0){return this;}var _9=this.split("-");while(_9[0]==""){_9.shift();}var _a=_9[0].toLowerCase();for(var i=1,len=_9.length;i<len;i++){_a+=_9[i].toLowerCase().capitalize();}_7[this]=_a;return _a;};})();Function.prototype.inherit=function(_c){try{this.prototype.constructor=this;var _d=function(){};_d.prototype=_c.prototype;this.prototype=new _d;}catch(e){WebSquare.exception.printStackTrace(e);}};Function.prototype.instanceOf=function(_e){try{for(var _f=this.constructor;_f!=null;_f=_f.superClass){if(_f==_e){return true;}}return false;}catch(e){WebSquare.exception.printStackTrace(e);}};Function.prototype.closure=function(obj,_11){try{if(!window._objs){window._objs=[];window._funs=[];}var fun=this;var _13=obj._objId;if(typeof _13=="undefined"){_objs[_13=obj._objId=_objs.length]=obj;}var _14=fun._funId;if(typeof _14=="undefined"){window._funs[_14=fun._funId=_funs.length]=fun;}if(!obj._closures){obj._closures=[];}var _15=obj._closures[_14];if(_15){return _15;}obj=null;fun=null;_objs[_13]._closures[_14]=function(){return _funs[_14].apply(_objs[_13],arguments);};if(typeof _11!="undefined"){_objs[_13]._closures[_14].name=_11;}return _objs[_13]._closures[_14];}catch(e){WebSquare.exception.printStackTrace(e);}};wq_reload=function(_16){try{if(this.locationTimerCount==undefined){this.locationTimerCount=0;}this.locationTimerCount++;if(_16==undefined||location.href===_16||this.locationTimerCount>700){this.locationTimerCount=0;location.reload();}else{if(console&&console.log){console.log("renewing location href...");}location.replace(_16);setTimeout(function(){wq_reload(_16);},5);}}catch(e){if(console&&console.log){console.log("wq_reload error : "+e.message);}}};var imports,requires,$integrity;(function(_17){if(typeof WebSquare!="undefined"&&!WebSquare.remove){throw new Error("WebSquare engine is already running!");}var doc=_17.document;_17["WebSquare"]={};_17["WebSquareLang"]={};var _19="undefined";WebSquare.domain=null;WebSquare.baseURI="";WebSquare.baseServletURI="";WebSquare.baseThemeURI="";WebSquare.w2xDocumentRoot="";WebSquare.w2xHome="/";WebSquare.w2xTheme="";WebSquare.w2xExtension="w5";WebSquare.printConsole=false;WebSquare.remoteConsole=false;WebSquare.useWeinre=false;WebSquare.weinreUrl="http://debug.websquare.co.kr/target/target-script-min.js";WebSquare.isPrintLog=true;WebSquare.configPath="";var _1a=-1;if((_1a=location.toString().indexOf("w2Config"))>=0){var _1b=location.toString().slice(_1a+"w2Config=".length);WebSquare.configPath=_1b.slice(0,_1b.indexOf("config.xml")+"config.xml".length);}WebSquare.hybridApp=false;WebSquare.isHoneyComb=false;WebSquare.userAgentPattern={serializer:"Android 2.3.5[\\w\\W]+M110|Android 2.3.5[\\w\\W]+M250",XMLParser:"Opera[\\w\\W]+Version[\\w\\W]+1[\\d].[\\d]",URIEncoder:"Chrome[\\w\\W]16[.0-9*]*|Version[\\w\\W]+Safari+",XPathParser:"Edge"};WebSquare.msActiveXFilteringEnabled=false;WebSquare.externalOption={};WebSquare.WebSquaredoc=null;WebSquare.UUIDPrefix="wq_uuid";WebSquare.UUID=0;WebSquare.scriptCachedList={};WebSquare.moduleList={};WebSquare.noConflict="$w";WebSquare.styleSheetEarlyImport=0;WebSquare.styleSheetEarlyImportName="";WebSquare.styleSheetEarlyImportList=[];WebSquare.externalCSSList=[];WebSquare.externalCSSDOM=[];WebSquare.externalCSSURL=[];WebSquare.externalCSSRemainder=[];WebSquare.pageXMLString=null;WebSquare.nodeValueDeprecated=(doc.createAttribute&&doc.createAttribute("test").value!=undefined);WebSquare.scriptIdentifier=";\n\"wq_Log_$$H";WebSquare.targetInfo="";WebSquare.skipLog=false;WebSquare.pluginCache="default";WebSquare.pluginCacheVariable="__WebSquare__pluginCache";WebSquare.suffix="";WebSquare.spaURLMapping={};WebSquare.dataObject={};WebSquare.isWebSquarePopup=false;WebSquare.strictMode=false;WebSquare.strictModeFrame=null;if("sessionStorage" in window){var _1c=sessionStorage.getItem("wq_spaURLMapping");if(_1c!=null){eval("WebSquare.spaURLMapping = "+_1c);}}try{if(typeof externalValue!="undefined"){for(var i in externalValue){if(typeof WebSquare[i]!="undefined"){WebSquare[i]=externalValue[i];}else{WebSquare.externalOption[i]=externalValue[i];}}}}catch(e){alert("External Option Error! : "+e.toString());}var _1e={};try{if(typeof _17.WebSquareExternal!="undefined"){_1e=_17.WebSquareExternal;}}catch(e){}if(typeof _1e.w2xExtension=="string"){WebSquare.w2xExtension=_1e.w2xExtension||WebSquare.w2xExtension;}WebSquare.document=doc;WebSquare.version="5.0_2.3161B.20180612.160614_1.8";WebSquare.logMsgArray=[];WebSquare.remoteLogMsgArray=[];WebSquare.logTime=0;WebSquare.logTotalTime=0;WebSquare.buildDate="N/A";WebSquare.buildID="";WebSquare.uiplugin={};WebSquare.logFileName="";WebSquare.docTitle="";WebSquare.jsString={};WebSquare.jsStringOpt={};WebSquare.jsStringCore="";WebSquare.$integiry={flag:true,passed:[],failed:[]};WebSquare.allPlugin="engine/CommonRuntime.js,engine/core.js,engine/exception.js,engine/logger.js,engine/xml.js,engine/collection.js,engine/WebSquareDocument.js,engine/Parser.js,engine/Model.js,engine/Actions.js,engine/ModelUtil.js,engine/DataCollection.js,engine/Events.js,engine/form.js,engine/net.js,engine/session.js,engine/util.js,engine/date.js,engine/text.js,engine/layer.js,engine/cookie.js,engine/domIterator.js,engine/effect.js,engine/thread.js,engine/event.js,engine/skin.js,engine/language.js,engine/geometry.js,engine/shape.js,engine/configManager.js,engine/cssStyleSheet.js,uiplugin/control/eventControl.js,engine/dragdrop.js,engine/formatter.js,engine/style.js,engine/validator.js,engine/wUnit.js,engine/json.js,engine/jquerySupport.js,uiplugin/control/css.js,uiplugin/control/IAction.js,uiplugin/control/IVisible.js,uiplugin/control/ISerialize.js,uiplugin/control/widget.js,uiplugin/control/control.js,uiplugin/control/cssManager.js,uiplugin/control/cssCustomizer.js,uiplugin/control/htmlControl.js,uiplugin/control/xfControl.js,uiplugin/control/modelControl.js,uiplugin/control/controlManager.js,uiplugin/control/controlFactory.js,uiplugin/control/executeHelper.js,uiplugin/control/controlIterator.js,uiplugin/balloonTip/balloonTip.js,engine/localStorage.js,engine/big.js,engine/api.js,engine/initializer.js,uiplugin/control/historyManager.js,uiplugin/control/itemsetControl.js,uiplugin/dataList/dataController.js,uiplugin/dataList/statusController.js,uiplugin/dataList/dataListCellController.js,uiplugin/dataList/dataListApiController.js,uiplugin/dataList/filterController.js,uiplugin/dataList/dataList.js,uiplugin/dataMap/dataMapApiController.js,uiplugin/dataMap/dataMap.js,uiplugin/linkedDataList/linkedFilterController.js,uiplugin/linkedDataList/linkedDataListApiController.js,uiplugin/linkedDataList/linkedDataList.js,uiplugin/aliasDataCollection/aliasDataList.js,uiplugin/aliasDataCollection/aliasDataMap.js,uiplugin/aliasDataCollection/aliasLinkedDataList.js,uiplugin/body/body.js,uiplugin/group/group.js,uiplugin/floatingLayer/floatingLayer.js,uiplugin/helper/dateHelper.js,uiplugin/input/basicInput.js,uiplugin/input/input.js,uiplugin/layer/layer.js,uiplugin/trigger/trigger.js,uiplugin/submit/submit.js,uiplugin/output/output.js,uiplugin/anchor/anchor.js,uiplugin/image/image.js,uiplugin/iframe/iframe.js,uiplugin/radio/radio.js,uiplugin/checkbox/checkbox.js,uiplugin/template/template.js,uiplugin/textarea/textarea.js,uiplugin/textbox/textbox.js,uiplugin/pageList/pageList.js,uiplugin/repeat/repeat.js,uiplugin/upload/upload.js,uiplugin/graphicUtil/svgToolkit.js,uiplugin/graphicUtil/vmlToolkit.js,uiplugin/graphicUtil/graphicUtil.js,uiplugin/rectangle/rectangle.js,uiplugin/roundRectangle/roundRectangle.js,uiplugin/table/itemTable.js,uiplugin/selectbox/selectbox.js,uiplugin/multiselect/multiselect.js,uiplugin/checkcombobox/checkcombobox.js,uiplugin/autoComplete/autoComplete.js,uiplugin/list/list.js,uiplugin/calendar/calendar.js,uiplugin/inputCalendar/inputCalendar.js,uiplugin/Switch/Switch.js,uiplugin/tabContainer/tabContainer.js,uiplugin/helper/korHelper.js,uiplugin/slideHide/slideHide.js,uiplugin/taskManager/taskManager.js,uiplugin/html/tag.js,uiplugin/xhtml/xhtml.js,uiplugin/xsl/xsl.js,uiplugin/treeview/virtualTree.js,uiplugin/treeview/virtualTreeView.js,uiplugin/treeview/tree.js,uiplugin/treeview/treeview.js,uiplugin/menu/menu.js,uiplugin/wframe/wframe.js,uiplugin/wframe/wframeDocument.js,uiplugin/wframe/wframeParser.js,uiplugin/window/window.js,uiplugin/windowContainer/windowContainer.js,uiplugin/gridView/layoutController.js,uiplugin/gridView/drawInitializer.js,uiplugin/gridView/eventController.js,uiplugin/gridView/keyEventController.js,uiplugin/gridView/mainDrawController.js,uiplugin/gridView/drawController.js,uiplugin/gridView/cellController.js,uiplugin/gridView/headerController.js,uiplugin/gridView/focusController.js,uiplugin/gridView/subtotalDataController.js,uiplugin/gridView/footerController.js,uiplugin/gridView/gridViewApiController.js,uiplugin/gridView/styleController.js,uiplugin/gridView/dataFilter.js,uiplugin/gridView/drilldown.js,uiplugin/gridView/notifyController.js,uiplugin/gridView/mappingController.js,uiplugin/gridView/linkedMappingController.js,uiplugin/gridView/gridView.js,uiplugin/grid/grid.js,uiplugin/generator/generator.js,uiplugin/scrollView/scrollView.js,uiplugin/article/article.js,uiplugin/aside/aside.js,uiplugin/audio/audio.js,uiplugin/canvas/canvas.js,uiplugin/footer/footer.js,uiplugin/header/header.js,uiplugin/nav/nav.js,uiplugin/section/section.js,uiplugin/video/video.js,uiplugin/pageInherit/pageInherit.js,uiplugin/layout/layout.js,uiplugin/table/tableLayout.js,uiplugin/span/span.js,uiplugin/pivotTable/pivotTable.js,uiplugin/fwFunnelChart/fwFunnelChart.js,uiplugin/fwPyramidChart/fwPyramidChart.js,uiplugin/fwSparkChart/fwSparkChart.js,uiplugin/fwGaugeChart/fwGaugeChart.js,uiplugin/fwGanttChart/fwGanttChart.js,uiplugin/fwRealtimeChart/fwRealtimeChart.js,uiplugin/fwBulletChart/fwBulletChart.js,uiplugin/accordion/accordion.js,uiplugin/scheduleCalendar/scheduleCalendar.js,uiplugin/progressbar/progressbar.js,uiplugin/widgetContainer/widgetContainer.js,uiplugin/spinner/spinner.js,uiplugin/spinPicker/spinPicker.js,uiplugin/datePicker/datePicker.js,uiplugin/slider/slider.js,uiplugin/tabControl/tabControl.js,uiplugin/searchbox/searchbox.js,uiplugin/fliptoggle/fliptoggle.js,uiplugin/pageControl/pageControl.js,uiplugin/panelContainer/panelContainer.js,engine/initCSS.js";WebSquare.allPluginArr=[];_17["_$W"]=WebSquare;_17["$W"]=WebSquare;_$W._a=_$W.uiplugin;$W._a=_$W._a;WebSquare.BootLoader={};WebSquare.BootLoader.PluginCache={};WebSquare.BootLoader.stopCheckOpener=false;WebSquare.BootLoader.stopCheckParentFrame=false;WebSquare.BootLoader._XMLHTTP_PROGIDS=["Microsoft.XMLHTTP"];WebSquare.BootLoader._MSMXL_PROGIDS=["Microsoft.XMLDOM"];WebSquare.BootLoader.useActiveXObject=false;WebSquare.BootLoader.useResponseXML=false;WebSquare.BootLoader.useWebSquareXMLParser=false;WebSquare.BootLoader.useWebSquareXPathParser=false;WebSquare.BootLoader.configurationInfo=null;WebSquare.BootLoader.configurationDOM=[];WebSquare.BootLoader.configurationJSON=[];WebSquare.BootLoader.fixErrorLineNumber=false;WebSquare.BootLoader.traceWframe=false;WebSquare.BootLoader.globalEvalArr=[];if(typeof WebSquare.loadErrorHandler!="function"){WebSquare.loadErrorHandler=function(_1f){var _20=_1f.code;var _21=_1f.msg;switch(_20){case "E_initializer_XMLLoadFailError":case "E_initializer_XMLLoadFailError1":var _22=WebSquare.core.getConfiguration("/WebSquare/loadErrorHandler/@value");if(_22!=null&&_22!=""){_22=_22.replace("()","(obfuscator_errorInfo)");eval("(function(){var obfuscator_errorInfo = "+JSON.stringify(_1f)+";return "+_22+"})();");}else{alert(_21);}break;default:break;}};}WebSquare.BootLoader.performanceCheck={};if(typeof WebSquare.externalOption.startDate!="undefined"){WebSquare.BootLoader.performanceCheck.start=WebSquare.externalOption.startDate;}else{WebSquare.BootLoader.performanceCheck.start=new Date();}WebSquare.BootLoader.performanceCheck.mid1=WebSquare.BootLoader.performanceCheck.start;WebSquare.BootLoader.performanceCheck.mid2=WebSquare.BootLoader.performanceCheck.start;WebSquare.BootLoader.performanceCheck.mid3=WebSquare.BootLoader.performanceCheck.start;WebSquare.BootLoader.performanceCheck.mid4=WebSquare.BootLoader.performanceCheck.start;WebSquare.BootLoader.performanceCheck.mid5=WebSquare.BootLoader.performanceCheck.start;WebSquare.BootLoader.performanceCheck.mid6=WebSquare.BootLoader.performanceCheck.start;WebSquare.BootLoader.performanceCheck.mid7=WebSquare.BootLoader.performanceCheck.start;WebSquare.BootLoader.performanceCheck.mid8=WebSquare.BootLoader.performanceCheck.start;WebSquare.BootLoader.performanceCheck.mid9=WebSquare.BootLoader.performanceCheck.start;WebSquare.BootLoader.performanceCheck.end=WebSquare.BootLoader.performanceCheck.start;WebSquare.renderStartTime=WebSquare.BootLoader.performanceCheck.mid1;WebSquare.BootLoader.ifModifiedSince="Tue, 24 Jan 2006 01:13:57 GMT";var _23=function(){};WebSquare.addMark=function(_24){if(!_17._fCoverage){try{if(parent!=window&&parent._fCoverage){_17._fCoverage=parent._fCoverage;}else{if(typeof window.opener!="undefined"&&window.opener!=null&&!window.opener.closed&&window.opener._fCoverage){_17._fCoverage=opener._fCoverage;}else{_17._fCoverage={};}}}catch(e){_17._fCoverage={};}}if(typeof _fCoverage[_24]!="undefined"){_fCoverage[_24]++;}else{_fCoverage[_24]=1;}};WebSquare.BootLoader.$integrity=function(_25,_26,_27){if(typeof _25=="undefined"){if(WebSquare.util&&WebSquare.util.watermark&&!WebSquare.$integiry.flag){WebSquare.util.watermark("integrity check failed!!!");}return WebSquare.$integiry.flag;}else{if(_25===true){WebSquare.$integiry.passed.push(_26);}else{if(_25===false){WebSquare.$integiry.flag=false;WebSquare.$integiry.failed.push({original:_26,runtime:_27});}}}};WebSquare.BootLoader.setFullViewInHtml=function(_28,_29,_2a){try{var _2a=_2a||{};var _2b=(_2a.resizeOnce===true)?true:false;var _2c=null;var _2d={width:window.innerWidth||document.body.clientWidth,height:window.innerHeight||document.body.clientHeight};if(_28!==null&&typeof _28==="function"){var ret=_28();if(ret!==null&&typeof ret==="object"&&ret.baseHeight&&ret.baseWidth){var _2f=_2d.width/ret.baseWidth;var _30=_2d.height/ret.baseHeight;_2c=_2f>_30?_30:_2f;}}function fullViewOnResize(){if(WebSquare.BootLoader.onResizing){return;}var _31=null;var _32={width:window.innerWidth||document.body.clientWidth,height:window.innerHeight||document.body.clientHeight};if(_28!==null&&typeof _28==="function"){var ret=_28();if(ret!==null&&typeof ret==="object"&&ret.baseHeight&&ret.baseWidth){var _34=_32.width/ret.baseWidth;var _35=_32.height/ret.baseHeight;_31=_34>_35?_35:_34;}}if(_31==null){return;}WebSquare.BootLoader.onResizing=true;WebSquare.BootLoader.zoomed(document.body,_31);document.body.style.width=ret.baseWidth+"px";document.body.style.height=ret.baseHeight+"px";WebSquare.BootLoader.onResizing=false;WebSquare.BootLoader.fullViewed=true;WebSquare.BootLoader.fullViewRatio=_31;}function fullViewBody(_36){var _37="body {"+"-webkit-transform : scale("+_36+");"+"-moz-transform : scale("+_36+");"+"-ms-transform : scale("+_36+");"+"-o-transform : scale("+_36+");"+"transform : scale("+_36+");"+"transform-origin : 0 0;"+"-ms-transform-origin : 0 0;"+"width : "+ret.baseWidth+"px;"+"height : "+ret.baseHeight+"px;"+"}";var _38=WebSquare.document.getElementsByTagName("head")[0];WebSquare.BootLoader.fullViewClass=true;WebSquare.BootLoader.fullViewClassCssText=_37;WebSquare.BootLoader.fullViewRatio=_36;if(WebSquare.core.browserCheck.ie){var s=document.createElement("style");s.setAttribute("type","text/css");s.styleSheet.cssText=_37;_38.appendChild(s);}else{var s=WebSquare.document.createElementNS("http://www.w3.org/1999/xhtml","style");s.appendChild(document.createTextNode(_37));_38.appendChild(s);}}WebSquare.BootLoader.fullViewed=true;var _3a=(_17.WebSquareExternal&&WebSquareExternal.w2xPath)||WebSquare.net.getParameter("w2xPath")||WebSquare.w2xPath||WebSquare.BootLoader.configurationJSON[0].WebSquare["welcome-file"]["@value"];if(typeof _3a==="string"&&_3a.indexOf(_29)>=0){WebSquare.BootLoader.fullViewRatio=_2c;fullViewBody(_2c);var _3b=function(){if(WebSquare&&WebSquare.scriptSectionExcuteFlag&&WebSquare.scriptSectionExcuteFlag==="executed"){clearInterval(obfuscator_checkBodyLoad);fullViewOnResize();if(!_2b){WebSquare.getBody().event.addListener(window,"onresize",fullViewOnResize);}}};_3b();var obfuscator_checkBodyLoad=setInterval(_3b,70);}else{}}catch(e){WebSquare.exception.printStackTrace(e);}};WebSquare.BootLoader.zoomed=function(obj,_3d){if(WebSquare.core.browserCheck.moz&&obj&&obj.style){obj.style.MozTransform="scale("+_3d+")";obj.style.MozTransformOrigin="left top";WebSquare.BootLoader.fullViewRatio=_3d;}else{if(obj&&obj.style){obj.style["-webkit-transform"]="scale("+_3d+")";obj.style["-moz-transform"]="scale("+_3d+")";obj.style["-ms-transform"]="scale("+_3d+")";obj.style["-o-transform"]="scale("+_3d+")";obj.style["transform"]="scale("+_3d+")";obj.style["transform-origin"]="top left";WebSquare.BootLoader.fullViewRatio=_3d;if(WebSquare.BootLoader.fullViewClass){WebSquare.BootLoader.fullViewClass=false;var _3e=document.getElementsByTagName("style");for(var i=0;i<_3e.length;i++){if(_3e[i].innerHTML==WebSquare.BootLoader.fullViewClassCssText){document.getElementsByTagName("head")[0].removeChild(_3e[i]);break;}}}}}};WebSquare.BootLoader.globalEval=function(scr,_41){try{if(WebSquare.BootLoader.fixErrorLineNumber){if(_41=="internal"){WebSquare.BootLoader.globalEvalArr.push(scr);var _42=doc.createElement("script");_42.type="text/javascript";_42.charset="UTF-8";_42.text=scr;_42.setAttribute("data-wqInternal","true");var _43=doc.head||doc.getElementsByTagName("head")[0]||doc.documentElement;_43.appendChild(_42);}else{if(_17.execScript&&scr!==""){_17.execScript(scr);}else{_17.eval?_17.eval(scr):eval(scr);}}}else{if(_17.execScript&&scr!==""){_17.execScript(scr);}else{_17.eval?_17.eval(scr):eval(scr);}}}catch(e){var _44=[];var _45=WebSquare.scriptIdentifier.length;var _46="\n<<Internal JavaScript Source Block";if(scr){var _47=scr.split(WebSquare.scriptIdentifier);var _48=(_47.length>1)?1:0;var _49=1;for(var ff=0;ff<_47.length;ff++){if(_47[ff]==""){continue;}var _4b=_47[ff].split("\n");var _4c=_4b[0]+"";var _4d=_4c.indexOf("\";");if(_4d>0){_4c=_4b[0].substring(0,_4d);_4b[0]=_4b[0].substring(_4d+2);}if(_48===1){_44.push("\n"+_46+" ["+_4c+"] Start>>");}else{_44.push("\n"+_46+" Start>>");}for(var i=0,len=_4b.length;i<len;i++){_44.push("\n");_44.push("[");_44.push(WebSquare.BootLoader.fillZero(_49,4));_44.push("]");_44.push(_4b[i]);_49++;}if(_48===1){_44.push(_46+" ["+_4c+"] End>>");}else{_44.push(_46+" End>>");}}}this.printStackTrace(e,"WebSquare.BootLoader.globalEval:","* message     : "+e.message+_44.join(""));}};WebSquare.BootLoader.imports=function(_4f,_50,arr){var _52=_4f;if(typeof _19!="undefined"&&_19){if(_52.indexOf("uiplugin.")>=0){_52=_52.replace(".","/");_52=_52+_52.substring(_52.indexOf("/"))+".js";}if(typeof WebSquare.jsString[_52]!="undefined"){WebSquare.BootLoader.globalEval(WebSquare.jsString[_52]);WebSquare.jsStringOpt[_52]=WebSquare.jsString[_52];delete WebSquare.jsString[_52];}}if(isCache(_4f)){return;}if(typeof _19!="undefined"&&_19){var ret=0,uri;try{uri=getloadPath(_4f,_50);var c=WebSquare.BootLoader.loadUri(uri);if(c==null||c==""){if(_4f.indexOf("/")>-1){ret=1;}else{ret=3;}}else{if(arr){arr.push(c);}else{WebSquare.BootLoader.globalEval(c);if(typeof WebSquare.jsString[_52]!="undefined"){WebSquare.BootLoader.globalEval(WebSquare.jsString[_52]);WebSquare.jsStringOpt[_52]=WebSquare.jsString[_52];delete WebSquare.jsString[_52];}}}}catch(e){ret=5;WebSquare.BootLoader.printStackTrace(e,"WebSquare.BootLoader.imports ["+_4f+"]");}return ret;}else{try{uri=getloadPath(_4f);WebSquare.BootLoader.globalEval(WebSquare.BootLoader.loadUri(uri));}catch(e){WebSquare.BootLoader.printStackTrace(e,"WebSquare.BootLoader.imports ["+_4f+"]");}}};function isCache(_55){var ret=false;if(WebSquare.BootLoader.importCache[_55]==null){WebSquare.BootLoader.importCache[_55]=_55;}else{ret=true;}if(typeof _19!="undefined"&&_19){var _57=_55;if(_57.indexOf("uiplugin.")>=0){_57=_57.replace(".","/");_57=_57+_57.substring(_57.indexOf("/"))+".js";}for(var i=0;i<WebSquare.allPluginArr.length;i++){if(WebSquare.allPluginArr[i]==_57){ret=true;}}}return ret;}function getloadPath(_59,_5a){var uri;if(typeof _19!="undefined"&&_19){if(_59.indexOf("/")>-1){if(_59.split("/")[0]=="engine"||_59.split("/")[0]=="uiplugin"){if(_5a===undefined){WebSquare.BootLoader.printLog("WebSquare.BootLoader.imports [engine/uiplugin]["+_59+"]");}uri=WebSquare.BootLoader.loadPath2(_59);}else{if(_5a===undefined){WebSquare.BootLoader.printLog("WebSquare.BootLoader.imports [ext]["+_59+"]");}uri=_59;}}else{var obj=WebSquare.BootLoader.parseObjPath(_59);if(typeof obj!="function"){if(_5a===undefined){WebSquare.BootLoader.printLog("WebSquare.BootLoader.imports [object]["+_59+"]");}uri=WebSquare.BootLoader.loadPath2(_59);}}}else{if(_59.indexOf("/")>-1){uri=_59;}else{var obj=WebSquare.BootLoader.parseObjPath(_59);if(typeof obj!="function"){var _5d=WebSquare.BootLoader.loadPath(_59);uri=_5d;}}}return uri;}WebSquare.BootLoader.importChunkPlugin=function(idx){var ret="";if(typeof _19!="undefined"&&_19){try{var _60=WebSquare.baseServletURI+"javascriptPluginAll.wq?";if(WebSquare.engineType){_60=_60+WebSquare.engineType;}_60=_60+"idx="+idx;ret=WebSquare.BootLoader.loadUri(_60);if(ret==null||ret==""){ret="";}}catch(e){ret="";this.printStackTrace(e,"WebSquare.BootLoader.importChunkPlugin ["+idx+"]");}}return ret;};WebSquare.BootLoader.importPluginAll=function(){var ret=0;if(WebSquare.BootLoader.importCache["ALL_PLUGIN"]==null){WebSquare.BootLoader.importCache["ALL_PLUGIN"]="ALL_PLUGIN";}else{return ret;}if(typeof _19!="undefined"&&_19){try{var _62=WebSquare.baseServletURI+"javascriptPluginAll.wq";if(WebSquare.engineType){_62=_62+"?"+WebSquare.engineType.substring(0,WebSquare.engineType.length-1);}if(_62.charAt(0)!="/"&&_62.search(/http(s)?:\/\//)!=0){_62=WebSquare.baseServletURI+_62;}if(_62.length>3){if(_62.indexOf(".wq")>=0){_62=WebSquare.BootLoader.getEngineVersionPostfix(_62);}else{if(WebSquare.WebSquareEngineCache==true){_62=WebSquare.BootLoader.getEngineCachePostfix(_62);}else{_62=WebSquare.BootLoader.getRandomPostfix(_62);}}}if(WebSquare.pluginCache==="all"){var _63=WebSquare.BootLoader.loadUri(_62);if(_63==null||_63==""){ret=1;}else{WebSquare.BootLoader.globalEval(_63);}}else{doc.write("<script type=\"text/javascript\" src=\""+_62+"\"></script>");}}catch(e){ret=2;WebSquare.BootLoader.printLog("WebSquare.BootLoader.importPluginAll module imports failure.");}}return ret;};WebSquare.BootLoader.requires=function(_64){try{var obj=WebSquare.BootLoader.parseObjPath(_64);if(typeof obj!="function"){if(WebSquare.hybridApp==true&&WebSquare.WebSquaredoc){if(typeof _19!="undefined"&&_19){_64=WebSquare.BootLoader.getEngineUri("HybridPluginAll_ui_4.js");}}imports(_64);}}catch(e){WebSquare.BootLoader.printStackTrace(e,"WebSquare.BootLoader.requires");}};WebSquare.BootLoader.parseObjPath=function(_66,_67){try{var _68=(_67!=null?_67:WebSquare);var _69=_66.split(".");for(var i=0,l=_69.length;i<l&&_68;i++){_68=WebSquare.BootLoader.evalProp(_69[i],_68);}return _68;}catch(e){this.printStackTrace(e,"WebSquare.BootLoader.parseObjPath");}};WebSquare.BootLoader.loadPath=(function(){var _6b={};return function(_6c){try{if(!_6b[_6c]){if(_6c.slice(-2)==="js"){_6b[_6c]=_6c;}else{var _6d=_6c.split(".");_6d[_6d.length]=_6d[_6d.length-1]+".js";_6b[_6c]=_6d.join("/");}}return _6b[_6c];}catch(e){WebSquare.BootLoader.printStackTrace(e,"WebSquare.BootLoader.loadPath");}};})();WebSquare.BootLoader.loadPath2=function(_6e){try{if(typeof _19!="undefined"&&_19==true&&typeof excludeLicenseList!="undefined"&&excludeLicenseList!=null&&excludeLicenseList.length!=0){for(var i in excludeLicenseList){if(excludeLicenseList[i]==_6e){if(_6e.length>=9&&_6e.substring(0,"uiplugin.".length)=="uiplugin."){return WebSquare.BootLoader.loadPath(_6e);}else{return _6e;}}}}var _70;var _71;if(_6e.indexOf("/")>-1){var _72=_6e.split(".");_70=_72[0].split(".");}else{_70=_6e.split(".");}var _73=_17;_71=WebSquare.baseServletURI+"javascript.wq?"+WebSquare.engineType+"q=";for(var i=0,l=_70.length;i<l-1;i++){_71+=_70[i]+"/";}_71+=_70[_70.length-1];return _71;}catch(e){this.printStackTrace(e,"WebSquare.BootLoader.loadPath");}};WebSquare.BootLoader.evalProp=function(_74,_75){try{return (_75&&WebSquare.BootLoader.isDef(_74,_75)?_75[_74]:_75[_74]={});}catch(e){this.printStackTrace(e,"WebSquare.BootLoader.evalProp");}};WebSquare.BootLoader.loadUri=function(uri){var _77=null;try{if(WebSquare.pluginCache==="false"){_77=this.getText(uri)||"";}else{if(WebSquare.pluginCache==="all"){try{var _78=self;var _79=0;while(_78.opener!=null){_79++;_78=_78.opener;if(_79>100){throw ({"message":"opener limit exceeded"});}}if(_78.top[WebSquare.pluginCacheVariable]==undefined){_78.top[WebSquare.pluginCacheVariable]={};}if(_78.top[WebSquare.pluginCacheVariable][uri]==undefined){_77=this.getText(uri);_78.top[WebSquare.pluginCacheVariable][uri]=_77.toString().slice(0);}else{_77=_78.top[WebSquare.pluginCacheVariable][uri];}}catch(e){_77=this.getText(uri)||"";}}else{_77=WebSquare.BootLoader.PluginCache[uri];if(typeof _77=="undefined"){if(WebSquare.BootLoader.isOpenerMethod("WebSquare.BootLoader.loadUri")){try{_77=opener.WebSquare.BootLoader.loadUri(uri);if(_77==null||_77==""){_77=this.getText(uri);}}catch(ee){_77=this.getText(uri);}}else{if(WebSquare.BootLoader.isParentFrameMethod("WebSquare.BootLoader.loadUri")){try{_77=parent.WebSquare.BootLoader.loadUri(uri);if(_77==null||_77==""){_77=this.getText(uri);}}catch(ee){_77=this.getText(uri);}}else{_77=this.getText(uri);}}if(!(_77==null||_77=="")){WebSquare.BootLoader.setPluginCache(uri,_77);}}}}}catch(e){this.printStackTrace(e,"WebSquare.BootLoader.loadUri");}return _77;};WebSquare.BootLoader.getText=function(uri){try{var _7b=uri;var _7c=this.getXMLHTTPObject();try{openEngineUri(uri,_7c);_7c.send(null);if(_7c.status>="400"){if(_7b.indexOf("uiplugin")>-1){WebSquare.BootLoader.printError("Plugin ["+_7b+"] Does not exist.");}else{WebSquare.BootLoader.printError("Module ["+_7b+"] Does not exist.");}_7c=null;return null;}}catch(e){if(_7b.indexOf("uiplugin")>-1){WebSquare.BootLoader.printError("Plugin ["+_7b+"] Does not exist.");}else{WebSquare.BootLoader.printError("Module ["+_7b+"] Does not exist.");}}var ret=_7c.responseText;_7c=null;return ret;}catch(e){this.printStackTrace(e,"WebSquare.BootLoader.getText("+uri+")");}};WebSquare.BootLoader.getXMLHTTPObject=function(){try{var _7e=null;try{if(WebSquare.BootLoader.useActiveXObject){_7e=new ActiveXObject(WebSquare.BootLoader._XMLHTTP_PROGIDS[0]);}else{if(_17.XMLHttpRequest){_7e=new XMLHttpRequest();}}}catch(e){this.printStackTrace(e,"WebSquare.BootLoader.getXMLHTTPObject");}if(typeof _7e=="undefined"||_7e==null){WebSquare.BootLoader.printError("This Browser does not support Ajax.");return null;}return _7e;}catch(e){this.printStackTrace(e,"WebSquare.BootLoader.getXMLHTTPObject");}};WebSquare.BootLoader.isDef=function(_7f,_80){try{if(_80==null){_80=_17;}if(_80[_7f]==null){return false;}else{return (typeof _80[_7f]!="undefined");}}catch(e){this.printStackTrace(e,"WebSquare.BootLoader.isDef");}};WebSquare.BootLoader.printError=function(msg){try{if(WebSquare.skipLog===true){return;}if(typeof WebSquare.logger!="undefined"&&typeof WebSquare.logger.printLog!="undefined"){WebSquare.logger.printLog("[WebSquare BootLoader Error]\n\n"+msg);}else{WebSquare.BootLoader.printLog("[WebSquare BootLoader Error]\n\n"+msg);}}catch(e){WebSquare.BootLoader.printLog("[WebSquare BootLoader Error]\n\n"+msg);}};WebSquare.BootLoader.printStackTrace=function(e,pos,msg){if(WebSquare.skipLog===true){return;}var str="";for(var idx in e){var tmp=idx+"               ";tmp=tmp.substring(0,15);if(idx=="number"){str+=tmp+":"+(e[idx]&65535)+"\n";}else{str+=tmp+":"+e[idx]+"\n";}}str+="caller         :"+WebSquare.BootLoader.getSignature(WebSquare.BootLoader.printStackTrace.caller);if(typeof msg=="undefined"){str=pos+" Error occurs during the execution. \n\n"+str;}else{str=pos+" Error occurs during the execution.  \n"+msg+"\n\n"+str;}try{if(typeof WebSquare.logger!="undefined"&&typeof WebSquare.logger.printLog!="undefined"){WebSquare.logger.printLog(str);if(typeof e.aleradyThrow=="undefined"){e.aleradyThrow="djshin";}}else{WebSquare.BootLoader.printLog(str);}}catch(e1){WebSquare.BootLoader.printLog(str);}};WebSquare.BootLoader.isFunction=function(_88){try{var _89=_88.split(".");var str="";for(var i=0;i<_89.length;i++){str=str+_89[i];var obj=eval(str);if(i==_89.length-1){if(typeof obj=="function"||typeof obj=="object"){return true;}else{return false;}}if(obj===undefined||obj===null){return false;}str=str+".";}}catch(e){}return false;};WebSquare.BootLoader.isParentFrameMethod=function(_8d){try{if(WebSquare.BootLoader.stopCheckParentFrame){return false;}_8d="parent."+_8d;if(WebSquare.BootLoader.browserCheck.ie){var _8e=WebSquare.BootLoader.browserVersion();if(_8e.charAt(0)=="5"&&_17.parent!=_17&&WebSquare.BootLoader.isFunction(_8d)){return true;}else{if(_17.parent!=_17&&_17.parent==_17.frameElement.ownerDocument.parentWindow&&WebSquare.BootLoader.isFunction(_8d)){return true;}else{return false;}}}else{if(_17.parent!=_17&&WebSquare.BootLoader.isFunction(_8d)){return true;}else{return false;}}}catch(e){WebSquare.BootLoader.stopCheckParentFrame=true;return false;}return false;};WebSquare.BootLoader.isOpenerMethod=function(_8f){try{if(WebSquare.BootLoader.stopCheckOpener){return false;}if(typeof window.opener=="undefined"||window.opener==null){WebSquare.BootLoader.stopCheckOpener=true;return false;}else{if(window.opener.closed){WebSquare.BootLoader.stopCheckOpener=true;return false;}else{_8f="window.opener."+_8f;if(WebSquare.BootLoader.isFunction(_8f)){return true;}else{return false;}}}}catch(e){WebSquare.BootLoader.stopCheckOpener=true;return false;}};WebSquare.BootLoader.setPluginCache=function(uri,_91){WebSquare.BootLoader.PluginCache[uri]=_91;};WebSquare.BootLoader.browserCheck=function(){return navigator.appName;};WebSquare.BootLoader.engineLoadingMode={"ie":1,"moz":1,"opera":1,"android":1,"iphone":1,"blackberry":1,"chrome":1,"safari":1,"mode":1};WebSquare.BootLoader.browserCheck.ie=navigator.appName.match(/Explorer/i)!=null;WebSquare.BootLoader.browserCheck.ieAllVersion=navigator.appName.match(/Explorer/i)!=null||navigator.userAgent.match(/Trident/i)!=null||navigator.userAgent.match(/MSIE/i)!=null;WebSquare.BootLoader.browserCheck.moz=navigator.userAgent.match(/Firefox/i)!=null||(navigator.userAgent.match(/Gecko/i)!=null&&navigator.userAgent.match(/AppleWebKit/i)==null&&navigator.userAgent.match(/Trident/i)==null);WebSquare.BootLoader.browserCheck.opera=navigator.userAgent.match(/Opera/i)!=null;WebSquare.BootLoader.browserCheck.android=/Android/.test(navigator.userAgent);WebSquare.BootLoader.browserCheck.iphone=/iPhone/.test(navigator.userAgent)||/iPhone/.test(navigator.platform);WebSquare.BootLoader.browserCheck.ipad=/iPad/.test(navigator.userAgent);WebSquare.BootLoader.browserCheck.ipod=/iPod/.test(navigator.userAgent);WebSquare.BootLoader.browserCheck.blackberry=/BlackBerry/.test(navigator.userAgent);WebSquare.BootLoader.browserCheck.chrome=!WebSquare.BootLoader.browserCheck.ie&&(/Chrome/.test(navigator.userAgent));if(typeof navigator.vendor!="undefined"){WebSquare.BootLoader.browserCheck.safari=navigator.vendor.indexOf("Apple")>-1;}else{WebSquare.BootLoader.browserCheck.safari=false;}WebSquare.BootLoader.browserCheck.ffox=/Firefox/.test(navigator.userAgent);WebSquare.BootLoader.browserCheck.spartan=/Edge/.test(navigator.userAgent);WebSquare.BootLoader.browserVersion=function(){try{if(WebSquare.BootLoader.browserCheck.ieAllVersion){if(doc.documentMode){return doc.documentMode+"";}if(navigator.appVersion.charAt(0)=="2"){return "2";}else{if(navigator.appVersion.charAt(0)=="3"){return "3";}else{if(navigator.appVersion.charAt(0)=="4"){if(navigator.appVersion.indexOf("MSIE 9")!=-1){return "9";}else{if(navigator.appVersion.indexOf("MSIE 8")!=-1){return "8";}else{if(navigator.appVersion.indexOf("MSIE 7")!=-1){return "7";}else{if(navigator.appVersion.indexOf("MSIE 6")!=-1){return "6";}else{if(navigator.appVersion.indexOf("MSIE 5.5")!=-1){return "5.5";}else{if(navigator.appVersion.indexOf("MSIE 5.0")!=-1){return "5.0";}else{return "4";}}}}}}}else{if(navigator.appVersion.charAt(0)=="5"){return "5";}}}}}else{if(navigator.appVersion.charAt(0)==2){return "2";}else{if(navigator.appVersion.charAt(0)==3){return "3";}else{if(navigator.appVersion.charAt(0)==4){return "4";}else{if(navigator.appVersion.charAt(0)==5){return "6";}}}}}return "";}catch(e){this.printStackTrace(e,"WebSquare.BootLoader.browserVersion");}};WebSquare.BootLoader.printLog=function(msg){try{if(WebSquare.skipLog===true){return;}if(!_17.console){var _93=["log","debug","info","warn","error","assert","dir","dirxml","group","groupEnd","time","timeEnd","count","trace","profile","profileEnd"];_17.console={};for(var i=0;i<_93.length;++i){_17.console[_93[i]]=function(){};}}if(WebSquare.logMsgArray.length>500){delete WebSquare.logMsgArray;WebSquare.logMsgArray=[];WebSquare.logMsgArray.push(WebSquare.BootLoader.getLogTime()+" "+"BootLoader] Delete logs for reducing memory usage.");}var _95=WebSquare.BootLoader.getLogTime();var _96=" "+"BootLoader] "+msg;WebSquare.logMsgArray.push(_95+_96);if(WebSquare.printConsole){console.log(_95+_96);}if(WebSquare.remoteConsole){WebSquare.remoteLogMsgArray.push(_95+WebSquare.logFileName+_96);}}catch(e){}};WebSquare.BootLoader.getLogTime=function(_97){var d=null;if(_97=="undefined"||_97==null){d=new Date();}else{d=new Date(_97);}var _99=d.getTime();var _9a=_99-WebSquare.logTime;var _9b=WebSquare.BootLoader.fillZero(d.getHours(),2);var _9c=WebSquare.BootLoader.fillZero(d.getMinutes(),2);var _9d=WebSquare.BootLoader.fillZero(d.getSeconds(),2);var _9e=WebSquare.BootLoader.fillZero(d.getMilliseconds(),3);var _9f=_9b+":"+_9c+":"+_9d+"."+_9e;if(_9a<100000){WebSquare.logTotalTime+=_9a;_9f+=" "+WebSquare.BootLoader.fillZero(_9a,5)+" "+WebSquare.BootLoader.fillZero(WebSquare.logTotalTime,6);}else{_9f+=" 00000 000000";}WebSquare.logTime=_99;return _9f;};WebSquare.BootLoader.fillZero=function(str,len){var _a2;var i;var _a4=(str+"");if(isNaN(_a4)){return str;}if(_a4.length>=len){return _a4;}_a2=len-_a4.length;while(_a2>0){switch(_a2){case 1:_a2=0;_a4="0"+_a4;break;case 2:_a2=0;_a4="00"+_a4;break;case 3:_a2=0;_a4="000"+_a4;break;case 4:_a2=0;_a4="0000"+_a4;break;case 5:_a2=0;_a4="00000"+_a4;break;case 6:_a2=0;_a4="000000"+_a4;break;case 7:_a2=0;_a4="0000000"+_a4;break;case 8:_a2=0;_a4="00000000"+_a4;break;case 9:_a2=0;_a4="000000000"+_a4;break;case 10:_a2=0;_a4="0000000000"+_a4;break;case 11:_a2=0;_a4="00000000000"+_a4;break;case 12:_a2=0;_a4="000000000000"+_a4;break;case 13:_a2=0;_a4="0000000000000"+_a4;break;case 14:_a2=0;_a4="00000000000000"+_a4;break;case 15:_a2=0;_a4="000000000000000"+_a4;break;default:_a2-=15;_a4="000000000000000"+_a4;break;}}return _a4;};WebSquare.BootLoader.getParameter=function(url,_a6,_a7){try{var _a8=url.indexOf("?");if(_a8>=0){var _a9=url.substring(_a8+1);var _aa=_a9.split("&");for(var i=0;i<_aa.length;i++){var _ac=_aa[i].split("=");if(_ac.length==2&&_ac[0]==_a6){if(_ac[1]==""&&typeof _a7!="undefined"){return _a7;}else{return _ac[1];}}}}}catch(e){WebSquare.BootLoader.printStackTrace(e,"WebSquare.BootLoader.getParameter");}if(typeof _a7!="undefined"){return _a7;}else{return "";}};WebSquare.BootLoader.getSignature=function(obj,_ae){if(typeof _ae=="undefined"){_ae=0;}if(_ae>5){return "...(omission)";}if(obj==null||obj=="null"){return "";}else{try{var _af="";if(obj.caller!=null&&obj.toString()!=obj.caller.toString()){_af=WebSquare.BootLoader.getSignature(obj.caller,++_ae);}var str=obj.toString();var idx=str.indexOf("[\"");if(idx==-1){var _b2=str.indexOf(")");if(_b2==-1){return "    at "+str+"\n"+_af;}else{return "    at "+str.substring(0,_b2+1)+"\n"+_af;}}else{var _b2=str.indexOf("\"",idx+2);if(_b2==-1){return "    at "+str+"\n"+_af;}else{return "    at "+str.substring(idx+2,_b2)+"\n"+_af;}}}catch(e){return obj;}}};WebSquare.WebSquareCache=false;WebSquare.WebSquareEngineCache=false;WebSquare.BootLoader.getImagePostfix=function(uri){try{if(typeof _19!="undefined"&&_19){uri=WebSquare.BootLoader.getImageVersionPostfix(uri);}}catch(e){}return uri;};function openEngineUri(uri,_b5){try{uri=WebSquare.BootLoader.getEngineUri(uri);_b5.open("GET",uri,false);}catch(e){}}WebSquare.BootLoader.getEngineUri=function(uri){if(uri.charAt(0)!="/"&&uri.search(/http(s)?:\/\//)!=0&&uri.search(/file:\/\//)!=0){if(uri.indexOf(".wq")>=0){uri=WebSquare.baseServletURI+uri;}else{uri=WebSquare.baseURI+uri;}}if(WebSquare.hybridApp==true){if(uri.charAt(0)=="/"&&WebSquare.w2xDocumentRoot!=""){uri=WebSquare.w2xDocumentRoot+uri;}return uri;}if(uri.length>3){if(uri.indexOf(".wq")>=0){uri=WebSquare.BootLoader.getEngineVersionPostfix(uri);}else{if(WebSquare.WebSquareEngineCache==true){uri=WebSquare.BootLoader.getEngineCachePostfix(uri);}else{uri=WebSquare.BootLoader.getRandomPostfix(uri);}}}return uri;};WebSquare.BootLoader.openResourceUri=function(uri,_b8){try{if(WebSquare.isHoneyComb){_b8.open("GET",uri,false);}else{if(WebSquare.WebSquareCache==false){uri=WebSquare.BootLoader.getRandomPostfix(uri);_b8.open("GET",uri,false);}else{uri=WebSquare.BootLoader.getResourceCachePostfix(uri);_b8.open("GET",uri,false);}}}catch(e){}return uri;};WebSquare.BootLoader.getResourcePostfix=function(uri){try{if(WebSquare.WebSquareCache==false){uri=WebSquare.BootLoader.getRandomPostfix(uri);}else{uri=WebSquare.BootLoader.getResourceCachePostfix(uri);}}catch(e){}return uri;};WebSquare.BootLoader.getImageVersionPostfix=function(uri){try{if(WebSquare.BootLoader.imageVersion!=null){if(uri.indexOf("?")>-1){uri+="&postfix="+WebSquare.BootLoader.imageVersion;}else{uri+="?postfix="+WebSquare.BootLoader.imageVersion;}}}catch(e){}return uri;};WebSquare.BootLoader.getEngineVersionPostfix=function(uri){try{if(uri.indexOf("?")>-1){uri+="&postfix="+WebSquare.version;}else{uri+="?postfix="+WebSquare.version;}if(uri.indexOf("?")>-1){uri+="&compression="+WebSquare.BootLoader.compression;}else{uri+="?compression="+WebSquare.BootLoader.compression;}if(WebSquare.buildID){if(uri.indexOf("?")>-1){uri+="&build="+WebSquare.buildID;}else{uri+="?build="+WebSquare.buildID;}}}catch(e){}return uri;};WebSquare.BootLoader.getRandomPostfix=function(uri){try{var _bd=uri.toLowerCase().indexOf("jpg")>-1||uri.toLowerCase().indexOf("png")>-1||uri.toLowerCase().indexOf("gif")>-1||uri.toLowerCase().indexOf("jpeg")>-1;if(_bd){return uri;}if(uri.indexOf("?")>-1){uri+="&postfix="+(new Date()).getTime()+Math.random()*10000;}else{uri+="?postfix="+(new Date()).getTime()+Math.random()*10000;}}catch(e){}return uri;};WebSquare.BootLoader.getResourceCachePostfix=function(uri){try{if(WebSquare.BootLoader.resourcePostfix){for(var i=0;i<WebSquare.BootLoader.resourcePostfixKey.length;i++){if(uri.indexOf(WebSquare.BootLoader.resourcePostfixKey[i])>-1){if(uri.indexOf("?")>-1){uri+="&postfix="+WebSquare.BootLoader.resourcePostfixValue[i];}else{uri+="?postfix="+WebSquare.BootLoader.resourcePostfixValue[i];}return uri;}}if(uri.indexOf("?")>-1){uri+="&postfix="+WebSquare.BootLoader.resourcePostfix;}else{uri+="?postfix="+WebSquare.BootLoader.resourcePostfix;}}}catch(e){}return uri;};WebSquare.BootLoader.getEngineCachePostfix=function(uri){try{if(WebSquare.BootLoader.enginePostfix){if(uri.indexOf("?")>-1){uri+="&postfix="+WebSquare.BootLoader.enginePostfix;}else{uri+="?postfix="+WebSquare.BootLoader.enginePostfix;}}}catch(e){}return uri;};WebSquare.BootLoader.rebuildInnerHTML=function(dom,str){dom.innerHTML=str;};WebSquare.BootLoader.addObjStr=function(dom,str){dom.insertAdjacentHTML("beforeEnd",str);};WebSquare.BootLoader.generatePostfix=function(str){try{if(WebSquare.suffix&&WebSquare.suffix!=""){str=WebSquare.suffix;}else{if(str=="day"){var d=new Date();var _c7=d.getMonth()<9?"0"+(d.getMonth()+1):""+(d.getMonth()+1);var _c8=d.getDate()<=9?"0"+d.getDate():""+d.getDate();str=d.getFullYear()+"_"+_c7+"_"+_c8;}else{if(str=="week"){var d=new Date();var _c9=Math.ceil((d.getDate()-d.getDay())/7);if(_c9==0){var _ca=24*60*60*1000;d.setDate(1);d.setTime(d.getTime()-_ca);_c9=Math.ceil((d.getDate()-d.getDay())/7);}var _c7=d.getMonth()<9?"0"+(d.getMonth()+1):""+(d.getMonth()+1);str=d.getFullYear()+"_"+_c7+"_W"+_c9;}else{if(str=="month"){var d=new Date();var _c7=d.getMonth()<9?"0"+(d.getMonth()+1):""+(d.getMonth()+1);str=d.getFullYear()+"_"+_c7;}else{if(str.indexOf("hour")>-1){var d=new Date();var _cb=str.wq_replaceAll("hour","").wq_trim();var _cc=parseInt(_cb,10);d.setHours(d.getHours()+_cc);var _c7=d.getMonth()<9?"0"+(d.getMonth()+1):""+(d.getMonth()+1);var _c8=d.getDate()<=9?"0"+d.getDate():""+d.getDate();var _cd=d.getHours()<=9?"0"+d.getHours():""+d.getHours();str=d.getFullYear()+"_"+_c7+"_"+_c8+"_"+_cd;}}}}}}catch(e){}return str;};WebSquare.BootLoader.loadLanguagePack=function(){var _ce=WebSquare.BootLoader.getBrowserLanguage(),path,uri;_ce=WebSquare.cookie.getCookie("system_language")||_ce||WebSquare.core.getConfiguration("language");if(_ce=="ko"){uri="message/ko.js";}else{if(_ce=="cn"||_ce=="zh"){uri="message/cn.js";}else{uri="message/en.js";}}if(WebSquare.hybridApp==false){if(isCache(uri)){return;}path=getloadPath(uri);path=WebSquare.BootLoader.getEngineUri(path);doc.write("<script type=\"text/javascript\" charset=\"UTF-8\" src=\""+path+"\"></script>");}else{WebSquare.BootLoader.imports(uri);}};WebSquare.BootLoader.getBrowserLanguage=function(){try{var _cf=navigator.language||navigator.browserLanguage;if(_cf.indexOf("-")>-1){_cf=_cf.substring(0,_cf.indexOf("-"));}return _cf;}catch(e){WebSquare.BootLoader.printLog("WebSquare.BootLoader.getLanguage failure.");}};WebSquare.BootLoader.loadEngineModule=function(spa){var _d1=WebSquare.core.getChildConfiguration("/WebSquare/engine");for(var i=0,len=_d1.length;i<len;i++){var _d3=_d1[i];if(WebSquare.pluginCache==="all"){try{var _d4=WebSquare.BootLoader.loadUri(_d3.src);if(_d4){WebSquare.BootLoader.globalEval(_d4);}}catch(e){WebSquare.BootLoader.printError("An error occurs while requesting Module ["+_d3.src+"].");}continue;}if(typeof WebSquare.moduleList[_d3.src]=="undefined"||WebSquare.moduleList[_d3.src]===null){WebSquare.moduleList[_d3.src]=1;}if(spa&&WebSquare.moduleList[_d3.src]>1&&_d3.cache!="false"){continue;}if(WebSquare.core.getConfiguration("/WebSquare/spa/scriptCache/@value").toLowerCase()!="false"||_d3.cache=="true"){WebSquare.moduleList[_d3.src]++;}if(_d3.cache=="false"){WebSquare.moduleList[_d3.src]=0;}if(WebSquare.WebSquareCache==false){uri=WebSquare.BootLoader.getRandomPostfix(_d3.src);}else{uri=WebSquare.BootLoader.getResourceCachePostfix(_d3.src);}if(_d3.charset){if(WebSquare.hybridApp==false&&!spa){WebSquare.document.write("<script type=\"text/javascript\" src=\""+uri+"\" charset=\""+_d3.charset+"\"></script>");}else{var _d5=WebSquare.document.getElementsByTagName("head")[0];var _d6=WebSquare.document.createElement("script");_d6.type="text/javascript";_d6.src=uri;_d6.charset=_d3.charset;_d5.appendChild(_d6);}}else{var _d7=_d3.src;var _d8=WebSquare.core.getXMLHTTPObject();try{WebSquare.BootLoader.openResourceUri(_d7,_d8);_d8.send(null);if(_d8.status>="400"){WebSquare.BootLoader.printError("Module ["+_d7+"] Does not exist.");}else{WebSquare.BootLoader.globalEval(_d8.responseText);}}catch(e){WebSquare.BootLoader.printError("An error occurs while requesting Module ["+_d7+"].");}_d8=null;}}};WebSquare.BootLoader.loadUdcRequires=function(){var _d9=WebSquare.core.getChildConfiguration("/WebSquare/udc/requires");for(var i=0,len=_d9.length;i<len;i++){var _db=_d9[i];WebSquare.util.loadUserComponent(_db.src);}};WebSquare.BootLoader.loadInheritRequires=function(){var _dc=WebSquare.core.getChildConfiguration("/WebSquare/inherit/requires");for(var i=0,len=_dc.length;i<len;i++){var _de=_dc[i];WebSquare.util.loadInheritComponent(_de.src);}};WebSquare.BootLoader.initJSONConfig=function(){var _df=false;for(var idx=WebSquare.BootLoader.configurationJSON.length-1;idx>=0;idx--){var ret=WebSquare.BootLoader.configurationJSON[idx];for(var i in ret["WebSquare"]){var _e3=ret["WebSquare"][i];if(Object.prototype.toString.call(_e3)==="[object Array]"){_e3=_e3[0];}if(i=="engineCache"){if(_e3["@enable"]=="true"){WebSquare.WebSquareEngineCache=true;WebSquare.BootLoader.enginePostfix=WebSquare.BootLoader.generatePostfix(_e3["@postfix"]);}if(_e3["@compression"]=="false"){WebSquare.BootLoader.compression=false;}else{if(_e3["@compression"]=="always"){WebSquare.BootLoader.compression="always";}else{WebSquare.BootLoader.compression=true;}}if(_e3["@pluginCache"]==="false"){WebSquare.pluginCache="false";}else{if(_e3["@pluginCache"]==="all"){WebSquare.pluginCache="all";}}}else{if(i=="imageCache"&&_e3["@enable"]=="true"){WebSquare.BootLoader.imageVersion=WebSquare.BootLoader.generatePostfix(_e3["@version"]);WebSquare.BootLoader.imageServlet=_e3["@serverUrl"];WebSquare.BootLoader.imageHostUrl=_e3["@hostUrl"];if(WebSquare.BootLoader.imageServlet==""){WebSquare.BootLoader.imageServlet=WebSquare.baseServletURI+"resource.wq?url=";}if(WebSquare.BootLoader.imageHostUrl){if(WebSquare.BootLoader.imageHostUrl.substring(0,4)=="http"){WebSquare.BootLoader.imageHostUrl=WebSquare.BootLoader.imageHostUrl.substring(7);}if(!WebSquare.BootLoader.imageHostUrl.substring(WebSquare.BootLoader.imageHostUrl.length-"/".length,WebSquare.BootLoader.imageHostUrl.length)=="/"){WebSquare.BootLoader.imageHostUrl=WebSquare.BootLoader.imageHostUrl+"/";}}}else{if(i=="license"){if(_e3["@value"]=="false"){_19=false;}else{_19=true;}}else{if(i=="xhr"){_df=true;if(WebSquare.BootLoader.browserCheck.ieAllVersion){if(_e3["@useActiveXObject"]=="false"){WebSquare.BootLoader.useActiveXObject=false;}else{WebSquare.BootLoader.useActiveXObject=true;}}if(_e3["@useResponseXML"]=="true"){WebSquare.BootLoader.useResponseXML=true;}}else{if(i=="debug"){if(_e3["@console"]=="true"&&_17.console){WebSquare.printConsole=true;}if(_e3["@remoteConsole"]=="true"){WebSquare.remoteConsole=true;}if(_e3["@fixErrorLineNumber"]=="true"){WebSquare.BootLoader.fixErrorLineNumber=true;}if(_e3["@weinre"]=="true"){WebSquare.useWeinre=true;if(_e3["@weinreUrl"]!=null&&_e3["@weinreUrl"]!=""){WebSquare.weinreUrl=_e3["@weinreUrl"];}}if(_e3["@skipLog"]=="true"){WebSquare.skipLog=true;}}else{if(i=="environment"){if(_e3["@cache"]=="nocache"){WebSquare.WebSquareCache=false;}else{WebSquare.BootLoader.resourcePostfix=WebSquare.BootLoader.generatePostfix(_e3["@postfix"]);WebSquare.WebSquareCache=true;WebSquare.BootLoader.resourcePostfixKey=[];WebSquare.BootLoader.resourcePostfixValue=[];for(var j in _e3){var _e5=_e3[j];if(Object.prototype.toString.call(_e5)==="[object Array]"){_e5=_e5[0];}if(j=="postfix"){WebSquare.BootLoader.resourcePostfixKey.push(_e5["@key"]);WebSquare.BootLoader.resourcePostfixValue.push(WebSquare.BootLoader.generatePostfix(_e5["@value"]));}}}if(_e3["@mode"]=="development"){_23=function(msg){alert(msg);};}if(_e3["@buildID"]&&WebSquare.buildID==""){WebSquare.buildID=_e3["@buildID"];}}else{if(i=="engineLoadingMode"){var _e7={"ie":parseInt(_e3["@ie"],10),"moz":parseInt(_e3["@moz"],10),"opera":parseInt(_e3["@opera"],10),"android":parseInt(_e3["@android"],10),"iphone":parseInt(_e3["@iphone"],10),"blackberry":parseInt(_e3["@blackberry"],10),"chrome":parseInt(_e3["@chrome"],10),"safari":parseInt(_e3["@safari"],10)};for(var j in _e7){var _e8=_e7[j];if(_e8>=0&&_e8<=3){WebSquare.BootLoader.engineLoadingMode[j]=_e8;}}}else{if(i=="userAgentPattern"){for(var j in _e3){if(j.length>1&&j.charAt(0)=="@"&&_e3[j]){WebSquare.userAgentPattern[j.substring(1)]=_e3[j];}}}else{if(i=="noConflict"){if(_e3["@value"]){WebSquare.noConflict=_e3["@value"];}}else{if(i=="stylesheet"){if(_e3["@import"]=="link"){WebSquare.styleSheetEarlyImport=1;if(_e3["@enable"]!="false"){WebSquare.styleSheetEarlyImport=2;WebSquare.styleSheetEarlyImportName=_e3["@value"]||"stylesheet_ext.css";}}if(_e3["@earlyImportList"]){WebSquare.styleSheetEarlyImportList=_e3["@earlyImportList"].split(",");}}else{if(i=="scriptLoading"){if(_e3["@merge"]=="false"){WebSquare.BootLoader.traceWframe=true;}}else{if(i=="strictMode"){if(_e3["@value"]=="true"){WebSquare.strictMode=true;}}}}}}}}}}}}}}}if(!_df){if(WebSquare.BootLoader.browserCheck.ieAllVersion){}}};WebSquare.BootLoader.initConfig=function(){var _e9=false;for(var idx=WebSquare.BootLoader.configurationDOM.length-1;idx>=0;idx--){var ret=WebSquare.BootLoader.configurationDOM[idx];var _ec=ret.documentElement.childNodes;for(var i=0;i<_ec.length;i++){var _ee=_ec.item(i);if(_ee.nodeType==1&&_ee.nodeName=="engineCache"){if(_ee.getAttribute("enable")=="true"){WebSquare.WebSquareEngineCache=true;WebSquare.BootLoader.enginePostfix=WebSquare.BootLoader.generatePostfix(_ee.getAttribute("postfix"));}if(_ee.getAttribute("compression")=="false"){WebSquare.BootLoader.compression=false;}else{if(_ee.getAttribute("compression")=="always"){WebSquare.BootLoader.compression="always";}else{WebSquare.BootLoader.compression=true;}}}else{if(_ee.nodeType==1&&_ee.nodeName=="imageCache"&&_ee.getAttribute("enable")=="true"){WebSquare.BootLoader.imageVersion=WebSquare.BootLoader.generatePostfix(_ee.getAttribute("version"));WebSquare.BootLoader.imageServlet=_ee.getAttribute("serverUrl");WebSquare.BootLoader.imageHostUrl=_ee.getAttribute("hostUrl");if(WebSquare.BootLoader.imageServlet==""){WebSquare.BootLoader.imageServlet=WebSquare.baseServletURI+"resource.wq?url=";}if(WebSquare.BootLoader.imageHostUrl){if(WebSquare.BootLoader.imageHostUrl.substring(0,4)=="http"){WebSquare.BootLoader.imageHostUrl=WebSquare.BootLoader.imageHostUrl.substring(7);}if(!WebSquare.BootLoader.imageHostUrl.substring(WebSquare.BootLoader.imageHostUrl.length-"/".length,WebSquare.BootLoader.imageHostUrl.length)=="/"){WebSquare.BootLoader.imageHostUrl=WebSquare.BootLoader.imageHostUrl+"/";}}}else{if(_ee.nodeType==1&&_ee.nodeName=="license"){if(_ee.getAttribute("value")=="false"){_19=false;}else{_19=true;}}else{if(_ee.nodeType==1&&_ee.nodeName=="xhr"){_e9=true;if(WebSquare.BootLoader.browserCheck.ieAllVersion){if(_ee.getAttribute("useActiveXObject")=="false"){WebSquare.BootLoader.useActiveXObject=false;}else{WebSquare.BootLoader.useActiveXObject=true;}}if(_ee.getAttribute("useResponseXML")=="true"){WebSquare.BootLoader.useResponseXML=true;}}else{if(_ee.nodeType==1&&_ee.nodeName=="debug"){if(_ee.getAttribute("console")=="true"&&_17.console){WebSquare.printConsole=true;}if(_ee.getAttribute("remoteConsole")=="true"){WebSquare.remoteConsole=true;}if(_ee.getAttribute("fixErrorLineNumber")=="true"){WebSquare.BootLoader.fixErrorLineNumber=true;}if(_ee.getAttribute("weinre")=="true"){WebSquare.useWeinre=true;if(_ee.getAttribute("weinreUrl")!=null&&_ee.getAttribute("weinreUrl")!=""){WebSquare.weinreUrl=_ee.getAttribute("weinreUrl");}}}else{if(_ee.nodeType==1&&_ee.nodeName=="environment"){if(_ee.getAttribute("cache")=="nocache"){WebSquare.WebSquareCache=false;}else{WebSquare.BootLoader.resourcePostfix=WebSquare.BootLoader.generatePostfix(_ee.getAttribute("postfix"));WebSquare.WebSquareCache=true;var _ef=_ee.childNodes;WebSquare.BootLoader.resourcePostfixKey=[];WebSquare.BootLoader.resourcePostfixValue=[];for(var j=0;j<_ef.length;j++){var _f1=_ef.item(j);if(_f1.nodeType==1&&_f1.nodeName=="postfix"){WebSquare.BootLoader.resourcePostfixKey.push(_f1.getAttribute("key"));WebSquare.BootLoader.resourcePostfixValue.push(WebSquare.BootLoader.generatePostfix(_f1.getAttribute("value")));}}}if(_ee.getAttribute("mode")=="development"){_23=function(msg){alert(msg);};}if(_ee.getAttribute("buildID")!=null&&_ee.getAttribute("buildID")!=""&&WebSquare.buildID==""){WebSquare.buildID=_ee.getAttribute("buildID");}}else{if(_ee.nodeType==1&&_ee.nodeName=="engineLoadingMode"){var _f3={"ie":parseInt(_ee.getAttribute("ie"),10),"moz":parseInt(_ee.getAttribute("moz"),10),"opera":parseInt(_ee.getAttribute("opera"),10),"android":parseInt(_ee.getAttribute("android"),10),"iphone":parseInt(_ee.getAttribute("iphone"),10),"blackberry":parseInt(_ee.getAttribute("blackberry"),10),"chrome":parseInt(_ee.getAttribute("chrome"),10),"safari":parseInt(_ee.getAttribute("safari"),10)};for(var j in _f3){var _f4=_f3[j];if(_f4>=0&&_f4<=3){WebSquare.BootLoader.engineLoadingMode[j]=_f4;}}}else{if(_ee.nodeType==1&&_ee.nodeName=="userAgentPattern"){var _f5=_ee.attributes;for(var j=0;j<_f5.length;j++){var att=_f5[j];if(typeof att!="undefined"&&att.nodeValue!=null&&att.nodeValue!=""){WebSquare.userAgentPattern[att.nodeName]=att.nodeValue;}}}}}}}}}}}}if(!_e9){if(WebSquare.BootLoader.browserCheck.ieAllVersion){}}};WebSquare.BootLoader.excludeSet=null;function parseBaseURI(_f7,key){var idx=_f7.indexOf(key);if(idx>-1){WebSquare.baseURI=_f7.substring(0,idx);WebSquare.buildID=WebSquare.BootLoader.getParameter(_f7,"build",WebSquare.buildID);return true;}return false;}WebSquare.BootLoader.JSON2XML=function(obj){for(var i in obj){return parseXML(attr2XML(i,obj[i]));}};function attr2XML(_fc,obj){var _fe=["<",_fc],childNodesArr=[],text,cdata,i;for(i in obj){if(i.charAt(0)==="@"){_fe.push(" ");_fe.push(i.substring(1));_fe.push("=\"");_fe.push(encode(obj[i]));_fe.push("\"");}else{if(i==="#text"){text=obj[i];}else{if(i==="#cdata"){cdata=obj[i];}else{if(Object.prototype.toString.call(obj[i])==="[object Array]"){for(var j=0;j<obj[i].length;j++){childNodesArr.push(attr2XML(i,obj[i][j]));}}else{childNodesArr.push(attr2XML(i,obj[i]));}}}}}if(text||cdata||childNodesArr.length>0){_fe.push(">");if(text){_fe.push(encode(text));}if(cdata){_fe.push("<![CDATA[");_fe.push(cdata);_fe.push("]]>");}_fe.push(childNodesArr.join(""));_fe.push("</");_fe.push(_fc);_fe.push(">");}else{_fe.push("/>");}return _fe.join("");}function encode(str){return str.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;");}function parseXML(str){var xml;try{if(WebSquare.BootLoader.useActiveXObject){xml=new ActiveXObject(WebSquare.BootLoader._MSMXL_PROGIDS[0]);xml.async=false;xml.validateOnParse=false;xml.loadXML(str);}else{var _103=new DOMParser();xml=_103.parseFromString(str,"text/xml");}if(!xml||!xml.documentElement||xml.getElementsByTagName("parsererror").length){}return xml;}catch(e){xml=undefined;}return xml;}WebSquare.BootLoader.XML2JSON=function(doc){var obj={};if(doc.nodeType==1){element2json(doc,obj);}else{element2json(doc.documentElement,obj);}return obj;};function element2json(node,obj){var _108={};var _109=node.attributes;var _10a=new RegExp("^\\s\\s*");var _10b=new RegExp("\\s\\s*$");for(var i=0;i<_109.length;i++){var att=_109.item(i);if(WebSquare.nodeValueDeprecated){_108["@"+att.name]=att.value;}else{_108["@"+att.nodeName]=att.nodeValue;}}var _10e=node.childNodes;for(var i=0;i<_10e.length;i++){var _10f=_10e.item(i);if(_10f.nodeType==1){element2json(_10f,_108);}else{if(_10f.nodeType==3){var ret=_10f.nodeValue.replace(_10a,"").replace(_10b,"");if(ret){_108["#text"]=ret;}}else{if(_10f.nodeType==4){var ret=_10f.nodeValue.replace(_10a,"").replace(_10b,"");if(ret){_108["#cdata"]=ret;}}}}}if(obj[node.nodeName]){if(Object.prototype.toString.call(obj[node.nodeName])==="[object Array]"){obj[node.nodeName].push(_108);}else{obj[node.nodeName]=[obj[node.nodeName],_108];}}else{obj[node.nodeName]=_108;}}WebSquare.BootLoader.loadConfiguration=function(uri,_112){var http=WebSquare.BootLoader.getXMLHTTPObject();http.open("GET",uri,false);http.send(null);if(http.status>="400"){http=null;}else{var _114,jsonObj;if(_112){jsonObj=eval("("+http.responseText+")");_114=WebSquare.BootLoader.JSON2XML(jsonObj);}else{_114=http.responseXML;jsonObj=WebSquare.BootLoader.XML2JSON(_114);}WebSquare.BootLoader.configurationDOM.unshift(_114);WebSquare.BootLoader.configurationJSON.unshift(jsonObj);http=null;}};WebSquare.BootLoader.setBaseThemeURI=function(){WebSquare.w2xTheme=_1e.w2xTheme||WebSquare.BootLoader.getParameter(location.search,"w2xTheme","");if(WebSquare.w2xTheme){WebSquare.BootLoader.setCookie("w2xTheme",WebSquare.w2xTheme);}else{WebSquare.w2xTheme=WebSquare.BootLoader.getCookie("w2xTheme");}var _115=WebSquare.baseURI;if(WebSquare.BootLoader.configurationJSON[0].WebSquare.theme){WebSquare.w2xTheme=WebSquare.w2xTheme||WebSquare.BootLoader.configurationJSON[0].WebSquare.theme["@default"];var _116=WebSquare.BootLoader.configurationJSON[0].WebSquare.theme.name||[];if(Object.prototype.toString.call(_116)==="[object Array]"){for(var i=0;i<_116.length;i++){if(_116[i]["@value"]===WebSquare.w2xTheme){_115=_116[i]["@path"];break;}}}else{_115=_116["@path"];}}if(_115.indexOf("/")===0||_115.match(/^http:\/\//)){WebSquare.baseThemeURI=_115;}else{WebSquare.baseThemeURI+=_115;}};WebSquare.BootLoader.mergeJSON=function(_118,_119){try{for(var _11a in _119){var _11b=_119[_11a];switch(typeof _118[_11a]){case "object":if(_118[_11a].constructor==Array){var _11c=WebSquare.core.getConfiguration("/WebSquare/useAppConfig/@value")||false;if(_11c&&(_11a=="column")){var _11d=_118[_11a];for(var i=0;i<_11d.length;i++){if(_11d[i]["@inputType"]==_119[_11a]["@inputType"]){WebSquare.extendKeepingType(_11d[i],_119[_11a]);}}}else{_118[_11a].push(_119[_11a]);}}else{WebSquare.BootLoader.mergeJSON(_118[_11a],_11b);}continue;}_118[_11a]=_11b;}return _118;}catch(e){this.printStackTrace(e);}};WebSquare.BootLoader.getCookie=function(_11f){try{var _120=WebSquare.document.cookie.split("; ");for(var i=0;i<_120.length;i++){var _122=_120[i].split("=");if(_11f==_122[0]){if(_122.length==1){return "";}else{return unescape(_122[1]);}}}}catch(e){this.printStackTrace(e);}return null;};WebSquare.BootLoader.setCookie=function(_123,_124){WebSquare.document.cookie=_123+"="+escape(_124)+";path=/";};try{if(_1e.skipLog){WebSquare.skipLog=_1e.skipLog;}if(!_1e.baseURI){for(var i=0;i<(doc.getElementsByTagName("script")).length;i++){var _125=(doc.getElementsByTagName("script"))[i].src;if(parseBaseURI(_125,"HybridPluginAll")){break;}if(parseBaseURI(_125,"bootloader.js")){break;}if(!_1e.baseServletURI){if(parseBaseURI(_125,"javascript.wq?q=/bootloader")){break;}if(parseBaseURI(_125,"javascriptPluginAll.wq?q=/bootloader")){break;}}}if(WebSquare.baseURI==""){if(location.protocol!="file:"){var _idx=location.pathname.lastIndexOf("/");if(_idx>-1){WebSquare.baseURI=location.pathname.substring(0,_idx+1);if(WebSquare.baseURI.charAt(0)!="/"){WebSquare.baseURI="/"+WebSquare.baseURI;}}else{_idx=location.pathname.lastIndexOf("\\");if(_idx>-1){WebSquare.baseURI=location.pathname.substring(0,_idx+1);}else{WebSquare.baseURI="./";}}}else{_19=false;var _idx=location.pathname.lastIndexOf("/");if(_idx>-1){WebSquare.baseURI=location.pathname.substring(0,_idx+1);}else{_idx=location.pathname.lastIndexOf("\\");if(_idx>-1){WebSquare.baseURI=location.pathname.substring(0,_idx+1);}else{WebSquare.baseURI="./";}}WebSquare.baseURI="file://"+WebSquare.baseURI;}}else{if(location.protocol!="file:"){if(location.pathname.indexOf("/")>-1){var _127=WebSquare.baseURI.split("/");if(_127.length>0&&(_127[0]==".."||_127[0]==".")){var _128=location.pathname.split("/");_128.pop();for(var i=0;i<_127.length;i++){if(_127[i]==".."){_128.pop();}else{if(_127[i]!="."){_127=_127.slice(i);break;}}}WebSquare.baseURI=_128.join("/")+"/"+_127.join("/");if(WebSquare.baseURI.charAt(0)!="/"){WebSquare.baseURI="/"+WebSquare.baseURI;}}}else{if(location.pathname.indexOf("\\")>-1){var _127=WebSquare.baseURI.split("\\");if(_127.length>0&&(_127[0]==".."||_127[0]==".")){var _128=location.pathname.split("\\");_128.pop();for(var i=0;i<_127.length;i++){if(_127[i]==".."){_128.pop();}else{if(_127[i]!="."){_127=_127.slice(i);break;}}}WebSquare.baseURI=_128.join("\\")+"\\"+_127.join("\\");}}}}else{_19=false;if(location.pathname.indexOf("/")>-1){var _127=WebSquare.baseURI.split("/");if(_127.length>0&&(_127[0]==".."||_127[0]==".")){var _128=location.pathname.split("/");_128.pop();for(var i=0;i<_127.length;i++){if(_127[i]==".."){_128.pop();}else{if(_127[i]!="."){_127=_127.slice(i);break;}}}WebSquare.baseURI="file://"+_128.join("/")+"/"+_127.join("/");}}else{if(location.pathname.indexOf("\\")>-1){var _127=WebSquare.baseURI.split("\\");if(_127.length>0&&(_127[0]==".."||_127[0]==".")){var _128=location.pathname.split("\\");_128.pop();for(var i=0;i<_127.length;i++){if(_127[i]==".."){_128.pop();}else{if(_127[i]!="."){_127=_127.slice(i);break;}}}WebSquare.baseURI=_128.join("\\")+"\\"+_127.join("\\");}}}}}if(_1e.baseServletURI){WebSquare.baseServletURI=_1e.baseServletURI;}else{if(WebSquare.hybridApp==true){WebSquare.baseServletURI="";}else{WebSquare.baseServletURI=WebSquare.baseURI;}}}else{WebSquare.baseURI=_1e.baseURI;if(_1e.baseServletURI){WebSquare.baseServletURI=_1e.baseServletURI;}else{WebSquare.baseServletURI=WebSquare.baseURI;}for(var i=0;i<(doc.getElementsByTagName("script")).length;i++){var _125=(doc.getElementsByTagName("script"))[i].src;if(_125.indexOf("HybridPluginAll")>-1||_125.indexOf("bootloader.js")>-1||_125.indexOf("javascript.wq?q=/bootloader")>-1||_125.indexOf("javascriptPluginAll.wq?q=/bootloader")>-1){WebSquare.buildID=WebSquare.BootLoader.getParameter(_125,"build",WebSquare.buildID);break;}}}WebSquare.buildID=WebSquare.BootLoader.getParameter(location.search,"build",WebSquare.buildID);}catch(e){WebSquare.BootLoader.printStackTrace(e,"Initialize baseURI");}var _129=(_1e.useNativeParser&&WebSquare.BootLoader.browserCheck.ieAllVersion&&WebSquare.BootLoader.browserVersion()>=9);if(WebSquare.BootLoader.browserCheck.ieAllVersion&&!_129){try{if(typeof window.external=="object"&&typeof window.external.msActiveXFilteringEnabled!="undefined"&&typeof window.external.msActiveXFilteringEnabled!="unknown"&&window.external.msActiveXFilteringEnabled()==true){WebSquare.msActiveXFilteringEnabled=true;}}catch(ee){}try{if(WebSquare.msActiveXFilteringEnabled){WebSquare.BootLoader.useActiveXObject=false;}else{new ActiveXObject(WebSquare.BootLoader._XMLHTTP_PROGIDS[0]);new ActiveXObject(WebSquare.BootLoader._MSMXL_PROGIDS[0]);WebSquare.BootLoader.useActiveXObject=true;}}catch(ee){WebSquare.BootLoader.useActiveXObject=false;}}requires=WebSquare.BootLoader.requires;imports=WebSquare.BootLoader.imports;$integrity=WebSquare.BootLoader.$integrity;WebSquare.BootLoader.importCache={};WebSquare.BootLoader.imageServlet=null;WebSquare.BootLoader.imageHostUrl=null;WebSquare.BootLoader.compression=true;if(WebSquare.BootLoader.browserCheck.ie){try{doc.execCommand("BackgroundImageCache",false,true);}catch(ignored){}}try{if(1==2){var _12a="ErtOqpezr Ukptvqtzp IIWENNA Stwbreo Agp Zvydtn Vmfwnvzh";}if(!_1e.configDocument&&!_1e.configJSON){var _12b=false;try{if(_1e.configCache&&typeof window["top"]["__WebSquare__configuration__"]=="string"){var ret=parseXML(window["top"]["__WebSquare__configuration__"]);WebSquare.BootLoader.configurationInfo=ret;WebSquare.BootLoader.configurationDOM.unshift(ret);WebSquare.BootLoader.configurationJSON.unshift(WebSquare.BootLoader.XML2JSON(ret));WebSquare.BootLoader.initJSONConfig();_12b=true;}}catch(e){}if(!_12b){var http=WebSquare.BootLoader.getXMLHTTPObject();var uri=WebSquare.baseURI+"suffix.txt?postfix="+(new Date()).getTime()+Math.random()*10000;http.open("GET",uri,false);http.send(null);if(http.status>="400"){}else{WebSquare.suffix=http.responseText.wq_trim();}http=null;http=WebSquare.BootLoader.getXMLHTTPObject();uri=WebSquare.baseURI+"config.xml?postfix=";if(typeof _1e.configCacheMode=="string"){if(WebSquare.suffix&&WebSquare.suffix!=""){uri=uri+WebSquare.suffix;}else{uri=uri+WebSquare.BootLoader.generatePostfix(_1e.configCacheMode);}}else{if(WebSquare.suffix&&WebSquare.suffix!=""){uri=uri+WebSquare.suffix;}else{uri=uri+(new Date()).getTime()+Math.random()*10000;}}var _12f=false;if(typeof WebSquare.configPath==="string"&&WebSquare.configPath.indexOf("config.xml")>=0){uri=WebSquare.configPath;if(!WebSquare.isHoneyComb){uri=uri+"?postfix="+(new Date()).getTime()+Math.random()*10000;}_12f=true;}http.open("GET",uri,false);http.send(null);if(http.status>="400"){http=null;if(_12f===true){WebSquare.BootLoader.printStackTrace("config.xml \ud30c\uc77c\uc744 \uc9c0\uc815\ub41c \uacbd\ub85c\uc5d0\uc11c \ucc3e\uc744 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4. : "+uri);}}else{var _130=http.getResponseHeader("Content-Type");var _131=(_130&&_130.indexOf("xml")>-1)&&(http.responseXML);var ret=(_131)?http.responseXML:parseXML(http.responseText);WebSquare.BootLoader.configurationInfo=ret;WebSquare.BootLoader.configurationDOM.unshift(ret);WebSquare.BootLoader.configurationJSON.unshift(WebSquare.BootLoader.XML2JSON(ret));WebSquare.BootLoader.initJSONConfig();try{if(_1e.configCache){window["top"]["__WebSquare__configuration__"]=http.responseText;}}catch(e){}http=null;}}}else{if(_1e.configDocument){if(typeof _1e.configDocument=="string"){_1e.configDocument=parseXML(_1e.configDocument);}WebSquare.BootLoader.configurationInfo=_1e.configDocument;WebSquare.BootLoader.configurationDOM.unshift(_1e.configDocument);WebSquare.BootLoader.configurationJSON.unshift(WebSquare.BootLoader.XML2JSON(_1e.configDocument));WebSquare.BootLoader.initJSONConfig();}else{if(_1e.configJSON){if(_1e.configJSON.WebSquare==undefined){var _132={};_132.WebSquare={};for(var key in _1e.configJSON){_132.WebSquare[key]=_1e.configJSON[key];}_1e.configJSON=_132;}var ret=WebSquare.BootLoader.JSON2XML(_1e.configJSON);WebSquare.BootLoader.configurationInfo=ret;WebSquare.BootLoader.configurationDOM.unshift(ret);WebSquare.BootLoader.configurationJSON.unshift(_1e.configJSON);WebSquare.BootLoader.initJSONConfig();}}}try{WebSquare.BootLoader.setBaseThemeURI();if(WebSquare.baseThemeURI!=WebSquare.baseURI){var http=WebSquare.BootLoader.getXMLHTTPObject();var uri=WebSquare.baseThemeURI+"config.xml";uri=WebSquare.BootLoader.getEngineVersionPostfix(uri);http.open("GET",uri,false);http.send(null);if(http.status>="400"){http=null;}else{var _134=WebSquare.BootLoader.XML2JSON(http.responseXML);WebSquare.BootLoader.mergeJSON(WebSquare.BootLoader.configurationJSON[0],_134);var _135=WebSquare.BootLoader.JSON2XML(WebSquare.BootLoader.configurationJSON[0]);WebSquare.BootLoader.configurationInfo=_135;WebSquare.BootLoader.configurationDOM[0]=_135;}WebSquare.BootLoader.initJSONConfig();}}catch(e){WebSquare.BootLoader.printStackTrace(e,"Cannot read config.xml in theme");}if(WebSquare.hybridApp==true){if(location.protocol=="file:"&&WebSquare.baseServletURI==""){WebSquare.baseServletURI=WebSquare.BootLoader.configurationJSON[0].WebSquare.hybrid.submissionURL["#text"];if(WebSquare.baseServletURI.lastIndexOf("/")!=WebSquare.baseServletURI.length-1){WebSquare.baseServletURI=WebSquare.baseServletURI+"/";}}}}catch(e){WebSquare.BootLoader.printStackTrace(e,"Cannot read config.xml");}if(WebSquare.BootLoader.browserCheck.ieAllVersion&&!_129){var _136={"DOM":"MSXML2.DOMDocument","XHR":"MSXML2.XMLHTTP"};var _137={"DOM":"MSXML2.DOMDocument.4.0","XHR":"MSXML2.XMLHTTP.4.0"};var _138={"DOM":"MSXML2.DOMDocument.6.0","XHR":"MSXML2.XMLHTTP.6.0"};try{if(_17.location.protocol!=="file:"&&_17.XMLHttpRequest&&!!document.implementation&&!!document.implementation.createDocument&&!WebSquare.BootLoader.useActiveXObject){new ActiveXObject(_136.DOM);new ActiveXObject(_136.XHR);WebSquare.BootLoader._XMLHTTP_PROGIDS[0]=_136.XHR;WebSquare.BootLoader._MSMXL_PROGIDS[0]=_136.DOM;}else{WebSquare.BootLoader.useActiveXObject=true;try{new ActiveXObject(_138.DOM);new ActiveXObject(_138.XHR);WebSquare.BootLoader._XMLHTTP_PROGIDS[0]=_138.XHR;WebSquare.BootLoader._MSMXL_PROGIDS[0]=_138.DOM;}catch(ee1){try{new ActiveXObject(_137.DOM);new ActiveXObject(_137.XHR);WebSquare.BootLoader._XMLHTTP_PROGIDS[0]=_137.XHR;WebSquare.BootLoader._MSMXL_PROGIDS[0]=_137.DOM;}catch(ee3){new ActiveXObject(_136.DOM);new ActiveXObject(_136.XHR);WebSquare.BootLoader._XMLHTTP_PROGIDS[0]=_136.XHR;WebSquare.BootLoader._MSMXL_PROGIDS[0]=_136.DOM;}}}}catch(ee){WebSquare.BootLoader.useActiveXObject=false;if(WebSquare.msActiveXFilteringEnabled){var _139=WebSquare.BootLoader.getBrowserLanguage();if(_139=="ko"){WebSquare.BootLoader.printLog("ActiveX \ud544\ud130\ub9c1\uc774 \uc124\uc815\ub418\uc5b4 ActiveX\ub97c \uc0ac\uc6a9\ud558\ub294 \ud398\uc774\uc9c0\uc758 \uacbd\uc6b0 \uc624\ub958\uac00 \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \nAcitveX \ud544\ud130\ub9c1 \ud574\uc81c : \uba54\ub274 > \ub3c4\uad6c > ActiveX \ud544\ud130\ub9c1");}else{WebSquare.BootLoader.printLog("ActiveX Filtering is enabled. If you want to disable ActiveX Filtering, use Menu > Tools > ActiveX Filtering.");}}}if(WebSquare.BootLoader.useActiveXObject){WebSquare.BootLoader.printLog("XHR : "+WebSquare.BootLoader._XMLHTTP_PROGIDS[0]+", XMLDOM : "+WebSquare.BootLoader._MSMXL_PROGIDS[0]);}else{WebSquare.BootLoader.printLog("XHR : new XMLHttpRequest(), XMLDOM : new DOMParser()");}}if(_129){WebSquare.BootLoader.useActiveXObject=false;}var _13a=location.host.replace(/\./g,"|");WebSquare.isLocal=_13a.indexOf("127|0|0|1")>-1||location.host.indexOf("localhost")>-1;if(WebSquare.useWeinre){if(WebSquare.BootLoader.browserCheck.android||WebSquare.BootLoader.browserCheck.iphone||WebSquare.BootLoader.browserCheck.ipad||WebSquare.BootLoader.browserCheck.ipod||WebSquare.BootLoader.browserCheck.blackberry){(function(){var doc=window.document;var head=doc.getElementsByTagName("head")[0];var _13d=doc.createElement("script");_13d.type="text/javascript";_13d.src=WebSquare.weinreUrl;head.appendChild(_13d);})();}}WebSquare.engineList=[];WebSquare.remoteLogMsgArray.push("");WebSquare.remoteLogMsgArray.push(location.href);WebSquare.BootLoader.printLog("WebSquare Runtime Engine Version : "+WebSquare.version);WebSquare.BootLoader.printLog("    Copyright 2009  INSWAVE Systems Co., Ltd. All Rights Reserved.");WebSquare.BootLoader.printLog("Browser Information : "+navigator.userAgent);WebSquare.BootLoader.printLog("[STEP1][START] Loading Runtime Engine.");WebSquare.BootLoader.useWebSquareXMLParser=(new RegExp(WebSquare.userAgentPattern.XMLParser)).test(navigator.userAgent);WebSquare.BootLoader.useWebSquareXPathParser=WebSquare.userAgentPattern.XPathParser&&(new RegExp(WebSquare.userAgentPattern.XPathParser)).test(navigator.userAgent);if(WebSquare.BootLoader.useWebSquareXMLParser){WebSquare.BootLoader.printLog("Install JavaScript Implementation for XML & XPath. User Agent Pattern : "+WebSquare.userAgentPattern.XMLParser);imports("externalJS/xmlparser/xmlsax.js");imports("externalJS/xmlparser/xmlw3cdom.js");imports("externalJS/xpath/xpath.js");installXPath(new XPathParser());}else{if(WebSquare.BootLoader.useWebSquareXPathParser){try{WebSquare.BootLoader.printLog("Install XPath Implementation for not support xPath Parser.");imports("externalJS/xpath/xpath.js");installXPath(new XPathParser());}catch(e){WebSquare.BootLoader.printStackTrace(e,"xpath");}}else{if(WebSquare.BootLoader.browserCheck.ieAllVersion&&!WebSquare.BootLoader.useActiveXObject){try{if(typeof Document!="undefined"&&(typeof Document.prototype.createNSResolver=="undefined"||typeof Document.prototype.evaluate=="undefined")){WebSquare.BootLoader.printLog("Install XPath Implementation for Internet Explorer Native XML Document.");imports("externalJS/xpath/xpath.js");installXPath(new XPathParser());}else{WebSquare.BootLoader.printLog("Already have a XPath Implementation.");}}catch(e){WebSquare.BootLoader.printStackTrace(e,"xpath");}}else{if(WebSquare.BootLoader.browserCheck.android){try{if(typeof XMLDocument=="undefined"||typeof XMLDocument.prototype.createNSResolver=="undefined"||typeof XMLDocument.prototype.evaluate=="undefined"){WebSquare.BootLoader.printLog("Install XPath Implementation for Google Android.");imports("externalJS/xpath/xpath.js");installXPath(new XPathParser());}else{WebSquare.BootLoader.printLog("Already have a XPath Implementation.");}}catch(e){WebSquare.BootLoader.printStackTrace(e,"xpath");}}}}}if(typeof importAllList!="undefined"&&importAllList!=null){WebSquare.pluginList=importAllList;}else{WebSquare.pluginList=[];if(typeof _19!="undefined"&&_19){WebSquare.pluginList=WebSquare.allPlugin.split(",");}}if(typeof _19!="undefined"&&_19){if(WebSquare.BootLoader.browserCheck.ieAllVersion){WebSquare.BootLoader.engineLoadingMode.mode=WebSquare.BootLoader.engineLoadingMode.ie;}else{if(WebSquare.BootLoader.browserCheck.moz){WebSquare.BootLoader.engineLoadingMode.mode=WebSquare.BootLoader.engineLoadingMode.moz;}else{if(WebSquare.BootLoader.browserCheck.opera){WebSquare.BootLoader.engineLoadingMode.mode=WebSquare.BootLoader.engineLoadingMode.opera;}else{if(WebSquare.BootLoader.browserCheck.android){WebSquare.BootLoader.engineLoadingMode.mode=WebSquare.BootLoader.engineLoadingMode.android;}else{if(WebSquare.BootLoader.browserCheck.iphone||WebSquare.BootLoader.browserCheck.ipad||WebSquare.BootLoader.browserCheck.ipod){WebSquare.BootLoader.engineLoadingMode.mode=WebSquare.BootLoader.engineLoadingMode.iphone;}else{if(WebSquare.BootLoader.browserCheck.chrome){WebSquare.BootLoader.engineLoadingMode.mode=WebSquare.BootLoader.engineLoadingMode.chrome;}else{if(WebSquare.BootLoader.browserCheck.safari){WebSquare.BootLoader.engineLoadingMode.mode=WebSquare.BootLoader.engineLoadingMode.safari;}else{if(WebSquare.BootLoader.browserCheck.blackberry){WebSquare.BootLoader.engineLoadingMode.mode=WebSquare.BootLoader.engineLoadingMode.blackberry;}}}}}}}}try{WebSquare.engineType="";if(typeof WebSquareDefaultEngineType=="string"&&WebSquareDefaultEngineType.length==1){WebSquare.engineType="w2xType="+WebSquareDefaultEngineType+"&";}var idx=location.search.indexOf("w2xType");if(idx>=0){var _13f=parseInt(location.search.substring(idx+8),10);if(!isNaN(_13f)){WebSquare.engineType="w2xType="+_13f+"&";}}}catch(e){}if(typeof WebSquareAllInOne=="undefined"){if(WebSquare.BootLoader.engineLoadingMode.mode==0){WebSquare.BootLoader.printLog("engineLoadingMode : "+WebSquare.BootLoader.engineLoadingMode.mode+" - Download & Evaluation WebSquare Engine.[download & eval at once]");WebSquare.allPluginArr=WebSquare.allPlugin.split(",");WebSquare.BootLoader.importPluginAll();}else{if(WebSquare.BootLoader.engineLoadingMode.mode==1){WebSquare.BootLoader.printLog("engineLoadingMode : "+WebSquare.BootLoader.engineLoadingMode.mode+" - Download & Evaluation WebSquare Engine.[download 64k chunk & eval at once]");WebSquare.allPluginArr=WebSquare.allPlugin.split(",");var _140=[];var idx=0;while(true){_140.push(WebSquare.BootLoader.importChunkPlugin(idx));if(_140[_140.length-1]===""){break;}idx++;}WebSquare.BootLoader.globalEval(_140.join(""));if(!WebSquare.core){WebSquare.BootLoader.printLog("Eval error occured. Retry to separate evaluation.");WebSquare.allPluginArr=[];for(var i=0;i<WebSquare.pluginList.length;i++){if(WebSquare.pluginList[i]!=""){imports(WebSquare.pluginList[i],true);}}}}else{if(WebSquare.BootLoader.engineLoadingMode.mode==2){WebSquare.BootLoader.printLog("engineLoadingMode : "+WebSquare.BootLoader.engineLoadingMode.mode+" - Download & Evaluation WebSquare Engine.[download each file & eval at once]");var _140=[];for(var i=0;i<WebSquare.pluginList.length;i++){if(WebSquare.pluginList[i]!=""){imports(WebSquare.pluginList[i],true,_140);}}WebSquare.BootLoader.globalEval(_140.join(""));if(!WebSquare.core){WebSquare.BootLoader.printLog("Eval error occured. Retry to separate evaluation.");for(var _141=0;_141<WebSquare.pluginList.length;_141++){WebSquare.BootLoader.globalEval(_140[_141]);}}}else{WebSquare.BootLoader.printLog("engineLoadingMode : "+WebSquare.BootLoader.engineLoadingMode.mode+" - Download & Evaluation WebSquare Engine.[download & eval separately]");for(var i=0;i<WebSquare.pluginList.length;i++){if(WebSquare.pluginList[i]!=""){imports(WebSquare.pluginList[i],true);}}}}}}else{try{if(typeof WebSquareAllInOne.length!="undefined"&&WebSquareAllInOne.length>0){WebSquare.BootLoader.printLog("Loading hybrid engine");WebSquare.allPluginArr=WebSquareAllInOne;if(typeof WebSquareCoreOpt!="undefined"){var _142=false;var _143=false;try{if(typeof _17.opener!="undefined"&&_17.opener!=null&&typeof _17.opener.closed!="undefined"&&!_17.opener.closed&&typeof _17.opener.WebSquare!="undefined"&&_17.opener.WebSquare!=null){for(var i in _17.opener.WebSquare.jsString){WebSquare.jsString[i]=_17.opener.WebSquare.jsString[i];}for(var i in _17.opener.WebSquare.jsStringOpt){WebSquare.jsString[i]=_17.opener.WebSquare.jsStringOpt[i];}WebSquare.BootLoader.printLog("Load optional engine from opener window.");_143=true;if(_17.opener.WebSquare.jsStringCore.length>0){WebSquare.jsStringCore=_17.opener.WebSquare.jsStringCore;WebSquare.BootLoader.globalEval(_17.opener.WebSquare.jsStringCore);WebSquare.BootLoader.printLog("Eval core engine from opener window.");_142=true;}}else{if(_17.parent!=_17&&((WebSquare.BootLoader.browserCheck.ie&&_17.parent==_17.frameElement.ownerDocument.parentWindow)||!WebSquare.BootLoader.browserCheck.ie)&&typeof _17.parent.WebSquare!="undefined"&&_17.parent.WebSquare!=null){for(var i in _17.parent.WebSquare.jsString){WebSquare.jsString[i]=_17.parent.WebSquare.jsString[i];}for(var i in _17.parent.WebSquare.jsStringOpt){WebSquare.jsString[i]=_17.parent.WebSquare.jsStringOpt[i];}WebSquare.BootLoader.printLog("Load optional engine from parent frame.");_143=true;if(_17.parent.WebSquare.jsStringCore.length>0){WebSquare.jsStringCore=_17.parent.WebSquare.jsStringCore;WebSquare.BootLoader.globalEval(_17.parent.WebSquare.jsStringCore);WebSquare.BootLoader.printLog("Eval core engine from parent frame.");_142=true;}}}}catch(e){WebSquare.BootLoader.printStackTrace(e,"hybrid engine");}try{if(!_142){WebSquare.BootLoader.printLog("Load core engine from HybridPluginAll_core.js");doc.write("<script type=\"text/javascript\" src=\""+WebSquare.baseURI+"HybridPluginAll_core.js"+"\"></script>");}if(!_143){WebSquare.BootLoader.printLog("Load optional engine from HybridPluginAll_opt_str.js");doc.write("<script type=\"text/javascript\" src=\""+WebSquare.baseURI+"HybridPluginAll_opt_str.js"+"\"></script>");}}catch(e){WebSquare.BootLoader.printStackTrace(e,"hybrid engine");}}}else{WebSquare.BootLoader.printLog("Download & Evaluation All in one[url : javascriptPluginAll.wq?q=/bootloader]");WebSquare.allPluginArr=WebSquare.allPlugin.split(",");}}catch(e){WebSquare.allPluginArr=WebSquare.allPlugin.split(",");}}}else{imports("engine/CommonRuntime.js");imports("engine/core.js");imports("engine/exception.js");imports("engine/logger.js");imports("engine/xml.js");imports("uiplugin/control/cssManager.js");imports("engine/initializer.js");}if(WebSquare.BootLoader.engineLoadingMode.mode!=0||typeof WebSquareAllInOne!="undefined"){if(doc.title=="WebSquare"||doc.title=="NEW RENDERING"){doc.title="WebSquare ver:"+WebSquare.version;}WebSquare.BootLoader.performanceCheck.mid1=new Date();WebSquare.BootLoader.printLog("[STEP2][ENGINE] Runtime Engine Load complete. Time:"+(WebSquare.BootLoader.performanceCheck.mid1.getTime()-WebSquare.BootLoader.performanceCheck.start.getTime())+"ms");}if(WebSquare.pluginCache==="default"&&_17.applicationCache){_17.applicationCache.addEventListener("updateready",function(){WebSquare.BootLoader.printLog("[ApplicationCache] ApplicationCache updateready");_17.applicationCache.swapCache();},false);}})(window);