<!--
/* Global functions for WCRSF.ORG
Printing - printPage
NN4 resize bug - resizeFix
The javascript function printPage() is called from /includes/footer.asp, 
and it opens a window with content formatted such that it that will fit on a 
standard 8.5x11 sheet of paper when printed.  
*/
var printWin;
function printPage(thePath) {
printWin = window.open(thePath, 'printableWin','width=570,height=400,menubar=yes,toolbar=yes,scrollbars=yes');
printWin.focus();
}
/*
Workaround for a Netscape 4 bug that causes stylesheets to be corrupted when the window is resized.
*/
if (document.layers) {
var widthCheck = window.innerWidth;
var heightCheck = window.innerHeight;
window.onResize = resizeFix;
}
function resizeFix() {
with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)){
if (widthCheck != window.innerWidth || heightCheck != window.innerHeight)
document.location.href = document.location.href;
}}
}
function doClear(theText) {
if (theText.value == theText.defaultValue) {
theText.value = ""
}
}
function swapPhoto(imgTo){
document.photo.src = document[imgTo].src;
}
function openBrWindow(theURL,winName,features){
window.open(theURL,winName,features);
}
function makeArray(len) {
    for (var i = 0; i < len; i++) this[i] = null;
this.length = len;
}
urlcache = new Array(1)
urlcache[1] = "http://www.WCRSF.ORG/chapters/chapter1.asp";
urlcache[2] = "http://www.WCRSF.ORG/chapters/chapter2.asp";
urlcache[3] = "http://www.WCRSF.ORG/chapters/chapter3.asp";
urlcache[4] = "http://www.WCRSF.ORG/chapters/chapter4.asp";
urlcache[5] = "http://www.WCRSF.ORG/chapters/chapter6.asp";
urlcache[6] = "http://www.WCRSF.ORG/chapters/chapter7.asp";
urlcache[7] = "http://www.WCRSF.ORG/chapters/chapter8.asp";
urlcache[8] = "http://www.WCRSF.ORG/chapters/chapter9.asp";
urlcache[9] = "http://www.WCRSF.ORG/chapters/chapter10.asp";
urlcache[10] = "http://www.WCRSF.ORG/chapters/chapter11.asp";
urlcache[11] = "http://www.WCRSF.ORG/chapters/chapter12.asp";
urlcache[12] = "http://www.WCRSF.ORG/chapters/chapter13.asp";
urlcache[13] = "http://www.WCRSF.ORG/chapters/chapter14.asp";
urlcache[14] = "http://www.WCRSF.ORG/chapters/chapter15.asp";
urlcache[15] = "http://www.WCRSF.ORG/chapters/chapter16.asp";
urlcache[16] = "http://www.WCRSF.ORG/chapters/chapter17.asp";
urlcache[17] = "http://www.WCRSF.ORG/chapters/chapter18.asp";
urlcache[18] = "http://www.WCRSF.ORG/chapters/chapter20.asp";
urlcache[19] = "http://www.WCRSF.ORG/chapters/chapter5.asp";
urlcache[20] = "http://www.WCRSF.ORG/chapters/chapter21.asp";
urlcache[21] = "http://www.WCRSF.ORG/chapters/chapter22.asp";
urlcache[22] = "http://www.WCRSF.ORG/chapters/chapter23.asp";
urlcache[23] = "http://www.WCRSF.ORG/chapters/chapter24.asp";
urlcache[24] = "http://www.WCRSF.ORG/chapters/chapter25.asp";
urlcache[25] = "http://www.WCRSF.ORG/chapters/chapter26.asp";
urlcache[26] = "http://www.WCRSF.ORG/chapters/chapter27.asp";
urlcache[27] = "http://www.WCRSF.ORG/chapters/chapter28.asp";
urlcache[28] = "http://www.WCRSF.ORG/contact.asp";
function jumpQuick() {
if (document.quick_nav.choice.selectedIndex == 0 ){
} else {
urllocate = top.location.href.indexOf("pages")
urlchop = top.location.href.substring(0,urllocate)
top.location.href = (urlchop + urlcache[top.quick_nav.choice.selectedIndex]);
}
}
//-->
