

//¸ÞÀÎ
function main_show(){
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/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_Engligh.swf' /><param name='quality' value='high' /><param name='wmode' value='transparent' /><param name='bgcolor' value='#ffffff' /><embed src='../swf/mainTop_Navi_Engligh.swf' 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>");
}

//flash (sub visual / sub menu)
function flash_contents(file,width,height){
document.writeln("<OBJECT classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.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>");
}

//footer_main
function footer_main(img){
document.writeln("<!-- footer -->");
document.writeln("<table border='0' cellspacing='0' cellpadding='0' width='880' style='margin:50px 0 0 20px'>");
document.writeln("<tr><td colspan='3'><img src='../images/common/footer_00.gif'></td></tr>");
document.writeln("<tr valign='top'>");
document.writeln("<td width='0'  height='53' bgcolor='#BFBFBF'></td>");
document.writeln("<td width='878'>");
document.writeln("<table border='0' cellspacing='0' cellpadding='0'>");
document.writeln("<tr valign='top'>				");
document.writeln("<td><img src='../images/common/footer_logo.gif' style='margin:4px 24px 0 30px'></td>");
document.writeln("<td width='106' style='padding-top:8px'>");
document.writeln("<a href='mailto:leeyk@hyundai-motor.com'><img src='../images/common/footer_01.gif'></a><br>");

document.writeln("</td>");
document.writeln("<td style='padding-top:9px'>");

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("<!-- 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("<!-- footer banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='332' height='35' 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' /><param name='bgcolor' value='#ffffff' /><embed src='/web/swf/footer_banner.swf' quality='high' bgcolor='#ffffff' width='332' height='35' 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("<tr valign='top'>");
document.writeln("<td align='right' colspan='3'>");
document.writeln("<img src='../images/common/footer_05.gif'>");
document.writeln("</td>");
document.writeln("</tr>");

document.writeln("</table>");
document.writeln("</td>");
document.writeln("<td width='1' bgcolor='#BFBFBF'></td>");
document.writeln("</tr>");
document.writeln("</table>");
document.writeln("<!-- footer //-->");
}

//footer
function footer(img){
document.writeln("<!-- footer -->");
document.writeln("<table border='0' cellspacing='0' cellpadding='0' width='880' style='margin:50px 0 0 20px'>");
document.writeln("<tr><td colspan='3'><img src='../images/common/footer_00.gif'></td></tr>");
document.writeln("<tr valign='top'>");
document.writeln("<td width='0'  height='53' bgcolor='#BFBFBF'></td>");
document.writeln("<td width='878'>");
document.writeln("<table border='0' cellspacing='0' cellpadding='0'>");
document.writeln("<tr valign='top'>				");
document.writeln("<td><img src='../images/common/footer_logo.gif' style='margin:4px 24px 0 30px'></td>");
document.writeln("<td width='106' style='padding-top:8px'>");
document.writeln("<a href='mailto:leeyk@hyundai-motor.com'><img src='../images/common/footer_01.gif'></a><br>");

document.writeln("</td>");
document.writeln("<td style='padding-top:9px'>");

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("<!-- 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("<!-- footer banner --><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='332' height='35' 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' /><param name='bgcolor' value='#ffffff' /><embed src='/web/swf/footer_banner.swf' quality='high' bgcolor='#ffffff' width='332' height='35' 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("<tr valign='top'>");
document.writeln("<td align='right' colspan='3'>");
document.writeln("<img src='../images/common/footer_05.gif'>");
document.writeln("</td>");
document.writeln("</tr>");

document.writeln("</table>");
document.writeln("</td>");
document.writeln("<td width='1' bgcolor='#BFBFBF'></td>");
document.writeln("</tr>");
document.writeln("</table>");
document.writeln("<!-- footer //-->");
}

//Main_right_quick link
function main_right_quick(dir){
document.write("<div id='quick' style='position:absolute; left:910px; top:111px; z-index: 1;'>");
document.write("<a href='/Web/Main/Main.aspx'><img src='"+dir+"images/common/child_club.gif' style='margin:0 0 5px 0'></a><br>");
document.write("<a href='javascript:open_history();'><img src='"+dir+"images/common/history_view.gif' style='margin:0px 0px 56px 0px'></a><br>");
document.write("<a href='http://www.hyundai-motor.com' target='_blank'><img src='"+dir+"images/common/rban02.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='../../web/swf/RBK.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='../../web/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>");
}

//right_quick link
function right_quick(dir){
document.write("<div id='quick' style='position:absolute; left:910px; top:121px; z-index: 1;'>");
document.write("<a href='/Web/Main/Main.aspx'><img src='"+dir+"images/common/child_club.gif' style='margin:0 0 5px 0'></a><br>");
document.write("<a href='javascript:open_history();'><img src='"+dir+"images/common/history_view.gif' style='margin:0px 0px 56px 0px'></a><br>");
document.write("<a href='http://www.hyundai-motor.com' target='_blank'><img src='"+dir+"images/common/rban02.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='../../web/swf/RBK.swf' /><param name='quality' value='high' /><param name='bgcolor' value='#ffffff' /><embed src='../../web/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='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='217' height='352' id='player' align='middle'>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='"+dir+"swf/sub_player_en.swf' /><param name='quality' value='high' /><PARAM NAME=wmode VALUE=transparent><param name='bgcolor' value='#ffffff' /><embed src='"+dir+"swf/sub_player_en.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>");
}

//swf
function swf(id,swf,width,height)
{
document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/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>");
}