function fun_flash_output(url,w,h,st,mc,wm,tw){
var outhtm;
var _ssl = 'http';
if (!location.href.indexOf('https:')){_ssl = 'https';}
if (!st) {st='';}
if (mc || mc > 0){out="onmousedown='adc(" + mc + ");'";}
wm = (!wm)?'opaque':'transparent';
outhtm = "<OBJECT  width='"+w+"' height='"+h+"' class='"+st+"' " + " id=crazd classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='" + _ssl + "://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0'>\n";
outhtm +="  <PARAM NAME=movie VALUE='"+url+"'>\n";
outhtm +="  <PARAM NAME=quality VALUE=high>\n";
outhtm +="  <PARAM NAME=wmode VALUE='"+wm+"'>\n";
outhtm +="  <EMBED quality=high width="+w+" height="+h+" NAME=crazd src='"+url+"' quality=high wmode='"+wm+"' TYPE='application/x-shockwave-flash' PLUGINSPAGE='" + _ssl + "://www.macromedia.com/go/getflashplayer' />\n";
outhtm +="</OBJECT>\n";
if (!tw){
document.write(outhtm);
}else{
return outhtm;
}
}
