function initGMenuL() {
	var actTD = document.getElementById('menu-act-l1-line');
	if(actTD) {
		var prevSib = prevValidSibling(actTD);
		if(prevSib.className=='menu-no-l1-line') {
			prevSib.style.display = 'none';
		}
		
	}
}

/*
 * Funzione restituisce il vero PrevSibling.
 * Presa da http://developer.mozilla.org/en/docs/DOM
 */
function prevValidSibling(sib) {
	while ((sib = sib.previousSibling)) {
    	if (!is_ignorable(sib)) return sib;
  	}
  return null;
}
/*
 * Funzione che verifica se il nodo e' 'ignorabile', cioe' un commento o TEXT
 * Presa da http://developer.mozilla.org/en/docs/DOM
 */
function is_ignorable(nod) {
  return ( nod.nodeType == 8) || // A comment node
         ( (nod.nodeType == 3) && is_all_ws(nod) ); // a text node, all ws
}
/*
 * Funzione che verifica se il nodo e' vuoto
 * Presa da http://developer.mozilla.org/en/docs/DOM
 */
function is_all_ws( nod ) {
  // Use ECMA-262 Edition 3 String and RegExp features
  return !(/[^\t\n\r ]/.test(nod.data));
}

