Event.observe(window, 'load', function() 
{
	 if($("nav")){
			$("home").onmouseover = function () {this.className = "over";}
			$("home").onmouseout = function () {this.className = "";}
			$("home").onclick = function () {window.location = "index.html";}
					
			$("aboutUs").onmouseover = function () {this.className = "over";}
			$("aboutUs").onmouseout = function () {this.className = "";}
			$("aboutUs").onclick = function () {window.location = "aboutUs.html";}
		
			$("contact").onmouseover = function () {this.className = "over";}
			$("contact").onmouseout = function () {this.className = "";}
			$("contact").onclick = function () {window.location = "contact.html";}
			
			$("login").onmouseover = function () {this.className = "over";}
			$("login").onmouseout = function () {this.className = "";}
			$("login").onclick = function () {window.location = "login.asp";}
	 }
 if($("logo")){
$("logo").onclick = function () {window.location = "index.html";}


}
 if($("projectPage")){
	  $("projectPage").style.height=document.body.offsetHeight;
	 
 }
   
 if($("rPage")){
   Effect.BlindDown('rPage', { duration: 1.0}); 
		}

 if($("btn1")){
  	$("btn1").onmouseover = function () {this.className = "btnover";}
	$("btn1").onmouseout = function () {this.className = "buttonClass";}
		}

 if($("btn2")){
   	$("btn2").onmouseover = function () {this.className = "btnover";}
	$("btn2").onmouseout = function () {this.className = "buttonClass";}
 
		}

})