if (document.images) {

	// nav 1 buttons (all pages except Work section)
	butt1_1on = new Image();   butt1_1on.src = "images/nav1_butt1b.gif";
	butt1_1off = new Image();   butt1_1off.src = "images/nav1_butt1a.gif";

	butt2_1on = new Image();   butt2_1on.src = "images/nav1_butt2b.gif";
	butt2_1off = new Image();   butt2_1off.src = "images/nav1_butt2a.gif";
            
	butt3_1on = new Image();   butt3_1on.src = "images/nav1_butt3b.gif";
	butt3_1off = new Image();   butt3_1off.src = "images/nav1_butt3a.gif";

	butt4_1on = new Image();   butt4_1on.src = "images/nav1_butt4b.gif";
	butt4_1off = new Image();   butt4_1off.src = "images/nav1_butt4a.gif";
	
	butt5_1on = new Image();   butt5_1on.src = "images/nav1_butt5b.gif";
	butt5_1off = new Image();   butt5_1off.src = "images/nav1_butt5a.gif";

	butt6_1on = new Image();   butt6_1on.src = "images/nav1_butt6b.gif";
	butt6_1off = new Image();   butt6_1off.src = "images/nav1_butt6a.gif";

	buttLogin1on = new Image();   buttLogin1on.src = "images/nav1_login_b.gif";
	buttLogin1off = new Image();   buttLogin1off.src = "images/nav1_login_a.gif";

	buttSend1on = new Image();   buttSend1on.src = "images/nav1_send_b.gif";
	buttSend1off = new Image();   buttSend1off.src = "images/nav1_send_a.gif";

	// nav 1 buttons (all pages except Work section)
	// main nav bar
	butt1_2on = new Image();   butt1_2on.src = "images/nav2_butt1b.gif";
	butt1_2off = new Image();   butt1_2off.src = "images/nav2_butt1a.gif";

	butt2_2on = new Image();   butt2_2on.src = "images/nav2_butt2b.gif";
	butt2_2off = new Image();   butt2_2off.src = "images/nav2_butt2a.gif";
            
	butt3_2on = new Image();   butt3_2on.src = "images/nav2_butt3b.gif";
	butt3_2off = new Image();   butt3_2off.src = "images/nav2_butt3a.gif";

	butt4_2on = new Image();   butt4_2on.src = "images/nav2_butt4b.gif";
	butt4_2off = new Image();   butt4_2off.src = "images/nav2_butt4a.gif";
	
	butt5_2on = new Image();   butt5_2on.src = "images/nav2_butt5b.gif";
	butt5_2off = new Image();   butt5_2off.src = "images/nav2_butt5a.gif";

	butt6_2on = new Image();   butt6_2on.src = "images/nav2_butt6b.gif";
	butt6_2off = new Image();   butt6_2off.src = "images/nav2_butt6a.gif";

	buttLogin2on = new Image();   buttLogin2on.src = "images/nav2_login_b.gif";
	buttLogin2off = new Image();   buttLogin2off.src = "images/nav2_login_a.gif";

	buttSend2on = new Image();   buttSend2on.src = "images/nav2_send_b.gif";
	buttSend2off = new Image();   buttSend2off.src = "images/nav2_send_a.gif";
	
	//"work" section sub navigation
	subButt1on = new Image();   subButt1on.src = "images/nav_sub_work_butt1b.gif";
	subButt1off = new Image();   subButt1off.src = "images/nav_sub_work_butt1a.gif";

	subButt2on = new Image();   subButt2on.src = "images/nav_sub_work_butt2b.gif";
	subButt2off = new Image();   subButt2off.src = "images/nav_sub_work_butt2a.gif";
            
	subButt3on = new Image();   subButt3on.src = "images/nav_sub_work_butt3b.gif";
	subButt3off = new Image();   subButt3off.src = "images/nav_sub_work_butt3a.gif";

	//"recognition" section sub navigation
	recSubButt1on = new Image();   recSubButt1on.src = "images/nav_sub_rec_butt1b.gif";
	recSubButt1off = new Image();   recSubButt1off.src = "images/nav_sub_rec_butt1a.gif";

	recSubButt2on = new Image();   recSubButt2on.src = "images/nav_sub_rec_butt2b.gif";
	recSubButt2off = new Image();   recSubButt2off.src = "images/nav_sub_rec_butt2a.gif";
            
	recSubButt3on = new Image();   recSubButt3on.src = "images/nav_sub_rec_butt3b.gif";
	recSubButt3off = new Image();   recSubButt3off.src = "images/nav_sub_rec_butt3a.gif";
	
	recSubButt4on = new Image();   recSubButt4on.src = "images/nav_sub_rec_butt4b.gif";
	recSubButt4off = new Image();   recSubButt4off.src = "images/nav_sub_rec_butt4a.gif";
            
	recSubButt5on = new Image();   recSubButt5on.src = "images/nav_sub_rec_butt5b.gif";
	recSubButt5off = new Image();   recSubButt5off.src = "images/nav_sub_rec_butt5a.gif";


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

	function imgOff(imgName) {
		if (document.images) {
			document.images[imgName].src = eval(imgName + "off.src");        
		}
	}
	
}

function sendPage() {
	var theURL = document.location;
	var newPage = "sendpage.html?sendURL="+theURL;
	document.location = newPage
}