HM_UserAgent = navigator.userAgent;
HM_DOM = (document.getElementById) ? true : false;
HM_NS4 = (document.layers) ? true : false;
HM_IE = (document.all) ? true : false;
HM_IE4 = HM_IE && !HM_DOM;
HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
HM_IE4M = HM_IE4 && HM_Mac;
HM_Opera = (window.opera) ? true : false;
var ns4=HM_NS4
var ie4=HM_IE
var ns6=HM_DOM&&!HM_IE

var dirM="http://www.queensfcu.org/";

if(HM_Opera) {
    HM_BrowserPattern = /Opera(\/| )(\d+.*)/;
    HM_VersionSupported = 7;
}

HM_Konqueror = (HM_UserAgent.indexOf("Konqueror")!=-1);
if(HM_Konqueror) {
    HM_BrowserPattern = /(Konqueror\/)(\d+.*)/;
    HM_VersionSupported = 3;
}

if(HM_Opera || HM_Konqueror) {
    if (HM_UserAgent.match) {
       HM_Matches = HM_UserAgent.match(HM_BrowserPattern);
       if (HM_Matches&&HM_Matches[2]) {
          HM_BrowserVersion = parseFloat(HM_Matches[2]);
       } else HM_BrowserVersion = 0;
       HM_IsMenu = (HM_BrowserVersion >= HM_VersionSupported);
    } else {
       HM_BrowserVersion = 0;
       HM_IsMenu = false;
    }
} else {
    HM_BrowserVersion = 0;
    HM_IsMenu = !HM_IE4M && (HM_DOM || HM_NS4 || HM_IE4 );
}

if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;

HM_GL_MenuWidth          = 180;
HM_GL_FontFamily         = "Arial,sans-serif";
HM_GL_FontSize           = 10;
HM_GL_FontBold           = true;
HM_GL_FontItalic         = false;
HM_GL_FontColor          = "black";
HM_GL_FontColorOver      = "black";
HM_GL_BGColor            = "#ADD3F1";
HM_GL_BGColorOver        = "#DCEFFE";
HM_GL_ItemPadding        = 1;

HM_GL_BorderWidth        = 1;
HM_GL_BorderColor        = "black";
HM_GL_BorderStyle        = "solid";
HM_GL_SeparatorSize      = 1;
HM_GL_SeparatorColor     = "black";

HM_GL_ImageSrc = "/javascript/arrow.gif";
HM_GL_ImageSrcLeft = "/javascript/arrow.gif";

HM_GL_ImageSrcOver = "/javascript/arrow.gif";
HM_GL_ImageSrcLeftOver = "/javascript/arrow.gif";

HM_GL_ImageSize          = 5;
HM_GL_ImageHorizSpace    = 5;
HM_GL_ImageVertSpace     = 2;

HM_GL_KeepHilite         = true;
HM_GL_ClickStart         = false;
HM_GL_ClickKill          = 0;
HM_GL_ChildOverlap       = 0;
HM_GL_ChildOffset        = 0;
HM_GL_ChildPerCentOver   = null;
HM_GL_TopSecondsVisible  = .5;
HM_GL_ChildSecondsVisible = .3;
HM_GL_StatusDisplayBuild = 0;
HM_GL_StatusDisplayLink  = 1;
HM_GL_UponDisplay        = null;
HM_GL_UponHide           = null;

HM_GL_RightToLeft        = false;
HM_GL_CreateTopOnly      = true;
HM_GL_ShowLinkCursor     = true;

HM_GL_ScrollEnabled = true;
HM_GL_ScrollOver = (HM_Opera) ? 1 : 0;
HM_MacN7 = (HM_Mac&&(HM_UserAgent.indexOf('Netscape/7')!=-1))?true:false;
HM_GL_ScrollInterval = (HM_MacN7) ? 100 : 20;
HM_GL_ScrollBarHeight = 16;
HM_GL_ScrollBarColor = "lightgrey";
HM_GL_ScrollImgSrcTop = "javascript/HM_More_black_top.gif";
HM_GL_ScrollImgSrcBot = "javascript/HM_More_black_bot.gif";
HM_GL_ScrollImgWidth = 9;
HM_GL_ScrollImgHeight = 5;
HM_GL_ScrollBothBars = true;

HM_GL_HoverTimeTop  = 0;
HM_GL_HoverTimeTree = 0;

HM_GL_ImageDir = dirM;
HM_ScriptDir   = HM_GL_ImageDir;



function HM_f_CenterMenu(topmenuid) {
	var MinimumPixelLeft = 0;
	var TheMenu = HM_DOM ? HM_MenusTarget.document.getElementById(topmenuid) : HM_MenusTarget[topmenuid];
	var TheMenuWidth = HM_DOM ? parseInt(TheMenu.style.width) + ((HM_IEnoDTD || HM_OperaQuirk) ? 0 : HM_BorderWidth * 2) : HM_IE4 ? TheMenu.style.pixelWidth : TheMenu.clip.width;
	var TheWindowWidth = HM_IE ? (HM_DOM ? HM_Canvas.clientWidth : HM_MenusTarget.document.body.clientWidth) : HM_MenusTarget.innerWidth;
	return Math.max(parseInt((TheWindowWidth-TheMenuWidth) / 2),MinimumPixelLeft);
}

if(HM_IsMenu && (!HM_Mac || !HM_NS4)) {
	HM_BrowserString = HM_NS4 ? "NS4" : HM_DOM ? "DOM" : "IE4";
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='" + HM_ScriptDir + "javascript/HM_Arrays.js' TYPE='text/javascript'><\/SCR" + "IPT><img src="+dirM+"javascript/vaultpdot.gif border=0>");
	document.write("<SCR" + "IPT LANGUAGE='JavaScript1.2' SRC='" + HM_ScriptDir + "javascript/HM_Script"+ HM_BrowserString +".js' TYPE='text/javascript'><\/SCR" + "IPT>");
}

function open_window(url) { 
	window.open(url,"win",'toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=640,height=510');
}

function externalSite(url)
{
	agree=confirm(
        "You are about to leave The Queen's Federal Credit Union's website.    The website you are being redirected to is not under the control of the Credit Union.\n\n" +
        "The third party website may have information of interest to members but The Queen's FCU is not responsible for the accuracy or reliability of the website content.  The Queen's FCU does not represent either the third party or the member if the two enter into a transaction.  The Queen's FCU's Privacy Policy does not apply to linked websites.\n\n" +
        "Click OK to continue or Cancel to return to The Queen's FCU website."

/*
	"You are about to leave The Queen's Federal Credit Union's Web site.\n\n" +
	"Any external site listed here is not under the control of The Queen's Federal Credit Union,  and The Credit Union makes no representation concerning the content of this site, nor does a link serve as an endorsement by The Queen's Federal Credit Union of any site.  The Queen's FCU does not represent either the third party or the member if the two enter into a transaction.\n\n" +
	"Please note that when you exit our site, our Privacy Policy is no longer in effect.  Privacy and security policies may differ from those practiced by the Credit Union.\n\n" +
	"Thank you for visiting.  Please return when you need information about The Queen's FCU's products and services."
*/
	);
	if (agree)
	{
		x=window.open(url);
	}
}

function oldBeeLine(url)
{
	agree=confirm(
        "Important:  The OLD Bee-Line Online Banking link (yellow) will close down July 18, please print copies of your statements" +
        "prior to May 1 if you need them for your files.  These statements are not available on the NEW Bee-Line Online Banking" +
        "link (blue).  In addition, the old Queen's Tellerphone number will also be disconnected on 8/31.  Please call the new" +
        "number at 808-946-4439."

/*
        "Caution: This website only has transactions prior to May 1, 2011.\n\n" +
        "For current transactions, please visit www.queensfcu.org for the new Bee-Line Online Banking (BLUE button) at the top of the home page between the YELLOW and RED buttons.\n\n" +
        "Please print your old statements for your records. This link will be discontinued in 30 days and statements prior to May 1, 2011 will not be available in the new link."
*/
/*
	"You are about to leave The Queen's Federal Credit Union's Web site.\n\n" +
	"Any external site listed here is not under the control of The Queen's Federal Credit Union,  and The Credit Union makes no representation concerning the content of this site, nor does a link serve as an endorsement by The Queen's Federal Credit Union of any site.  The Queen's FCU does not represent either the third party or the member if the two enter into a transaction.\n\n" +
	"Please note that when you exit our site, our Privacy Policy is no longer in effect.  Privacy and security policies may differ from those practiced by the Credit Union.\n\n" +
	"Thank you for visiting.  Please return when you need information about The Queen's FCU's products and services."
*/
	);
	if (agree)
	{
		location.href=url;
	}
}

function newBeeLine(url)
{
	agree=confirm(
        "Important:  The OLD Bee-Line Online Banking link (yellow) will close down July 18, please print copies of your statements" +
        "prior to May 1 if you need them for your files.  These statements are not available on the NEW Bee-Line Online Banking" +
        "link (blue).  In addition, the old Queen's Tellerphone number will also be disconnected on 8/31.  Please call the new" +
        "number at 808-946-4439."
	);
	if (agree)
	{
		location.href=url;
	}
}

function popUpdemo(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'left=100,top=200,toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=900,height=600');");
}

