// In this section we set up the content to be placed dynamically on the page.
// Customize movie tags and alternate html content below.

if (!useRedirect) {    // if dynamic embedding is turned on
  if(hasRightVersion) {  // if we've detected an acceptable version
    var oeTags = '<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
    + 'WIDTH="779" height="142"'
    + 'CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">'
    + '<PARAM NAME="MOVIE" VALUE="swf/spanish_HDR_1.swf">'
    + '<PARAM NAME="QUALITY" VALUE="high">'
    + '<EMBED SRC="swf/spanish_HDR_1.swf"'
    + 'WIDTH="779" height="142"'
    + 'QUALITY="high"'
    + 'TYPE="application/x-shockwave-flash"'
    + 'PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">'
    + '<\/EMBED>'
    + '<\/OBJECT>';

    document.write(oeTags);   // embed the flash movie
  } else {  // flash is too old or we can't detect the plugin
    // NOTE: height, width are required!
    
	var alternateContent = '<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="779">'
	+ '	<TR>'
	+ '		<TD VALIGN="top">'
	+ '			<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="779">'
	+ '				<TR>'
	+ '					<TD VALIGN="top">'
	+ '					<A HREF="javascript:navlink(\'home\');"><img src="images/nf_logo.jpg" border="0" width="146" height="119" alt="Home"><BR></A>'
	+ '					</TD>'
	+ '					<TD VALIGN="top">'
	+ '					<img src="images/nf_header_image.jpg" border="0" width="500" height="119"><BR>'
	+ '					</TD>'
	+ '					<TD VALIGN="top">'
	+ '					<A HREF="javascript:navlink(\'lead_capture\');"><img src="images/nf_update.jpg" border="0" width="133" height="119" alt="Register for Updates"><BR></A>'
	+ '					</TD>'
	+ '				</TR>'
	+ '			</TABLE>'
	+ '		</TD>'
	+ '	</TR>'
	+ '	<TR>'
	+ '		<TD VALIGN="top">'
	+ '			<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="779">'
	+ '				<TR>'
	+ '					<TD VALIGN="top">'
	+ '					<A HREF="javascript:navlink(\'locations\');"><img src="images/nf_locations.gif" border="0" width="91" height="23" alt="Locations"><BR></A>'
	+ '					</TD>'
	+ '					<TD VALIGN="top">'
	+ '					<A HREF="javascript:navlink(\'coupons\');"><img src="images/nf_coupons.gif" border="0" width="70" height="23" alt="Coupons"><BR></A>'
	+ '					</TD>'
	+ '					<TD VALIGN="top">'
	+ '					<A HREF="javascript:navlink(\'birthday\');"><img src="images/nf_birthdays_parties.gif" border="0" width="141" height="23" alt="Birthdays & Parties"><BR></A>'
	+ '					</TD>'
	+ '					<TD VALIGN="top">'
	+ '					<A HREF="javascript:navlink(\'school_team\');"><img src="images/nf_school_team.gif" border="0" width="174" height="23" alt="School & Team Programs"><BR></A>'
	+ '					</TD>'
	+ '					<TD VALIGN="top">'
	+ '					<A HREF="javascript:navlink(\'game\');"><img src="images/nf_games_entertainment.gif" border="0" width="169" height="23" alt="Games & Entertainment"><BR></A>'
	+ '					</TD>'
	+ '					<TD VALIGN="top">'
	+ '					<A HREF="javascript:navlink(\'menu\');"><img src="images/nf_menu.gif" border="0" width="134" height="23" alt="Menu & Nutrition"><BR></A>'
	+ '					</TD>'
	+ '				</TR>'
	+ '			</TABLE>'
	+ '		</TD>'
	+ '	</TR>'
	+ '</TABLE>';

    document.write(alternateContent);  // insert non-flash content
  }
}