/**
 * @author Andrea
 */
startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("menubar");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}
/*
function setCurrent() {
//var currentPage = document.location.pathname.substring(document.location.pathname.lastIndexOf("/")+1,document.location.pathname.lastIndexOf("."))
var currentPage = document.location.pathname.substring(document.location.pathname.lastIndexOf("/")+1)

$("a[href='"+currentPage+"']").addClass("current")
}
*/

$(document).ready(function() {
startList();
//setCurrent();

//alert($(".textContainer").css("height"))
//alert($(".textContainer").height())
//$(".sxSfondo").height($(".textContainer").height()+15)
//$(".filler").height($(".textContainer").height()- 300).css("visibility", "visible")
})


/*
window.onload=function() {
startList();
////initMenubarItems();
//initLeftMenu();
}
*/
