<!--
/* General Open Window Function... 
Arguments: url, name, width (int), height (int), scrollbars (boolean 0 or 1)--
width, height, and scrollbars values are optional.*/
function openWin(url, name, w, h, s) {
	if (w) { w = "width=" + w; } else { w = "width=300" }
	if (h) { h = "height=" + h; } else { h = "height=400"}
	if (s) { s = "scrollbars=" + s } else { s = "scrollbars=0" }
	messagewindow = window.open(url, name, ""+w+","+h+","+s+",menubar=no,top=50,left=50,resizable=yes");
	messagewindow.focus();
}

/* Image Rollover menu array/function */
if (document.images)
{
//Core Content Navigation Menu (publishing, communicating, litigating
	corenav1Off = new Image;
    corenav1Off.src = "/images/corenav1a.gif";
    corenav1Hi = new Image;
    corenav1Hi.src = "/images/corenav1b.gif";
    
    corenav2Off = new Image;
    corenav2Off.src = "/images/corenav2a.gif";
    corenav2Hi = new Image;
    corenav2Hi.src = "/images/corenav2b.gif";
    
    corenav3Off = new Image;
    corenav3Off.src = "/images/corenav3a.gif";
    corenav3Hi = new Image;
    corenav3Hi.src = "/images/corenav3b.gif";

/* Utilities (contact, how to support, at-a-glance) */
    ut1Off = new Image;
    ut1Off.src = "/images/ut1a.gif";
    ut1Hi = new Image;
    ut1Hi.src = "/images/ut1b.gif";

    ut2Off = new Image;
    ut2Off.src = "/images/ut2a.gif";
    ut2Hi = new Image;
    ut2Hi.src = "/images/ut2b.gif";

    ut3Off = new Image;
    ut3Off.src = "/images/ut3a.gif";
    ut3Hi = new Image;
    ut3Hi.src = "/images/ut3b.gif";   
}
function chgImg(imgField,newImg) {
    if (document.images) {
  		document [imgField].src= eval(newImg + ".src")
    }
}

/* Main Navigation rollover toggle for cell backgrounds. */
function toggleNav(cellID, state) {
	el = (document.getElementById) ? document.getElementById(cellID) : document.all[cellID] ;
	elLink = (document.getElementById) ? document.getElementById(cellID+"Link") : document.all[cellID+"Link"] ;
	if (state==1) {
		el.style.background = '#ffeeaa';
		elLink.style.color = 'black';
	} else {
		el.style.background = '#ffffcc';
		elLink.style.color = '#006699';
	}
}

/* Webcasting window openers: provided by Webcasting vendor */
function webcast_bdct(url) {
	window.open(url,'bdct','width=790,height=590,resizeable=no,top=60,left=130');
}

function webcast_arch(url) {
	window.open(url,'arch','width=790,height=590,resizeable=no,top=60,left=130');
}

/* At-a-Glance specific pop up */
function popUp() {
	window.open("/ataglance.asp", "glance", "height=450,width=520,top=50,left=50,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes");
}

/* WLF Supporters specific pop up */
function supporters() {
	window.open("/support/supporters.asp", "supporters", "height=450,width=450,top=50,left=50,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes");
}

/* What others have said specific pop up */
function popOthers() {
	window.open("/Resources/WLFMission/others.asp", "others", "height=450,width=400,top=50,left=50,status=no,toolbar=no,menubar=no,location=no,scrollbars=yes");
}
// -->
