function makenav_jpg(str,w,h) {
	this.off=new Image (w,h);
	this.off.src=dir+"images/nav_"+str+".jpg";
	this.on=new Image (w,h);
	this.on.src=dir+"images/nav_"+str+"_on.jpg";
}

navIMG_jpg=new Array(3);
navIMG_jpg[0]=new makenav_jpg ("adventures",305,59);
navIMG_jpg[1]=new makenav_jpg ("recommends",130,110);
navIMG_jpg[2]=new makenav_jpg ("recommends",130,110);
navIMG_jpg[3]=new makenav_jpg ("recommends",130,110);

function toggle_jpg(n,on) {
	if (on==1) {
		document.images["jnav"+n].src=navIMG_jpg[n].on.src;
	} else {
		document.images["jnav"+n].src=navIMG_jpg[n].off.src;
	}
}


// Remember to name image "jnavX" and mouseOver call "toggle_jpg"
// With this script, the # of the image name (X in the line above) can start at "0"
// it doesn't have to continue in sequence after the #'s of the gifs.
