var flashContent = '' +
'<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="800" height="220" id="banner" align="middle">' +
'<param name="allowScriptAccess" value="always" />' +
'<param name="movie" value="banner.swf" />' +
'<param name="quality" value="high" />' +
'<param name="wmode" value="transparent" />' +
'<param name="bgcolor" value="#ffffff" />' +
'<embed src="banner.swf" quality="high" wmode="transparent" bgcolor="#ffffff" width="800" height="220" name="banner" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />' +
'</object>';

var alternateContent = '<table style="width: 760px; height: 23px" cellspacing="0" cellpadding="0" align="center" valign="middle"><tbody>' +
'<tr><td valign="middle" nowrap="nowrap" align="center"><a class="navAct" href="http://awedding2remember.net/"><font color="#666633" size="3"><font face="Times New Roman" size="2"><strong>HOME&nbsp;</strong></font></font></a></td>' +
'<td valign="middle" nowrap="nowrap" align="center"><a class="nav" href="http://awedding2remember.net/prices.html"><font face="Times New Roman" color="#666633"><strong>&nbsp; DECORATIONS &amp; PRICES&nbsp;</strong></font></a></td>' +
'<td valign="middle" nowrap="nowrap" align="center"><a class="nav" href="http://awedding2remember.net/plans.html"><font face="Times New Roman" color="#666633"><strong>&nbsp;&nbsp;PLANS&amp;&nbsp;TIPS&nbsp;</strong></font></a></td>' +
'<td valign="middle" nowrap="nowrap" align="center"><a class="nav" href="http://awedding2remember.net/photos.html"><font face="Times New Roman" color="#666633"><strong>&nbsp; PHOTO GALLERY&nbsp;</strong></font></a></td>' +
'<td valign="middle" nowrap="nowrap" align="center"><a class="nav" href="http://awedding2remember.net/complete.html"><font color="#666633" size="3"><font face="Times New Roman" size="2"><strong>DJ SERVICES</strong></font></font></a></td>' +
'</tr></tbody></table>';

// Version check based upon the values entered in "Globals"
var hasRequestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
			
// Check to see if the version meets the requirements for playback
if (hasRequestedVersion) {
	// if we've detected an acceptable version
	// embed the Flash Content SWF when all tests are passed
				
	document.write(flashContent);
				
} else {  // flash is too old or we can't detect the plugin
	
	document.write(alternateContent);  // insert non-flash content
}

