function preLoad() {
if(document.images) {
if(!document.imageArray) {
document.imageArray=new Array();
var i = document.imageArray.length;
var a = preLoad.arguments;
for(i=0; i<a.length; i++) {
document.imageArray[i] = new Image;
document.imageArray[i].src=a[i];
}
}
}
}


var nav = new Array();

nav[0] = new Array();
//this value is the link for the nav item
nav[0][0] = "projects.html";
//this value is the name of the first image, the "off" image
nav[0][1] = "intNav_P";
//this value is the width of the image
nav[0][2] = "70";
//height of the image
nav[0][3] = "16";
//alt tag for image
nav[0][4] = "Projects";

nav[1] = new Array();
nav[1][0] = "abouthplusl.html";
nav[1][1] = "intNav_AU";
nav[1][2] = "86";
nav[1][3] = "16";
nav[1][4] = "About Us";

nav[2] = new Array();
nav[2][0] = "contact.html";
nav[2][1] = "intNav_CU";
nav[2][2] = "85";
nav[2][3] = "16";
nav[2][4] = "Contact";




function swapImage(imgName, fileName) {


if(document.images) {
var imgToChange="document." + imgName;
imgToChange=eval(imgToChange);
imgToChange.src=fileName;
}
}


var navBar = "";

function mainNav(currentPage) {
for (i = 0; i < nav.length; i++) {
if(i == currentPage)
{
picSrc = 'images/' + nav[i][1] + '_on.gif';
}
else
{
picSrc = 'images/' + nav[i][1] + '.gif';
}

navBar += '<td><a href="' + nav[i][0] + '" onMouseOver="swapImage(\'' + nav[i][1] + '\',\'images/' + nav[i][1] + '_on.gif\');" onMouseOut="swapImage(\'' + nav[i][1] + '\',\'' + picSrc + '\');"><img src="' + picSrc + '" width="' + nav[i][2] + '"height="' + nav[i][3] + '" border="0" alt="' + nav[i][4] + '" name="' + nav[i][1] + '" /></a></td>';
}
//alert(navBar);
document.write(navBar);
} 

function popUp(filename, dimensions) {
	window.open(filename, '', dimensions);
}