if(document.images){
	basedir="/images/"
	// create a new image in memory and reference it to the actual images
  	homeon  		= 	new Image(); homeon.src = basedir + "nav_home_on.gif";
	homeoff 		= 	new Image(); homeoff.src = basedir + "nav_home_off.gif";
	ourpeopleon		=	new Image(); ourpeopleon.src = basedir + "nav_ourpeople_on.gif";
	ourpeopleoff 	=	new Image(); ourpeopleoff.src = basedir + "nav_ourpeople_off.gif";
	investmentson	=	new Image(); investmentson.src = basedir + "nav_investments_on.gif";
	investmentsoff 	=	new Image(); investmentsoff.src = basedir + "nav_investments_off.gif";
	disclaimerson	=	new Image(); disclaimerson.src = basedir + "nav_disclaimers_on.gif";
	disclaimersoff 	=	new Image(); disclaimersoff.src = basedir + "nav_disclaimers_off.gif";
	contactuson		=	new Image(); contactuson.src = basedir + "nav_contactus_on.gif";
	contactusoff 	=	new Image(); contactusoff.src = basedir + "nav_contactus_off.gif";
  }

function put_status_message(msg){
	// add an optional message on the status line
status=msg;
document.my_returnvalue = true;
}

function rollin(image1, msg){
	if (document.images){
	if(document.staticmenu!=image1){
		// swap over the images
		document[image1].src = eval(image1 + "on.src");
	}
	if(msg!=''){
	put_status_message(msg)
	}
}

}
function rollon(image1){
	if(document.images){
		document.staticmenu=image1;
		document[image1].src = eval(image1 + "on.src");
		
	}
}

function rollout(image1){
if (document.images){
if(document.staticmenu!=image1){
	// swap them back again
	// staticmenu is a string and if set  to the name of the image will permenantly leave the item switched on
	// this is so that the same included menu file can be used for each menu item
	// implementation is below
	document[image1].src = eval(image1 + "off.src");
	}
}
}