$(document).ready(function(){
	
	$("#navTabs dt:first").addClass("active");
	$("#navTabs dd:not(:first)").hide();

	$("#navTabs dt").click(function(){
		$(this).next("dd").slideToggle("fast").siblings("dd:visible").slideUp("fast");
		$(this).toggleClass("active").siblings("dt a").removeClass("active");
	});

});


//declare our template path here, first need to find out what is it :)
var my_path = document.location.href + 'wp-content/themes/h4l/';

$(document).ready(function(){
	$("#trainingTab a").click(function(){
		$("#banner img").attr({src:my_path+"images/photos/banner_home_01.jpg", title:"Training", alt:"Training"})								   
	});						   
});

$(document).ready(function(){
	$("#supportTab a").click(function(){
		$("#banner img").attr({src:my_path+"images/photos/banner_home_02.jpg", title:"Support", alt:"Support"})								   
	});						   
});

$(document).ready(function(){
	$("#resourcesTab a").click(function(){
		$("#banner img").attr({src:my_path+"images/photos/banner_home_03.jpg", title:"Resources", alt:"Resources"})								   
	});						   
});

$(document).ready(function(){
	$("#warningTab a").click(function(){
		$("#banner img").attr({src:my_path+"images/photos/banner_home_04.jpg", title:"Warning Signs", alt:"Warning Signs"})								   
	});						   
});


