// object ÅÂ±× °¨Ãß±â
function getObjectMedia(obj_name, w_size, h_size) 
{
	var return_str;
	return_str = "<OBJECT id='@obj_name@' classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codeBase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'  width='@w_size@' height='@h_size@'>"
	return_str = return_str +"<PARAM NAME='enableContextMenu' VALUE='false'>"
	return_str = return_str +"<PARAM NAME='EnableTracker' VALUE=1>"
	return_str = return_str +"<PARAM NAME='ShowControls' VALUE=1>"
	return_str = return_str +"<PARAM NAME='ShowAudioControls' VALUE=1>"
	return_str = return_str +"<PARAM NAME='ShowGotoBar' VALUE=1>"
	return_str = return_str +"<PARAM NAME='ShowPositionControls' VALUE=0>"
	return_str = return_str +"<PARAM NAME='ShowStatusBar' VALUE=1>"
	return_str = return_str +"<PARAM NAME='ShowTracker' VALUE=1>"
	return_str = return_str +"</OBJECT>"

	return_str = return_str.replace(/@obj_name@/, obj_name);
	return_str = return_str.replace(/@w_size@/, w_size);
	return_str = return_str.replace(/@h_size@/, h_size);
	document.write(return_str);
}

// object ÅÂ±× °¨Ãß±â (ÄÜÆ®·Ñ ÆÇ³ÚÀÌ ¾øÀ» °æ¿ì)
function getObjectMedia_movie(obj_name, w_size, h_size) 
{
	var return_str;
	return_str = "<OBJECT id='@obj_name@' classid='CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95' codeBase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'  width='@w_size@' height='@h_size@'>"
	return_str = return_str +"<PARAM NAME='enableContextMenu' VALUE='false'>"
	return_str = return_str +"<PARAM NAME='EnableTracker' VALUE=1>"
	return_str = return_str +"<PARAM NAME='ShowControls' VALUE=0>"
	return_str = return_str +"<PARAM NAME='ShowAudioControls' VALUE=1>"
	return_str = return_str +"<PARAM NAME='ShowGotoBar' VALUE=0>"
	return_str = return_str +"<PARAM NAME='ShowPositionControls' VALUE=0>"
	return_str = return_str +"<PARAM NAME='ShowStatusBar' VALUE=1>"
	return_str = return_str +"<PARAM NAME='ShowTracker' VALUE=1>"
	return_str = return_str +"<PARAM NAME='AutoStart' VALUE=1>"
	return_str = return_str +"<param name='Mute' value=0>"
	return_str = return_str +"<param name='Volume' value=-600>"
	return_str = return_str +"</OBJECT>"

	return_str = return_str.replace(/@obj_name@/, obj_name);
	return_str = return_str.replace(/@w_size@/, w_size);
	return_str = return_str.replace(/@h_size@/, h_size);
	document.write(return_str);
}

// object ÅÂ±× °¨Ãß±â (ÄÜÆ®·Ñ ÆÇ³ÚÀÌ ¾øÀ» °æ¿ì)
function getObjectMedia_radio(obj_name, w_size, h_size, url) 
{
	var return_str;
	return_str = "<OBJECT style='display:none;' id='@obj_name@' classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' type='application/x-oleobject' VIEWASTEXT width='@w_size@' height='@h_size@'>"
	return_str = return_str +"<PARAM NAME='URL' VALUE='@url@'>"
	return_str = return_str +"</OBJECT>"

	return_str = return_str.replace(/@obj_name@/, obj_name);
	return_str = return_str.replace(/@w_size@/, w_size);
	return_str = return_str.replace(/@h_size@/, h_size);
	return_str = return_str.replace(/@url@/, url);
	document.write(return_str);
}