
google.load("prototype", "1");
google.setOnLoadCallback(function() {
	init();
});
 
// document.observe("dom:loaded", function() {
// 	init();
// });

function init() {
	// console.log("Loaded scripts");
	listItemAsLinks();
	setupDropDowns();
}

function listItemAsLinks() {
	// Change #navigation li to whatever hierarchy the navigation <li>'s are
	navListElements = $$('#nav li');
	for(i=0;i<navListElements.length;i++) {
		navListElements[i].observe('click', function(event) {
			location.href = this.firstChild.href;
		});
	};
}

