function intro_swf() {
	var fsrc = '/intro.swf';
	
document.write("<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='466' height='287' id='#' align=''>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='" + fsrc + "' />");
document.write("<param name='quality' value='high' />");
document.write("<param name='wmode' value='transparent' />");
document.write("<param name='bgcolor' value='#F0F9F2' />");
document.write("<embed src='" + fsrc + "' quality='high' bgcolor='#F0F9F2' width='466' height='306' name='#' align='' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</embed>");
document.write("</object>");
}

function qhs_intro() {
	var fsrc = '/qhs_intro.swf';
	
document.write("<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='720' height='440' id='#' align=''>");
document.write("<param name='allowScriptAccess' value='sameDomain' />");
document.write("<param name='movie' value='" + fsrc + "' />");
document.write("<param name='quality' value='high' />");
document.write("<param name='wmode' value='transparent' />");
document.write("<param name='bgcolor' value='#F0F9F2' />");
document.write("<embed src='" + fsrc + "' quality='high' bgcolor='#F0F9F2' width='720' height='440' name='#' align='' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.write("</embed>");
document.write("</object>");
}



function top2_swf() {	
document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width=667 height=412  id='global_navigation' align='middle'>");
document.writeln("<param name='allowScriptAccess' value='sameDomain' >");
document.writeln("<param name='movie' value='/KOR/inc/flash/main_1124.swf?flash_URL=/KOR/inc/flash/&flash_xml=/KOR/inc/flash/top_url.xml'>");
document.writeln("<param name='quality' value='high' >");
document.writeln("<param name='bgcolor' value='#ffffff' >");
document.writeln("<embed src='/KOR/inc/flash/main_1124.swf?flash_URL=/KOR/inc/flash/&flash_xml=/KOR/inc/flash/top_url.xml' quality='high' bgcolor='#ffffff' width=667 height=412 name='global_navigation' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
document.writeln("</object>");
}

function top_swf() {
	document.writeln("<table border='0' cellpadding='0' cellspacing='0' width='100%'>");
	document.writeln("<tr><td>");
	document.writeln("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width=667 height=235 id='global_navigation' align='middle'>");
	document.writeln("<param name='allowScriptAccess' value='sameDomain' >");
	document.writeln("<param name='movie' value='/KOR/inc/flash/Top_navi.swf?flash_URL=/KOR/inc/flash/sub_visual/&flash_xml=/KOR/inc/flash/top_url.xml&OneDepth="+OneDepth+"&TwoDepth="+TwoDepth+"'>");
	document.writeln("<param name='quality' value='high' >");
	document.writeln("<param name='bgcolor' value='#ffffff' >");
	document.writeln("<embed src='/KOR/inc/flash/Top_navi.swf?flash_URL=sub_visual/&flash_xml=/KOR/inc/flash/top_url.xml&OneDepth="+OneDepth+"&TwoDepth="+TwoDepth+"' quality='high' bgcolor='#ffffff' width=667 height=235 name='global_navigation' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />");
	document.writeln("</object>");
	document.writeln("</td></tr>");
	document.writeln("</table>");
	document.writeln("</td>");
	document.writeln("<td valign='top' background='/KOR/img/common/top_bg0"+OneDepth+".gif'>");
}

function m_player(type) {
document.write("<object classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715' type='application/x-oleobject' standby='Loading Microsoft Windows Media Player components...' id='MediaPlayer'>");
 if (type==1) {
	document.write("<param name='Filename' value='http://www.qingdaohyundai.com/KOR/news/AVSEQ01.wmv' />");
 }
 else if (type==3) {
	document.write("<param name='Filename' value='http://www.qingdaohyundai.com/KOR/news/MVI_2571-1.wmv' />");
 } 
 else if (type==4) {
	document.write("<param name='Filename' value='http://www.qingdaohyundai.com/KOR/news/QHS_20080108.wmv' />");
 } 
 else if (type==5) {
	document.write("<param name='Filename' value='http://www.qingdaohyundai.com/KOR/uploadfile/303_20111021.wmv' />");
 } 
 else if (type==6) {
	document.write("<param name='Filename' value='http://www.qingdaohyundai.com/KOR/uploadfile/307_20111025.wmv' />");
 } 
 else if (type==7) {
	document.write("<param name='Filename' value='http://www.qingdaohyundai.com/KOR/uploadfile/308_20111220.wmv' />");
 } 
 else {
	document.write("<param name='Filename' value='http://www.qingdaohyundai.com/KOR/news/AVSEQ02.wmv' />");
 }
document.write("</object>");
}
