// JavaScript Document

var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
	if(hasRightVersion) {  // if we've detected an acceptable version
 					document.write('<OBJECT CLASSID="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
					document.write(' CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"');
					document.write(' WIDTH="763" HEIGHT="581" ID="nav" ALIGN="left">');
					document.write(' <PARAM NAME="allowScriptAccess" VALUE="sameDomain" />');
					document.write(' <PARAM NAME="movie" VALUE="_flash/points_of_interest.swf" />');
					document.write(' <PARAM NAME="quality" VALUE="high" />');
					document.write(' <PARAM NAME="bgcolor" VALUE="#FFFFFF" />');
					document.write(' <PARAM NAME="scale" VALUE="noscale" />');
					document.write(' <PARAM NAME="salign" VALUE="lt" />');			
					document.write(' <PARAM NAME=""menu" VALUE="false" />');										
					document.write(' <EMBED SRC="_flash/points_of_interest.swf" QUALITY="high" SCALE="noscale" menu="false" bgcolor="#FFFFFF" salign="lt"'); 
					document.write('  WIDTH="763" HEIGHT="581" NAME="nav" ALIGN="left" ALLOWSCRIPTACCESS="sameDomain" ');
					document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" />');
					document.write('</EMBED>');
					document.write('</OBJECT>');
  } else {  // flash is too old or we can't detect the plugin
    var alternateContent = '<BR><BR>This content requires the Adobe Flash Player 8 or greater.'
   	+ '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
    document.write(alternateContent);  // insert non-flash content
  }
			

					
					
