//global variable to capture restore image URL

 
//preload images
	nav_off = new Image(800,64);
	nav_off.src = nav_off_img;
	nav_home_on = new Image(800, 64);
	nav_home_on.src = "../../images/nav_home_on.gif";
	nav_about_on = new Image(800, 64);
	nav_about_on.src = "../../images/nav_about_on.gif";
	nav_why_on = new Image(800, 64);
	nav_why_on.src ="../../images/nav_why_on.gif";
	nav_cause_on = new Image(800, 64);
	nav_cause_on.src = "../../images/nav_causechallenge_on.gif";
	nav_faq_on = new Image(800, 64);
	nav_faq_on.src = "../../images/nav_faq_on.gif";
	nav_testimonials_on = new Image(800,64);
	nav_testimonials_on.src = "../../images/nav_testimonials_on.gif";
	nav_order_on = new Image(800,64);
	nav_order_on.src = "../../images/nav_order_on.gif";
	nav_bp_home_on = new Image(800, 64);
	nav_bp_home_on.src = "../../images/nav_bp_home_on.gif";
	nav_bp_about_on = new Image(800, 64);
	nav_bp_about_on.src = "../../images/nav_bp_about_on.gif";
	nav_bp_why_on = new Image(800, 64);
	nav_bp_why_on.src ="../../images/nav_bp_why_on.gif";
	nav_bp_cause_on = new Image(800, 64);
	nav_bp_cause_on.src = "../../images/nav_bp_causechallenge_on.gif";
	nav_bp_faq_on = new Image(800, 64);
	nav_bp_faq_on.src = "../../images/nav_bp_faq_on.gif";
	nav_bp_testimonials_on = new Image(800,64);
	nav_bp_testimonials_on.src = "../../images/nav_bp_testimonials_on.gif";
	nav_bp_order_on = new Image(800,64);
	nav_bp_order_on.src = "../../images/nav_bp_order_on.gif";

//swap
	function swap(name){
	document["navigation"].src = eval(name + ".src");
	}
	
	function restore(){
	document["navigation"].src = eval("nav_off.src");
	}
