//set up image objects for the menus
if (document.images) {
	l_intro = new Image();
	l_intro.src = "/img/l_intro.gif";
	lo_intro = new Image();
	lo_intro.src = "/img/lo_intro.gif";

	l_attorneys = new Image();
	l_attorneys.src = "/img/l_attorneys.gif";
	lo_attorneys = new Image();
	lo_attorneys.src = "/img/lo_attorneys.gif";
									
	l_practices = new Image();
	l_practices.src = "/img/l_practices.gif";
	lo_practices = new Image();
	lo_practices.src = "/img/lo_practices.gif";

	l_recruiting = new Image();
	l_recruiting.src = "/img/l_recruiting.gif";
	lo_recruiting = new Image();
	lo_recruiting.src = "/img/lo_recruiting.gif";								

	l_publications = new Image();
	l_publications.src = "/img/l_pubs.gif";
	lo_publications = new Image();
	lo_publications.src = "/img/lo_pubs.gif";								

	l_spotlight = new Image();
	l_spotlight.src = "/img/l_spotlight.gif";
	lo_spotlight = new Image();
	lo_spotlight.src = "/img/lo_spotlight.gif";
}

/* Function that swaps images. */
function change(id, newSrc) {
    var theImage = FWFindImage(document, id, 0);
    if (theImage) {
		if ((document.layers || document.all) && ((navigator.userAgent).indexOf("Mac") == -1 || navigator.appName == "Netscape")) {
        	theImage.src = newSrc;
		}
    }
}
/* Functions that track and set toggle group button states. */
function FWFindImage(doc, name, j) {
    var theImage = false;
    if (doc.images) {
        theImage = doc.images[name];
    }
    if (theImage) {
        return theImage;
    }
    if (doc.layers) {
        for (j = 0; j < doc.layers.length; j++) {
            theImage = FWFindImage(doc.layers[j].document, name, 0);
            if (theImage) {
                return (theImage);
            }
        }
    }
    return (false);
}