
<!--

//º¸¾È¼­¹ö Àû¿ëÀ¯¹« °Ë»ç
var sslChk = document.URL.substring(5,4);
var getNowURLPath = "http://";
if(sslChk == "s") {
	getNowURLPath = "https://"
}

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 += "	<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://")||(sslYN = "Y")) {
	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>";
	}
*/

	str += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase= getNowURLPath + \"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, width, height){
	var str = "";
	if(width == "") width = "";
	else width = "width=\"" + width + "\"";
	if(height == "") height = "";
	else height = "height=\"" + height + "\"";
	str += "<embed src=\"" + fileUrl + "\" " + width + " " + height + " loop=\"true\" autostart=\"true\"></embed>";
	document.write(str);
}

function flashSub(url,menu,width,height) {
	var str = "";
	str += '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"';
	str += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,22,0"';
	str += 'width="'+width+'" height="'+height+'">';
	str += '<param name="movie" value="'+url+'">';
	str += '<param name="flashvars" value="'+menu+'">';
	str += '<param name="wmode" value="transparent">';
	str += '<param name="quality" value="high">';
	str += '<embed src="'+url+'" flashvars="'+menu+'"  width="'+width+'" height="'+height+'" quality="high"';
	str += 'pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"';
	str += 'type="application/x-shockwave-flash">';
	str += '</embed>';
	str += '</object>';
	document.write(str);
}

//-->
