// JavaScript Document 
var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
if(hasRightVersion) {  // if we've detected an acceptable version
	var oeTags = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"'
	+ 'codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="950" height="33" align="middle">'
	+ '<param name="allowScriptAccess" value="sameDomain" />'
	+ '<param name="movie" value="../swf/menu.swf" />'
	+ '<param name="wmode" value="transparent" />'
	+ '<param name="quality" value="high" />'
	+ '<embed src="../swf/menu.swf" quality="high" width="950" height="33" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
	+ '<\/object>';
	document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
	var alternateContent = '<table style="width:950px; height:33px;" cellpadding="0" cellspacing="0" border="0">'
	+ '	<tr>'
	+ '	<td style="text-align:center;"><a href="/Default.aspx"><img src="/noflash/but_home.gif" style="border:none; height:33px; width:133px;" alt="Home" /></a></td>'
	+ '	<td style="text-align:center;"><a href="/Prices.aspx"><img src="/noflash/but_prices.gif" style="border:none; height:33px; width:133px;" alt="Prices" /></a></td>'
	+ '	<td style="text-align:center;"><a href="/Memberships.aspx"><img src="/noflash/but_memberships.gif" style="border:none; height:33px; width:133px;" alt="Memberships" /></a></td>'
	+ '	<td style="text-align:center;"><a href="/Sunraysia.aspx"><img src="/noflash/but_sunraysia.gif" style="border:none; height:33px; width:133px;" alt="Golf in Sunraysia" /></a></td>'
	+ '	<td style="text-align:center;"><a href="/Shop.aspx"><img src="/noflash/but_shop.gif" style="border:none; height:33px; width:133px;" alt="Shop" /></a></td>'
	+ '	<td style="text-align:center;"><a href="/Contact.aspx"><img src="/noflash/but_contact.gif" style="border:none; height:33px; width:133px;" alt="Contact" /></a></td>'
	+ '	</tr>'
	+ '	</table>';
	document.write(alternateContent);  // insert non-flash content
  }

  

  