var xmlfile = photoGalleryXML;
if (flashinstalled == 2)
{
	if (flashversion >= 6){
		document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="345" HEIGHT="345" id="photoGallery2" ALIGN="">');
		document.write(' <PARAM NAME=movie VALUE="/media/draft2005/WNBAdraft05.swf?theUrl='+xmlfile+'"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#efe4b7> <EMBED src="/media/draft2005/WNBAdraft05.swf?theUrl='+xmlfile+'" quality=high bgcolor=#efe4b7  WIDTH="345" HEIGHT="345" NAME="photoGallery2" ALIGN="" swLiveConnect="true" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');
	}else {document.write("<br><center style=\"font-size:12px;font-family:verdana;font-weight:bold;\">You have Flash installed, but you must have the most current version.<br><a href=\"http://www.macromedia.com/support/flash/ts/documents/flashplayer_r40.htm\" target=\"_new\">Click here.</a></center>");}
}
else if (flashinstalled == 1) document.write("<br><center style=\"font-size:12px;font-family:verdana;font-weight:bold;\">You need Flash 6 to run this application.<br><a href=\"http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P5_Language=English\" target=\"_new\">Click here to download the plugin</a></center>");
else document.write("<br><center style=\"font-size:12px;font-family:verdana;font-weight:bold;\">I can't find out if you have Flash installed.<br>You need Flash 6 and above to run this application.<br><a href=\"http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P5_Language=English\" target=\"_new\">Click here to download the plugin</a></center>");
