

function ParseHiglitedMenu(mText,addDash){
	if(mText.toString().toLowerCase() == m_HiglitedMenuName.toString().toLowerCase()) {
		mText = "<span style=\"color: " + m_HiglitedColor + "\">" +   mText + "</span>";
	}
  	if(addDash) mText += " &nbsp;<span class=\"XmenuDash\">//</span>";
	return mText;
}



// ScriptGenerated =  ifModifiedSince = 
    var imageRoot    = "http://www.brainfuse.com/images";
    var webRoot      = "http://www.brainfuse.com";
    var l_userType	 = "-1";
    var bannerTxt = '';
     var imageHeader = "";
    webfxMenuUseHover = true;
    webfxMenuHideTime = 500;
    webfxMenuShowTime = 200;
    webfxMenuImagePath	= imageRoot + "/";
    webfxMenuDefaultWidth   = 150;
    var menuBar     = new WebFXMenuBar;
    
// Begin Header Portion Writing =============================================================================================    
    document.write ("<table align=center id='tblHeader' width=100% height=115 border=0 cellspacing=0 cellpadding=0  style='	background-repeat:no-repeat;' background='/images/mImages/Header.gif'>");
    document.write ('<tr>');
    document.write ("	<td width ='500'   valign='top' align='left'>");
    document.write ("<img id='imgHeader'  height='115' width='1' src='" + imageRoot + "/spacer.gif' border='0'/> </td>");
    
    document.write ("	 <td id='tdempty' align='left' valign='top' >");
    document.write ("<table border='0' style='height:100%;' width='270' cellpadding='3' cellspacing='4'><tr><td   align='left' class='txtSmallLink' valign='top' nowrap='nowrap'>");
    document.write ("<a href='/company/privacy.asp'> <span style='font-weight:normal;' class=txtSmallLink>Privacy </span></a>/ <a href='/company/termsofuse.asp'> <span style='font-weight:normal;' class=txtSmallLink>Terms Of Use </span></a>/ <a href='/company/copyright.asp'> <span  style='font-weight:normal;' class=txtSmallLink> All Rights Reserved </span></a> <br/>");
    document.write (bannerTxt);
document.write ("</td></tr><tr><td style='height:40px;' align='right' valign='bottom'>");  

/// writing the login or the signout button 

	document.write ("<a href='"  + webRoot + "/login/index.asp' id='nlmbLogin'>") 
    document.write ("<img  border='0'  src='" + imageRoot + "/mimages/CustomerLoginButton.gif' /></a>") 

document.write ("<br/><img id='imgHeader'  height='8' width='1' src='" + imageRoot + "/spacer.gif' border='0'/></a>");

document.write ("</td></tr></table>");

document.write ("</td>");

document.write ("	<td  id ='tdbanner' valign='top'> ");

	//document.write ("		<a href='" + webRoot + "/help/regInfo.asp'> </a>");

 

document.write(" </td>");
document.write ('</tr>');

document.write ('<tr   valign=top>');
document.write ('	<td colspan=3 height=10 align=right valign=top>');
//========================================================================================================================================
// Begin Top Navigation Bar Portion Writing =============================================================================================    
document.write ('		<table width=100% id=tblunknown1 border=0 cellspacing=0 cellpadding=0 >');
document.write ('		<tr>');
  
document.write ("<td colspan=2 align=right bgColor=" + m_HeaderColor + " height=35    id=topBar>");
 
var openingTopNavBar ="<table id=tblheaderInside width='100%' height='33px' cellpadding=2 cellspacing=0 border=0  class=topNavTitle><tr> " ;
openingTopNavBar +="<td align=left valign=middle  > ";
var closingTopNavBar = "</td></tr></table>";///  holding the html closing tag for the top nav bar in case no user logged 
document.write(openingTopNavBar );
// Begin Menu Items Portion Writing =============================================================================================    
 

  	var NAMenu = new WebFXMenuBar;
    NAMenu.add( new WebFXMenuButton( ParseHiglitedMenu("HOME", true), "http://www.brainfuse.com/index.asp"));
     
        NAMenu.add( new WebFXMenuButton(  ParseHiglitedMenu("LIBRARIES", true)  , "/Home/INDEXLIB.ASP"));
        NAMenu.add( new WebFXMenuButton(  ParseHiglitedMenu("SCHOOLS", true) , "/Home/HomeNCLB.asp"));
        NAMenu.add( new WebFXMenuButton( ParseHiglitedMenu("COLLEGES & UNIVERSITIES", true) , "/Home/HomeColl_Univ.asp"));
    
    NAMenu.add( new WebFXMenuButton( ParseHiglitedMenu("CONTACT US", true) , "/company/contactus.asp"));
    document.write(NAMenu);	
    
   // Closing The html tables
    document.write(closingTopNavBar);
    document.write ("</td>");
    document.write ('		</tr>');
    document.write ('		</table>');
    document.write ('	</td>');
    document.write ('</tr>');
    document.write ('</table>');
 //========================================================================================================================================
 

