$(document).ready(function() {

	$(".no-follow").click(function() { return false; });
	
	$(".menu-heading").hover(function(){ $(this).css("background", "#3e230b"); $(this).css("color", "#fff");});
	$(".menu-heading").mouseleave(function(){ $(this).css("background", "#fff"); $(this).css("color", "#3e230b");});
	$("ul li li").hover(function() {	$(this).parent().siblings(".menu-heading").css("background", "#3e230b");
										$(this).parent().siblings(".menu-heading").css("color", "#fff");
										$(this).parent().mouseleave(function(){ $(this).siblings(".menu-heading").css("background", "#fff");
																				$(this).siblings(".menu-heading").css("color", "#3e230b");
																				});
	});
	
	$(".menu-heading").parent().children("ul").hide();
	$(".menu-heading").hover(function() { $(this).parent().children("ul").show('fast'); });
	$(".menu-heading").click(function() { $(this).parent().children("ul").show('fast'); return false; });
	$(".menu-heading").parent().mouseleave(function() { $(this).children("ul").hide(); });
	$("#home-image").parent().hover(function() { $("#home-image").css("background-image","url('images/design/home_icon_highlighted.png')")});
	$("#home-image").parent().mouseleave(function() { $("#home-image").css("background-image","url('images/design/home_icon.png')")});
	$("#home-image").parent().click(function() { window.location.href="index.php"; });

});
