
function smsmsg(){
	alert("SMS½ÅÃ»À» ¿øÇÏ½Ã¸é È¸¿øÁ¤º¸¿¡¼­ SMS¼ö½ÅÇã¶ô ÇÏ½Ã°Å³ª º¯°æÇÏ½Ã¸é µË´Ï´Ù.");
	document.location.href="/Web/Mypage/MemberEdit.aspx";
}

//¸ÞÀÎ
function main_show(yn){
var loginyn = "0";
if ( yn == "Y" ) loginyn = "1";
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='900' height='321' id='main' align='middle'>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='../swf/mainTop_Navi.swf?loginyn=" + loginyn + "' /><param name='quality' value='high' /><param name='wmode' value='transparent' /><param name='bgcolor' value='#ffffff' /><embed src='../swf/mainTop_Navi.swf?loginyn=" + loginyn + "' quality='high' wmode='transparent' bgcolor='#ffffff' width='900' height='321' name='main' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object>");
}
//¸ÞÀÎ_main bottom
function main_bottom(){
document.write("<div id='bottom' style='position:absolute; left:20px; top:213px; z-index:2;'>");
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='880' height='355' id='main_bottom' align='middle'>");
document.write("<param name='allowScriptAccess' value='always' />");
document.write("<param name='movie' value='../swf/main_slide.swf' /><param name='quality' value='high' /><param name='wmode' value='transparent' /><param name='bgcolor' value='#ffffff' /><embed src='../swf/main_slide.swf' quality='high' wmode='transparent' bgcolor='#ffffff' width='880' height='355' name='main_bottom' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object>");
document.write("</div>");
}
//¸ÞÀÎ_vod
//function main_vod(url) {
//document.write("<object id=MTVPlay width=168 height=89 classid='clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95'>");
//document.write("<param name='Filename' value='"+url+"'>");
//document.write("<param name='AutoStart' value='false'>");
//document.write("<param name='ShowControls' value='0'>");
//document.write("<param name='enablecontextmenu' value='false'>");
//document.write("<param name='TransparentAtStart' value='1'>");
//document.write("<param name='AnimationAtStart' value='0'>");
//document.write("</object>");
//}

function main_vod(url) {
document.write('<Object ID="MTVPlay" WIDTH="168" HEIGHT="89" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"  STANDBY="Loading Microsoft Windows Media Player components..." TYPE="application/x-oleobject">');
document.write('<PARAM NAME="fileName" VALUE="'+url+'">');
document.write('<param name="AutoStart" value="false">');
document.write('<param name="ShowControls" value="false">');
document.write('<param name="enablecontextmenu" value="false">');
document.write('<param name="TransparentAtStart" value="1">');
document.write('<param name="AnimationAtStart" value="0">');
document.write('</object>');
}


//function main_vod(url) {
//document.write('<table border="0" cellspacing="0" cellpadding="0" align="center">');
//document.write('<tr>');
//document.write('<td style="background:url(../images/main/vod.gif) no-repeat left top">');
//document.write('<Object ID="MTVPlay" WIDTH="168" HEIGHT="89" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" STANDBY="Loading Microsoft Windows Media Player components..." TYPE="application/x-oleobject">');
//document.write('<PARAM NAME="fileName" VALUE="'+url+'">');
//document.write('<param name="AutoStart" value="false">');
//document.write('<param name="ShowControls" value="false">');
//document.write('<param name="enablecontextmenu" value="false">');
//document.write('<param name="TransparentAtStart" value="1">');
//document.write('<param name="AnimationAtStart" value="0">');
//document.write('</object>');
//document.write('</td>');
//document.write('</tr>');
//document.write('</table>');
//}
				

//flash (sub visual / sub menu)
function flash_contents(file,width,height){
var loginyn = "0";
if ( getCookie("LoginYN") == "Y" ) loginyn = "1";
file = file + "&loginyn=" + loginyn;
document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='/web/inc/inc/swflash.cab#version=7,0,19,0swflash.cab#version=6,0,0,0' WIDTH='"+width+"' HEIGHT='"+height+"' id='subTop' ALIGN=''>");
document.writeln("<PARAM NAME=movie value='"+file+"'/>");
document.writeln("<PARAM NAME=quality VALUE=high>");
document.writeln("<PARAM NAME=bgcolor VALUE=#FFFFFF>");
document.writeln("<PARAM NAME=wmode VALUE=transparent> ");
document.writeln("<embed src='"+file+"' quality='high' bgcolor='#FFFFFF' width='"+width+"' height='"+height+"' name='subTop' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</OBJECT>");
}
function swf(swf,width,height)
{
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='/web/inc/inc/swflash.cab#version=7,0,19,0' width='"+width+"' height='"+height+"'>");
document.write("<param name='movie' value='"+swf+"' /><param name='quality' value='high' /><embed src='"+swf+"' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' quality='high'  width='"+width+"' height='"+height+"'/>");
document.write("</object>");
}
//footer
function footer(img,swf){
document.writeln("<table border='0' cellspacing='0' cellpadding='0' width='880' style='margin:50px 0px 0px 20px'>");
document.writeln("<tr><td colspan='3'><img src='"+img+"/common/footer_00.gif' style='margin:4px 0px 0px 0px'></td></tr>");
document.writeln("<tr valign='top'>");
document.writeln("<td width='1'  height='45' bgcolor='#BFBFBF'></td>");
document.writeln("<td width='878' >");
document.writeln("<table border='0' cellspacing='0' cellpadding='0'>");
document.writeln("<tr>");
document.writeln("<td rowspan='4'><img src='"+img+"/common/footer_logo.gif' style='margin:0px 8px 0px 8px'></td>");
document.writeln("</tr>");
document.writeln("<tr>");
document.writeln("<td height='15' align='left' style='padding-left:6px'><a href='javascript:openwin_Privacy();'><img src='"+img+"/common/footer_01.gif' border='0'></a><a href='javascript:openwin_UseRule();'><img src='"+img+"/common/footer_02.gif' border='0'></a></td>");
document.writeln("<td rowspan='2'>");
document.writeln("<table border='0' cellspacing='0' cellpadding='0'>");
document.writeln("<tr>");
document.writeln("<td width='5'></td>");
document.writeln("<td style='padding-left:15px'>");
document.writeln("<!-- footer banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='95' height='25' id='footer_banner' align='middle'>");
document.writeln("<param name='allowScriptAccess' value='sameDomain' />");
document.writeln("<param name='movie' value='/web/swf/motion.swf' /><param name='quality' value='high' /><embed src='/web/swf/motion.swf' quality='high' bgcolor='#ffffff' width='95' height='25' name='footer_banner' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</object>");	
document.writeln("</td>");
document.writeln("<td width='4'></td>");
document.writeln("<td>");
document.writeln("<!-- footer banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='112' height='25' id='footer_banner' align='middle'>");
document.writeln("<param name='allowScriptAccess' value='sameDomain' />");
document.writeln("<param name='movie' value='/web/swf/motion_rek.swf' /><param name='quality' value='high' /><embed src='/web/swf/motion_rek.swf' quality='high' bgcolor='#ffffff' width='112' height='25' name='footer_banner' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</object>");	
document.writeln("</td>");
document.writeln("<td width='4'></td>");
document.writeln("<td>");
document.writeln("<!-- footer banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='321' height='25' id='footer_banner' align='middle'>");
document.writeln("<param name='allowScriptAccess' value='sameDomain' />");
document.writeln("<param name='movie' value='/web/swf/footer_banner.swf' /><param name='quality' value='high' /><embed src='/web/swf/footer_banner.swf' quality='high' bgcolor='#ffffff' width='321' height='25' name='footer_banner' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</object>");	
document.writeln("</td>");
document.writeln("</tr>");
document.writeln("</table>");						
document.writeln("</td>");
document.writeln("</tr>");
document.writeln("<tr><td height='13'><a href='mailto:leeyk@hyundai-motor.com'><img src='"+img+"/common/footer_03.gif' border='0'></a><a href='/web/Custom/QnAList.aspx'><img src='"+img+"/common/footer_04.gif' border='0'></a><a href='/web/linksite/linksite.html'><img src='"+img+"/common/footer_07.gif'></a></td></tr>");
document.writeln("<tr><td height='12' colspan='2'><img src='"+img+"/common/footer_05.gif' align='absmiddle' style='margin-top:3px'>&nbsp;&nbsp;<img src='"+img+"/common/footer_06.gif' align='absmiddle' style='margin-top:3px'></td></tr>");
document.writeln("</table>");
document.writeln("</td>");
document.writeln("<td width='1' bgcolor='#BFBFBF'></td>");
document.writeln("</tr>");
document.writeln("</table>");
}

//Main_right_quick link
function main_right_quick(dir){
document.write("<div id='quick' style='position:absolute; left:910px; top:100px; z-index: 1;'>");
document.write("<!-- ÈÄ¿øÀÇÁý --><a href='http://house.hyundai-motorsfc.com/' target='blank'><img src='/web/images/common/btn_house.gif' style='margin:25px 0px 3px 0px'></a><br>");
document.write("<!-- quick link --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='80' height='240' id='quick' align='middle'>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='"+dir+"swf/quick.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='"+dir+"swf/quick.swf' quality='high' bgcolor='#ffffff' width='80' height='240' name='quick' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object><br>");
document.write("<!-- À¯¼Ò³âÅ¬·´ --><a href='/Web/Jclub/JclubMain.aspx'><img src='"+dir+"images/common/child_club.gif' style='margin:8px 0px 3px 0px'></a><br>");
document.write("<!-- ¿øÁ¤Åõ¾î½ÅÃ» --><a href='http://cafe.naver.com/jfctour' target='_blank'><img src='"+dir+"images/common/tour.gif' style='margin:0px 0px 8px 0px'></a><br>");
//document.write("<!-- ÀüºÏÇö´ë¿ª»ç°ü --><a href='javascript:open_history();'><img src='"+dir+"images/common/history_view.gif' style='margin:0px 0px 8px 0px'></a><br>");
document.write("<!-- banner02 --><a href='http://www.jbsoccer.co.kr/' target='_blank'><img src='"+dir+"images/main/jb.gif' style='margin:0px 0px 3px 0px'></a><br>");
document.write("<!-- rbk banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='80' height='50' id='rbk' align='middle'>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='../swf/RBK.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='../swf/RBK.swf' quality='high' bgcolor='#ffffff' width='80' height='50' name='quick' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object><br>");
document.write("<!-- º´¿ø¹è³Ê --><img src='"+dir+"images/common/hospital_banner.gif' style='margin:13px 0px 0px 0px'><br>");
document.write("<!-- º´¿ø¹è³Ê --><img src='"+dir+"images/common/hospital_banner2.gif' style='margin:0px 0px 3px 0px'><br>");
//document.write("<!-- ÀÓ½Ã¹è³Ê --><a href='javascript:open_history1();'><img src='"+dir+"images/common/space.gif'></a><br>");
document.write("</div>");
}

//right_quick link
function right_quick(dir){
document.write("<div id='quick' style='position:absolute; left:910px; top:105px; z-index: 1;'>");
document.write("<!-- ÈÄ¿øÀÇÁý --><a href='http://house.hyundai-motorsfc.com/' target='blank'><img src='/web/images/common/btn_house.gif' style='margin:25px 0px 3px 0px'></a><br>");
document.write("<!-- quick link --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='80' height='240' id='quick' align='middle'>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='"+dir+"swf/quick.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='"+dir+"swf/quick.swf' quality='high' bgcolor='#ffffff' width='80' height='240' name='rbk' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object><br>");
document.write("<!-- À¯¼Ò³âÅ¬·´ --><a href='/Web/Jclub/JclubMain.aspx'><img src='"+dir+"images/common/child_club.gif' style='margin:25px 0px 3px 0px'></a><br>");
document.write("<!-- ¿øÁ¤Åõ¾î½ÅÃ» --><a href='http://cafe.naver.com/jfctour' target='_blank'><img src='"+dir+"images/common/tour.gif' style='margin:0px 0px 8px 0px'></a><br>");
//document.write("<!-- ÀüºÏÇö´ë¿ª»ç°ü --><a href='javascript:open_history();'><img src='"+dir+"images/common/history_view.gif' style='margin:0px 0px 15px 0px'></a><br>");
document.write("<!-- banner02 --><a href='http://www.jbsoccer.co.kr/' target='_blank'><img src='"+dir+"images/main/jb.gif' style='margin:0px 0px 3px 0px'></a><br>");
document.write("<!-- rbk banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='80' height='50' id='rbk' align='middle'>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='"+dir+"swf/RBK.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='"+dir+"swf/RBK.swf' quality='high' bgcolor='#ffffff' width='80' height='50' name='quick' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object><br>");
document.write("</div>");
}

//player
function player(dir){
document.write("<div id='player' style='position:absolute; left:0px; top:252px; z-index: 20;'>");
document.write("<!-- quick link --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='217' height='352' id='player' align='middle'>");
document.write("<param name='allowScriptAccess' value='always' />");
document.write("<param name='movie' value='"+dir+"swf/player.swf' /><param name='quality' value='high' /><PARAM NAME=wmode VALUE=transparent><param name='bgcolor' value='#ffffff' /><embed src='"+dir+"swf/player.swf' quality='high' wmode='transparent' bgcolor='#ffffff' width='217' height='352' name='player' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object>");
document.write("</div>");
}

//scroll_top
function scroll_top(dir){
document.write("<div id='floater' style='position:absolute; left:900px; top:670px; z-index:10;'>");
document.write("<a href='#top'><img src='"+dir+"/common/top.gif'></a>");
document.write("</div>");
}

//Youth Main
function youth_swf(file,width,height){
var loginyn = "0";
if ( getCookie("LoginYN") == "Y" ) loginyn = "1";
if ( file.indexOf("?",0) > -1 )
{
	file = file + "&loginyn=" + loginyn;
}
else
{
	file = file + "?loginyn=" + loginyn;
}

document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='/web/inc/inc/swflash.cab#version=7,0,19,0' width='"+width+"' height='"+height+"'>");
document.write("<param name='allowScriptAccess' value='sameDomain' >");
document.write("<param name='movie' value='"+file+"'>");
document.write("<param name='quality' value='high'><param name='wmode' value='transparent' />");
document.write("<embed src='"+file+"' quality='high' wmode='transparent'  pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='"+width+"' height='"+height+"'></embed>");
document.write("</object>");
}
//Youth_quick link
function youth_quick(dir){
document.write("<div id='quick' style='position:absolute; left:910px; top:263px; z-index: 1;'>");
document.write("<!-- Ãà±¸´Ü --><a href='/Web/Main/Main.aspx'><img src='"+dir+"images/jclub/jclub_right01.gif' style='margin:0px 0px 3px 0px'></a><br>");
document.write("<!-- ¿øÁ¤Åõ¾î½ÅÃ» --><a href='http://cafe.naver.com/jfctour' target='_blank'><img src='"+dir+"images/common/tour.gif' style='margin:0px 0px 8px 0px'></a><br>");
//document.write("<!-- ÀüºÏÇö´ë¿ª»ç°ü --><a href='javascript:open_history();'><img src='"+dir+"images/common/history_view.gif' style='margin:0px 0px 15px 0px'></a><br>");
document.write("<!-- banner02 --><a href='http://www.jbsoccer.co.kr/' target='_blank'><img src='"+dir+"images/main/jb.gif' style='margin:0px 0px 3px 0px'></a><br>");
document.write("<!-- rbk banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='80' height='50' id='rbk' align='middle'>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='../swf/RBK.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='../swf/RBK.swf' quality='high' bgcolor='#ffffff' width='80' height='50' name='quick' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object><br>");
document.write("</div>");
}
//Youth_footer
function youth_footer(img){
document.writeln("<table border='0' cellspacing='0' cellpadding='0' width='880' style='margin:0px 0px 0px 20px'>");
document.writeln("<tr><td colspan='3'><img src='"+img+"/jclub/footer01.gif'></td></tr>");
document.writeln("<tr valign='top'>");
document.writeln("<td width='1'  height='45' bgcolor='#BFBFBF'></td>");
document.writeln("<td width='878' >");
document.writeln("<table border='0' cellspacing='0' cellpadding='0'>");
document.writeln("<tr>");
document.writeln("<td rowspan='4'><img src='"+img+"/common/footer_logo.gif' style='margin:0px 8px 0px 8px'></td>");
document.writeln("</tr>");
document.writeln("<tr>");
document.writeln("<td height='15' align='left' style='padding-left:6px'><a href='javascript:openwin_Privacy();'><img src='"+img+"/common/footer_01.gif' border='0'></a><a href='javascript:openwin_UseRule();'><img src='"+img+"/common/footer_02.gif' border='0'></a></td>");
document.writeln("<td rowspan='2'>");
document.writeln("<table border='0' cellspacing='0' cellpadding='0'>");
document.writeln("<tr>");
document.writeln("<td width='5'></td>");
document.writeln("<td style='padding-left:15px'>");
document.writeln("<!-- footer banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='95' height='25' id='footer_banner' align='middle'>");
document.writeln("<param name='allowScriptAccess' value='sameDomain' />");
document.writeln("<param name='movie' value='../swf/motion.swf' /><param name='quality' value='high' /><embed src='../swf/motion.swf' quality='high' bgcolor='#ffffff' width='95' height='25' name='footer_banner' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</object>");	
document.writeln("</td>");
document.writeln("<td width='4'></td>");
document.writeln("<td>");
document.writeln("<!-- footer banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='112' height='25' id='footer_banner' align='middle'>");
document.writeln("<param name='allowScriptAccess' value='sameDomain' />");
document.writeln("<param name='movie' value='../swf/motion_rek.swf' /><param name='quality' value='high' /><embed src='../swf/motion_rek.swf' quality='high' bgcolor='#ffffff' width='112' height='25' name='footer_banner' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</object>");	
document.writeln("</td>");
document.writeln("<td width='4'></td>");
document.writeln("<td>");
document.writeln("<!-- footer banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='321' height='25' id='footer_banner' align='middle'>");
document.writeln("<param name='allowScriptAccess' value='sameDomain' />");
document.writeln("<param name='movie' value='../swf/footer_banner.swf' /><param name='quality' value='high' /><embed src='../swf/footer_banner.swf' quality='high' bgcolor='#ffffff' width='321' height='25' name='footer_banner' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</object>");	
document.writeln("</td>");
document.writeln("</tr>");
document.writeln("</table>");						
document.writeln("</td>");
document.writeln("</tr>");
document.writeln("<tr><td height='13'><a href='mailto:leeyk@hyundai-motor.com'><img src='"+img+"/common/footer_03.gif' border='0'></a><a href='/web/Custom/QnAList.aspx'><img src='"+img+"/common/footer_04.gif' border='0'></a><a href='/web/linksite/linksite.html'><img src='"+img+"/common/footer_07.gif'></a></td></tr>");
document.writeln("<tr><td height='12' colspan='2'><img src='"+img+"/common/footer_05.gif' align='absmiddle' style='margin-top:3px'>&nbsp;&nbsp;<img src='"+img+"/common/footer_06.gif' align='absmiddle' style='margin-top:3px'></td></tr>");
document.writeln("</table>");
document.writeln("</td>");
document.writeln("<td width='1' bgcolor='#BFBFBF'></td>");
document.writeln("</tr>");
document.writeln("</table>");
}

//Youth_footer_sub
function youth_footer_sub(file){
var img = file+"/images";
document.writeln("<table border='0' cellspacing='0' cellpadding='0' width='880' style='margin:0px 0px 0px 20px'>");
document.writeln("<tr><td colspan='3'>");
document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='/web/inc/inc/swflash.cab#version=7,0,19,0' width='880' height='142'>");
document.write("<param name='movie' value='"+file+"/swf/Youth_bottom.swf'>");
document.write("<param name='quality' value='high'><param name='wmode' value='transparent' />");
document.write("<embed src='"+file+"/swf/Youth_bottom.swf' quality='high' wmode='transparent'  pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='880' height='142'></embed>");
document.write("</object>");
document.write("</td></tr>");
document.writeln("<tr><td colspan='3'><img src='"+img+"/jclub/footer02.gif'></td></tr>");
document.writeln("<tr valign='top'>");
document.writeln("<td width='1'  height='45' bgcolor='#BFBFBF'></td>");
document.writeln("<td width='878' >");
document.writeln("<table border='0' cellspacing='0' cellpadding='0'>");
document.writeln("<tr>");
document.writeln("<td rowspan='4'><img src='"+img+"/common/footer_logo.gif' style='margin:0px 8px 0px 8px'></td>");
document.writeln("</tr>");
document.writeln("<tr>");
document.writeln("<td height='15' align='left' style='padding-left:6px'><a href='javascript:openwin_Privacy();'><img src='"+img+"/common/footer_01.gif' border='0'></a><a href='javascript:openwin_UseRule();'><img src='"+img+"/common/footer_02.gif' border='0'></a></td>");
document.writeln("<td rowspan='2'>");
document.writeln("<table border='0' cellspacing='0' cellpadding='0'>");
document.writeln("<tr>");
document.writeln("<td width='5'></td>");
document.writeln("<td style='padding-left:15px'>");
document.writeln("<!-- footer banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='95' height='25' id='footer_banner' align='middle'>");
document.writeln("<param name='allowScriptAccess' value='sameDomain' />");
document.writeln("<param name='movie' value='"+file+"/swf/motion.swf' /><param name='quality' value='high' /><embed src='"+file+"/swf/motion.swf' quality='high' bgcolor='#ffffff' width='95' height='25' name='footer_banner' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</object>");	
document.writeln("</td>");
document.writeln("<td width='4'></td>");
document.writeln("<td>");
document.writeln("<!-- footer banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='112' height='25' id='footer_banner' align='middle'>");
document.writeln("<param name='allowScriptAccess' value='sameDomain' />");
document.writeln("<param name='movie' value='"+file+"/swf/motion_rek.swf' /><param name='quality' value='high' /><embed src='"+file+"/swf/motion_rek.swf' quality='high' bgcolor='#ffffff' width='112' height='25' name='footer_banner' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</object>");	
document.writeln("</td>");
document.writeln("<td width='4'></td>");
document.writeln("<td>");
document.writeln("<!-- footer banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='321' height='25' id='footer_banner' align='middle'>");
document.writeln("<param name='allowScriptAccess' value='sameDomain' />");
document.writeln("<param name='movie' value='"+file+"/swf/footer_banner.swf' /><param name='quality' value='high' /><embed src='"+file+"/swf/footer_banner.swf' quality='high' bgcolor='#ffffff' width='321' height='25' name='footer_banner' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</object>");	
document.writeln("</td>");
document.writeln("</tr>");
document.writeln("</table>");						
document.writeln("</td>");
document.writeln("</tr>");
document.writeln("<tr><td height='13'><a href='mailto:leeyk@hyundai-motor.com'><img src='"+img+"/common/footer_03.gif' border='0'></a><a href='/web/Custom/QnAList.aspx'><img src='"+img+"/common/footer_04.gif' border='0'></a><a href='/web/linksite/linksite.html'><img src='"+img+"/common/footer_07.gif'></a></td></tr>");
document.writeln("<tr><td height='12' colspan='2'><img src='"+img+"/common/footer_05.gif' align='absmiddle' style='margin-top:3px'>&nbsp;&nbsp;<img src='"+img+"/common/footer_06.gif' align='absmiddle' style='margin-top:3px'></td></tr>");
document.writeln("</table>");
document.writeln("</td>");
document.writeln("<td width='1' bgcolor='#BFBFBF'></td>");
document.writeln("</tr>");
document.writeln("</table>");

}

//swf
function swf(id,swf,width,height)
{
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='"+width+"' height='"+height+"' id='"+id+"' align='middle'>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='"+swf+"' /><param name='quality' value='high' /><param name='wmode' value='transparent' /><param name='bgcolor' value='#FFFFFF' /><embed src='"+swf+"' quality='high' wmode='transparent' width='"+width+"' height='"+height+"' name='"+id+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object>");
}

//swf no bgcolor
function swf_nobgcolor(id,swf,width,height)
{
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='/web/inc/inc/swflash.cab#version=8,0,0,0' width='"+width+"' height='"+height+"' id='"+id+"' align='middle'>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='"+swf+"' /><param name='quality' value='high' /><embed src='"+swf+"' quality='high' wmode='transparent' width='"+width+"' height='"+height+"' name='"+id+"' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</object>");
}



 /**
  * ÄíÅ°°ª ÃßÃâ
  * @param cookieName ÄíÅ°¸í
  */

 function getCookie( cookieName )
 {
  var search = cookieName + "=";
  var cookie = document.cookie;

  // ÇöÀç ÄíÅ°°¡ Á¸ÀçÇÒ °æ¿ì
  if( cookie.length > 0 )
  {
   // ÇØ´ç ÄíÅ°¸íÀÌ Á¸ÀçÇÏ´ÂÁö °Ë»öÇÑ ÈÄ Á¸ÀçÇÏ¸é À§Ä¡¸¦ ¸®ÅÏ.
   startIndex = cookie.indexOf( cookieName );

   // ¸¸¾à Á¸ÀçÇÑ´Ù¸é
   if( startIndex != -1 )
   {
    // °ªÀ» ¾ò¾î³»±â À§ÇØ ½ÃÀÛ ÀÎµ¦½º Á¶Àý
    startIndex += cookieName.length;

    // °ªÀ» ¾ò¾î³»±â À§ÇØ Á¾·á ÀÎµ¦½º ÃßÃâ
    endIndex = cookie.indexOf( ";", startIndex );

    // ¸¸¾à Á¾·á ÀÎµ¦½º¸¦ ¸øÃ£°Ô µÇ¸é ÄíÅ° ÀüÃ¼±æÀÌ·Î ¼³Á¤
    if( endIndex == -1) endIndex = cookie.length;

    // ÄíÅ°°ªÀ» ÃßÃâÇÏ¿© ¸®ÅÏ
    return unescape( cookie.substring( startIndex + 1, endIndex ) );
   }
   else
   {
    // ÄíÅ° ³»¿¡ ÇØ´ç ÄíÅ°°¡ Á¸ÀçÇÏÁö ¾ÊÀ» °æ¿ì
    return false;
   }
  }
  else
  {
   // ÄíÅ° ÀÚÃ¼°¡ ¾øÀ» °æ¿ì
   return false;
  }
 }
