/* page scripts */

var path = window.location.pathname; 
$(document).ready(function(){ 
	switch(path){ 
		case '/events.html': loadEventsStyle(); break; 
		case '/': frontPageSlideshow(); break; 
	} 
}); 
function loadEventsStyle(){ 

	$('#eventsList .event').each(function(){ 
		$(this).mouseover(function(){ $(this).addClass('hover'); }); 
		$(this).mouseout(function(){ $(this).removeClass('hover'); }); 
	}); 

	/* women's conference */
//	$('#womens-conference-event').click(function(){ 
//		window.location.href="http://authenticfeminism.com";
//	}); 

	/* faith seeking understanding */
	$('#faith-seeking-understanding-event').click(function(){ 
		window.location.href = "/events/faith-seeking-understanding.html"; 
	}); 	

	/* newman lecture series */
	$('#newman-lecture-series-event').click(function(){ 
		window.location.href="/events/newman-lecture-series.html"; 
	}); 

	/* mens theological debate club */
	$('#mens-theo-event').click(function(){ 
		window.location.href="/events/mens-theological-debate-club.html"; 
	}); 

	/* parish outreach */
	$('#parish-outreach-event').click(function(){
		window.location.href="/events/parish-outreach.html"; 
	}); 
}



