// 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="300" height="115" align="middle">'
	+ '<param name="allowScriptAccess" value="sameDomain" />'
	+ '<param name="movie" value="top.swf" />'
	+ '<param name="wmode" value="transparent" />'
	+ '<param name="quality" value="high" />'
	+ '<embed src="top.swf" quality="high" width="300" height="115" 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 = '<a href="Default.aspx"><img src="noflash/logo.jpg" alt="home" style="border:none;"></a>';
	document.write(alternateContent);  // insert non-flash content
	
  }

  

  
