//Àü¿ªº¯¼ö var paramFlashVarsLogin = ""; var paramFlashVarsMypage = ""; var paramFlashVarsCustomer = ""; var paramFlashVarsMember = ""; var paramFlashVarsFind = ""; var paramFlashVarsChk = ""; var from_code1 = ""; var site_const = ""; var loginX = ""; var loginY = ""; var loginHorizontalAlign = ""; var loginVerticalAlign = ""; var cust_id = ""; var cust_pass = ""; var strFdsUrl = ""; var strFdsMemberUrl = "http://member.kolon.com"; var strFdsLoginUrl = ""; var swfUrl_ssl =""; var strSwfUrl = ""; var siteTitle =""; /** * Ç÷¹½¬ ÆÄÀÏ¸í º¯¼ö. */ var flashLogin = "AppLogin.swf"; var flashFind = "AppFind.swf"; // var strSwfUrl = "http://203.225.255.182"; function SetCookie(cookieName,cookieValue,nDays) { document.cookie = cookieName+"="+escape(cookieValue); } //ÆäÀÌÁö swf ÅÂ±× Ã³¸® function swfTagWrite(swfId,swfUrl,swfWidth,swfHeight,swfWmode,swfFlashVars){ document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); // document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); } // swf¿¡¼­ È£Ãâ Àü¿ªº¯¼ö¿¡ ÀúÀåµÈ ÆÄ¶ó¹ÌÅÍ Àü´Þ function getFlexParams() { var rtnObj = new Object(); rtnObj = { paramFlashVarsLogin : paramFlashVarsLogin, paramFlashVarsMypage : paramFlashVarsMypage, paramFlashVarsCustomer : paramFlashVarsCustomer, paramFlashVarsMember : paramFlashVarsMember, paramFlashVarsFind : paramFlashVarsFind, from_code1 : from_code1, site_const : site_const, loginX : loginX, loginY : loginY, loginHorizontalAlign : loginHorizontalAlign, loginVerticalAlign : loginVerticalAlign, cust_id : cust_id, cust_pass : cust_pass, strFdsUrl : strFdsUrl, strFdsMemberUrl : strFdsMemberUrl, strFdsLoginUrl : strFdsLoginUrl, secuId : secuId }; return rtnObj; } function setFlexParams(paramName,paramValue){ //alert(document[paramName]); document[paramName] = paramValue; } //alert show function alertShow(param){ alert(param); } //eval Execute function evalExec(val){ eval(val); } //eval Execute Return Value function evalExecReturn(val){ return eval(val); } //°í°´¼¾ÅÍ Ã¢ ¿­±â function openCustomerLayer(flval){ closeMypageLayer(); setHash(setAddHash(flval,"app","customer")); layerCustomerFlex.style.width = "100%"; AppCustomer.style.width = "960"; if(AppCustomer.movie != strSwfUrl + "/flex/AppCustomerBrand.swf"){ document.getElementById('AppCustomer').movie = strSwfUrl + "/flex/AppCustomerBrand.swf"; }else{ AppCustomer.showCustomerFlex(); } lockScroll(); } function closeCustomerLayer(){ layerCustomerFlex.style.width = "0"; AppCustomer.style.width = "0"; releaseScroll(); } //¸¶ÀÌÆäÀÌÁö â ¿­±â function openMypageLayer(flval){ closeCustomerLayer(); setHash(setAddHash(flval,"app","mypage")); paramFlashVarsMypage = flval; layerMypageFlex.style.width = "100%"; AppMypage.style.width = "960"; if(AppMypage.movie != strSwfUrl + "/flex/AppMypageBrand.swf"){ document.getElementById('AppMypage').movie = strSwfUrl + "/flex/AppMypageBrand.swf"; }else{ AppMypage.showMypageFlex(); } lockScroll(); } function closeMypageLayer(){ AppMypage.style.width = "0"; layerMypageFlex.style.width = "0"; releaseScroll(); } //·Î±×ÀΠâ ¿­±â function openLoginLayer(flval){ closeLoginLayer(); /* sslÀû¿ë½Ã º¸¾È¹®Á¦·Î ÀӽùæÆíÀ¸·Î swf¸¦ ¸Å¹ø ·ÎµùÅä·Ï º¯°æ */ if(AppLogin.movie != "/flex/none.swf"){ document.getElementById('AppLogin').movie = "/flex/none.swf"; } paramFlashVarsLogin = flval; layerLoginFlex.style.width = "100%"; AppLogin.style.width = document.body.clientWidth; AppLogin.focus(); document.getElementById('AppLogin').movie = swfUrl_ssl + flashLogin; /* if(AppLogin.movie != swfUrl_ssl + flashLogin){ document.getElementById('AppLogin').movie = swfUrl_ssl + flashLogin; }else{ AppLogin.showLoginFlex(); } */ } function closeLoginLayer(){ layerLoginFlex.style.width = "100%"; AppLogin.style.width = "0"; } //¾ÆÀ̵ð/ºñ¹øÃ£±â â ¿­±â function openFindLayer(flval){ location.href = strFdsMemberUrl + "/memberSearch/memberUserSearchMain.jsp?from_code1="+from_code1+"&site_const="+site_const; /* if(AppFind.movie != swfUrl_ssl + flashFind){ document.getElementById('AppFind').movie = swfUrl_ssl + flashFind; }else{ AppFind.showFindFlex(); } */ } function closeFindLayer(){ layerFindFlex.style.width = "100%"; AppFind.style.width = "0"; } function gotoLink(urlVal){ location.href = urlVal; } function goUrlNew(urlVal){ var newWin=window.open(urlVal,"",""); } function openWindow(url){ window.open(url, "", "width=416, height=220, scrollbars=yes, left=20, top=20"); } function openPrejoin(url,cust_id,cust_pass){ var f_name = document.f_prejoin; f_name.cust_id.value = cust_id; f_name.cust_pass.value = cust_pass; f_name.from_code1.value = from_code1; f_name.site_const.value = site_const; f_name.target = "_self"; f_name.action = url; f_name.submit(); } function pageReload(){ location.reload(); } function lockScroll() { // window.scroll(0, 0); // document.body.style.overflowY = "hidden"; } function releaseScroll() { // document.body.style.overflowY = "scroll"; } function setAddHash(curHash,hashName,hashVal){ var returnHash = ""; var changeOk = ""; if(curHash != ""){ var arrCurHash = curHash.split("&"); for(var i=0; i= 0) ? document.location.href.substr(idx+1) : ''; } /* Get the current location hash excluding the '#' symbol. */ function setHash(hash) { // It would be nice if we could use document.location.hash here, // but it's faulty sometimes. if (hash == '') hash = '#' ; document.ifrm_flex.location.href = strSwfUrl + "/flex/redirect.html?"+hash document.location.hash = hash; } /* Get the current location href */ function getHref() { // Simply return the location href return document.location.href; } function pageReloadAndChannelCheckDate(){ document.ifrm_html.location.href = "/authChannel/channelCheck.jsp"; }