<!--
/*****************************
script:			rollovers
description:	scripts for loading images and performing rollovers (v.1.0 basic)
author:			w.searle, precise minds
*****************************/
if (document.images) {
	menu0_off = new Image;
	menu0_over = new Image;
	menu1_off = new Image;
	menu1_over = new Image;
	menu2_off = new Image;
	menu2_over = new Image;
	menu3_off = new Image;
	menu3_over = new Image;
	menu4_off = new Image;
	menu4_over = new Image;
	menu5_off = new Image;
	menu5_over = new Image;
	menu6_off = new Image;
	menu6_over = new Image;
	title2397_off = new Image;
	title2397_over = new Image;
	title2398_off = new Image;
	title2398_over = new Image;
	returnWho_off = new Image;
	returnWho_over = new Image;
	returnProjects_off = new Image;
	returnProjects_over = new Image;
	viewnext_off = new Image;
	viewnext_over = new Image;
	returnArchive_off = new Image;
	returnArchive_over = new Image;
	current_off = new Image;
	current_over = new Image;
	archive_off = new Image;
	archive_over = new Image;
} // end if

function load_menu(root_path) {
	if (document.images) {
		menu0_off.src = root_path + "images/menu/btn-index.gif";
		menu0_over.src = root_path + "images/menu/btn-index-on.gif";
		menu1_off.src = root_path + "images/menu/btn-who-we-are.gif";
		menu1_over.src = root_path + "images/menu/btn-who-we-are-on.gif";
		menu2_off.src = root_path + "images/menu/btn-what-we-do.gif";
		menu2_over.src = root_path + "images/menu/btn-what-we-do-on.gif";
		menu3_off.src = root_path + "images/menu/btn-newsroom.gif";
		menu3_over.src = root_path + "images/menu/btn-newsroom-on.gif";
		menu4_off.src = root_path + "images/menu/btn-downloads.gif";
		menu4_over.src = root_path + "images/menu/btn-downloads-on.gif";
		menu5_off.src = root_path + "images/menu/btn-links.gif";
		menu5_over.src = root_path + "images/menu/btn-links-on.gif";
		menu6_off.src = root_path + "images/menu/btn-contact.gif";
		menu6_over.src = root_path + "images/menu/btn-contact-on.gif";
		title2397_off.src = root_path + "images/btn-partners.gif";
		title2397_over.src = root_path + "images/btn-partners-on.gif";
		title2398_off.src = root_path + "images/btn-board-members.gif";
		title2398_over.src = root_path + "images/btn-board-members-on.gif";
		returnWho_off.src = root_path + "images/btn-return-who.gif";
		returnWho_over.src = root_path + "images/btn-return-who-on.gif";
		returnProjects_off.src = root_path + "images/btn-return-projects.gif";
		returnProjects_over.src = root_path + "images/btn-return-projects-on.gif";
		viewnext_off.src = root_path + "images/btn-view-next.gif";
		viewnext_over.src = root_path + "images/btn-view-next-on.gif";
		returnArchive_off.src = root_path + "images/news/btn-return-archive.gif";
		returnArchive_over.src = root_path + "images/news/btn-return-archive-on.gif";
		current_off.src = root_path + "images/news/btn-current-news.gif";
		current_over.src = root_path + "images/news/btn-current-news-on.gif";
		archive_off.src = root_path + "images/news/btn-archive.gif";
		archive_over.src = root_path + "images/news/btn-archive-on.gif";
	} // end if
} // end function

function swap_item(img_id, img_state){
	if (document.images) {
		if ((img_state == 'over') || (img_state == 'off')){
			document[img_id].src = eval(img_id + '_' + img_state + '.src');
		} // end if
	} // end if
} // end function




//-->
