// Netscape Resize Fix
// This will check to see if the page has been resized (maximize, minimize, use of arrowed cursor) and, if Netscape
// (version 4 is the only one w/ the problem) will reload the page.
function checkNetscape() {if (document.layers) {widthCheck = window.innerWidthheightCheck = window.innerHeightwindow.onResize = resizeFix}}
function resizeFix() {if (widthCheck != window.innerWidth || heightCheck != window.innerHeight)document.location.href = document.location.href}
//this next section is hard to understand in terms of what it does. I think that it switches the images when a mouseover
//happens on the trustees page. This is accessed by all pages - no problems yet.
function MM_swapImgRestore() {if (document.MM_swapImgData != null)for (var i=0; i<(document.MM_swapImgData.length-1); i+=2)document.MM_swapImgData[i].src = document.MM_swapImgData[i+1];}
function MM_preloadImages() { if (document.images) {var imgFiles = MM_preloadImages.arguments;if (document.preloadArray==null) document.preloadArray = new Array();var i = document.preloadArray.length;with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#"){preloadArray[i] = new Image;preloadArray[i++].src = imgFiles[j];} }}
function MM_swapImage() { var i,j=0,objStr,obj,swapArray=new Array,oldArray=document.MM_swapImgData;for (i=0; i < (MM_swapImage.arguments.length-2); i+=3) {objStr = MM_swapImage.arguments[(navigator.appName == 'Netscape')?i:i+1];if ((objStr.indexOf('document.layers[')==0 && document.layers==null) ||(objStr.indexOf('document.all[') ==0 && document.all ==null))objStr = 'document'+objStr.substring(objStr.lastIndexOf('.'),objStr.length);obj = eval(objStr);if (obj != null) {swapArray[j++] = obj;swapArray[j++] = (oldArray==null || oldArray[j-1]!=obj)?obj.src:oldArray[j];obj.src = MM_swapImage.arguments[i+2];} }document.MM_swapImgData = swapArray;}
function MM_findObj(n, d) { var p,i,x;if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;}
