

// mouseover script
home_off=new Image()
home_off.src = "images/nav/home_off.jpg"

home_on=new Image()
home_on.src = "images/nav/home_on.jpg"

info_off=new Image()
info_off.src = "images/nav/information_off.jpg"

info_on=new Image()
info_on.src = "images/nav/information_on.jpg"

capa_off=new Image()
capa_off.src = "images/nav/capabilities_off.jpg"

capa_on=new Image()
capa_on.src = "images/nav/capabilities_on.jpg"

port_off=new Image()
port_off.src = "images/nav/portfolio_off.jpg"

port_on=new Image()
port_on.src = "images/nav/portfolio_on.jpg"

moti_off=new Image()
moti_off.src = "images/nav/motives_off.jpg"

moti_on=new Image()
moti_on.src = "images/nav/motives_on.jpg"

news_off=new Image()
news_off.src = "images/nav/news_off.jpg"

news_on=new Image()
news_on.src = "images/nav/news_on.jpg"

cont_off=new Image()
cont_off.src = "images/nav/contact_off.jpg"

cont_on=new Image()
cont_on.src = "images/nav/contact_on.jpg"

// sub mouseover script
home2_off=new Image()
home2_off.src = "images/nav/sub/home_off.jpg"

home2_on=new Image()
home2_on.src = "images/nav/sub/home_on.jpg"

info2_off=new Image()
info2_off.src = "images/nav/sub/information_off.jpg"

info2_on=new Image()
info2_on.src = "images/nav/sub/information_on.jpg"

capa2_off=new Image()
capa2_off.src = "images/nav/sub/capabilities_off.jpg"

capa2_on=new Image()
capa2_on.src = "images/nav/sub/capabilities_on.jpg"

port2_off=new Image()
port2_off.src = "images/nav/sub/portfolio_off.jpg"

port2_on=new Image()
port2_on.src = "images/nav/sub/portfolio_on.jpg"

moti2_off=new Image()
moti2_off.src = "images/nav/sub/motives_off.jpg"

moti2_on=new Image()
moti2_on.src = "images/nav/sub/motives_on.jpg"

news2_off=new Image()
news2_off.src = "images/nav/sub/news_off.jpg"

news2_on=new Image()
news2_on.src = "images/nav/sub/news_on.jpg"

cont2_off=new Image()
cont2_off.src = "images/nav/sub/contact_off.jpg"

cont2_on=new Image()
cont2_on.src = "images/nav/sub/contact_on.jpg"

function filter(imagename,objectsrc){
	if (document.images) {
		document.images[imagename].src=eval(objectsrc+".src")
	}
}

// basic script to create popup window
function openWindow(url,width,height,name) {
	var myWin = null

	// if the window has not already been created, then create it now
	if(!myWin || myWin.closed) {
		myWin = window.open(url, name, "width=" + width + ",height=" + height + ",status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=no");
	// otherwise, just turn focus to the popup window
	} else {
		myWin.focus(wname);
	}
}

function validateForm(f) {

	if ((f.firstname.value=="") || (f.firstname.value==null) || (f.firstname.value=="first name")) {
		alert("Please enter your first name.");
		f.firstname.focus();

		return false;
	}

	if ((f.lastname.value=="") || (f.lastname.value==null) || (f.lastname.value=="last name")) {
		alert("Please enter your last name.");
		f.lastname.focus();

		return false;
	}

	if ((f.email.value=="") || (f.email.value==null) || (f.email.value=="e-mail address")) {
		alert("Please enter your e-mail address.");
		f.email.focus();

		return false;
	}

	return true;
}

//

 

 


