

if (document.images)
{
  var navDD = "/library/media/gui/btn/";
  myPics = new Array();
  myPics[0] = getImage(navDD + "attorneys.jpg");
  myPics[1] = getImage(navDD + "attorneys_on.jpg");
  myPics[2] = getImage(navDD + "contactus.jpg");
  myPics[3] = getImage(navDD + "contactus_on.jpg");
  myPics[4] = getImage(navDD + "firm.jpg");
  myPics[5] = getImage(navDD + "firm_on.jpg");
  myPics[6] = getImage(navDD + "home.jpg");
  myPics[7] = getImage(navDD + "home_on.jpg");
  myPics[8] = getImage(navDD + "locations.jpg");
  myPics[9] = getImage(navDD + "locations_on.jpg");
  myPics[10] = getImage(navDD + "news.jpg");
  myPics[11] = getImage(navDD + "news_on.jpg");
  myPics[12] = getImage(navDD + "practice.jpg");
  myPics[13] = getImage(navDD + "practice_on.jpg");

}

$(document).ready(function(){

	$("#navHome").hover(
		function(){flopImage(this, "home", true)},
		function(){flopImage(this, "home", false)}
	);
	$("#navAttorneys").hover(
		function(){flopImage(this, "attorneys", true)},
		function(){flopImage(this, "attorneys", false)}
	);
	$("#navFirm").hover(
		function(){flopImage(this, "firm", true)},
		function(){flopImage(this, "firm", false)}
	);
	$("#navPractice").hover(
		function(){flopImage(this, "practice", true)},
		function(){flopImage(this, "practice", false)}
	);
	$("#navLocations").hover(
		function(){flopImage(this, "locations", true)},
		function(){flopImage(this, "locations", false)}
	);
	$("#navNews").hover(
		function(){flopImage(this, "news", true)},
		function(){flopImage(this, "news", false)}
	);
	$("#navContact").hover(
		function(){flopImage(this, "contactus", true)},
		function(){flopImage(this, "contactus", false)}
	);

});




