if (document.images) {

 img1on = new Image(); img1on.src = "http://www.njmedlaw.com/images/nav01_on.gif";

 img2on = new Image(); img2on.src = "http://www.njmedlaw.com/images/nav02_on.gif";

 img3on = new Image(); img3on.src = "http://www.njmedlaw.com/images/nav03_on.gif";
 
 img4on = new Image(); img4on.src = "http://www.njmedlaw.com/images/nav04_on.gif";

 img5on = new Image(); img5on.src = "http://www.njmedlaw.com/images/nav05_on.gif";

 img7on = new Image(); img7on.src = "http://www.njmedlaw.com/images/nav07_on.gif";


 img1off = new Image(); img1off.src = "http://www.njmedlaw.com/images/nav01_off.gif";

 img2off = new Image(); img2off.src = "http://www.njmedlaw.com/images/nav02_off.gif";

 img3off = new Image(); img3off.src = "http://www.njmedlaw.com/images/nav03_off.gif";
 
 img4off = new Image(); img4off.src = "http://www.njmedlaw.com/images/nav04_off.gif";

 img5off = new Image(); img5off.src = "http://www.njmedlaw.com/images/nav05_off.gif";

 img7off = new Image(); img7off.src = "http://www.njmedlaw.com/images/nav07_off.gif";
 
}
  
   function HighLight(musswitch) {
  		
  		if(musswitch!=parent.whatsonl){
		switchnavn = eval(musswitch + "on");
      		document [musswitch].src = switchnavn.src;
      	}
  	}

function UndoHighLight(musswitch) {
		
		if(musswitch!=parent.whatsonl){
		switchnavn = eval(musswitch + "off");
		document [musswitch].src = switchnavn.src;
		}

}




function imgOn(imgName) {

if (document.images) {

	document[imgName].src = eval(imgName + "on.src");

	}

}

function imgOff(imgName) {

if (document.images) {

	document[imgName].src = eval(imgName + "off.src");

	}

}

function clearText(thefield) {
  if (thefield.defaultValue==thefield.value) { thefield.value = "" }
}


function replaceText(thefield) {
  if (thefield.value=="") { thefield.value = thefield.defaultValue }
}



sfHover = function() {
	var sfEls = document.getElementById("leftCore").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);