$(document).ready(function() {	//$("#earth").fadeIn('slow');		// this is the dropdowm meun	$('#navigation > li').hover(		function() { $('ul', this).show(); },		function() { $('ul', this).hide(); }	);	if($('#showEdit').length) {		$('#showEdit').click(function() {			if($('#editTab').length) {				return false;			}			if(!$('signIn').length) {				$('body').append('<div id="signIn"><form method="post" action="index.php"><p><input type="text" name="username" size="10" id="uername"><input type="password" id="password" size="10" name="password"><input type="submit" value="SIGN-IN" name="signin"></p></form>');			}		});	}	if($('#editTab').length) {		$('#editTab > a').live('click',function() {			if($(this).attr('href').match("delete")) {				if(!window.confirm("Are you sure you want to delete this page?")) {					return false;				}								}		});	}	//this controls the slide show on the home page	$('.slideshow').cycle({		fx:    'scrollDown', 		easing: 'easeInOutBack',		pause: 1	});}); // end	$(document).ready(function(){	var startTop = -242;	var startRight = -306;	var earthOpac = 0;	var si = null;		$("#earth").fadeIn('slow');	si = window.setInterval(function() {		var er = $("#earth");		startRight = startRight +18;		startTop = startTop +9;		var atRight = startRight+"px";		var atTop = startTop+"px";		er.css({'top':atTop,'right':atRight});		if(startRight == 126) {			$("#slogan").fadeIn();			window.clearInterval(si)		}	},33);	/*	$("#contact").submit( function() {		 $.ajax({		 	type: 'POST',		 	url: 'correspondence.php',		 	data: $("#contact").serialize(),		 	success: function(data) { 		 				 		if(data == "Sent") {		 			alert(data);		 			window.location = 'index.php';		 		}		 		else {		 			try {						if(data.match(/sent/ig)) {							 window.location = 'index.php';						}						else {							$("#showErrors").text(data);						}		 			}		 			catch(e) {		 				alert(e.message);		 			}		 		}		 	}		 });		 return false;	});	*/});
