// Array to define names and paths of images to load


// Array to hold preloaded images
var images = new Array();
var images_loaded = false;

function add_to_img_list(tmp_list)
{
	
}

// Function to preload images defined in imgDef
function load_images()
{
	if (document.images) {
		for (var i = 0; i < img_list.length; i++) {
			img_name = img_list[i][0];
			img_src = img_list[i][1];
			images[img_name] = new Image();
			images[img_name].src = img_src;
		}
		images_loaded = true;
	}
}

function nav1_over(button)
{
	if (document.images && images_loaded) {
		document.images[button].src = images[button + "_1"].src;
	}
}

function nav1_out(button)
{
	if (document.images && images_loaded && button != section) {
		document.images[button].src = images[button + "_0"].src;
	}
}

function nav2_over(button)
{
	if (document.images && images_loaded) {
		document.images[button].src = images[button + "_1"].src;
	}
}

function nav2_out(button)
{
	if (document.images && images_loaded && button != page) {
		document.images[button].src = images[button + "_0"].src;
	}
}


function popup(url, width, height) {
	newWindow = window.open(url, "news", "height=" + height + ",width=" + width + ",status=no,scrollbars=no,resize=no,menubar=no");
	newWindow.focus();
}