// JavaScript Document
$(function() {
		//remove link if empty pages.
		//$("ul li a[href*='dropdown']").attr('href', '#');
		
		//Clear form fields imput code...
		/*$("#sideForm :input").focus( function() {
								if ($(this).val() === $(this).attr('title')) {
									$(this).val("");
									}
							}).blur( function () {
								if ($(this).val() === "") {
									$(this).val($(this).attr("title"));
									}
							});*/
		
		//dropdown stuff		
		$("#nav li ul").hide().css("visibility", "visible");		
		$("#nav li a").hover(
			function(){ 
			$(this).next().fadeIn("fast").show().hover(
				function() {
				$(this).show();					
				},
				function() {	
				$(this).hide();
				}
			);},
			function() {			
			$(this).next().hide();			
			});
	});
