<!--

/*
* IE ActiveX ¼³°èº¯°æ¿¡ µû¸¥ ÇÃ·¡½Ã ·Îµå
*
* @param fileUrl ÇÃ·¡½Ã ÆÄÀÏ URL
* @param width ÇÃ·¡½Ã ³Êºñ
* @param height ÇÃ·¡½Ã ³ôÀÌ
* ex) printFlash("http://www.dcx.co.kr/flash/home_btn1.swf", 120, 80)
*/
function printFlash(fileUrl, width, height){
	var str = "";
	if(width == "") width = "";
	else width = "width=\"" + width + "\"";
	if(height == "") height = "";
	else height = "height=\"" + height + "\"";

	str += "<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 + " " + height + ">";
	str += "	<param name=\"movie\" value=\"" + fileUrl + "\">";
	str += "	<param name=\"quality\" value=\"high\">";
	str += "	<param name=\"wmode\" value=\"transparent\">";
	str += "	<embed src=\"" + fileUrl + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" " + width + " " + height + ">";
	str += "	</embed> ";
	str += "</object>";
	document.write(str);
}

function printTransparentFlash(fileUrl, width, height){
	var str = "";
	if(width == "") width = "";
	else width = "width=\"" + width + "\"";
	if(height == "") height = "";
	else height = "height=\"" + height + "\"";

	// https Åë½Å½Ã (ssl)
	if (fileUrl.substring(0,8) == "https://") {
	str += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" " + width + " " + height + ">";
	str += "	<param name=\"movie\" value=\"" + fileUrl + "\">";
	str += "	<param name=\"quality\" value=\"high\">";
	str += "	<param name=\"wmode\" value=\"transparent\">";
	str += "	<embed src=\"" + fileUrl + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" " + width + " " + height + ">";
	str += "	</embed> ";
	str += "</object>";
	}

	// http Åë½Å½Ã
	else {
	str += "<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 + " " + height + ">";
	str += "	<param name=\"movie\" value=\"" + fileUrl + "\">";
	str += "	<param name=\"quality\" value=\"high\">";
	str += "	<param name=\"wmode\" value=\"transparent\">";
	str += "	<embed src=\"" + fileUrl + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" " + width + " " + height + ">";
	str += "	</embed> ";
	str += "</object>";
	}
	document.write(str);
}

function printMovie(fileUrl){
	var str = "";
	str += "<object classid=\"CLSID:981D4F13-D25B-4202-B742-3C52F3BF7651\" width=\"400\" height=\"350\">";
	str += "	<param name=\"URL\" value=\"" + fileUrl + "\">";
	str += "	<param name=\"SKIN\" value=\"http://www.rulru.com/filedata/itemmall/SK/skin_black.skn\">";
	str += "	<param name=\"STYLE\" value=\"normal_skin\">";
	str += "	<param name=\"AUTOPLAY\" value=\"on\">";
	str += "	<param name=\"SHOWPLAYLIST\" value=\"false\">";
	str += "	<param name=\"HOMEUSER\" value=\"true\">";
	str += "	<param name=\"QUALITY\" value=\"high\">";
	str += "	<param name=\"WMODE\" value=\"transparent\">";
	str += "</object>";
	document.write(str);
}

//-->

