﻿

function PrintPopUp(URL) {
    eval("window.open(URL, 'PrintPage','toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=0,width=800,height=600,left=50,top=50');");
}


function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=1,menubar=0,resizable=1,width=400,height=400');");
}


function doPrint() {
    if (window.print) {
        window.print();
    } else {
        alert('Please choose the print button from your browser.  Usually in the menu dropdowns at File: Print');
    }
}

function blurObj(o) {
    setTimeout(function() { o.blur() }, 1);
}

function FAQToggleAnswer(id) {
    FAQHideAllAnswers();
    if (document.getElementById(id).className == "Hide")
        document.getElementById(id).className = "AnswerDiv";
    else
        document.getElementById(id).className = "Hide";
}

function FAQHideAllAnswers() {
    var retVal = new Array();
    var elements = document.getElementsByTagName("div");
    for (var i = 0; i < elements.length; i++) {
        if (elements[i].className.indexOf("AnswerDiv") >= 0) {
            elements[i].className = "Hide";
        } 
    }
}



// End -->
	