var netscape = document.all ? 0 : 1;

if(netscape){
	window.captureEvents(Event.SCROLL);
}

window.onscroll = moveNavbar;

function moveNavbar(e){
	var obj = document.getElementById("navbar");
	var page = document.documentElement ? document.documentElement : document.body;
	if(obj){
		//alert(document.body.scrollTop);
		obj.style.top = page.scrollTop + "px";
	}
}

if(parent.name == "PEContainer"){
	//alert(parent.name);
	parent.document.title = document.title;
}
else { //force user into frames
	window.location.href = "start.php?page=" + window.location.pathname.substr(window.location.pathname.lastIndexOf("/") + 1, window.location.pathname.length) + window.location.search;
}
