//ÀÌ¸ÞÀÏ ¹«´Ü ¼öÁý °ÅºÎ ÆË¾÷
function emailPopupShow(emailId) {
    document.getElementById(emailId).style.display = "block";
    // ¸Ç¹Ø¿¡ À§Ä¡½ÃÅ°°Å³ª ÀÌ¸ÞÀÏ¹«´Ü¼öÁý°ÅºÎ ÆË¾÷ display:block ½ÃÅ°´Â jsÇÔ¼ö ¾È¿¡ ³ÖÀ» °Í
    $('#layerVeto').draggable({handle:$('#layerVetoHandle')});
}
function emailPopupHidden(emailId) {
    document.getElementById(emailId).style.display = "none";
}

//Ç²ÅÍ
function footer(IMAGE_HOME, WWW_HOME) {
    document.write("<div id=\"footerWrap\">");
    document.write("<div id=\"footerLayerWrap\">");
    document.write("<!-- ÀÌ¸ÞÀÏ ¹«´Ü ¼öÁý °ÅºÎ -->");
    document.write("<div id=\"layerVeto\" style=\"display: none; position: absolute; top: -180px; left: 210px;\">");
    document.write("<h2 id=\"layerVetoHandle\"><img src=\""+IMAGE_HOME+"/svc/09/images/common/layer/tit/tit_mail_veto.gif\" alt=\"ÀÌ¸ÞÀÏ ¹«´Ü ¼öÁý °ÅºÎ\"></h2>");
    document.write("<p>");
    document.write("º»À¥»çÀÌÆ®¿¡ °Ô½ÃµÈ ÀÌ¸ÞÀÏÁÖ¼Ò°¡ ÀüÀÚ¿ìÆí ¼öÁýÇÁ·Î±×·¥ÀÌ³ª<br> ±×¹ÛÀÇ ±â¼úÀû ÀåÄ¡¸¦ ÀÌ¿ëÇÏ¿© ");
    document.write("¹«´ÜÀ¸·Î ¼öÁýµÇ´Â°ÍÀ» °ÅºÎÇÏ¸ç,<br>ÀÌ¸¦ À§¹Ý ½Ã Á¤º¸Åë½Å¸Á ¹ý¿¡ ÀÇÇØ Çü»ç Ã³¹úµÊÀ» À¯³äÇÏ½Ã±â");
    document.write("¹Ù¶ø´Ï´Ù.<br>");
    document.write("<span>[°Ô½ÃÀÏ 2004³â 11¿ù 15ÀÏ]</span>");
    document.write("</p>");
    document.write("<a href=\"javascript: emailPopupHidden('layerVeto');\" class=\"layCloseBt\"><img src=\""+IMAGE_HOME+"/svc/09/images/common/layer/btn/btn_close_t.gif\" alt=\"´Ý±â\"></a>");
    document.write("<a href=\"javascript: emailPopupHidden('layerVeto');\" class=\"layCloseT\"><img src=\""+IMAGE_HOME+"/svc/09/images/common/layer/btn/btn_close_bt.gif\" alt=\"´Ý±â\"></a>");
    document.write("</div>");
    document.write("<!-- //ÀÌ¸ÞÀÏ ¹«´Ü ¼öÁý °ÅºÎ -->");
    document.write("<!-- FOOTER -->");
    document.write("<div id=\"footer\">");
    document.write("<h2><a href=\"http://www.melon.com/index.jsp?SUB=DL\"><img src=\""+IMAGE_HOME+"/svc/09/images/common/footer/bi.gif\" alt=\"Melon\"></a></h2>");
    document.write("<div id=\"fArea\">");
    document.write("<div>");
    document.write("<ul>");
    document.write("<li><a href=\"http://www.iloen.com/\" target=\"_blank\"><img src=\""+IMAGE_HOME+"/svc/09/images/common/footer/btn_company.gif\" alt=\"È¸»ç¼Ò°³\"></a></li>");
    document.write("<li><a href=\""+WWW_HOME+"/utility/contents/usage.jsp?SUB=DL\"><img src=\""+IMAGE_HOME+"/svc/09/images/common/footer/btn_agree.gif\" alt=\"ÀÌ¿ë¾à°ü\"></a></li>");
    document.write("<li><a href=\""+WWW_HOME+"/utility/contents/privateinfo.jsp?SUB=DL\"><img src=\""+IMAGE_HOME+"/svc/09/images/common/footer/btn_private_20100628.gif\" alt=\"°³ÀÎÁ¤º¸Ãë±Þ¹æÄ§\"></a></li>");
    document.write("<li><a href=\"http://help.melon.com/customer/mail/exMailQuestion.jsp?category_id=CATE20051123000000&SUB=DL\"><img src=\""+IMAGE_HOME+"/svc/09/images/common/footer/btn_promotion.gif\" alt=\"Á¦ÈÞ/ÇÁ·Î¸ð¼Ç¹®ÀÇ\"></a></li>");
    document.write("<li><a href=\"javascript:;\" onclick=\"show_lpop('lp_email_Disappr','ÀÌ¸ÞÀÏ ¹«´Ü ¼öÁý°ÅºÎ','375',Math.floor(Math.floor(document.body.scrollWidth/2 - 187)),400);return false;\"><img src=\""+IMAGE_HOME+"/svc/09/images/common/footer/btn_email.gif\" alt=\"ÀÌ¸ÞÀÏÁÖ¼Ò ¹«´Ü¼öÁý °ÅºÎ\"></a></li>");
    document.write("<li class=\"noBar\"><a href=\"http://faqs.melon.com/customer/index.jsp?SUB=DL\"><img src=\""+IMAGE_HOME+"/svc/09/images/common/footer/btn_customer2.gif\" alt=\"°í°´Áö¿ø\"></a></li>");
    document.write("</ul>");
    document.write("<a href=\""+WWW_HOME+"/utility/contents/windows_xpsp2.jsp?SUB=DL\" class=\"winXp\"><img src=\""+IMAGE_HOME+"/svc/09/images/common/footer/btn_win_xp_pop.gif\" alt=\"À©µµ¿ìXPÆË¾÷¹®Á¦ÇØ°á\"></a>");
    document.write("</div>");
    document.write("<p><img src=\""+IMAGE_HOME+"/svc/09/images/common/footer/p_address_20100728.gif\" alt=\"¼­¿ïÆ¯º°½Ã ¼­ÃÊ±¸ ¹æ¹èµ¿ 1026-28¹øÁö ´ëÇ¥ÀÌ»ç ½Å¿ø¼ö »ç¾÷ÀÚµî·Ï¹øÈ£ 138-81-05876 Åë½ÅÆÇ¸Å¾÷½Å°í ¼­ÃÊ 1737È£ ¹®ÀÇÀüÈ­ : ÈÞ´ëÆù ±¹¹ø¾øÀÌ 114 (SKÅÚ·¹ÄÞ ÀÌ¿ëÀÚ¿¡ ÇÑÇÔ) ¶Ç´Â 1599-0011 COPYRIGHT (c) LOEN. ALL RIGHTS RESERVED.\"></p>");
    document.write("</div>");
    <!-- 110110 ºê·£µåÆÄ¿ö ¾Úºí·½ Ãß°¡ -->
	document.write("<div class=\"firstMark\">");	
	document.write("<ul>");	
	document.write("<li><a href=\""+WWW_HOME+"/event/event_first_view.jsp?SUB=FB\"><img src=\""+IMAGE_HOME+"/svc/images/event/first/img_first_mark_20110125.jpg\" alt=\"2011´ëÇÑ¹Î±¹ ÆÛ½ºÆ®ºê·£µå´ë»ó\" /></a></li>");
	document.write("<li><a href=\""+WWW_HOME+"/event/event_kbpi_view.jsp?SUB=FB\"><img src=\""+IMAGE_HOME+"/svc/images/event/first/img_kbpi_mark_20110324.jpg\" alt=\"2011 ÇÑ±¹»ê¾÷ÀÇ ºê·£µåÆÄ¿ö 1À§\" /></a></li>");
	document.write("<li><a href=\""+WWW_HOME+"/event/event_TB_view.jsp?SUB=FB\"><img src=\""+IMAGE_HOME+"/svc/images/event/first/img_TB_mark_110107.jpg\" alt=\"2011 °¡Àå ½Å·ÚÇÏ´Â ºê·£µå´ë»ó\" /></a><li>");
	document.write("</ul>");
	document.write("</div>");
	<!-- //110110 ºê·£µåÆÄ¿ö ¾Úºí·½ Ãß°¡ -->
    document.write("</div>");
    document.write("<!-- //FOOTER -->");
    document.write("</div>");
    document.write("</div>");
    
    
    document.write("<form name=\"bbsRestrictForm\" method=\"post\" action=\"\">");
    document.write("<input type=hidden name=\"BBS_RESTRICT_TEXT\" value=\"\">");
    document.write("</form>");
    
    document.write("<!-- ·Î±×ÀÎ ¿©ºÎ ¾È³» ¿µ¿ª ½ÃÀÛ -->");
    document.write("<div id=\"lp_pop_login\" class=\"lp_bx\" style=\"display:none;\">");
    document.write("<div style=\"margin:17px 0 0 0 ;width:290px;\">");
    document.write("<iframe id=\"frmContent\" name=\"frmContent\" src=\"about:blank\" frameBorder=\"0\" width=\"290\" height=\"175\"></iframe>");
    document.write("</div>");
    document.write("</div>");
    document.write("<!-- ·Î±×ÀÎ ¿©ºÎ ¾È³» ¿µ¿ª ³¡ -->");
    
    document.write ("<!-- ¸¶ÀÌ¿¤¹üÃß°¡ ¸®½ºÆ® -->");
    document.write ("<div id=\"lp_pop_album_layer\" name=\"pop_layer\" style=\"position:absolute; left:-1000px; top:0px; display:none; z-index:944;\">");
    document.write ("<div class=\"myalbumtable\">");
    document.write ("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
    document.write ("<tr>");
    document.write ("<td align=\"center\" class=\"myalbumtb1\">");
    document.write ("<div id=\"myalbumtable_up_btn\" height=\"1\" style=\"display:none;\">");
    document.write ("<img src=\"http://image.melon.co.kr/svc/images/common/myalbum/btn_up.gif\" class=\"mgt1\" alt=\"\" style=\"cursor:pointer;\" onClick=\"moveMyAlbumList('down');\" />");
    document.write ("</div>");
    document.write ("</td>");
    document.write ("</tr>");
    document.write ("<tr>");
    document.write ("<td>");
    document.write ("<div id=\"wrap_lblist\" style=\"height:1px\">");
    document.write ("<ul class=\"lblist\" id=\"myAlbumList\" style=\"position:relative; top:0\">");
    document.write ("<li onmouseover=\"this.style.backgroundColor='F4FAD6';\" onmouseout=\"this.style.backgroundColor='#FFFFFF';\">¸¶ÀÌ¾Ù¹ü¸®½ºÆ®¸¦ °¡Á®¿É´Ï´Ù.</li>");
    document.write ("</ul>");
    document.write ("</div>");
    document.write ("</td>");
    document.write ("</tr>");
    document.write ("<tr height=\"1\">");
    document.write ("<td align=\"center\" class=\"myalbumtb2_top\">");
    document.write ("<div id=\"myalbumtable_down_btn\" height=\"1\" style=\"display:none;\">");
    document.write ("<img src=\"http://image.melon.co.kr/svc/images/common/myalbum/btn_downs.gif\"class=\"mgt2\" alt=\"\" style=\"cursor:pointer;\" onClick=\"moveMyAlbumList('up');\" />");
    document.write ("</div>");
    document.write ("</td>");
    document.write ("</tr>");
    document.write ("<tr>");
    document.write ("<td height=30 class=\"myalbumtb2_bottom\">");
    document.write ("<a href=\"#\" onclick=\"showMyalbumListInput(event.clientY, event.clientX); return false;\">¸¶ÀÌ¾Ù¹ü Ãß°¡</a>");
    document.write ("</td>");
    document.write ("</tr>");
    document.write ("</table>");
    document.write ("</div>");
    document.write ("</div>");
    document.write ("<!-- ¾Ù¹ü ´ã±â ¿Ï·á -->");
    document.write ("<div id=\"lp_pop_comple_layer\" name=\"pop_layer\" style=\"position:absolute; left:-500px; top:0px; display:none; z-index:945;\">");
    document.write ("<div class=\"myalbuminputok\">");
    document.write ("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" width=\"95%\">");
    document.write ("<tr>");
    document.write ("<td height=\"7\"></td>");
    document.write ("</tr>");
    document.write ("<tr>");
    document.write ("<td style=\"padding:5 7px\" align=\"center\">");
    document.write ("¾Ù¹ü ´ã±â°¡<br />¿Ï·áµÇ¾ú½À´Ï´Ù.");
    document.write ("</td>");
    document.write ("</tr>");
    document.write ("<tr>");
    document.write ("<td align=\"center\" height=\"24\"><a href=\"javascript:changeDisplayMyalbumlistLayer('lp_pop_comple_layer', 'none');\" class=\"close_a\"><img src=\"http://image.melon.co.kr/svc/images/common/myalbum/btn_confirm.gif\" height=\"20\" border=\"0\" alt=\"È®ÀÎ\"/></a></td>");
    document.write ("</tr>");
    document.write ("</table>");
    document.write ("</div>");
    document.write ("</div>");
    document.write ("<!-- ¾Ù¹ü ´ã±â ¿Ï·á -->");
    document.write ("<!-- ¸¶ÀÌ¿¤¹üÃß°¡ \"¸¶ÀÌ¾Ù¹ü¸í ÀÔ·Â\" -->");
    document.write ("<div id=\"lp_pop_myalbumadd_layer\" name=\"pop_layer\" style=\"position:absolute; left:-500px; top:0px; display:none; z-index:945;\">");
    document.write ("<form name=\"addMyalbumlistValue\">");
    document.write ("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"339\" class=\"lp_bx\">");
    document.write ("<tr valign=\"top\">");
    document.write ("<td class=\"top01\"></td>");
    document.write ("<td class=\"top02\" id=\"lp_pop_myalbumadd_handle\"></td>");
    document.write ("<td class=\"top03\"><a href=\"javascript:hide_lpop('lp_pop_myalbumadd_layer');\" class=\"close_a\"><img src=\"http://image.melon.co.kr/svc/images/common/myalbum/btn_close04.gif\" width=\"15\" height=\"15\" border=\"0\" alt=\"´Ý±â\"/></a></td>");
    document.write ("</tr>");
    document.write ("<tr>");
    document.write ("<td class=\"mid01\"></td>");
    document.write ("<td class=\"mid02\">");
    document.write ("<p class=\"login_cmt2\" id=\"comment\">");
    document.write ("</p>");
    document.write ("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" width=\"290\">");
    document.write ("<colgroup>");
    document.write ("<col width=\"62\"/>");
    document.write ("<col width=\"163\"/>");
    document.write ("<col>");
    document.write ("</colgroup>");
    document.write ("<tr>");
    document.write ("<th height=\"26\" align=\"left\">¸¶ÀÌ¾Ù¹ü Ãß°¡</th>");
    document.write ("</tr>");
    document.write ("<tr>");
    document.write ("<td>");
    document.write ("<div style=\"width:276px; height:56px; background:url('http://image.melon.co.kr/svc/images/common/myalbum/myalbum_inputbg.gif') 0 0 no-repeat; text-align:center; padding-top:15px\">");
    document.write ("¸¶ÀÌ¾Ù¹ü¸í <input type=\"text\" name=\"myalbumInputValue\" class=\"ip_bx\" style=\"width:110px;height:20px\" maxlength=\"40\"> (0/40Byte)");
    document.write ("</div>");
    document.write ("</td>");
    document.write ("</tr>");
    document.write ("<tr>");
    document.write ("<td height=\"30\" align=\"center\"><a href=\"javascript: addMusicListAction(document.addMyalbumlistValue.myalbumInputValue.value, document.getElementById('lp_pop_myalbumadd_layer').style.left, document.getElementById('lp_pop_myalbumadd_layer').style.top);\"><img src=\"http://image.melon.co.kr/svc/images/common/myalbum/btn_confirm.gif\" height=\"20\" border=\"0\" alt=\"È®ÀÎ\"/></a> <a href=\"javascript:changeDisplayMyalbumlistLayer('lp_pop_myalbumadd_layer', 'none')\"><img src=\"http://image.melon.co.kr/svc/images/common/myalbum/btn_cancel.gif\" height=\"20\" border=\"0\" alt=\"Ãë¼Ò\"/></a></td>");
    document.write ("</tr>");
    document.write ("</table>");
    document.write ("<div>");
    document.write ("</td>");
    document.write ("<td class=\"mid03\"></td>");
    document.write ("</tr>");
    document.write ("<tr>");
    document.write ("<td class=\"bot01\"></td>");
    document.write ("<td class=\"bot02\"></td>");
    document.write ("<td class=\"bot03\"></td>");
    document.write ("</tr>");
    document.write ("</table>");
    document.write ("</form>");
    document.write ("</div>");
    document.write ("<!-- ¸¶ÀÌ¿¤¹üÃß°¡ \"¸¶ÀÌ¾Ù¹ü¸í ÀÔ·Â\" -->");
    document.write("<!-- ÀÌ¸ÞÀÏ Áý´Ü ¼öÁý °ÅºÎ Layered Popup -->");
    document.write("<div id=\"lp_email_Disappr\" class=\"lp_bx\" style=\"display:none\">");
    document.write("<div class=\"bx_gray0201 mgt10 clearfix\"><div class=\"bx_gray0202\"><div class=\"bx_gray0203\"><div class=\"bx_gray0204\" style=\"padding:0 14px 0 14px\">");
    document.write("<p class=\"normal des_txt\" style=\"padding:10px 0 6px 0;\">");
    document.write("º» À¥»çÀÌÆ®¿¡ °Ô½ÃµÈ ÀÌ¸ÞÀÏ ÁÖ¼Ò°¡ ÀüÀÚ¿ìÆí ¼öÁýÇÁ·Î±×·¥ÀÌ³ª <br>");
    document.write("±× ¹ÛÀÇ ±â¼úÀû ÀåÄ¡¸¦ ÀÌ¿ëÇÏ¿© ¹«´ÜÀ¸·Î ¼öÁýµÇ´Â °ÍÀ» °ÅºÎÇÏ¸ç, <br>");
    document.write("ÀÌ¸¦ À§¹Ý ½Ã Á¤º¸Åë½Å¸Á ¹ý¿¡ ÀÇÇØ Çü»ç Ã³¹úµÊÀ»À¯³äÇÏ½Ã±â <br>");
    document.write("¹Ù¶ø´Ï´Ù. <strong class=\"mgl5\"> [°Ô½ÃÀÏ 2004³â 11¿ù 15ÀÏ]</strong>");
    document.write("</p>");
    document.write("</div></div></div></div>");
    document.write("<div class=\"btn_area\" style=\"margin-top:10px;\">");
    document.write("<a href=\"javascript:hide_lpop('lp_email_Disappr_layer')\"><img src=\"http://image.melon.com/svc/images/common/btn/btn_close03.gif\" width=\"71\" height=\"20\" border=\"0\" alt=\"´Ý±â\"></a>");
    document.write("</div>");
    document.write("</div>");
    document.write("<!--//lp_email_Disappr-->");
    document.write("<!-- ÀÌ¸ÞÀÏ Áý´Ü ¼öÁý °ÅºÎ Layered Popup -->");
}

