//http://apeatling.wordpress.com/2006/04/02/creating-a-dynamic-navigation-menu/
/*
var hidden = [];

function hide_menu(element){
	hidden[element] = true;
	alert(hidden[element]);
	setTimeout("show_hide_timeout('" + element + "')", 1000);
}

function show_hide_timeout(element) {
	if(!hidden[element]) {
		$(element).show();
	} else {
		$(element).hide();
	}
}

function show_menu(element){
	hidden[element] = false;
	alert(hidden[element]);
	setTimeout("show_hide_timeout('" + element + "')", 1000);
}
*/

function show_hide(id, pic) {
	if ($(id).style.display == 'block') {
		$(id).style.display = 'none';
		$(pic).src = '/images/icons/plus.png';
	} else {
		$(id).style.display = 'block';
		$(pic).src = '/images/icons/minus.png';
	}
}

