
window.onload=scrollIt;

function scrollIt() {

	if((obj = document.getElementById("scrollPoint")) && obj != null){
          window.scrollTo(0, obj.offsetTop);
      }
}

function highlightLink(id) {

	document.getElementById("linkCount"+id).style.backgroundColor = "#0000FF";
	document.getElementById("linkCount"+id).style.color = "white";
	document.getElementById("linkCount"+id).style.bordorColor = "lightblue";
	document.getElementById("linkCount"+id).style.bordorWidth = "2px";
}

function unHighlightLink(id) {

	document.getElementById("linkCount"+id).style.color = "white";
	document.getElementById("linkCount"+id).style.backgroundColor = "inherit";
	document.getElementById("linkCount"+id).style.borderColor = "white";
}

function highlightSide(id) {

	document.getElementById("sideBar"+id).style.fontWeight = "normal";
	//popitup


}

function unHighlightSide(id) {
//	document.getElementById("linkCount"+id).style.backgroundImage = img;
	if (id != "1") {
		document.getElementById("sideBar"+id).style.fontWeight = "bold";
	}
	//document.getElementById("sideBar"+id).style.color = "lightblue";
	//document.getElementById("sideBar"+id).style.backgroundColor = "darkblue";
}

function popitup(url) {
	newwindow=window.open(url,'name','height=200,width=150');
	if (window.focus) {newwindow.focus()}
	return false;
}

