// Flash detect, load img if not v4, 5, 6 or 7
	
				if ((flashVersion == FLASH4) || (flashVersion == FLASH5) || (flashVersion == FLASH6) || (flashVersion == FLASH7) || (flashVersion == FLASH8) || (flashVersion == FLASH9) || (flashVersion == FLASH10)){
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="449" height="179"> \n');
	document.write('<param name="movie" value="fla/main6.swf" />\n');
    document.write(' <param name="quality" value="high" />\n');
	 document.write(' <param name="BGCOLOR" value="#003366" />\n');
	 document.write('  <embed src="fla/main6.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="449" height="179" bgcolor="#003366"> \n');
	  document.write('</embed>\n');
    document.write('</object>\n');

} else {
document.write("<img src='http://www.medical-web-designs.net/465kolmac/pics/sub.jpg' width='449' height='179' border='0' alt='Outpatient Drug Addiction Treatment and Alcohol Rehabilitation' />");
} 
				
/*put a link to this file where you want the movie/img to load. It's not needed to put a function with
additional linked js file in the head.
Put the flashdetect.js in the head is to help determine/set the version.
*/
