function show_menu(id, parent, active){
	if (document.getElementById(id)){
		if (document.getElementById(id).style.display=='none'){
			document.getElementById(id).style.display='';
			if (active==1){
				parent.style.backgroundImage='url("/img/cat-menu/m_a_da.jpg")';
			}
			else{
				parent.style.backgroundImage='url("/img/cat-menu/m_a_d.jpg")';
			}
		}
		else{
			document.getElementById(id).style.display='none';
			if (active==1){
				parent.style.backgroundImage='url("/img/cat-menu/m_a_la.jpg")';
			}
			else{
				parent.style.backgroundImage='url("/img/cat-menu/m_a_l.jpg")';
			}
		}
	}
}

function show_menu2(id, parent, active){
	if (document.getElementById(id)){
		if (document.getElementById(id).style.display=='none'){
			document.getElementById(id).style.display='';
			if (active==1){
				parent.style.backgroundImage='url("/img/cat-menu/s_a_da.gif")';
			}
			else{
				parent.style.backgroundImage='url("/img/cat-menu/s_a_d.gif")';
			}
		}
		else{
			document.getElementById(id).style.display='none';
			if (active==1){
				parent.style.backgroundImage='url("/img/cat-menu/s_a_la.gif")';
			}
			else{
				parent.style.backgroundImage='url("/img/cat-menu/s_a_l.gif")';
			}
		}
	}
}

function show_menu3(id, parent){
	if (document.getElementById(id)){
		if (document.getElementById(id).style.display=='none'){
			document.getElementById(id).style.display='';
			parent.style.backgroundImage='url("/img/cat-menu/s_a_da.gif")';
		}
		else{
			document.getElementById(id).style.display='none';
			parent.style.backgroundImage='url("/img/cat-menu/s_a_la.gif")';
		}
	}
}