function showSwf(res,w,h,cx,cy,bgcolor){

document.write('<OBJECT codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 height=' + h + ' width=' + w + ' classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000>');
document.write('<PARAM NAME="_cx" VALUE="' + cx + '">');
document.write('<PARAM NAME="_cy" VALUE="' + cy + '">');
document.write('<PARAM NAME="FlashVars" VALUE="">');
document.write('<PARAM NAME="Movie" VALUE="' + res + '">');
document.write('<PARAM NAME="Src" VALUE="' + res + '">');
document.write('<PARAM NAME="WMode" VALUE="Window">');
document.write('<PARAM NAME="Play" VALUE="0">');
document.write('<PARAM NAME="Loop" VALUE="-1">');
document.write('<PARAM NAME="Quality" VALUE="High">');
document.write('<PARAM NAME="SAlign" VALUE="">');
document.write('<PARAM NAME="Menu" VALUE="-1">');
document.write('<PARAM NAME="Base" VALUE="">');
document.write('<PARAM NAME="AllowScriptAccess" VALUE="always">');
document.write('<PARAM NAME="Scale" VALUE="ShowAll">');
document.write('<PARAM NAME="DeviceFont" VALUE="0">');
document.write('<PARAM NAME="EmbedMovie" VALUE="0">');
document.write('<PARAM NAME="BGColor" VALUE="' + bgcolor + '">');
document.write('<PARAM NAME="SWRemote" VALUE="">');
document.write('<PARAM NAME="MovieData" VALUE="">');
document.write('<PARAM NAME="SeamlessTabbing" VALUE="1">');
document.write('<EMBED src="' + res + '" quality=high bgcolor=' + bgcolor + '  WIDTH="' + w + '" HEIGHT="' + h + '" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
document.write('</OBJECT>');
}

function showMid(res,app){
	if(app == "Netscape"){
	document.write('<embed src="' + res + '" name="bgsnd" width="146" height="30" loop="false" autostart="true" mastersound>');
	} else {
	document.write('<embed src=' + res + ' width="144" height="30" repeat="false" autostart="true">');
	}
}

