") // °øÁö»çÇ× µ¥ÀÌŸ Á¤ÀÇ - Header.js ¿¡¼ »ç¿ëÇϱâ À§ÇØ ¹Ì¸® ¼±¾ð ÇØÁà¾ß ÇÔ keycontent1 = "" document.write("\") // ÀαâŰ¿öµå µ¥ÀÌŸ Á¤ÀÇ - Header.js ¿¡¼ »ç¿ëÇϱâ À§ÇØ ¹Ì¸® ¼±¾ð ÇØÁà¾ß ÇÔ hotkey_arr = "" document.write("\") // Á¢¼ÓÀÚ ¿¶÷ »óǰ ±â·Ï - ¾ÈÇÔ //*************************************************** UserItem = "" //C_IP = getCookie("C_IP") //if(member_id) document.write("\") //else if(C_IP) document.write("\") // ŰÅ×°í¸® //*************************************************** document.write("\") // Ä«Å×°í¸® function getNewID(v) { // 1_2_3_4_5 ==> 0001020030405 ·Î ¹Ù²Ù´Â ÇÔ¼ö NewID = "" v = v.replace("C_","") tempx = (v+"______").split("_") if(tempx[1-1]) NewID += ("000"+tempx[1-1]).substr(("000"+tempx[1-1]).length-4,4) if(tempx[2-1]) NewID += ("0"+tempx[2-1]).substr(("0"+tempx[2-1]).length-2,2) if(tempx[3-1]) NewID += ("00"+tempx[3-1]).substr(("00"+tempx[3-1]).length-3,3) if(tempx[4-1]) NewID += ("0"+tempx[4-1]).substr(("0"+tempx[4-1]).length-2,2) if(tempx[5-1]) NewID += ("0"+tempx[5-1]).substr(("0"+tempx[5-1]).length-2,2) return NewID } //************************************* // ¹ÙÅÁÈ¸é ¾ÆÀÌÄÜ //************************************* function CreateURLShortCut() { var res = shortcut.CreateURLShortCut(shortcut.GetDesktopDir() + '\\´ëÇѹα¹ ´ëÇ¥ °Ç´ã¡¤ÇÁ¶ó¸ðµ¨¡¤ÇÇ±Ô¾î ¼îÇθô! - °Ç´ã¼¥.url', 'http://sale.gundamshop.co.kr/batang/?YTdfl7UfTSBYjlYKAjwRqbCrN5e4rNA1sD6BWoEWOuyXZh9Af', 'C:\\gundamshop.ico', 0); } function CreateIconFromURL() { var res = shortcut.CreateIconFromURL('www.gundamshop.co.kr', 'http://gundamshop.co.kr/html/ETC/gundamshop.ico', 'C:\\gundamshop.ico'); } function shortcutGS() { try { if(document.getElementById("shortcut")==null) document.getElementById("_batang_obj_").innerHTML = '
'; else installActiveX(); } catch(e) {} } function installActiveX() { try { CreateIconFromURL(); CreateURLShortCut(); alert("¹ÙÅÁÈ¸é ¹Ù·Î°¡±â°¡ ¼³Ä¡µÇ¾ú½À´Ï´Ù."); } catch (e) { alert("ǻó»çÀ̹öÁÖ½Äȸ»ç¿¡¼ ¹èÆ÷ÇÑ °Ç´ã¼¥ ¹Ù·Î°¡±â[ActiveX ÄÁÆ®·Ñ]¸¦ ¼³Ä¡ÇØ ÁÖ¼¼¿ä."); } } //if(getCookie("member_id") != "" && getCookie("member_id") != "deleted" && getCookie("member_id") != getCookie("batang_ex")) //{ if(PC && UB.indexOf("Chrome")==-1) shortcutGS() //} //************************************* document.write("
") // Àå¹Ù±¸´Ï function LayerCart(v) { url = "http://gundamshop.co.kr/Order/GD_Basket_Pass.html?LayerCart=1&code="+v IFRAME_LayerCart.location.replace(url) } // À§½Ã¸®½ºÆ®(Âò) Zzim Wish function LayerWish(vCode,vItemCode,vSellCost,vName) { //eval("td_Cart_"+vCode).innerHTML = "
Wait.." if(!member_id) alert("·Î±×ÀÎ ÈÄ ÀÌ¿ë¹Ù¶ø´Ï´Ù.") else { url = "http://gundamshop.co.kr/member/Zzim/insertZzim.html?LayerWish=1&LayerZzim=1&ItemCode="+vItemCode+"&code="+vCode+"&sellcost"+vSellCost+"&name="+vName IFRAME_LayerCart.location.replace(url) //window.open(url,"_blank") } } // °ü¸®ÀÚ Åø //*************************************************** atool='' /* if(window != top) { if(u.indexOf(".gundamshop.co.kr")>-1 && u.indexOf("gdFront_Explan.html")==-1) { document.write("
") function check_ad(t) { if(parent.document.getElementById("adbox")) parent.check_ad(t.id) } if(parent.document.getElementById("adbox")) atool = ' oncontextmenu="check_ad(this); return false" onmouseover="this.style.border=\'solid 1px blue\'" onmouseout="this.style.border=\'\'" onmouseover2="this.style.filter=\'alpha(opacity=70, style=1, finishopacity=50)\'" onmouseout2="this.style.filter=\'\'" '; } } */ /* ³×À̹ö üũ¾Æ¿ô Àü¼Û */ function gotoNaverWish() { var fm = document.goods; var selling = fm.selling.value; var quantity = fm.quantity.value; if (selling != "0") { alert("³×À̹ö üũ¾Æ¿ôÀ¸·Î ±¸¸Å ºÒ°¡ÇÑ »óǰÀÔ´Ï´Ù."); return; } if (quantity <= "0") { alert("³×À̹ö üũ¾Æ¿ôÀ¸·Î ±¸¸Å ºÒ°¡ÇÑ »óǰÀÔ´Ï´Ù."); return; } window.open("", "winNaverWish", "width=380,height=380,no"); fm.target = "winNaverWish"; fm.action = "http://gundamshop.co.kr/Order/naverCheckout.asp?Url=naverWish.asp"; fm.method = "POST"; fm.submit(); } function gotoNaverCart() { var fm = document.goods; var selling = fm.selling.value; var quantity = fm.quantity.value; if (selling != "0") { alert("³×À̹ö üũ¾Æ¿ôÀ¸·Î ±¸¸Å ºÒ°¡ÇÑ »óǰÀÔ´Ï´Ù."); return; } if (quantity <= "0") { alert("³×À̹ö üũ¾Æ¿ôÀ¸·Î ±¸¸Å ºÒ°¡ÇÑ »óǰÀÔ´Ï´Ù."); return; } if(gdFrontCheck(fm) == true) return; fm.target = "_blank"; // "_top" fm.action = "http://gundamshop.co.kr/Order/GD_Basket_Pass.html?nc_rurl=http://gundamshop.co.kr/Order/naverCheckout.asp?Url=naverOrder.asp"; fm.method = "POST"; fm.submit(); } /* ³×À̹ö üũ¾Æ¿ô Àü¼Û */ //Ç÷¡½Ã°´Ã¼ »ðÀÔ function Display_Object(src,width,height,classid,version){ if(classid == "") classid = "D27CDB6E-AE6D-11cf-96B8-444553540000"; if(version == "") version = "8,0,0,0"; document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); document.write('
'); } //*************************************************** // ±âŸ ÇÔ¼ö //*************************************************** // °°Àº ¹®ÀÚ¿ 2ȸÀÌ»ó ¹Ýº¹ ¾ÈµÇ°Ô ÇÏ´Â ÇÔ¼ö - ȸ¿ø »óǰÆò,¸®ºä°°Àº°Å Ãâ·ÂÇÒ¶§ function check_Double(v) { new_str = "" t3 = t2 = t = "" for(ix=0; ix
4) slen++ if(v1) if(slen>=v1) return s2 + "¡¤¡¤" s2+=s1.charAt(fi_) } if(v1) return s2 else return slen } function WLen(s1,v1) { document.write(CLen(s1,v1)) } function IComma(n) { if(n<1000) return n //if(n.indexOf(",")>-1) return n ic = "" cnt = 0 n = escape(n) for(fi=n.length; fi>=0; fi--) { ic = n.charAt(fi) + ic if(cnt%3==0 && fi>0 && cnt>0) ic = "," + ic cnt++ } return ic } function get_var(v,u2) { if(!u2) u2 = location.href get_var_str = "" temp = u2.replace("?","&") if(temp.indexOf("&"+v+"=")>-1) { temp2 = temp.split("&"+v+"=") temp3 = (temp2[1]+"&").split("&") get_var_str = temp3[0] } return get_var_str } /* ¼ýÀÚ ÄÞ¸¶ */ function number_format(n){ //return Number(String(n).replace(/\..*|[^\d]/g,"")).toLocaleString().slice(0,-3); // ¸ð¹ÙÀÏ ¿À·ù³ª¼.. ¾Æ·¡°É·Î ´ëÄ¡ return IComma(n) } // ÈñÁØÃß°¡ function IComma(n) { if(n<1000) return n ic = "" cnt = 0 n = escape(n) for(fi=n.length; fi>=0; fi--) { ic = n.charAt(fi) + ic if(cnt%3==0 && fi>0 && cnt>0) ic = "," + ic cnt++ } return ic } // ÈñÁØÃß°¡ function trim(v) { return v.replace(/(^\s*)|(\s*$)/gi,""); } /* ¾ÆÀÌÇÁ·¹ÀÓ »çÀÌÁîÁ¶Á¤ */ function ResizeiFrame(iframeObj){ var innerBody = iframeObj.contentWindow.document.body; oldEvent = innerBody.onclick; innerBody.onclick = function(){ ResizeiFrame(iframeObj, 1);oldEvent; }; var innerHeight = innerBody.scrollHeight + (innerBody.offsetHeight - innerBody.clientHeight); iframeObj.style.height = innerHeight; } /* ¼ýÀÚ¸¸ ÀÔ·Â */ function SetNum(obj){ val=obj.value; re=/[^0-9\/]/gi; obj.value=val.replace(re,""); //if(parseInt(obj.value)<1||!obj.value) obj.value = 1; } function uxml(xurl) { var xmlDoc=new ActiveXObject("Microsoft.XMLDOM") xmlDoc.async="false" xmlDoc.load(xurl) var node = xmlDoc.getElementsByTagName("XList"); //window.open(xurl,"_blank") return node } /*ifram ³ôÀÌ ÀÚµ¿¸¾Ãã----*/ function parentResize() { if (parent.document.getElementById("CommentFrame") == null) return; try { var thisFrame = parent.document.getElementById("CommentFrame"); if (navigator.userAgent.indexOf("MSIE") != -1) { thisFrame.style.height = "0px"; thisFrame.style.height = (document.body.scrollHeight + 24) + "px"; } else if (navigator.userAgent.indexOf("Firefox") != -1) { thisFrame.style.height = "0px"; thisFrame.style.height = (document.body.scrollHeight + 24) + "px"; } else { thisFrame.style.height = "0px"; thisFrame.style.height = (document.documentElement.scrollHeight + 24) + "px"; } } catch (ex) { } } ItemCode = get_var("ItemCode") if(ItemCode && u.indexOf("/GD_Front01.html")>-1) { temp = u.split("/GD_Front01.html?") qs = temp[1] location.replace("/Goods/View.html?"+qs) } u = u.replace("gd_front","GD_Front") code = get_var("code") if(code && u.indexOf("/GD_Front01.html")>-1) { temp = u.split("/GD_Front01.html?") qs = temp[1] location.replace("/Goods/View.html?"+qs) } CategoryID = get_var("CategoryID") if(CategoryID && u.indexOf(".html")>-1) { temp = u.split(".html?") qs = temp[1] location.replace("/Category/Cate01.html?"+qs) } //http://www.gundamshop.co.kr/search/main.html?catNumArrStr=,,,6,,&num=6&key=%BC%BA%C0%CE%B8%B6%BF%EC%BD%BA%C6%D0%B5%E5&key2=&displaytype=reservein&sortorder=DESC&fid=3 key = get_var("key") if(u.indexOf("search/main.html")>-1) { temp = u.split(".html?") qs = temp[1] location.replace("/Search/search.html?"+qs) } if(u.indexOf("co.kr/shop/")>-1) { u = u.replace("co.kr/shop/","co.kr/Happy/shop/") location.replace(u) } //************************************************************************************************************************* // 404 ¿À·ùÀÖÀ»°æ¿ì Æ÷¿öµùÇÏ´Â °æ¿ì //************************************************************************************************************************* if(u.indexOf("html/Category/subCategory")>-1) window.open("http://www.gundamshop.co.kr/Category/Cate01.html?CategoryID=0001","_top") if(u.indexOf("favicon.ico")>-1) window.open("http://www.gundamshop.co.kr/","_top") //*************************************************************************************************************************
Á˼ÛÇÕ´Ï´Ù. ¿øÇϽô ÆäÀÌÁö¸¦ ãÀ» ¼ö°¡ ¾ø½À´Ï´Ù.
ãÀ¸½Ã·Á´Â ÆäÀÌÁöÀÇ ÁÖ¼Ò°¡ À߸ø ÀԷµǾú°Å³ª,
ÆäÀÌÁö ÁÖ¼ÒÀÇ º¯°æ ȤÀº »èÁ¦·Î ÀÎÇØ ÇöÀç »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù.
5ÃÊ ÈÄ °Ç´ã¼¥ ¸ÞÀÎÆäÀÌÁö·Î À̵¿ÇÕ´Ï´Ù.
¿ø
¿ø