//jQuery
$(document).ready(function(){
	//handles all the image rollovers
	var btnClass = ".navBtn"; //identifier for the buttons (must use classes)
	var path = [];
	function getRollovers(el){
		path["src"] = el.attr("src");
		path["over"] = el.attr("over");
	}
	$(btnClass).mouseover(function(){
		getRollovers($(this));
		$(this).attr("src", path["over"]);
	}).mouseout(function(){
		$(this).attr("src", path["src"]);			
	}).click(function(){
		var link = $(this).attr("href");
		if(link)
			window.location = $(this).attr("href");
	});	
});