b01_on = new Image();
b01_on.src = "/nav/home_on.gif";
b01_off = new Image();
b01_off.src = "/nav/home.gif";
b02_on = new Image();
b02_on.src = "/nav/practice_on.gif";
b02_off = new Image();
b02_off.src = "/nav/practice.gif";
b03_on = new Image();
b03_on.src = "/nav/attorn_on.gif";
b03_off = new Image();
b03_off.src = "/nav/attorn.gif";
b04_on = new Image();
b04_on.src = "/nav/hist_on.gif";
b04_off = new Image();
b04_off.src = "/nav/hist.gif";
b05_on = new Image();
b05_on.src = "/nav/cont_on.gif";
b05_off = new Image();
b05_off.src = "/nav/cont.gif";
b06_on = new Image();
b06_on.src = "/nav/search_on.gif";
b06_off = new Image();
b06_off.src = "/nav/search.gif";



function initNavbar() {
if (document.all) {
	navigationBar = document.all
}
	else {
		navigationBar = document
	}
}

function bAct(bName) {
	navigationBar[bName].src = eval(bName + "_on.src");
}

function bInact(bName) {
	navigationBar[bName].src = eval(bName + "_off.src");
}

// SpamProof jscript methods
//To be used to prevent spammers from grabbing email addresses from a website
//
//Example:
//For more information contact our <Script language="JavaScript">PrintMail('sales','hubbardone.com','Sales')</SCRIPT> department.
//results: For more information contact our sales department.
//	where sales will be a link to mailto.

function  SendMail(n,d){
	if (d == "") {
		document.location.href='mailto:' + n;
	} else {
		document.location.href='mailto:' + n + '@' + d;
	}
}

function PrintMail(n,d,m){
	PrintMail(n,d,m,'');
}	

function PrintMail(n,d,m,l){
	var ns = n.replace("'","\\\'");
	if(m == ""){
		if (d == ""){
			m = n;
		} else {
			m = n + '@' + d;
		}
	} else {
	    m = m.replace("<at>", "@");
	}
	var ms = m.replace("'","\\\'");
	document.write("<a href=\"JavaScript:SendMail('" + ns + "','" + d + "'); \" " + l +">" + m + "</a>");
	return true;
}	
