//intro.html ÇÃ·¡½Ã 
function menu_swf(src, w, h,flashvars)
{
	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="flash" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';	
	html += '<param name="allowScriptAccess" value="sameDomain">';
	html += '<param name="wmode" value="transparent">';
	html += '<param name="menu" value="false">';
	html += '<param name="scale" value="exactfit">';
	html +='<param name="FlashVars" value="'+flashvars+'">';
	html += '<embed src="'+src+'" menu="flash" allowScriptAccess="sameDomain" 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 sub_swf(src, w, h,flashvars)
{
	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="flash" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';	
	html += '<param name="allowScriptAccess" value="sameDomain">';
	html += '<param name="wmode" value="transparent">';
	html += '<param name="menu" value="false">';
	html += '<param name="scale" value="exactfit">';
	html +='<param name="FlashVars" value="'+flashvars+'">';
	html += '<embed src="'+src+'" menu="flash" allowScriptAccess="sameDomain" 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 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="flash" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';	
	html += '<param name="allowScriptAccess" value="sameDomain">';
	html += '<param name="wmode" value="transparent">';
	html += '<param name="menu" value="false">';
	html += '<param name="scale" value="exactfit">';
	html += '<embed src="'+src+'" menu="flash" allowScriptAccess="sameDomain" 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);
}

//Common\html\owners_online\bataing.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="flash" 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 movie_player(src,w,h,w1,h1)
{
	html = '';
	html +='<object id="NSPlay" name="NSPlay" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" standby="VOD FILE ·ÎµùÁß... Àá½Ã ±â´Ù·Á ÁÖ¼¼¿ä..."  type="application/x-oleobject" width="'+w1+'" height="'+h1+'" align="middle">';
    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="0">';
	html += '<param name="ShowDisplay" value="0">';
	html += '<param name="ShowCaptioning" value="0">';
	html += '<param name="ShowPositionControls" value="0">';
	html += '<param name="SetCurrentEntry" value="0">';
	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/" id="NSPlay" name="NSPlay" showpositioncontrols="0" ShowControls="TRUE" ShowStatusBar="TRUE" Autosize="TRUE" AutoStart="TRUE" showdisplay="0" showstatusbar="0" showtracker="1" loop="TRUE" width="'+w+'" height="'+h+'" AutoRewind="TRUE" AutoResize="TRUE" TransparentAtStart="TRUE" src="'+src+'" filename="'+src+'" align="middle"></embed>';
	html +='</object>';
	document.write(html);
}

function go_center_site(sel)
{
	if (sel.value != '') {
		location.target = '_top';
		top.location.href = 'bw_board.php?id='+sel.value;
	}
}

function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}
// ÀÍ½º 7 ÀÌÇÏ¿¡¼­ png Åõ¸íÇÏ°Ô ÇÏ±â
function setPng24(obj) {
    obj.width=obj.height=1;
    obj.className=obj.className.replace(/\bpng24\b/i,'');
    obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');"
    obj.src='';
    return '';
}

