// JavaScript Document

function showFlash(idDiv,nFlash, width, height, trans)
{ 
	var scFlash  = "<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 + "\" > " ;
		scFlash += "<param name=\"movie\" value=\"" + nFlash + "\">" ;
		scFlash += "<param name=\"quality\" value=\"high\">" ;

		if (trans == true) {
			scFlash += "<param name=\"wmode\" value=\"transparent\">";
		}

		scFlash += "<embed src=\""+ nFlash + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" + width + "\" height=\"" + height + "\"><\/ embed>" ;
		scFlash += "<\/ object>" ;
	
	document.getElementById( idDiv ).innerHTML = scFlash; 
	//document.write(scFlash);
}