$(document).ready(function() {
	$('.slickbox').hide();
	$('a.slick-toggle').click(function() {
		$('.slickbox').toggle(700);
		return false;
  	});
});

	firmm = true;
	pract = true;
	
if(navigator.userAgent.indexOf('Mac') != -1)

    {document.write ('<style type="text/css">.navright {margin:2px;}.topsearch {height:13px;}</style>');}		

$(function() {

	$("#thefirm").hover (
		function()
		{
			$("#thefirm").attr("src","http://www.doylelowther.com/images/nav_firm2.gif");
			return true;
		},
		function()
		{
			$("#thefirm").attr("src","http://www.doylelowther.com/images/nav_firm.gif");
			return true;
		}
	);
	
	$("#thefirmon").hover (
		function()
		{
			$("#thefirmon").attr("src","http://www.doylelowther.com/images/nav_firm2.gif");
			return true;
		},
		function()
		{
			$("#thefirmon").attr("src","http://www.doylelowther.com/images/nav_firm2.gif");
			return true;
		}
	);	
	
	$("#cases").hover (
		function()
		{
			$("#cases").attr("src","http://www.doylelowther.com/images/nav_cases2.gif");
			return true;
		},
		function()
		{
			$("#cases").attr("src","http://www.doylelowther.com/images/nav_cases.gif");
			return true;
		}
	);
	
	$("#caseson").hover (
		function()
		{
			$("#cases").attr("src","http://www.doylelowther.com/images/nav_cases2.gif");
			return true;
		},
		function()
		{
			$("#cases").attr("src","http://www.doylelowther.com/images/nav_cases2.gif");
			return true;
		}
	);	
	
	$("#practiceareas").hover (
		function()
		{
			$("#practiceareas").attr("src","http://www.doylelowther.com/images/nav_practice2.gif");
			return true;
		},
		function()
		{
			$("#practiceareas").attr("src","http://www.doylelowther.com/images/nav_practice.gif");
			return true;
		}
	);
	
	$("#practiceareason").hover (
		function()
		{
			$("#practiceareas").attr("src","http://www.doylelowther.com/images/nav_practice2.gif");
			return true;
		},
		function()
		{
			$("#practiceareas").attr("src","http://www.doylelowther.com/images/nav_practice2.gif");
			return true;
		}
	);	
	
	$("#news").hover (
		function()
		{
			$("#news").attr("src","http://www.doylelowther.com/images/nav_news2.gif");
			return true;
		},
		function()
		{
			$("#news").attr("src","http://www.doylelowther.com/images/nav_news.gif");
			return true;
		}
	);
	
	$("#newson").hover (
		function()
		{
			$("#news").attr("src","http://www.doylelowther.com/images/nav_news2.gif");
			return true;
		},
		function()
		{
			$("#news").attr("src","http://www.doylelowther.com/images/nav_news2.gif");
			return true;
		}
	);	
	
	$("#contactus").hover (
		function()
		{
			$("#contactus").attr("src","http://www.doylelowther.com/images/nav_contact2.gif");
			return true;
		},
		function()
		{
			$("#contactus").attr("src","http://www.doylelowther.com/images/nav_contact.gif");
			return true;
		}
	);
	
	$("#contactuson").hover (
		function()
		{
			$("#contactus").attr("src","http://www.doylelowther.com/images/nav_contact2.gif");
			return true;
		},
		function()
		{
			$("#contactus").attr("src","http://www.doylelowther.com/images/nav_contact2.gif");
			return true;
		}
	);	
	
	/* Sub Nav Hovers */

	$("#thefirm-attorneys").hover (
		function()
		{
			$("#thefirm-attorneys").attr("src","http://www.doylelowther.com/images/subnav_attorneys2.gif");
			$("#thefirm").attr("src","http://www.doylelowther.com/images/nav_firm2.gif");
			return true;
		},
		function()
		{
			$("#thefirm-attorneys").attr("src","http://www.doylelowther.com/images/subnav_attorneys.gif");
			$("#thefirm").attr("src","http://www.doylelowther.com/images/nav_firm.gif");
			return true;
		}
	);
	
	$("#thefirm-referrals").hover (
		function()
		{
			$("#thefirm-referrals").attr("src","http://www.doylelowther.com/images/subnav_referrals2.gif");
			$("#thefirm").attr("src","http://www.doylelowther.com/images/nav_firm2.gif");
			return true;
		},
		function()
		{
			$("#thefirm-referrals").attr("src","http://www.doylelowther.com/images/subnav_referrals.gif");
			$("#thefirm").attr("src","http://www.doylelowther.com/images/nav_firm.gif");
			return true;
		}
	);
	
	$("#thefirm-institutional").hover (
		function()
		{
			$("#thefirm-institutional").attr("src","http://www.doylelowther.com/images/subnav_institutional2.gif");
			$("#thefirm").attr("src","http://www.doylelowther.com/images/nav_firm2.gif");
			return true;
		},
		function()
		{
			$("#thefirm-institutional").attr("src","http://www.doylelowther.com/images/subnav_institutional.gif");
			$("#thefirm").attr("src","http://www.doylelowther.com/images/nav_firm.gif");
			return true;
		}
	);
	
	$("#practiceareas-securities").hover (
		function()
		{
			$("#practiceareas-securities").attr("src","http://www.doylelowther.com/images/subnav_securities2.gif");
			$("#practiceareas").attr("src","http://www.doylelowther.com/images/nav_practice2.gif");
			return true;
		},
		function()
		{
			$("#practiceareas-securities").attr("src","http://www.doylelowther.com/images/subnav_securities.gif");
			$("#practiceareas").attr("src","http://www.doylelowther.com/images/nav_practice.gif");
			return true;
		}
	);

	$("#practiceareas-consumer").hover (
		function()
		{
			$("#practiceareas-consumer").attr("src","http://www.doylelowther.com/images/subnav_consumer2.gif");
			$("#practiceareas").attr("src","http://www.doylelowther.com/images/nav_practice2.gif");
			return true;
		},
		function()
		{
			$("#practiceareas-consumer").attr("src","http://www.doylelowther.com/images/subnav_consumer.gif");
			$("#practiceareas").attr("src","http://www.doylelowther.com/images/nav_practice.gif");
			return true;
		}
	);	
 
})


