$(document).ready(function(){
	/* IMAGE SWAPS  example of usage: give img the .buttonswap class and make sure to get the on (mouse on) and off (mouse off) */
	$(".buttonSwap").hover(
	 function()
	 {this.src = this.src.replace("_off","_on");},
	 function()
	 {this.src = this.src.replace("_on","_off");}
	);
	
	/*  Preloads Main Menu*/
	$(".mainMenu img").each(function() {
		rollsrc = $(this).attr("src");
		rollON = rollsrc.replace("_off","_on");
		$("<img>").attr("src", rollON);
	});
	
	/*  A collapsable list*/
	$("#itemList dd").hide();
	$("#itemList dt").mouseover(function(){
		$("dt").not(this).next().fadeOut(200);
		$(this).next().fadeIn(500);
	});
	$("#itemList dt").mouseout(function(){
		$(this).next().fadeOut(200);
	});
	
	$('#testOne').hide();	
	$('#showTestOne').click(function(){
     $('#testOne').show(400);
   	});

	$('#testTwo').hide();	
	$('#showTestTwo').click(function(){
     $('#testTwo').show(400);
   	});
	
	/* TABLE ZEBRA STRIPE */
	$(".scheduleTable tr:nth-child(odd)").addClass("alt");
	
});



