/**********************************************
* Nav menu image swap - by Michael Bell
***********************************************/
/* First we preload the images */
//logo
logo= new Image();
logo.src = "images/cool_river_logo.gif";
//locations header
locations= new Image();
locations.src = "images/locations.gif";
//navigation left bar
nav_left_bar= new Image();
nav_left_bar.src = "images/nav_left_bar.gif";
//navigation right bar
nav_right_bar= new Image();
nav_right_bar.src = "images/nav_right_bar.gif";
//navigation right bar
nav_bottom_bar= new Image();
nav_bottom_bar.src = "images/nav_bottom_bar.gif";
//history
history_on= new Image();
history_on.src = "images/nav_history_on.gif";
history_off = new Image();
history_off.src = "images/nav_history_off.gif";
//cool connections
cool_connections_on= new Image();
cool_connections_on.src = "images/nav_cool_connections_on.gif";
cool_connections_off = new Image();
cool_connections_off.src = "images/nav_cool_connections_off.gif";
//gift certificates
gift_certificates_on= new Image();
gift_certificates_on.src = "images/nav_gift_certificates_on.gif";
gift_certificates_off = new Image();
gift_certificates_off.src = "images/nav_gift_certificates_off.gif";

//comments
comments_on = new Image();
comments_on.src = "images/nav_comments_on.gif";
comments_off = new Image();
comments_off.src="images/nav_comments_off.gif";

/***********************************************
* Image Change script- by Michael Bell
***********************************************/
function imageChange(imageID,imageName)
{
  document.images[imageID].src = eval(imageName + ".src");
}
