<!-- // START MENU CODE

// NOTE: If you use a ' add a slash before it like this \'


StartMenu()


// MENU OPTIONS - you will find more options in the corporatestyle.css

MFL		= 0; 					// MENU DISTANCE FROM EDGE
MFT		= 156; 					// MENU DISTANCE FROM TOP
ALIGN		= "left"				// MENU LEFT OR RIGHT
TMH		= 22;					// TOP MENU HEIGHT
TMFS		= "8";					// TOP MENU FONT SIZE
TMFW		= "bold";				// TOP MENU FONT WEIGHT bold/normal
TMFF		= " arial, verdana, helvetica, sans";	// TOP MENU FONT FACE
TMC		= "DFCFDC";				// TOP MENU OFF FONT COLOR
TMBC		= "311028";				// TOP MENU OFF BACKGROUND COLOR
TMBI		= "picts/menu.gif";			// TOP MENU OFF BACKGROUND IMAGE
TMHC		= "000000";				// TOP MENU HOVER TEXT COLOR
TMHBC		= "C0C0C0";				// TOP MENU HOVER BACKGROUND COLOR
TMHBI		= "picts/menuon.gif";			// TOP MENU HOVER BACKGROUND IMAGE
MO		= TMH-2;				// Y MENU OVERLAP CHANGE NUMBER VALUE
SUBshift	= 0;					// SHIFT SUBMENU RIGHT



// START SUBMENU OPTIONS - you will find more options in the corporatestyle.css


SMH		= 20;					// SUB MENU HEIGHT
SMFS		= "8";					// SUB MENU FONT SIZE
SMFW		= "normal";				// SUB MENU FONT WEIGHT bold/normal
SMFF		= "arial,MS Sans Serif,sans-serif";	// SUB MENU FONT FACE
SMC		= "333333";				// SUB MENU OFF FONT COLOR
SMBC		= "FFFFFF";				// SUB MENU OFF BACKGROUND COLOR
SMHC		= "FFFFFF";				// SUB MENU HOVER TEXT COLOR
SMHBC		= "999999";				// SUB MENU HOVER BACKGROUND COLOR


SubMenu()




// START MENU NUMBER 1 COPY AND PASTE A GROUP TO ADD A NEW TOP LEVEL SEE NOTE BELOW


Top_Width[0]=125; Sub_Menu_Width[0]=150;
m[0]='Company';n[0]='index.htm';st[0]="";s[0]=""
+l+"index.htm"+r+" Home "+c
+l+"about.htm"+r+" About Us "+c
+l+"executiveteam.htm"+r+" Executive Team "+c
+l+"mstddirections.htm"+r+" Directions "+c
//+l+"#"+r+" Privacy Statement "+c
//+l+"#"+r+" Terms Of Use "+c


Top_Width[1]=125; Sub_Menu_Width[1]=150;
//m[1]='Login';n[1]='service.htm';st[1]="";s[1]=""
m[1]='Login';n[1]='index.htm';st[1]="";s[1]=""
+l+"javascript:lfnGo()"+r+" Lender / Servicer "+c
//+l+"javascript:lfnGoATT()"+r+" Attorney "+c
//+l+"javascript:lfnGo1()"+r+" Credit Counselor "+c
//+l+"javascript:lfnGo2()"+r+" Housing Counselor "+c
//+l+"#"+r+" Vendor / Third Party "+c
//+l+"javascript:lfnLoGo()"+r+" Loan Origination "+c
+l+"javascript:lfnGoINV()"+r+" Investor/ Insurer "+c



Top_Width[2]=125; Sub_Menu_Width[2]=150;
//m[2]='BITB Demos';n[2]='gallery.htm';st[2]="";s[2]=""
m[2]='BITB Demos';n[2]='index.htm';st[2]="";s[2]=""
+l+"javascript:lfnGoLDEMO()"+r+" BITB Demo Request "+c
//+l+"javascript:lfnGoATTDEMO()"+r+" Attorney Portal Demo "+c
//+l+"#"+r+" Investor / Insurer Portal Demo "+c
//+l+"#"+r+" Counselor Portal Demo "+c
//+l+"#"+r+" How to Subscribe "+c



Top_Width[3]=125; Sub_Menu_Width[3]=150;
//m[3]='Communications';n[3]='news.htm';st[3]="";s[3]=""
m[3]='Communications';n[3]='';st[3]="";s[3]=""
+l+"faq-home.htm"+r+" F.A.Q. Section "+c
+l+"news.htm"+r+" Company News "+c
//+l+"bitbfact.htm"+r+" BITB Fact Sheet  "+c
+l+"javascript:lfnSubmitWithUrl()"+r+" Sales  "+c
//+l+"#"+r+" White Papers "+c
//+l+"links.htm"+r+" Website Links "+c
//+l+"#"+r+" Employment Opportunities "+c

Top_Width[4]=125;Sub_Menu_Width[4]=150;
//m[4]='Help & Support';n[4]='contact.htm';
m[4]='Meeting Center';n[4]='javascript:lfnGoMEET()';st[4]="";s[4]=""
//+l+"faq-home.htm"+r+" F.A.Q. Section "+c




// IF YOU ADD ANOTHER TOP LEVEL MENU YOU MUST ADD TO THE BOTTOM OF THIS LIST

ADJ[0]=MFL;
ADJ[1]=(Top_Width[0])+MFL;
ADJ[2]=(Top_Width[0]+Top_Width[1])+MFL;
ADJ[3]=(Top_Width[0]+Top_Width[1]+Top_Width[2])+MFL;
ADJ[4]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3])+MFL;




// ----------------------------------------------------------------
// YOU DO NOT NEED TO EDIT BELOW THIS LINE 2003 Allwebco Design
// ----------------------------------------------------------------





MENU=m.length

for (i=0; i < MENU; i++){


// START WRITING TOP LEVEL MENUS

//Anil_ITS@20061108:  11066: comment the below code and add new for IE 7.
//document.write("<div style='position:absolute;"+ALIGN+":"+ADJ[i]+";top:"+MFT+";width:"+Top_Width[i]+"' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>")
document.write("<div style='position:absolute;"+ALIGN+":"+ADJ[i]+";top:"+MFT+";width:"+Top_Width[i]+"' onmouseover=ShowMenu('o"+i+"') onmouseout=HideMenu('o"+i+"')>")

browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;
if (browser_type == "Netscape") {
document.write("<a class='menu_TOP' style='height:"+TMH+"; color:#"+TMC+"; background-image: url("+TMBI+"); background-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+"' href='"+n[i]+"'>"+m[i]+"</a></div>")
}
else {

document.write("<a class='menu_TOP' style='height:"+TMH+"; color:#"+TMC+"; background-image: url("+TMBI+"); background-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+"' onmouseover=\"this.style.backgroundColor='#"+TMHBC+"';this.style.color='"+TMHC+"';this.style.backgroundImage='URL("+TMHBI+")'\"  onmouseout=\"this.style.backgroundColor='#"+TMBC+"';this.style.color='"+TMC+"';this.style.backgroundImage='URL("+TMBI+")'\" href='"+n[i]+"'>"+m[i]+"</a></div>")

}

}

// Changed by Mahendra on 08/09/2005 MENU-1 from MENU as we don't need sub menu for Meeting Center
for (i=0; i < MENU-1; i++){

// START WRITING SUB MENUS

//Anil_ITS@20061108:  11066: comment the below code and add new for IE 7.
//document.write("<div id='SUB"+i+"' class='menu_DIV' style='position: absolute; "+ALIGN+":"+(ADJ[i]+SUBshift)+";top:"+(MFT+MO)+";width:"+Sub_Menu_Width[i]+";background-color:#"+SMBC+";' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>"+s[i]+"</div>")
document.write("<div id='o"+i+"' class='menu_DIV' style='position: absolute;visibility:hidden; "+ALIGN+":"+(ADJ[i]+SUBshift)+";top:"+(MFT+MO)+";width:"+Sub_Menu_Width[i]+";background-color:#"+SMBC+";' onmouseover=ShowMenu('o"+i+"') onmouseout=HideMenu('o"+i+"')>"+s[i]+"</div>")

}



function StartMenu()
{

var D6=window,Y7=document;
function DETECT()
{
this.ver=navigator.appVersion;this.agent=navigator.userAgent;this.dom=Y7.getElementById?1:0;this.opera5=this.agent.indexOf("Opera 5")>-1;this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;this.ie4=(Y7.all && !this.dom && !this.opera5)?1:0;this.ie=this.ie4||this.ie5||this.ie6;this.mac=this.agent.indexOf("Mac")>-1;this.ns6=(this.dom && parseInt(this.ver)>=5)?1:0;this.ns4=(Y7.layers && !this.dom)?1:0;this.BWD=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5);return this
}
BWD=new DETECT();z=0;b=0;
spn="";
if(BWD.opera5||BWD.ns6)
{
b=2
};
if(BWD.ie)
{
spn=" width: 100%"
}else{
z=6
}

} 


function lfnGo()
	{				

 	  document.frmAction.hidText.value="YES"; 
// 		document.frmAction.action="http://www.bitb.net/wcScriptChk.asp?WCI=wciChkJava&WCE=Submit&WCU=&Callfrom=LEN";
		document.frmAction.action="../wcScriptChk.asp?WCI=wciChkJava&WCE=Submit&WCU=&Callfrom=LEN&hidden=Yes";
		document.frmAction.submit();  
	}	
	

function lfnGo1()
	{	   
	  document.frmAction.hidText.value="YES"; 
 		document.frmAction.action="../wcScriptChk.asp?WCI=wciChkJava&WCE=Submit&WCU=&Callfrom=CCC";
		document.frmAction.submit();  
	}	

function lfnGo2()
	{
	  document.frmAction.hidText.value="YES"; 
 		document.frmAction.action="../wcScriptChk.asp?WCI=wciChkJava&WCE=Submit&WCU=&Callfrom=HUD";
		document.frmAction.submit();  
	}

function lfnGoATT()
	{
	  document.frmAction.hidText.value="YES"; 
 		document.frmAction.action="../wcScriptChk.asp?WCI=wciChkJava&WCE=Submit&WCU=&Callfrom=ATT";
		document.frmAction.submit();  
	}
function lfnGoINV()
	{
	  document.frmAction.hidText.value="YES"; 
 		document.frmAction.action="../wcScriptChk.asp?WCI=wciChkJava&WCE=Submit&WCU=&Callfrom=INV";
		document.frmAction.submit();  
	}
	
	
function lfnGoMEET()

{
var lsize;
var lwindow;
if (navigator.appName != "Netscape")
{
lsize = (screen.height - 75);
lwindow = ("toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width="+screen.width+",height="+lsize+",top=0,left=0")
}
else
{
lwindow = ("toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,maximized")
}
//lindexMeet=window.open("http://bitb.webex.com","lindexMeet",lwindow);
lindexMeet=window.open("https://www.livemeeting.com/cc/landam/join","lindexMeet",lwindow);

  }
//	{
// 		document.frmAction.action="http://bitb.webex.com";
//		document.frmAction.submit();  
//	}


function lfnGoLDEMO()
{
var lsize;
var lwindow;
if (navigator.appName != "Netscape")
{
lsize = (screen.height - 75);
lwindow = ("toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width="+screen.width+",height="+lsize+",top=0,left=0")
}
else
{
lwindow = ("toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,maximized")
}
//lindex=window.open("../QuickTour/QTLndr.html?callFrom=LEN","lindex",lwindow);
lindex=window.open("../QuickTour/wcQuickTour.asp?WCI=wciLogin&WCE=Submit&WCU=&CallFr=StPg&callFrom=LEN","lindex",lwindow);

  }


function lfnGoATTDEMO()
{
var lsize;
var lwindow;
if (navigator.appName != "Netscape")
{
lsize = (screen.height - 75);
lwindow = ("toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width="+screen.width+",height="+lsize+",top=0,left=0")
}
else
{
lwindow = ("toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,maximized")
}
lindex=window.open("../QuickTour/QTAtt.html?callFrom=ATT","lindex",lwindow);
  }


function lfnLoGo()
{
var lsize;
var lwindow;
if (navigator.appName != "Netscape")
{
lsize = (screen.height - 75);
lwindow = ("toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width="+screen.width+",height="+lsize+",top=0,left=0")
}
else
{
lwindow = ("toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,maximized")
}
lindex=window.open("../loanorgindex.htm","lindex",lwindow);
  }
  
  
function lfnSubmitWithUrl()
{   
   document.frmAction.action = 'MstdCorp.ASP?WCI=tmpcontact';
   document.frmAction.submit();
}


function SubMenu()
{

document.write("<TABLE cellpadding='0' cellspacing='0' border='0' width='100%' BGCOLOR='#242440'><tr><td>");
document.write("<img src='picts/spacer.gif' width='100%' height='"+TMH+"'><br>");
document.write("</td></tr></table>");

document.write("<div width='100%' style='height:"+TMH+";position:absolute;top:"+MFT+";width:100%;background-image: url("+TMBI+"); background-color:#"+TMBC+";z-level:-2'></div>")

browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;
if (browser_type == "Netscape") {
l="<a class='menu_SUB' style='height:"+SMH+"; color:#"+SMC+"; background-color:#"+SMBC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' href='";
}
else {
l="<a class='menu_SUB' style='height:"+SMH+"; color:#"+SMC+"; background-color:#"+SMBC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' onmouseover=\"this.style.backgroundColor='#"+SMHBC+"';this.style.color='"+SMHC+"'\"  onmouseout=\"this.style.backgroundColor='#"+SMBC+"';this.style.color='"+SMC+"'\" href='";
}
r="'>";
c="</a>";


m=new Array();n=new Array();s=new Array();Sub_Menu_Width=new Array();su=new Array();st=new Array();Top_Width=new Array();ADJ=new Array()

}


function lib_obj(obj,nest){nest=(!nest) ? "":'document.'+nest+'.';this.evnt=BWD.dom? document.getElementById(obj):BWD.ie4?document.all[obj]:BWD.ns4?eval(nest+"document.layers." +obj):0;this.css=BWD.dom||BWD.ie4?this.evnt.style:this.evnt;this.ref=BWD.dom||BWD.ie4?document:this.css.document;this.x=parseInt(this.css.top)||this.css.pixeltop||this.evnt.offsettop||0;this.y=parseInt(this.css.left)||this.css.pixelleft||this.evnt.offsetleft||0;return this}
function lib_doc_size(){this.x=0;this.x2=BWD.ie && document.body.offsetWidth-20||innerWidth||0;this.y=0;this.y2=BWD.ie && document.body.offsetHeight-5||innerHeight||0;this.x50=this.x2/2;this.y50=this.y2/2;return this;}
//Anil_ITS@20061108:  11066: comment the below code and add new ShowMenu & HideMenu functions for IE 7.
//lib_obj.prototype.ShowMenu = function(){this.css.visibility="visible"}
//lib_obj.prototype.HideMenu = function(){this.css.visibility="hidden"}
function ShowMenu (menuitem)
{
	document.getElementById(menuitem).style.visibility="visible";
}

function HideMenu (menuitem) {
	document.getElementById(menuitem).style.visibility="hidden";
}


function libinit(){page=new lib_doc_size();o=new Array();for (i=0; i < MENU; i++){o[i]=new lib_obj('SUB'+i);o[i].HideMenu()}}
libinit()


// END MENU CODE -->
