					function jumpToPage(thePage) {
						if (thePage!=null && thePage!=0) {
							if(thePage==1) {window.location = "south-fork-american-river.htm"};
							if(thePage==2) {window.location = "middle-fork-american-river.htm"};
							if(thePage==3) {window.location = "north-fork-american-river.htm"};
							if(thePage==4) {window.location = "tuolumne-river.htm"};
							if(thePage==5) {window.location = "merced-river.htm"};
							if(thePage==6) {window.location = "kings-river.htm"};
							if(thePage==7) {window.location = "kaweah-river.htm"};
							if(thePage==8) {window.location = "kern-river.htm"};
							if(thePage==9) {window.location = "american-river-rafting-trips.htm"};
							if(thePage==10) {window.location = "family-river-trips.htm"};
							if(thePage==11) {window.location = "group-river-trips.htm"};
							if(thePage==12) {window.location = "special-discount-river-trips.htm"};
						};
					};

<!--

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		earth_body_09_earth_body_10_over = newImage("images/earth-body_09-earth-body_10.gif");
		earth_body_12_earth_body_13_over = newImage("images/earth-body_12-earth-body_13.gif");
		earth_body_15_earth_body_16_over = newImage("images/earth-body_15-earth-body_16.gif");
		earth_body_18_earth_body_19_over = newImage("images/earth-body_18-earth-body_19.gif");
		earth_body_22_earth_body_23_over = newImage("images/earth-body_22-earth-body_23.gif");
		earth_body_25_earth_body_26_over = newImage("images/earth-body_25-earth-body_26.gif");
		earth_body_28_earth_body_29_over = newImage("images/earth-body_28-earth-body_29.gif");
		earth_body_31_earth_body_33_over = newImage("images/earth-body_31-earth-body_33.gif");
		earth_body_38_earth_body_39_over = newImage("images/earth-body_38-earth-body_39.gif");
		earth_body_41_earth_body_42_over = newImage("images/earth-body_41-earth-body_42.gif");
		preloadFlag = true;
	}
}

// -->
// Start -->

<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin
function Start(page) {
OpenWin = this.open(page, "CtrlWindow", "width=350,height=200,left=350,top=250,screenX=350,screenY=250,toolbar=no,menubar=no,location=no,scrollbars=no,resize=yes");
}
// End -->

// Start -->
// (C) 2000 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header

var good;
function checkEmailAddress(field) {
// the following expression must be all on one line...
var goodEmail = field.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.info)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);
if (goodEmail){
   good = true
} else {
   alert('Please enter a valid e-mail address.')
   field.focus()
   field.select()
   good = false
   }
}

u = window.location;
m = "I recommend EarthTrek Expeditions for American River Whitewater Rafting....";
function mailThisUrl(){
   good = false
   checkEmailAddress(document.eMailer.address)
   if (good){
      // the following expression must be all on one line...
      window.location = "mailto:"+document.eMailer.address.value+"?subject="+m+"&body="+document.title+" "+u;
   }
}

// End -->

