$(document).ready(function(){

	$("#navigation > ul > li").click
	(
		function()
		{
			if ($(this).find("ul").css("display") != "block")
			{
				$("#navigation > ul > li > ul").hide();
				$(this).find("ul").show();
			}
			else
			{
				$(this).find("ul").hide();
			}
		}
	);
	
	$("div.menu > div.dropdown > a").click
	(
		function()
		{
			if ($(this).parent().next().css("display") != "block")
			{
				$("div.menu > div.dropdown > a").removeClass("on");
				$("div.menu > div.dropdown + div").hide();

				$(this).addClass("on");
				$(this).parent().next().show();
			}
			else
			{
				$(this).removeClass("on");
				$(this).parent().next().hide();	
			}
		}
	);
	
	$("ul.people li").hover
	(
		function()
		{
			$(this).addClass("on");
		},
		function()
		{
			$(this).removeClass("on");
		}
	);

});

function clearText(thefield){
	if (thefield.defaultValue==thefield.value)
		thefield.value = ""
};