$(document).ready(function() {

	 $('a[rel=external]').click(function(){
		window.open( $(this).attr('href') );
		return false;
	}); 


	$("a.fancy").fancybox({
		zoomSpeedIn: 600,
		zoomSpeedOut: 500,
		easingIn: "easeOutBack",
		easingOut: "easeInBack",
		hideOnContentClick: true
	});
	$(".archives li ul").hide();

	$(".year").click(function(){
		$(this).next('ul').slideToggle("fast");
		return false;
	});



	if ( $(".archives .selected").length > 0 ) {

		$(".archives").find(".selected").each(function(i) {
			$(this).parents().show();
		});

	} else {

		$(".archives li ul:eq(0)").show();
	
	}



});

//-->

function  verify(theform)
{
if(theform.AGE.value!="Yes")
{
alert('You MUST be over 18 to apply online. Please download a printable application and fax it in.');
return false; 
}	
else
return true;
}
//-->

$(function () {
	var austDay = new Date();
	austDay = new Date(2012, 7 - 1, 27, 12 );
	$('#defaultCountdown').countdown({until: austDay});
});

