
// psirri.browser version
NS4 = (document.layers);
IE4 = (document.all);
ver4 = (NS4 || IE4);
isMac = (navigator.appVersion.indexOf("Mac") != -1);
isMenu = (NS4 || (IE4 && !isMac));
function popUp(){return};
function popDown(){return};
function startIt(){return};
if (!ver4) event = null;


// psirri.check if menu
if (isMenu) {
    menuVersion = 3;
    menuWidth = 100;
    childOverlap = -3;
    childOffset = 0;
    perCentOver = 10;
    secondsVisible = 0;
    fntCol = "#ffffff";
    fntSiz = "7";
    fntBold = false;
    fntItal = false;
    fntFam = "verdana,arial,ms sans serif";
    backCol = "#003366";
    overCol = "#ff9900";
    overFnt = "#003366";
    borWid = 1;
    borCol = "#003366";
    borSty = "solid";
    itemPad = 2;
    imgSrc = "graphics/tri.gif";
    imgSiz = 10;
    separator = 0;
    separatorCol = "#ff9900";
    isFrames = false;   
    navFrLoc = "left";   
    keepHilite = true; 
    NSfontOver = true;
    clickStart = false;
    clickKill = false;
}


// psirri.if menu
if (isMenu) {
document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='hierArrays.js'><\/SCRIPT>");
document.write("<SCRIPT LANGUAGE='JavaScript1.2' SRC='hierMenus.js'><\/SCRIPT>");
}




// psirri.global popups
function openScript(url, width, height) {
        var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=yes,scrollbars=yes,menubar=yes,status=0' );
}

// psirri.global popups
function churches(url, width, height) {
        var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',status=0' );
}


// psirri.check for invalid emails in forms
function testbox(form) {
    Ctrl = form.EmailAddress;
    if (Ctrl.value == "" || Ctrl.value.indexOf ('@', 0) == -1) {
    return (false);
    } else
        return (true);
} 



// psirri.add to favorites
function addtofav(){
 window.external.AddFavorite(location.href, document.title);
}

// psirri.greekbooks
function MM_openBrWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}

//end
