if (document.images)
   {
     nav1on= new Image(36,88);
     nav1on.src="images/nav_art_r.gif";  
     nav1off= new Image(36,88);
     nav1off.src="images/nav_art.gif";
	 
	 nav2on= new Image(33,88);
     nav2on.src="images/nav_video_r.gif";  
     nav2off= new Image(33,88);
     nav2off.src="images/nav_video.gif";
	 
	 nav3on= new Image(33,88);
     nav3on.src="images/nav_notes_r.gif";  
     nav3off= new Image(33,88);
     nav3off.src="images/nav_notes.gif";
	 
	 nav4on= new Image(35,88);
     nav4on.src="images/nav_press_r.gif";  
     nav4off= new Image(35,88);
     nav4off.src="images/nav_press.gif";
	 
	 nav5on= new Image(36,88);
     nav5on.src="images/nav_contact_r.gif";  
     nav5off= new Image(36,88);
     nav5off.src="images/nav_contact.gif";
	 
	 nav6on= new Image(34,88);
     nav6on.src="images/nav_links_r.gif";  
     nav6off= new Image(34,88);
     nav6off.src="images/nav_links.gif";
	 
	 nav7on= new Image(92,22);
     nav7on.src="images/subnav_collage_r.gif";  
     nav7off= new Image(92,22);
     nav7off.src="images/subnav_collage.gif";
	 
	 nav8on= new Image(190,22);
     nav8on.src="images/subnav_bmf_r.gif";  
     nav8off= new Image(190,22);
     nav8off.src="images/subnav_bmf.gif";
	 
	 nav9on= new Image(131,22);
     nav9on.src="images/subnav_prod_r.gif";  
     nav9off= new Image(131,22);
     nav9off.src="images/subnav_prod.gif";
	 
	 nav10on= new Image(130,22);
     nav10on.src="images/subnav_drawings_r.gif";  
     nav10off= new Image(130,22);
     nav10off.src="images/subnav_drawings.gif";
	 
	 nav11on= new Image(130,22);
     nav11on.src="images/subnav_video_prod_r.gif";  
     nav11off= new Image(130,22);
     nav11off.src="images/subnav_video_prod.gif";
	 
	 nav12on= new Image(413,22);
     nav12on.src="images/subnav_video_bmf_r.gif";  
     nav12off= new Image(413,22);
     nav12off.src="images/subnav_video_bmf.gif";
	 
	 nav13on= new Image(62,22);
     nav13on.src="images/subnav_notes_bio_r.gif";  
     nav13off= new Image(62,22);
     nav13off.src="images/subnav_notes_bio.gif";
	 
	 nav14on= new Image(106,22);
     nav14on.src="images/subnav_notes_exhibition_r.gif";  
     nav14off= new Image(106,22);
     nav14off.src="images/subnav_notes_exhibition.gif";
	 
	 nav15on= new Image(375,22);
     nav15on.src="images/subnav_notes_comment_r.gif";  
     nav15off= new Image(375,22);
     nav15off.src="images/subnav_notes_comment.gif";
	 
	 nav16on= new Image(94,22);
     nav16on.src="images/subnav_collage2_r.gif";  
     nav16off= new Image(94,22);
     nav16off.src="images/subnav_collage2.gif";
	 
	 nav17on= new Image(447,22);
     nav17on.src="images/subnav_productions2_r.gif";  
     nav17off= new Image(447,22);
     nav17off.src="images/subnav_productions2.gif";
   }
   
function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function lightup(imgName)
 {
   if (document.images)
    {
      imgOn=eval(imgName + "on.src");
      document[imgName].src= imgOn;
    }
 }

function turnoff(imgName)
 {
   if (document.images)
    {
      imgOff=eval(imgName + "off.src");
      document[imgName].src= imgOff;
    }
 }
 
 function hideLayer(whichLayer) {

if (document.getElementById) {
// this is the way the standards work
document.getElementById(whichLayer).style.visibility = "hidden";
}
else if (document.all) {
// this is the way old msie versions work
document.all[whichlayer].style.visibility = "hidden";
}
else if (document.layers) {
// this is the way nn4 works
document.layers[whichLayer].visibility = "hidden";
}

}

function showLayer(whichLayer) {

if (document.getElementById) {
// this is the way the standards work
document.getElementById(whichLayer).style.visibility = "visible";
}
else if (document.all) {
// this is the way old msie versions work
document.all[whichlayer].style.visibility = "visible";
}
else if (document.layers) {
// this is the way nn4 works
document.layers[whichLayer].visibility = "visible";
}

}

function handleClick(whichClick,theLayer) {

if (whichClick == "hide it") {
// then the user wants to hide the layer
hideLayer(theLayer);

}
else if (whichClick == "show it") {
// then the user wants to show the layer
showLayer(theLayer);
}

}