


function launchHelp(theID) {
			window.open("help.php?id="+theID, "helpWindow", "width=300,height=375,resizable=no,scrollbars=yes");
}
/* ------------------------------------------------------------------------------------
TEMPORARY ARRAY THAT REPRESENTS NAVIGATION
------------------------------------------------------------------------------------ */
// Array with section names
var vSectionArray = new Array ( "Home", "Our Firm", "Services", "People", "Articles/Seminars", "Careers" );


/* ------------------------------------------------------------------------------------
ROLLOVER FUNCTIONS FOR MAIN NAVIGATION
------------------------------------------------------------------------------------ */
function fPrimaryRollOver(pDivToAffect, pBkgdColor, pTextColor)
		{
		// Store the current div in a variable
		var vMenuToEvaluate = document.getElementById( "menu" + pDivToAffect );
		// Get the nav section and highlight it or unhighlight it
		var vCellToEvaluate = document.getElementById( "nav" + pDivToAffect );
		vCellToEvaluate.style.backgroundColor = pBkgdColor;
		vCellToEvaluate.style.color = pTextColor;
		// If this is hidden and this is not home, show menu.
		if ( vMenuToEvaluate.style.visibility == "visible" )
			{
			vMenuToEvaluate.style.visibility = "hidden";
			
			}
		// If this is visible and this is not home, hide menu.
		else
			{
			vMenuToEvaluate.style.visibility = "visible";
			}
		}

		
/* ------------------------------------------------------------------------------------
GENERATES HOME PAGE TABLE FOR PRIMARY NAVIGATION AND DROP DOWN MENUS
------------------------------------------------------------------------------------ */
function fGenerateMainNavHome()
		{
		// Write the navigation table
		document.write( '<table width="746" cellpadding="0" cellspacing="0" border="0" bgcolor="#003399"><tr>' );
		for ( i= 0; i< vSectionArray.length; i++ )
			{
			// Create the primary navigation link
			document.write( '<td id="cell' + i + '" valign="top" align="left" width="' + Math.round( 746 / vSectionArray.length ) + '">' );
			document.write( '<a class="nodecorate" href="section.php"><div onMouseOut="fPrimaryRollOver(' + i + ',\'#003399\',\'#FFFFFF\');" onMouseOver="fPrimaryRollOver(' + i + ',\'#E8F3F8\',\'#007770\');" class="navItem" id="nav' + i + '">'  + vSectionArray[i] + '</div></a>' );
			// If this is not HOME generate the drop down menu
			if ( i != 0 ) {
				document.write( '<div onMouseOut="fPrimaryRollOver(' + i + ',\'#003399\',\'#FFFFFF\');" onMouseOver="fPrimaryRollOver(' + i + ',\'#E8F3F8\',\'#003399\');" id="menu' + i + '" class="dropmenu"><img src="/img/int_divider_sidebar.gif"><br>' );
				document.write( '<ul class="sectionnav">' );
				document.write( 	'<li class="navlink"><a href="results.php" class="mainnav"><b>Firm Management</b></a></li>' );
				document.write( 	'<li class="navlink"><a href="#" class="mainnav"><b>Listed Alphabetically</b></a></li>' );
				document.write( 	'<li class="navlink"><a href="interior.php" class="mainnav"><b>Listed By Practice Area</b></a></li>' );
				document.write( 	'<li class="navlink"><a href="#" class="mainnav"><b>Listed By Industry Served</b></a></li>' );
				document.write( 	'<li class="navlink"><a href="#" class="mainnav"><b>Administrative Contacts</b></a></li>' );
				document.write( '</ul>' );
				document.write( '<img src="/img/int_divider_endcap.gif"></div>' );
			}
			document.write( '</td>' );
			// Add green divider bar if this is NOT the last link
			if ( i != ( vSectionArray.length - 1 ) )
				{
				document.write( '<td width="1" bgcolor="#007770"><img src="/img/spacer.gif"></td>' );
				}
			}
		document.write( '</tr></table>' );
		}





/* ------------------------------------------------------------------------------------
GENERATES INTERIOR PAGES TABLE FOR PRIMARY NAVIGATION AND DROP DOWN MENUS
------------------------------------------------------------------------------------ */
function fGenerateMainNavOther()
		{
		// Write the navigation table
		document.write( '<table width="746" cellpadding="0" cellspacing="0" border="0" bgcolor="#FFFFFF"><tr>' );
		for ( i= 0; i< vSectionArray.length; i++ )
			{
			// Create the primary navigation link
			document.write( '<td id="cell' + i + '" valign="top" align="left" width="' + Math.round( 746 / vSectionArray.length ) + '">' );
			if ( i != vCurrentSection ) 
				{
				document.write( '<a class="nodecorate" href="section.php"><div onMouseOut="fPrimaryRollOver(' + i + ',\'#FFFFFF\',\'#003399\');" onMouseOver="fPrimaryRollOver(' + i + ',\'#E8F3F8\',\'#007770\');" class="navItem2" id="nav' + i + '">'  + vSectionArray[i] + '</div></a>' );
				} 
			else 
				{
				// Special case for current section
				document.write( '<a class="nodecorate" href="section.php" onMouseOut="fPrimaryRollOver(' + i + ',\'#003399\',\'#FFFFFF\');" onMouseOver="fPrimaryRollOver(' + i + ',\'#E8F3F8\',\'#007770\');"><div class="navItem2" style="background-color: #003399; color: #FFFFFF;" id="nav' + i + '">'  + vSectionArray[i] + '</div></a>' );
				}
			// If this is not HOME generate the drop down menu
			if ( i != 0 ) {
				if ( i != vCurrentSection ) 
					{
					document.write( '<div onMouseOut="fPrimaryRollOver(' + i + ',\'#FFFFFF\',\'#003399\');" onMouseOver="fPrimaryRollOver(' + i + ',\'#E8F3F8\',\'#003399\');" id="menu' + i + '" class="dropmenu"><img src="/img/int_divider_sidebar.gif"><br>' );
					}
				else
					{
					// Special case for current section
					document.write( '<div onMouseOut="fPrimaryRollOver(' + i + ',\'#003399\',\'#FFFFFF\');" onMouseOver="fPrimaryRollOver(' + i + ',\'#E8F3F8\',\'#003399\');" id="menu' + i + '" class="dropmenu"><img src="/img/int_divider_sidebar.gif"><br>' );
					}
				document.write( '<ul class="sectionnav">' );
				document.write( 	'<li class="navlink"><a href="results.php" class="mainnav"><b>Firm Management</b></a></li>' );
				document.write( 	'<li class="navlink"><a href="#" class="mainnav"><b>Listed Alphabetically</b></a></li>' );
				document.write( 	'<li class="navlink"><a href="interior.php" class="mainnav"><b>Listed By Practice Area</b></a></li>' );
				document.write( 	'<li class="navlink"><a href="#" class="mainnav"><b>Listed By Industry Served</b></a></li>' );
				document.write( 	'<li class="navlink"><a href="#" class="mainnav"><b>Administrative Contacts</b></a></li>' );
				document.write( '</ul>' );
				document.write( '<img src="/img/int_divider_endcap.gif"></div>' );
			}
			document.write( '</td>' );
			// Add green divider bar if this is NOT the last link
			if ( i != ( vSectionArray.length - 1 ) )
				{
				document.write( '<td width="1" bgcolor="#FFFFFF"><img src="/img/spacer.gif"></td>' );
				}
			}
		document.write( '</tr></table>' );
		}

