var alternateContent = '<tr>';
                alternateContent += '<td style="height: 49px" align="left" valign="top" nowrap="nowrap">';
                    alternateContent += '<a href="index.aspx">';
                    alternateContent += '<img src="graphics/nav_home_active.gif" runat="server" alt="Home" name="a_1" width="72" height="49" border="0" id="a_1" title="Home"></a><a href="PracticeArea.aspx"><img runat="server" src="graphics/nav_practice.gif" alt="Practice Areas" name="a_2" width="139" height="49" border="0" id="a_2" title="Practice Areas"></a><a href="Firm.aspx"><img src="graphics/nav_firm.gif" alt="Firm Directory" name="a_3" width="144" height="49" border="0" runat="server" id="a_3" title="Firm Directory"></a><a href="News.aspx"><img src="graphics/nav_news.gif" alt="News" runat="server" name="a_4" width="72" height="49" border="0" id="a_4" title="News" /></a><a href="Resourses.aspx"><img src="graphics/nav_resources.gif" alt="Resources" runat="server" name="a_5" width="108" height="49" border="0" id="a_5" title="Resources" /></a><a href="Privacy.aspx"><img src="graphics/nav_privacy.gif" alt="Privacy Policy" name="a_6" width="136" height="49" border="0" runat="server" id="a_6" title="Privacy Policy" /></a><a href="ContactUs.aspx"><img src="graphics/nav_contact.gif" alt="Contact Us" runat="server" name="a_7" width="105" height="49" border="0" id="a_7" title="Contact Us" /></a></td>';
            alternateContent += '</tr>';
			alternateContent += '<tr>';
                alternateContent += '<td align="left" valign="top" nowrap="nowrap" style="height: 127px">';
                    alternateContent += '<div id="divHome" style="height: 259px; overflow: hidden;" runat="server">';
			alternateContent += '<img src="graphics/home1.jpg" width="447" height="259" border="0" alt="Dedicated to Excellence" title="Dedicated to Excellence"/><img src="graphics/home2.jpg" width="329" border="0" height="259" alt="Dedicated to Excellence" title="Dedicated to Excellence"/>';
                    alternateContent += '</div>';
                alternateContent += '</td>';
            alternateContent += '</tr>';


				var flashshowing = false;
				if (!useRedirect)
				{
					if(hasRightVersion)
					{
						flashshowing = true;						
						var oeTags = '<OBJECT name="object" CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
						+ 'WIDTH="776" HEIGHT="308"'
						+ 'CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">'
						+ '<PARAM NAME="MOVIE" VALUE="flash/header.swf">'
						+ '<PARAM NAME="PLAY" VALUE="true">'
						+ '<PARAM NAME="LOOP" VALUE="false">'
						+ '<PARAM NAME="QUALITY" VALUE="high">'
						+ '<PARAM NAME="MENU" VALUE="false">'
						+ '<EMBED SRC="flash/header.swf"'
						+ 'WIDTH="776" HEIGHT="308"'
						+ 'PLAY="true"'
						+ 'LOOP="false"'
						+ 'QUALITY="high"'
						+ 'MENU="false"'
						+ 'TYPE="application/x-shockwave-flash"'
						+ 'PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">'
						+ '</EMBED>'
						+ '</OBJECT>';
						var extraHTML1 = '<tr>';
                extraHTML1 += '<td align="left" valign="top" nowrap="nowrap" style="height: 127px">';
				extraHTML1 += '<div id="divHome" style="height: 308px; overflow: hidden;" runat="server">';

				var extraHTML2 = '</div>';
                extraHTML2 += '</td>';
            extraHTML2 += '</tr>';
						document.write(extraHTML1);
						
						document.write(oeTags); 	// embed the flash movie

						document.write(extraHTML2);
					}
					else
					{	// flash is too old or we can't detect the plugin
						flashshowing = true;
						document.write(alternateContent);	// insert non-flash content
					}	
				}
				if(flashshowing  == false)
				{
					document.write(alternateContent);	// insert non-flash content
				}