function setNavOver() {
	var tmp = ["faq","home","programs","signup","sites","support","tools"];
	var imgObj = new Image();
	for( var i = 0, len = tmp.length; i < len; i++ ) {

		imgObj.src = tmp[i];
		var linkName = tmp[i].substr(0,1).toUpperCase() + tmp[i].substr(1);

		var t = document.getElementById("topNav" + linkName );
		t.onmouseover	= function(){this.firstChild.src = "/nats_images/skins/1007/gfx/topnav/nav-top-" + this.id.substr(6).toLowerCase() + "-over.jpg";}
		t.onmouseout	= function(){this.firstChild.src = "/nats_images/skins/1007/gfx/topnav/nav-top-" + this.id.substr(6).toLowerCase() + ".jpg";}

		var t = document.getElementById("botNav" + linkName );
		t.onmouseover	= function(){this.firstChild.src = "/nats_images/skins/1007/gfx/botnav/nav-bot-" + this.id.substr(6).toLowerCase() + "-over.jpg";}
		t.onmouseout	= function(){this.firstChild.src = "/nats_images/skins/1007/gfx/botnav/nav-bot-" + this.id.substr(6).toLowerCase() + ".jpg";}
	}
}

function sitePreviewVideo( flv ) {
	swfobject.embedSWF(
		"/nats_images/skins/player.swf",
		"trailer",
		453,
		360,
		"9.0.0",
		"/nats_images/skins/expressInstall.swf",
		{	clipURL	:flv
		},
		{	quality	:"best",
			wmode	:"transparent"
		},
		{
		}
	);
}

if( typeof window.onload != "function" ) {
	window.onload = function() { setNavOver(); }
} else {
	var oldonload = window.onload;
	window.onload = function() {
		oldonload();
		setNavOver();
	}
}

