
/* Rollovers */

if(document.images)
		img1on = new Image();
		img1on.src ="images/nav_about_on.gif";
		img2on = new Image();
		img2on.src ="images/nav_experience_on.gif";
		img3on = new Image();
		img3on.src ="images/nav_contact_on.gif";
		
		
		img1Aon = new Image();
		img1Aon.src ="images/nav2_about_on.gif";
		img2Aon = new Image();
		img2Aon.src ="images/nav2_experience_on.gif";
		img3Aon = new Image();
		img3Aon.src ="images/nav2_contact_on.gif";
		img4Aon = new Image();
		img4Aon.src ="images/nav2_home_on.gif";
		
						
		img1off = new Image();
		img1off.src ="images/nav_about.gif";
		img2off = new Image();
		img2off.src ="images/nav_experience.gif";
		img3off = new Image();
		img3off.src ="images/nav_contact.gif";
		
		img1Aoff = new Image();
		img1Aoff.src ="images/nav2_about.gif";
		img2Aoff = new Image();
		img2Aoff.src ="images/nav2_experience.gif";
		img3Aoff = new Image();
		img3Aoff.src ="images/nav2_contact.gif";
		img4Aoff = new Image();
		img4Aoff.src ="images/nav2_home.gif";
		

	
		
						
function imgOn(imgName){
	document[imgName].src = eval(imgName + "on.src");
} 

function imgOff(imgName){
	document[imgName].src = eval(imgName + "off.src");
} 


/* NETSCAPE RESIZE FIX  */

function reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.pgW=innerWidth; document.pgH=innerHeight; onresize=reloadPage; }}
  else if (innerWidth!=document.pgW || innerHeight!=document.pgH) location.reload();
}
reloadPage(true);



/* show layers  */

function show(object) {

  if (document.getElementById) {
    document.getElementById(object).style.display = 'block';
  }

  else if (document.layers && document.layers[object]) {
    document.layers[object].display = 'block';
  }

  else if (document.all) {
    document.all[object].style.display = 'block';
  }

}



function hide(object) {
  if (document.getElementById) {
    document.getElementById(object).style.display = 'none';
  }
  

  else if (document.layers && document.layers[object]) {
    document.layers[object].display = 'none';
  }


  else if (document.all) {
    document.all[object].style.display = 'none';
  }
}



function renew(){
hide('newsarchive');
}






