if (document.images) {

			
	home = new Image();
	home.src = "images/nav_home_01.jpg";

	home_on = new Image();
	home_on.src = "images/nav_home_02.jpg";
	
	
	sixReasons = new Image();
	sixReasons.src = "images/nav_sixReasons_01.jpg";

	sixReasons_on = new Image();
	sixReasons_on.src = "images/nav_sixReasons_02.jpg";
	
	
	noteworthy = new Image();
	noteworthy.src = "images/nav_noteworthy_01.jpg";

	noteworthy_on = new Image();
	noteworthy_on.src = "images/nav_noteworthy_02.jpg";
	
	
	client= new Image();
	client.src = "images/nav_client_01.jpg";

	client_on = new Image();
	client_on.src = "images/nav_client_02.jpg";
	
	
	practiceAreas = new Image();
	practiceAreas.src = "images/nav_practiceAreas_01.jpg";

	practiceAreas_on = new Image();
	practiceAreas_on.src = "images/nav_practiceAreas_02.jpg";
	
	
	
	litigation = new Image();
	litigation.src = "images/nav_litigation_01.jpg";

	litigation_on = new Image();
	litigation_on.src = "images/nav_litigation_02.jpg";
	
	
	contact = new Image();
	contact.src = "images/nav_contact_01.jpg";

	contact_on = new Image();
	contact_on.src = "images/nav_contact_02.jpg";
	
	
	litigator = new Image();
	litigator.src = "images/nav_litigator_01.jpg";

	litigator_on = new Image();
	litigator_on.src = "images/nav_litigator_02.jpg";
	
	
	
		
	
	
}




var viewStudio = null;

function popup(url){

	var str = centerWindow(480,320);

	viewStudio = window.open(url, "viewStudio",
"location=no,menubar=no,resizable=yes,scrollbars=yes," + str);
	viewStudio.focus();

}


function centerWindow(width,height) {

	if(window.screen){

		if(screen.availHeight-30 <= height){

			height = screen.availHeight - 30;

		}

		if(screen.availWidth-10 <= width){

			width = screen.availWidth - 10;

		}

	}

	var str = "height=" + height + ",innerHeight=" + (height+30);
	str += ",width=" + width + ",innerWidth=" + width;

	if (window.screen) {

		var ah = screen.availHeight - 30;
		var aw = screen.availWidth - 10;

		var xc = (aw - width) / 2;
		var yc = (ah - height) / 2;

    	str += ",left=" + xc + ",screenX=" + xc;
    	str += ",top=" + yc + ",screenY=" + yc;
  	}

  	return str;

}






// NAV
// Function to 'activate' images.
function imgOn(imgName) {
	
	if (document.images) {
	
		document[imgName].src = eval(imgName + "_on.src");
		
	}
	
}


// NAV
// Function to 'deactivate' images.
function imgOff(imgName) {

	if (document.images) {
	
		document[imgName].src = eval(imgName + ".src");
		
	}
	
}




