function shadow() {
	if (document.getElementById("shadow")){
		var item = document.getElementById("shadow").getElementsByTagName("li");
		for(i = 0; i < item.length; i++) {
			item[i].onmouseover = function() {this.className = 'active';};
			item[i].onmouseout = function() {this.className = '';};
		}
	}
	return false;
}

function popup(url) {
	newwindow=window.open(url,'name','height=400,width=400');
	if (window.focus) {newwindow.focus()}
	return false;
}

function initPage() {
	shadow();
}

if (window.addEventListener) {
	window.addEventListener("load", initPage, false);
} else if (window.attachEvent) {
	window.attachEvent("onload", initPage);
} 