<!-- 
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
function writeFlash(filename,hrv){
	var flashCode = "";
	if(hrv && (filename != "")) {  // if we've detected an acceptable version
		flashCode = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '
		+ 'width="820" height="650"'
		+ 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
		+ '<param name="movie" value="'+filename+'" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />'
		+ '<param name=FlashVars value="currentPhase='+1+'" />'
		+ '<embed src="'+filename+'" quality="high" bgcolor="#ffffff" '
		+ 'FlashVars="currentPhase='+1+'" '
	    + 'width="820" height="650" name="interface" align="middle"'
		+ 'play="true"'
		+ 'loop="false"'
		+ 'quality="high"'
		+ 'allowScriptAccess="sameDomain"'
		+ 'type="application/x-shockwave-flash"'
		+ 'pluginspage="http://www.macromedia.com/go/getflashplayer">'
		+ '<\/embed>'
		+ '<\/object>';
	 } else {  // flash is too old or we can't detect the plugin
		flashCode = '<div id="getflash">'
		+ '<div style="font-size:12px;">The Fox Hollow website has several interactive elements that require the latest version<br/> of Macromedia Flash Player<br/><br/></div> '
		+ '<i>Please click the link, then follow the<br/> instructions to download the latest<br/>version of the Flash Player.</i><br/><br/>'
		+ '<a href="http://www.macromedia.com/go/getflash/"><img alt="Get Macromedia Flash Player" src="get_flash_player.gif"/></a><br/><br/><div style="font-size:11px;"><strong>To ensure proper operation:</strong> <br/><br/>1) pop-up blockers that block Flash <br/>content should be disabled.<br/><br/>2) Internet Explorer users should set <br/>security setings to "medium."</div><br/><br/>Or, <a href="noflash/">click here to view our static page</a> <br/><br/><a href="mailto:support@fox-hollow-homes.com">support@fox-hollow-homes.com</a><br/><br/></div>';
	 }
	 return flashCode;
}
// -->
