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 owners_online()
{
	html = '';
	html += '<OBJECT ID="Control1" classid="clsid:BB08CBE5-CD9B-423F-ADFA-287E3CBBB16F"';
	html +='codebase="/Common/img/owners_online/hyundaimotor.cab#version=1,0,0,0" width="0" height="0" VIEWASTEXT>';
	document.write(html);
	
}
function ownersMain()
{
	html = '';
	html +='<OBJECT ID="Control1" classid="clsid:BB08CBE5-CD9B-423F-ADFA-287E3CBBB16F" codebase="/hyundaimotor.cab#version=1,0,0,0" width="0" height="0">'
	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);
}


function swfFile2(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..." VIEWASTEXT>';
	html += '<param name="FileName" value="'+src+'">';
	html += '<param name="DisplaySize" value="4">';
	html += '<param name="EnableFullScreenControls" value="0">';
	html += '<param name="ShowControls" value="0">';
	html += '<param name="ShowTracker" value="1">';
	html += '<param name="ShowAudioControls" value="0">';
	html += '<param name="ShowStatusBar" value="0">';
	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="1">';
	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);
}

function displaypro1()
{
	if (document.getElementById("showpic").style.display == "none") {
		document.getElementById("showpic").style.display = "";
		document.getElementById("shownr1").style.display = "none";
		document.getElementById("shownr2").style.display = "none";
	}
}
function displaypro2()
{
	if (document.getElementById("shownr1").style.display == "none") {
		document.getElementById("shownr1").style.display = "";
		document.getElementById("showpic").style.display = "none";
		document.getElementById("shownr2").style.display = "none";
	}
}
function displaypro3()
{
	if (document.getElementById("shownr2").style.display == "none") {
		document.getElementById("shownr2").style.display = "";
		document.getElementById("shownr1").style.display = "none";
		document.getElementById("showpic").style.display = "none";
	}
}

