
var mouseX = mouseY =0;

function screenObject()
	{

	this.bottom = function(){
		if (document.body.scrollHeight) return document.body.scrollHeight};
	
	this.height = function() {
		if (document.body.offsetHeight) return document.body.offsetHeight;}
	
	this.visHeight = function() {
		if (window.innerHeight) return window.innerHeight;
		if (document.body.clientHeight) return document.body.clientHeight;}
	
	this.width = function() {
		if (document.body.offsetWidth) return document.body.offsetWidth;}
	
	this.scrollTop = function() {
		if(document.body.scrollTop) return document.body.scrollTop
		if (window.pageYOffset) return window.pageYOffset;
		else return 0;};
		
	
	}

function mousePosition(e)
	{
	if (e) event = e;   //for Netscape
	mouseX = event.clientX;
	mouseY = event.clientY;
	}
	
function placeNavBar()
	//moves the navbar into position
	{
	obj = document.getElementById("navTop");
  	
	
if (navigator.appName.indexOf('Microsoft') != -1)
{
	if (atumesaven.scrollTop() > 95) {
		obj.style.top = atumesaven.scrollTop()+"px"; 
		}
	else {obj.style.top = 95+"px";}
	//window.statys = obj+" | "+obj.stye.
	
} 

else 
  if (atumesaven.scrollTop() > 86) {
		obj.style.top = atumesaven.scrollTop()+"px"; 
		}
	else {obj.style.top = 86+"px";}
	//window.statys = obj+" | "+obj.stye.
   
	}


function windowResize()
	{
	placeNavBar()

	
	}
