function fm(src, id, w, h, t, m) { 
 var s = '';
 var s_id = '';
 var s_t = '';
 (id == "") ? s_id="swf" : s_id = id;
 (t == "Y") ? s_t = '<param name="wmode" value="transparent">' : s_t='';
 (t == "Y") ? s_t2 = ' wmode="transparent"' : s_t2='';
 (m == "Y") ? m = 'true' : m = 'false';

 s += '<object type="application/x-shockwave-flash" ';
 s += 'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ';
 s += 'codebase="http://fpdownload.macromedia.com/';
 s += 'pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"';
 s += 'id="'+s_id+'" width="'+w+'" height="'+h+'">';

 s += '<param name="movie" value="'+src+'">';
 s += '<param name="quality" value="high">'; 
 s += s_t;
 s += '<param name="menu" value="'+m+'">';
 s += '<param name="swliveconnect" value="true">';

 s += '<embed src="'+src+'" quality="high" menu="'+m+'" ';
 s += 'width="'+w+'" height="'+h+'" swliveconnect="true" ';
 s += 'id="'+s_id+'" name="'+s_id+'" type="application/x-shockwave-flash" ';
 s += 'pluginspage="http://www.macromedia.com/go/getflashplayer"'+s_t2+'><\/embed>';

 s += '<\/object>';
 document.write(s);
}

function displayFlash(url,width,height)
{
	document.write("<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='" + width + "' height='" + height + "'>");
	document.write("<param name='wmode' value='transparent'>");
	document.write("<param name='movie' value='" + url + "'>");
	document.write("<param name='quality' value='high'>");
	document.write("<embed src='" + url + "' quality='high' wmode='transparent' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' width='" + width + "' height='" + height + "'></embed></object>");
}
