// JavaScript Document
function pageDiv(showDiv, hideDiv, lnk){
	if(showDiv != ""){
		if(showDiv == "serviceLinkIcon"){
			if(lnk != "undefined"){
				topPosition = Math.round(document.getElementById(lnk).offsetTop + (document.getElementById(lnk).offsetHeight/2 - 7));
				document.getElementById(showDiv).style.top = topPosition+"px";
				document.getElementById(showDiv).style.left = "125px";
			}
		}
		document.getElementById(showDiv).style.display = "block";
	}
	if(hideDiv != ""){
		document.getElementById(hideDiv).style.display = "none";
	}
}
function randomDiv(currDiv,Num) {
	var ranNum= Math.ceil(Math.random() * Num);
	var displayStory = currDiv + ranNum;
	document.getElementById(displayStory).style.display="block";
}