
// preload images and rollover functions for footer nav
var footer_nav_path = "/images/navigation/"
if (document.images) {
	btn_about_on = new Image(200,20); btn_about_on.src = footer_nav_path + "btn_about_on.gif";
	btn_press_on = new Image(200,20); btn_press_on.src = footer_nav_path + "btn_press_on.gif";
	btn_contact_on = new Image(200,20); btn_contact_on.src = footer_nav_path + "btn_contact_on.gif";
	btn_subscribe_on = new Image(200,20); btn_subscribe_on.src = footer_nav_path + "btn_subscribe_on.gif";
	btn_site_on = new Image(200,20); btn_site_on.src = footer_nav_path + "btn_site_on.gif";
}

function footRollOver(imgname) 
{
if (document.images) {document[imgname].src = eval( imgname + "_on.src" ); }
}

function footRollOff(imgname) 
{
if (document.images) {document[imgname].src = footer_nav_path + imgname + ".gif" ; }
}

function popupscroll( url, width, height )
{ 
	w = !width ? 620 : width;
	h = !height ? 500 : height;
	w = w > screen.width ? screen.width : w;
	h = h > screen.height ? screen.height : h;
	l = screen.width/2 - w/2;
	t = screen.height/2 - h/2;
	window.open(url, "displayWindow", "left=" + l + ",top=" + t + ",width=" + w + ",height=" + h + ",resizable=no,status=no,scrollbars=yes,dependent=yes,menubar=no");	
} 

function openWindow(url,width,height) { 
	var Win=window.open(url,"displayWindow",'width=' + width + ',height=' + height + ',resizeable=0,scrollbars=yes,menubar=no,status=no'); 
} 

/* Checks to see if the registration type selected in the drop down isn't the label. */
function fRegTypeSubmit(oField) {
	if (oField.value != "") {
		oField.form.submit()
	}
}
