<!--
// jQuery functions
$(document).ready(function() {
	
	// tabs roll over function (normal tabs)
	$(".NavBtn").not(".Disabled, .BtnOn").hover(
	function() {
		$(this).removeClass("BtnOff").addClass("BtnOn");
	},
	function() {
		$(this).removeClass("BtnOn").addClass("BtnOff");
	});
	
	// category roll over function
	$(".CatTxtOff").hover(
	function() {
		$(this).removeClass("CatTxtOff").addClass("CatTxtOn");
	},
	function() {
		$(this).removeClass("CatTxtOn").addClass("CatTxtOff");
	});
	
	// left category roll over function
	$(".CatRowOff").hover(
	function() {
		$(this).removeClass("CatRowOff").addClass("CatRowOn");
	},
	function() {
		$(this).removeClass("CatRowOn").addClass("CatRowOff");
	});
	
	// button roll over
	$(".IconInActive").hover(
	function() {
		$(this).removeClass("IconInActive").addClass("IconActive");
	},
	function() {
		$(this).removeClass("IconActive").addClass("IconInActive");
	});
	
	$(".PageOff").hover(
	function() {
		$(this).removeClass("PageOff").addClass("PageOn");
	},
	function() {
		$(this).removeClass("PageOn").addClass("PageOff");
	});
});


//categories show/hide
function ToggleSubCatBox(id, imgID, url){
	$("#"+id).animate({ height: 'toggle' }, 500);
	var toggleImage = document.getElementById(imgID);
	if (toggleImage.alt=="closed") {
		createCookie(id,'on','1');
		toggleImage.alt="open";
		toggleImage.src="_assets/images/buttons/-.gif";
	} else { 
		createCookie(id,'off','1');
		toggleImage.alt="closed";
		toggleImage.src="_assets/images/buttons/+.gif";
	}
}

//-->

