openActiveMenu = function() {
	urlParts = document.URL.split('/');
	category = urlParts[urlParts.length - 2];
  if (targetMenu = document.getElementById( "cat-" + category )) {
		targetMenu.className = targetMenu.className + " qmf-current";
	}
}

$(document).ready(function() {
	$(".footercontent").load('/web/footer.txt');
	openActiveMenu();
});