function flashload(flsName, flsWidth, flsHeigt){
	var wirtTxt = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' ";
	wirtTxt += "codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' ";
	wirtTxt += "width="+flsWidth+" height="+flsHeigt+" id='infochurch' align='middle'>";
	wirtTxt += "<param name='movie' value="+flsName+" />";
	wirtTxt += "<param name='quality' value='high' />";
	wirtTxt += "<param name='wmode' VALUE='transparent'>";
	wirtTxt += "<embed src="+flsName+" quality='high' bgcolor='#ffffff' width="+flsWidth+" height="+flsHeigt+" name='infochurch' align='middle' ";
	wirtTxt += "allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";
	wirtTxt += "</object>";

	document.write(wirtTxt);
}

function flvload(flvName, flvWidth, flvHeigt){
	var href=encodeURIComponent (flvName.slice(0,flvName.indexOf('&')));
	var wirtTxt = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' ";
	wirtTxt += "codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' ";
	wirtTxt += "width='"+flvWidth+"' height='"+flvHeigt+"' id='infochurch' name='infochurch'>";
	wirtTxt += "<param name='movie' value='/swf/common/flv_player.swf'>";
	wirtTxt += "<param name='allowfullscreen' value='true'>";
//	wirtTxt += "<param name='allowscriptaccess' value='always'>";
	wirtTxt += "<param name='wmode' value='transparent'>";
	wirtTxt += "<param name='flashvars' value='file="+flvName+"'>";
//	wirtTxt += "<embedtype='application/x-shockwave-flash' id='infochurch' name='infochurch' src='/swf/common/flv_player.swf' width='"+flvWidth+"' ";
//	wirtTxt += "height='"+flvWidth+"' bgcolor='undefined' allowscriptaccess='always' allowfullscreen='true' wmode='transparent' ";
//	wirtTxt += "flashvars='file="+flvName+"'/>";
	wirtTxt += "<!--[if !IE]>--><object type=\"application/x-shockwave-flash\" transparent=\"yes\" data=\"/swf/common/flv_player.swf?file="+flvName+"&amp;allowfullscreen=true\" width=\""+flvWidth+"\" height=\""+flvHeigt+"\">";
	wirtTxt += "<p><a href=\"http://infochurch.net"+href+"\">[Flash Video] µ¿¿µ»óº¸±â</a></p></object><!--<![endif]-->";
	wirtTxt += "</object>";

	document.write(wirtTxt);
}

function getFLV(key,wd,ht) {

var T = "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0\" width=\""+wd+"\" height=\""+ht+"\"><param name=\"wmode\" value=\"transparent\"/><param name=\"movie\" value=\"/swf/common/flv_player.swf\"/><param name=\"flashvars\" value=\"file="+key+"\"/><!--[if !IE]> <--><object type=\"application/x-shockwave-flash\" transparent=\"yes\" data=\"/swf/common/flv_player.swf?file="+key+"&amp;autostart=false&amp;showdigits=true\" width=\""+wd+"\" height=\""+ht+"\"><p><a href=\""+key+"\">[Flash Video] "+key+"</a></p></object><!--> <![endif]--></object>";

document.write(T);

}
