// JavaScript Document
// This document defines images for the onClick Rollover in the site.
// In document.images each active model needs to be defined as Feature, Photo & Elevation
// To create a new model copy an existing section, past in notepad, find and replace all instance of the model name, all lowercase, no spaces, and paste back in inside the {} brackets below.
     if (document.images)
   { 	 	 
     columbiaFeature= new Image(400,300);
     columbiaFeature.src="images/columbia_photo.jpg"; 
     columbiaPhoto= new Image(400,300);
     columbiaPhoto.src="images/columbia_photo.jpg";
     columbiaElevation= new Image(400,300);
     columbiaElevation.src="images/columbia_elevation.gif"; 
	 
	 illinoisFeature= new Image(400,300);
     illinoisFeature.src="images/illinois_photo.jpg";  
     illinoisPhoto= new Image(400,300);
     illinoisPhoto.src="images/illinois_photo.jpg";
     illinoisElevation= new Image(400,300);
     illinoisElevation.src="images/illinois_elevation.gif"; 

	 mckenzieFeature= new Image(400,300);
     mckenzieFeature.src="images/mckenzie_photo.jpg"; 
     mckenziePhoto= new Image(400,300);
     mckenziePhoto.src="images/mckenzie_photo.jpg";
     mckenzieElevation= new Image(400,300);
     mckenzieElevation.src="images/mckenzie_elevation.gif";  
	 
 	 mckenzie2Feature= new Image(400,300);
     mckenzie2Feature.src="images/mckenzie2_photo.jpg"; 
     mckenzie2Photo= new Image(400,300);
     mckenzie2Photo.src="images/mckenzie2_photo.jpg";
     mckenzie2Elevation= new Image(400,300);
     mckenzie2Elevation.src="images/mckenzie2_elevation.gif";  

     santiamFeature= new Image(400,300);
     santiamFeature.src="images/santiam_photo.jpg";  
     santiamPhoto= new Image(400,300);
     santiamPhoto.src="images/santiam_photo.jpg";
     santiamElevation= new Image(400,300);
     santiamElevation.src="images/santiam_elevation.gif"; 
	 
	 tillamookFeature= new Image(400,300);
     tillamookFeature.src="images/tillamook_photo.jpg";  
     tillamookPhoto= new Image(400,300);
     tillamookPhoto.src="images/tillamook_photo.jpg";
     tillamookElevation= new Image(400,300);
     tillamookElevation.src="images/tillamook_elevation.gif"; 

	 wallowaFeature= new Image(400,300);
     wallowaFeature.src="images/wallowa_photo.jpg";  
	 wallowaPhoto= new Image(400,300);
     wallowaPhoto.src="images/wallowa_photo.jpg";
     wallowaElevation= new Image(400,300);
     wallowaElevation.src="images/wallowa_elevation.gif"; 
	 
     willametteFeature= new Image(400,300);
     willametteFeature.src="images/willamette_photo.jpg";  
     willamettePhoto= new Image(400,300);
     willamettePhoto.src="images/willamette_photo.jpg";
     willametteElevation= new Image(400,300);
     willametteElevation.src="images/willamette_elevation.gif"; 
   }

function change1(picName,imgName)
 {
   if (document.images)
    {
      imgOn=eval(imgName + ".src");
      document[picName].src= imgOn;
    }
 }

