// 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="526" height="246"'
    + 'CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0">'
    + '<PARAM NAME="MOVIE" VALUE="swf/schoolTeamNav.swf">'
    + '<PARAM NAME="QUALITY" VALUE="high">'
    + '<EMBED SRC="swf/schoolTeamNav.swf"'
    + 'width="526" height="246"'
    + 'QUALITY="high"'
    + 'TYPE="application/x-shockwave-flash"'
    + 'PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">'
    + '<\/EMBED>'
    + '<\/OBJECT><BR>';

    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="526">'
	+ '<TR>'
	+ '	<TD VALIGN="top" colspan="2">'
	+ '		<img src="images/nf_school_programs_hdr.gif" border="0" width="526" height="24"><BR>'
	+ '	</TD>'
	+ '</TR>'
	+ '<TR>'
	+ '	<TD VALIGN="top">'
	+ '		<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="263">'
	+ '		<TR>'
	+ '			<TD VALIGN="top">'
	+ '				<A HREF="javascript:navlink(\'incentive\');"><img src="images/nf_incentive_hdr.gif" border="0" width="263" height="24" alt="Incentive Awards & Programs"><BR></A>'
	+ '			</TD>'
	+ '		</TR>'
	+ '		<TR>'
	+ '			<TD VALIGN="top">'
	+ '				<A HREF="javascript:navlink(\'fundraise\');"><img src="images/nf_fund_school_hdr.gif" border="0" width="263" height="18" alt="Fund-Raising Opportunities"><BR></A>'
	+ '			</TD>'
	+ '		</TR>'
	+ '		<TR>'
	+ '			<TD VALIGN="top">'
	+ '				<A HREF="javascript:navlink(\'schoollunch\');"><img src="images/nf_lunch_hdr.gif" border="0" width="263" height="21" alt="School Lunch Programs"><BR></A>'
	+ '			</TD>'
	+ '		</TR>'
	+ '		<TR>'
	+ '			<TD VALIGN="top">'
	+ '				<img src="images/nf_black_spacer.gif" border="0" width="263" height="71"><BR>'
	+ '			</TD>'
	+ '		</TR>'
	+ '		</TABLE>'
	+ '	</TD>'
	+ '	<TD VALIGN="top">'
	+ '		<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="263">'
	+ '		<TR>'
	+ '			<TD VALIGN="top">'
	+ '				<A HREF="javascript:navlink(\'camp\');"><img src="images/nf_campovers_hdr.gif" border="0" width="263" height="20" alt="Camp-Overs"><BR></A>'
	+ '			</TD>'
	+ '		</TR>'
	+ '		<TR>'
	+ '			<TD VALIGN="top">'
	+ '				<A HREF="javascript:navlink(\'tour\');"><img src="images/nf_tours_hdr.gif" border="0" width="263" height="19" alt="Peter Piper Tours"><BR></A>'
	+ '			</TD>'
	+ '		</TR>'
	+ '		<TR>'
	+ '			<TD VALIGN="top">'
	+ '				<A HREF="javascript:navlink(\'photo\');"><img src="images/nf_photonights_hdr.gif" border="0" width="263" height="17" alt="Team Photo Nights at Peter Piper"><BR></A>'
	+ '			</TD>'
	+ '		</TR>'
	+ '		<TR>'
	+ '			<TD VALIGN="top">'
	+ '				<A HREF="javascript:navlink(\'registration\');"><img src="images/nf_onsite_hdr.gif" border="0" width="263" height="19" alt="On-Site Registration at Peter Piper"><BR></A>'
	+ '			</TD>'
	+ '		</TR>'
	+ '		<TR>'
	+ '			<TD VALIGN="top">'
	+ '				<A HREF="javascript:navlink(\'sponsorship\');"><img src="images/nf_sponsorships_hdr.gif" border="0" width="263" height="17" alt="Team Sponsorships"><BR></A>'
	+ '			</TD>'
	+ '		</TR>'
	+ '		<TR>'
	+ '			<TD VALIGN="top">'
	+ '				<A HREF="javascript:navlink(\'mvp\');"><img src="images/nf_mvp_hdr.gif" border="0" width="263" height="18" alt="MVP Awards"><BR></A>'
	+ '			</TD>'
	+ '		</TR>'
	+ '		<TR>'
	+ '			<TD VALIGN="top">'
	+ '				<A HREF="javascript:navlink(\'fund\');"><img src="images/nf_fund_team_hdr.gif" border="0" width="263" height="24" alt="Fund-Raising Opportunities"><BR></A>'
	+ '			</TD>'
	+ '		</TR>'
	+ '		</TABLE>'
	+ '	</TD>'
	+ '</TR>'
	+ '<TR>'
	+ '	<TD VALIGN="top" colspan="2">'
	+ '		<img src="images/nf_school_footer.jpg" border="0" width="526" height="88"><BR>'
	+ '	</TD>'
	+ '</TR>'
	+ '</TABLE>';

    document.write(alternateContent);  // insert non-flash content
  }
}