$(document).ready(function(){

	$("#location").hover(function(){
		$("#location_options").fadeIn("slow");

	});
		 
});

$(document).ready(function(){

	$("#application_info, #profile_resource, #resources_info").hover(function(){
		$("#location_options").fadeOut("slow");

	});
		 
});


$(document).ready(function(){

	$("#another_person").click(function(){
		$("#another_person_app").slideDown("slow");

	});
		 
});

$(document).ready(function(){

	$("#todd").hover(function(){
		$("#todd_henry_popup").fadeToggle("slow");

	});
		 
});

$(document).ready(function(){

	$("#joshua").hover(function(){
		$("#joshua_johnson_popup").fadeToggle("slow");

	});
		 
});

$(document).ready(function(){

	$("#brian").hover(function(){
		$("#brian_beeler_popup").fadeToggle("slow");

	});
		 
});

$(document).ready(function(){

	$("#jon").hover(function(){
		$("#jon_meyers_popup").fadeToggle("slow");

	});
		 
});

$(document).ready(function(){

	$("#tony").hover(function(){
		$("#tony_alexander_popup").fadeToggle("slow");

	});
		 
});

$(document).ready(function(){

	$("#elizabeth").hover(function(){
		$("#elizabeth_edwards_popup").fadeToggle("slow");

	});
		 
});


  jQuery(document).ready(function(){
  jQuery('#subscribe_submit').click(function(){
  jQuery('html, body').animate({scrollTop:0}, 'slow');
 return false;
	 });
 });


$(document).ready(function(){
$('a[href*=#event_schedule_link]').click(function() {
if (location.pathname.replace(/^\//,") == this.pathname.replace(/^\//,")
&& location.hostname == this.hostname) {
var $target = $(this.hash);
$target = $target.length && $target
|| $('[name=' + this.hash.slice(1) +']');
if ($target.length) {
var targetOffset = $target.offset().top;
$('html,body')
.animate({scrollTop: targetOffset}, 1000);
return false;
}
}
});
});
