function jumpoutside(location) {
var answer = confirm ("You are now leaving the Honolulu Police Federal Credit Union's web page. The content you are being directed to is not guaranteed to be accurate and in no way endorsed, offered or guaranteed by the Honolulu Police Federal Credit Union.")
if (answer)
window.location=location
}


/***********************************************
* Cool DHTML tooltip script II- � Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

var offsetfromcursorX=12 //Customize x offset of tooltip
var offsetfromcursorY=10 //Customize y offset of tooltip

var offsetdivfrompointerX=10 //Customize x offset of tooltip DIV relative to pointer image
var offsetdivfrompointerY=14 //Customize y offset of tooltip DIV relative to pointer image. Tip: Set it to (height_of_pointer_image-1).

document.write('<div id="dhtmltooltip"></div>') //write out tooltip DIV
document.write('<img id="dhtmlpointer" src="arrow2.gif">') //write out pointer image

var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

var pointerobj=document.all? document.all["dhtmlpointer"] : document.getElementById? document.getElementById("dhtmlpointer") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function ddrivetip(thetext, thewidth, thecolor){
if (ns6||ie){
if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
tipobj.innerHTML=thetext
enabletip=true
return false
}
}

function positiontip(e){
if (enabletip){
var nondefaultpos=false
var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
//Find out how close the mouse is to the corner of the window
var winwidth=ie&&!window.opera? ietruebody().clientWidth : window.innerWidth-20
var winheight=ie&&!window.opera? ietruebody().clientHeight : window.innerHeight-20

var rightedge=ie&&!window.opera? winwidth-event.clientX-offsetfromcursorX : winwidth-e.clientX-offsetfromcursorX
var bottomedge=ie&&!window.opera? winheight-event.clientY-offsetfromcursorY : winheight-e.clientY-offsetfromcursorY

var leftedge=(offsetfromcursorX<0)? offsetfromcursorX*(-1) : -1000

//if the horizontal distance isn't enough to accomodate the width of the context menu
if (rightedge<tipobj.offsetWidth){
//move the horizontal position of the menu to the left by it's width
tipobj.style.left=curX-tipobj.offsetWidth+"px"
nondefaultpos=true
}
else if (curX<leftedge)
tipobj.style.left="5px"
else{
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetfromcursorX-offsetdivfrompointerX+"px"
pointerobj.style.left=curX+offsetfromcursorX+"px"
}

//same concept with the vertical position
if (bottomedge<tipobj.offsetHeight){
tipobj.style.top=curY-tipobj.offsetHeight-offsetfromcursorY+"px"
nondefaultpos=true
}
else{
tipobj.style.top=curY+offsetfromcursorY+offsetdivfrompointerY+"px"
pointerobj.style.top=curY+offsetfromcursorY+"px"
}
tipobj.style.visibility="visible"
if (!nondefaultpos)
pointerobj.style.visibility="visible"
else
pointerobj.style.visibility="hidden"
}
}

function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
pointerobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}

document.onmousemove=positiontip

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  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);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

//Contents for menu 1
var menu1=new Array()
menu1[0]='<a href="/aboutus/ourhistory.html" class="submenucss">Our History</a>'
menu1[1]='<a href="/aboutus/credit_union.html" class="submenucss">The CU Difference</a>'
menu1[2]='<a href="/aboutus/join.html" class="submenucss">Join HPFCU</a>'
menu1[3]='<a href="/aboutus/locations_hours.html" class="submenucss">Locations & Hours</a>'
menu1[4]='<a href="/aboutus/member_support.html" class="submenucss">Member Support</a>'
menu1[5]='<a href="/aboutus/employment.html" class="submenucss">Employment Opportunities</a>'

//Contents for menu 2, and so on
var menu2=new Array()
menu2[0]='<a href="/deposit_products/share_savings.html" class="submenucss">Share Savings Accounts</a>'
menu2[1]='<a href="/deposit_products/share_draft.html" class="submenucss">Share Draft Accounts</a>'
menu2[2]='<a href="/deposit_products/keiki_accounts.html" class="submenucss">Keiki Accounts</a>'
menu2[3]='<a href="/deposit_products/achievement_accounts.html" class="submenucss">Achievement Accounts</a>'
menu2[4]='<a href="/deposit_products/christmas_club_accounts.html" class="submenucss">Christmas Club Accounts</a>'
menu2[5]='<a href="/deposit_products/share_certificates.html" class="submenucss">Share Certificates</a>'
menu2[6]='<a href="/deposit_products/share_accounts.html" class="submenucss">True Blue IRA Share Accounts</a>'
menu2[7]='<a href="/deposit_products/trueshare_certificates.html" class="submenucss">True Blue IRA Share Certificates</a>'

var menu3=new Array()
menu3[0]='<a href="/loans/auto_loans.html" class="submenucss">Auto Loans</a>'
menu3[1]='<a href="/loans/motorcycle_loans.html" class="submenucss">Motorcycle Loans</a>'
menu3[2]='<a href="/loans/personal_loans.html" class="submenucss">Personal Loans</a>'
menu3[3]='<a href="/loans/share_secured_loans.html" class="submenucss">Share Secured Loans</a>'
menu3[4]='<a href="/loans/visa.html" class="submenucss">VISA Credit Cards</a>'
menu3[5]='<a href="/loans/powerHouse_mortgage.html" class="submenucss">PowerHouse Mortgage Loans</a>'
menu3[6]='<a href="/loans/powerHouse_equity.html" class="submenucss">PowerHouse Home Equity Line Of Credit</a>'
menu3[7]='<a href="/loans/powerHouse_personal.html" class="submenucss">PowerLine Personal Line Of Credit</a>'

var menu4=new Array()
menu4[0]='<a href="/online_services/home_banking.html" class="submenucss">PowerLink Home Banking</a>'
menu4[1]='<a href="/online_services/bill_payment.html" class="submenucss">PowerPay Bill Payment</a>'
menu4[2]='<a href="/online_services/virtual_lending.html" class="submenucss">PowerLine Virtual Loan Application</a>'
menu4[3]='<a href="/online_services/verified_VISA.html" class="submenucss">Verified By VISA</a>'
menu4[4]='<a href="/online_services/eZCardInfo.html" class="submenucss">eZCardInfo</a>'
menu4[5]='<a href="javascript:jumpoutside(\'https://www.scorecardrewards.com/general_logon.asp\')" class="submenucss">ScoreCard Rewards Bonus Points Program</a>'
menu4[6]='<a href="javascript:jumpoutside(\'https://checkreorderexpress.com/prodreorder/reorder_form.cfm\')" class="submenucss">Check Ordering</a>'


var menu5=new Array()
menu5[0]='<a href="/convenience/payroll_deduction.html" class="submenucss">Payroll Deduction/Direct Deposit</a>'
menu5[1]='<a href="/convenience/telephone_banking.html" class="submenucss">10&minus;2 CU Telephone Banking</a>'
menu5[2]='<a href="/convenience/atm_networks.html" class="submenucss">ATM Networks</a>'
menu5[3]='<a href="/convenience/atm_debitcards.html" class="submenucss">ATM/Debit Cards</a>'
menu5[4]='<a href="/convenience/shared_branches.html" class="submenucss">Shared Branches</a>'
menu5[5]='<a href="/convenience/coin_counting_machine.html" class="submenucss">Coin Counting Machine</a>'
menu5[6]='<a href="/convenience/insurance_services.html" class="submenucss">No Cost Insurance Services</a>'
menu5[7]='<a href="/convenience/travelers_checks.html" class="submenucss">Traveler&#8217;s Checks</a>'
menu5[8]='<a href="/convenience/notary_service.html" class="submenucss">Notary Service</a>'

var menu6=new Array()
menu6[0]='<a href="http://googolplex.cuna.org/?sub_id=14777" target="_blank" class="submenucss"> Googolplex</a>'
menu6[1]='<a href="http://hffo.cuna.org/index.html?sub_id=14777" target="_blank" class="submenucss"> Home & Family Finance Resource Center</a>'
menu6[2]='<a href="http://moneymix.cuna.org/14777/index.php" target="_blank" class="submenucss"> MoneyMix</a>'
menu6[3]='<a href="http://planit.cuna.org/14777/" class="submenucss">Plan It Retire Ready Toolkit</a>'

var menu7=new Array()
menu7[0]='<a href="/rates/deposits.html" class="submenucss">Deposits</a>'
menu7[1]='<a href="/rates/loans.html" class="submenucss">Loans</a>'

var menuwidth='165px' //default menu width
var menubgcolor='#5FB3B7'  //menu bgcolor
var disappeardelay=250  //menu disappear speed onMouseout (in miliseconds)
var hidemenu_onclick="yes" //hide menu when user clicks within menu?

/////No further editting needed

var ie4=document.all
var ns6=document.getElementById&&!document.all

if (ie4||ns6)
document.write('<div id="dropmenudiv" style="visibility:hidden;width:'+menuwidth+';background-color:'+menubgcolor+'" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>')

function getposOffset(what, offsettype){
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}


function showhide(obj, e, visible, hidden, menuwidth){
if (ie4||ns6)
dropmenuobj.style.left=dropmenuobj.style.top="-500px"
if (menuwidth!=""){
dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=menuwidth
}
if (e.type=="click" && obj.visibility==hidden || e.type=="mouseover")
obj.visibility=visible
else if (e.type=="click")
obj.visibility=hidden
}

function iecompattest(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function clearbrowseredge(obj, whichedge){
var edgeoffset=0
if (whichedge=="rightedge"){
var windowedge=ie4 && !window.opera? iecompattest().scrollLeft+iecompattest().clientWidth-15 : window.pageXOffset+window.innerWidth-15
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if (windowedge-dropmenuobj.x < dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth
}
else{
var topedge=ie4 && !window.opera? iecompattest().scrollTop : window.pageYOffset
var windowedge=ie4 && !window.opera? iecompattest().scrollTop+iecompattest().clientHeight-15 : window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if (windowedge-dropmenuobj.y < dropmenuobj.contentmeasure){ //move up?
edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight
if ((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure) //up no good either?
edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge
}
}
return edgeoffset
}

function populatemenu(what){
if (ie4||ns6)
dropmenuobj.innerHTML=what.join("")
}


function dropdownmenu(obj, e, menucontents, menuwidth){
if (window.event) event.cancelBubble=true
else if (e.stopPropagation) e.stopPropagation()
clearhidemenu()
dropmenuobj=document.getElementById? document.getElementById("dropmenudiv") : dropmenudiv
populatemenu(menucontents)

if (ie4||ns6){
showhide(dropmenuobj.style, e, "visible", "hidden", menuwidth)
dropmenuobj.x=getposOffset(obj, "left")
dropmenuobj.y=getposOffset(obj, "top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj, "rightedge")+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj, "bottomedge")+obj.offsetHeight+"px"
}

return clickreturnvalue()
}

function clickreturnvalue(){
if (ie4||ns6) return false
else return true
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

function dynamichide(e){
if (ie4&&!dropmenuobj.contains(e.toElement))
delayhidemenu()
else if (ns6&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhidemenu()
}

function hidemenu(e){
if (typeof dropmenuobj!="undefined"){
if (ie4||ns6)
dropmenuobj.style.visibility="hidden"
}
}

function delayhidemenu(){
if (ie4||ns6)
delayhide=setTimeout("hidemenu()",disappeardelay)
}

function clearhidemenu(){
if (typeof delayhide!="undefined")
clearTimeout(delayhide)
}

if (hidemenu_onclick=="yes")
document.onclick=hidemenu


var message="Function Disabled!";

///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("return false")
