function indexSwf()
{
	html = '';
	html += '<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="212" width="426" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" >';
      html += '<param name="_cx" value="11271">';
      html += '<param name="_cy" value="5609">';
      html += '<param name="FlashVars" value="11271">';
      html += '<param name="Movie" value="images/gate03.swf">';
      html += '<param name="Src" value="images/gate03.swf">';
      html += '<param name="WMode" value="Window">';
      html += '<param name="Play" value="-1">';
      html += '<param name="Loop" value="-1">';
      html += '<param name="Quality" value="High">';
      html += '<param name="SAlign" value="">';
      html += '<param name="Menu" value="-1">';
      html += '<param name="Base" value="">';
      html += '<param name="AllowScriptAccess" value="always">';
      html += '<param name="Scale" value="ShowAll">';
      html += '<param name="DeviceFont" value="0">';
      html += '<param name="EmbedMovie" value="0">';
      html += '<param name="BGColor" value="">';
      html += '<param name="SWRemote" value="">';
      html += '<embed src="images/gate03.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="426" height="212"> ';
      html += '<\/embed> <\/object>';
	document.write(html);	
}

function indexSwf2()
{
	html = '';
 	html += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="43" height="21" >';
	html += '<param name="movie" value="../../../images/template/icon1.swf">';
	html += '<param name="quality" value="high">';
	html += '<embed src="../../../images/template/icon1.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="43" height="21">';
	html += '<\/embed>';
	html += '<\/object>';
	document.write(html);	
}

function indexSwf3()
{
	html = '';
	html += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="964" height="438" >';
	html += '<param name="movie" value="/common/img/flash/map.swf">';
	html += '<param name="quality" value="high">';
	html += '<param name=wmode value=transparent>';
	html += '<embed src="/common/img/flash/map.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="964" height="438"><\/embed><\/object>';
	document.write(html);	
}

function admin()
{
	html = '';
	html += '<OBJECT CLASSID="clsid:5220cb21-c88d-11cf-b347-00aa00a28331" VIEWASTEXT ID="Object2">';
	html += '<PARAM NAME="LPKPath" VALUE="../../includes/JWEditor/JwEditor15En_HMC_AUTOEVER.lpk">';
	html += '<\/OBJECT>';
	html += '<OBJECT id="WebEdit" codeBase="../../includes/JWEditor/JwEditor15En_HMC_AUTOEVER.cab#version=1,5,0,25" classid="clsid:7BA24C33-DC42-4B8D-9F16-AC7F5BF29F75" VIEWTEXT width="599" height="381" VIEWASTEXT>';
	html += '<param name="HttpServerName" value="global.hyundai-motor.com">';
	html += '<param name="HttpPORT" value="80">';
	html += '<param name="HttpSendingCancelBut" value="true">';
	html += '<\/OBJECT>';
	document.write(html);	
}

function AdBank(src)
{
html = '';
html += '<embed src="'+src+'" loop="-1" showstatusbar="true" autostart=true>';
document.write(html);	
}

function Bottom()
{
	html = '';
	html += '<OBJECT codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" height="20" width="36" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>';
	html += '<PARAM NAME="_cx" VALUE="953">';
	html += '<PARAM NAME="_cy" VALUE="529">';
	html += '<PARAM NAME="FlashVars" VALUE="">';
	html += '<PARAM NAME="Movie" VALUE="../images/closed/flag.swf">';
	html += '<PARAM NAME="Src" VALUE="../images/closed/flag.swf">';
	html += '<PARAM NAME="WMode" VALUE="Window">';
	html += '<PARAM NAME="Play" VALUE="-1">';
	html += '<PARAM NAME="Loop" VALUE="-1">';
	html += '<PARAM NAME="Quality" VALUE="High">';
	html += '<PARAM NAME="SAlign" VALUE="">';
	html += '<PARAM NAME="Menu" VALUE="-1">';
	html += '<PARAM NAME="Base" VALUE="">';
	html += '<PARAM NAME="AllowScriptAccess" VALUE="always">';
	html += '<PARAM NAME="Scale" VALUE="ShowAll">';
	html += '<PARAM NAME="DeviceFont" VALUE="0">';
	html += '<PARAM NAME="EmbedMovie" VALUE="0">';
	html += '<PARAM NAME="BGColor" VALUE="">';
	html += '<PARAM NAME="SWRemote" VALUE="">';
	html += '<PARAM NAME="MovieData" VALUE="">';
	html += '<PARAM NAME="SeamlessTabbing" VALUE="1">';
	html += '<embed src="../images/closed/flag.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="36" height="20">';
	html += '<\/embed>';
	html += '<\/OBJECT>';
document.write(html);	
}

function swf(src, w, h)
{
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" id="param" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';	
	html += '<param name="wmode" value="transparent">';
	html += '<param name="menu" value="0">';
	html += '<embed src="'+src+'" menu="false" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+w+'"  height="'+h+'"><\/embed>';
	html += '<\/object>';
	document.write(html);
}














function swfFile(src, w, h)
{
	html = '';
	html += '<object classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715" id="player" type="application/x-oleobject" width="'+w+'" height="'+h+'" standby="Loading Microsoft Windows Media Player components...">';
	html += '<param name="FileName" value="'+src+'">';																		
	html += '<param name="DisplaySize" value="4">';
	html += '<param name="EnableFullScreenControls" value="0">';
	html += '<param name="ShowControls" value="1">';
	html += '<param name="ShowTracker" value="1">';
	html += '<param name="ShowAudioControls" value="1">';
	html += '<param name="ShowStatusBar" value="1">';
	html += '<param name="ShowDisplay" value="0">';
	html += '<param name="ShowCaptioning" value="0">';
	html += '<param name="ShowPositionControls" value="0">';
	html += '<param name="SetCurrentEntry" value="1">';
	html += '<param name="ClickToPlay" value="0">';
	html += '<param name="AutoSize" value="0">';
	html += '<param name="AutoStart" value="0">';
	html += '<param name="EnableContextMenu" value="0">';
	html += '<param name="volume" value="50%">';
	html += '<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/" name="player" src="'+src+'">';
	html += '</object>';
	document.write(html);
}