// CALL TO CORRECT DIRECTORY
// CALL TO CORRECT DIRECTORY
// CALL TO CORRECT DIRECTORY
// CALL TO CORRECT DIRECTORY

//this code is the _script.js file

 
//this code goes on the homepage
  //####### GLOBAL VARIABLES ########
var fiDomainName = "www.capebankonline2.com";
var fiName="Cape Bank";

//###################################

function secureRedirect() {
	var uri = document.location.href;
	var redir = false;
	
	var onSkynet = new RegExp("^https*://skynet\.diginsite\.com");
	if(onSkynet.test(uri)) {
		return;
	}
	
	var domain = { name:"capebankonline2", tld:"com" };
	var domExp = new RegExp(domain.name+"\."+domain.tld);
	if(!domExp.test(uri)){
		uri = uri.replace(/^(http|https)\:\/\/(www\.)?(\w*\.)+(org|com|net)/,'$1://$2'+domain.name+'.'+domain.tld);
		newUri = true;
	}


	if (window.secure)
	{	

		if(/^http:/.test(uri))
		{
			uri = uri.replace(/^http/,'https');
			redir = true;
		}
		
		if(!/^https:\/\/www\./.test(uri))
		{
			uri = uri.replace(/^https:\/\//,'https://www.');
			redir = true;
		}
	}

	else
	{
		if(/^https:/.test(uri))
		{
			uri = uri.replace(/^https/,'http');
			redir = true;
		}
		
		if(!/^http:\/\/www\./.test(uri))
		{
			uri = uri.replace(/^http:\/\//,'http://www.');
			redir = true;
		}
	};


	// ## DOMAIN NAME SCRUBBER (NOT ALWAYS NEEDED) ##
	/*
	if (/www.YOURFIDOMAIN.com/.test(uri))
	{
		uri = uri.replace(/www.YOURFIDOMAIN.com/,'www.YOURFIDOMAIN.com');
		redir = true;
	};
	*/

	if (redir) document.location.replace(uri);
}

secureRedirect();



// ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW
// ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW
// ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW ROLLOVER CODE BELOW


  browserName = navigator.appName;
  browserVer = parseInt(navigator.appVersion);
  if (((browserName == "Netscape") && (browserVer >= 3)) || ((browserName == "Microsoft Internet Explorer") && (browserVer >= 4))) {
    version = "ok";
        onlinebanking_on = new Image(192,28);   onlinebanking_on.src = imagedir + "nav-onlinebanking-on.gif";
		onlinebanking_off = new Image(192,28);  onlinebanking_off.src = imagedir + "nav-onlinebanking-off.gif";
		
		busionline_on = new Image(192,28);   busionline_on.src = imagedir + "nav-businessonline-on.gif";
		busionline_off = new Image(192,28);  busionline_off.src = imagedir + "nav-businessonline-off.gif";
		
        personalbanking_on = new Image(192,28);  personalbanking_on.src = imagedir + "nav-personalbanking-on.gif";
		personalbanking_off = new Image(192,28); personalbanking_off.src = imagedir + "nav-personalbanking-off.gif";
		
        businessbanking_on = new Image(192,28);	  businessbanking_on.src = imagedir + "nav-businessbanking-on.gif";
		businessbanking_off = new Image(192,28);  businessbanking_off.src = imagedir + "nav-businessbanking-off.gif";
		
		employment_on = new Image(192,28);    employment_on.src = imagedir + "nav-employment-on.gif";
        employment_off = new Image(192,28);   employment_off.src = imagedir + "nav-employment-off.gif";
		
		inthecommunity_on = new Image(192,28);    inthecommunity_on.src = imagedir + "nav-inthecommunity-on.gif";
        inthecommunity_off = new Image(192,28);   inthecommunity_off.src = imagedir + "nav-inthecommunity-off.gif";
		
		charitablefound_on = new Image(192,28);    charitablefound_on.src = imagedir + "nav-charitablefound-on.gif";
        charitablefound_off = new Image(192,28);   charitablefound_off.src = imagedir + "nav-charitablefound-off.gif";
		
        calculators_on = new Image(192,28);     calculators_on.src = imagedir + "nav-calculators-on.gif";
		calculators_off = new Image(192,28);    calculators_off.src = imagedir + "nav-calculators-off.gif";
		
		contactus_on = new Image(192,28);       contactus_on.src = imagedir + "nav-contactus-on.gif";
		contactus_off = new Image(192,28);      contactus_off.src = imagedir + "nav-contactus-off.gif";
		
        locations_on = new Image(192,28);       locations_on.src = imagedir + "nav-locations-on.gif";
		locations_off = new Image(192,28);      locations_off.src = imagedir + "nav-locations-off.gif";
		        
        aboutus_on = new Image(192,28);         aboutus_on.src = imagedir + "nav-aboutus-on.gif";
		aboutus_off = new Image(192,28);        aboutus_off.src = imagedir + "nav-aboutus-off.gif";
		
		investorsavings_on = new Image(192,28);         investorsavings_on.src = imagedir + "nav-investorsavings-on.gif";
		investorsavings_off = new Image(192,28);        investorsavings_off.src = imagedir + "nav-investorsavings-off.gif";
		
        faqs_on = new Image(192,28);            faqs_on.src = imagedir + "nav-faqs-on.gif";
		faqs_off = new Image(192,28);           faqs_off.src = imagedir + "nav-faqs-off.gif";
        
        home_on = new Image(192,28);            home_on.src = imagedir + "nav-home-on.gif";
        home_off = new Image(192,28);           home_off.src = imagedir + "nav-home-off.gif";
		
		privacy_on = new Image(192,28);            privacy_on.src = imagedir + "nav-privacy-on.gif";
        privacy_off = new Image(192,28);           privacy_off.src = imagedir + "nav-privacy-off.gif";
		
	
		
		translink_on = new Image(192,28);            translink_on.src = imagedir + "nav-translink-on.gif";
        translink_off = new Image(192,28);           translink_off.src = imagedir + "nav-translink-off.gif";
		
		desktopdeposits_on = new Image(192,28);            desktopdeposits_on.src = imagedir + "nav-desktopdeposits-on.gif";
        desktopdeposits_off = new Image(192,28);           desktopdeposits_off.src = imagedir + "nav-desktopdeposits-off.gif";
		
		reorder_on = new Image(192,28);            reorder_on.src = imagedir + "nav-reorder-on.gif";
		reorder_off = new Image(192,28);           reorder_off.src = imagedir + "nav-reorder-off.gif";
		
		rates_on = new Image(192,28);            rates_on.src = imagedir + "nav-rates-on.gif";
        rates_off = new Image(192,28);           rates_off.src = imagedir + "nav-rates-off.gif";
  }
  else 
    version = "x";
	//alert(version);
  function img_act(imgName) {
    if (version == "ok") {
       imgOn = eval(imgName + "_on.src");
       document [imgName].src = imgOn;
    }
  }
  function img_inact(imgName) {
    window.status = "";
    if (version == "ok") {
      imgOff = eval(imgName + "_off.src");
      document [imgName].src = imgOff;
    }
  }
  
// ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE
// ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE
// ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE ROLLOVER CODE ABOVE  


//style sheet sniffer 
navigator.userAgent.indexOf('Mac') != -1 ? document.write('<link href="' + sitedir + '_macstyle.css" rel="stylesheet"') : document.write('<link href="' + sitedir + '_winstyle.css" rel="stylesheet">');
document.write('<script type="text/javascript" src="' + sitedir + '_email_speedbump.js"></script>');


 // rotating banner with corresponding links updated 10/12/04 by Richard Wise and Joe Dawley
    // original rotating banner with corresponging links by matthew billings

    // 1. drop script in head or script file
    // 2. fill out config variables 
    // 3. add onLoad="changeBanner();" to <body id="back"> 
    // 4  make sure link tag has id="bannerLink" and img tag has name="banner" and id="bannerImg"
    // 5. general form of use. <a href="#" id="bannerLink"><img src="./img1.gif" name="banner" border="0" id="bannerImg"></a> 

    if (window.file=="home") imgdir='images/';
	else if(window.file=="signon") imgdir='https://www.capebankonline2.com/images/';
    else imgdir = '../images/';

    //Config variables
    var numImages = 3; //number of images to rotate out.
    var imageArray = new Array(imgdir+"photo-front-1.jpg", imgdir+"photo-front-2.jpg",imgdir+"photo-front-3.jpg",imgdir+"photo-front-4.jpg"); //the src values for the images
    var alttextArray = new Array("" , "", "", ""); //alt text for the images
    // var linkArray = new Array(sitedir+"#", sitedir+"#", sitedir+"#"); //the links you want the images to go to. (make sure links match up with images)
    var imgElement = "banner";
    // var linkElement = "bannerLink";  //this is the id you gave your link tag.
    var visibleForSeconds = 10; //how many seconds to you want before the banner swaps out;
    var bannerimg = new Array();

    for (i=0; i<imageArray.length; i++)
    {
    	bannerimg[i] = new Image();
    	bannerimg[i].src=imageArray[i];
    	bannerimg[i].alt=alttextArray[i];	
    }

    // Don't edit below // Don't edit below  // Don't edit below  // Don't edit below 
    // Don't edit below // Don't edit below  // Don't edit below  // Don't edit below 
    // Don't edit below // Don't edit below  // Don't edit below  // Don't edit below 
    // Don't edit below // Don't edit below  // Don't edit below  // Don't edit below 


    //for random number choosing
    function rand(numImages) {
    		return Math.ceil((Math.random()* numImages));       
    };

    //vaiables that shouldn't be edited
    var iteratorNum = ( rand(numImages) - 1); //-1 to take into account that array starts at 0
    var count = 1; //don't touch. It's an initializer 

    //the function that does all the work
    function changeBanner(){
    	//IE4/5
        //swapping code
        document.getElementById('bannerImg').src = bannerimg[iteratorNum].src;  //change image
        //document.links[bannerOnPage].href =  linkArray[iteratorNum]; //change link
        
    	//fancypants math stuff
        iteratorNum +=1;
    	iteratorNum %= numImages;
    	//sleeps and then changes banner
    	setTimeout('changeBanner()', visibleForSeconds * 1000);
    }



function openWin(URL) {
    aWindow = window.open(URL,"application","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=680,height=400,screenX=100,screenY=104,top=90,left=100");
}  
	
function showCalc(calc){
		var pWidth = ( ((parseInt(screen.width) / 2)) - 275 )
		var pHeight = (((parseInt(screen.height) / 2)) -240)
        window.open(calc,'hello',"width=550,height=480,left=" + pWidth + ",top=" + pHeight + ",resizable=1,scrollbars=1");
}


 //find a location with drop down functionality

function redir() {
	if (window.document.forms[0].drop.options[window.document.forms[0].drop.selectedIndex].value){
      	var goMap = window.document.forms[0].drop.options[window.document.forms[0].drop.selectedIndex].value;
   		changetext(brrr[goMap]);
		}
    else{
      	alert("Please select a banking location near you.");
  		}
  }

  
  function changetext(whichcontent){
var whichcontent = whichcontent;
    if (document.all)
    	{
        	descriptions.innerHTML=whichcontent;
    	}
    else if (document.layers)
    	{
        
        	document.d1.document.d2.document.write(whichcontent);
        	document.d1.document.d2.document.close();
    	}
    else
        {   
           //this is the Netscape 6 fix
            over = document.getElementById(["descriptions"]);
            
            range = document.createRange();
            range.setStartBefore(over);
            domfrag = range.createContextualFragment(whichcontent);
           
            while (over.hasChildNodes()) {
            over.removeChild(over.lastChild);
            }
            over.appendChild(domfrag);
         }
                       
}

//find a location with drop down functionality

function redir2() {
	if (window.document.forms[0].drop.options[window.document.forms[0].drop.selectedIndex].value){
      	var goMap = window.document.forms[0].drop.options[window.document.forms[0].drop.selectedIndex].value;
   		changetext2(content[goMap]);
		}
    else{
      	alert("Please select a banking location near you.");
  		}
  }

  
  function changetext2(whichcontent){
var whichcontent = whichcontent;
    if (document.all)
    	{
        	descriptions2.innerHTML=whichcontent;
    	}
    else if (document.layers)
    	{
        
        	document.d3.document.d4.document.write(whichcontent);
        	document.d3.document.d4.document.close();
    	}
    else
        {   
           //this is the Netscape 6 fix
            over = document.getElementById(["descriptions2"]);
            
            range = document.createRange();
            range.setStartBefore(over);
            domfrag = range.createContextualFragment(whichcontent);
           
            while (over.hasChildNodes()) {
            over.removeChild(over.lastChild);
            }
            over.appendChild(domfrag);
         }
                       
}

var brrr = new Array();

brrr[0]=""
brrr[0]+='<table>';
brrr[0]+='<tr>';
brrr[0]+=' <td width="501" align="center" valign="middle" bgcolor="#ffffff">            ';
brrr[0]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[0]+='<tr>';
brrr[0]+='<td colspan="2" class="tableheader">Cape May Court House Office</td>';
brrr[0]+='</tr>';
brrr[0]+='<tr>';
brrr[0]+='<td colspan="2" class="tablecontent">225 North Main Street</td>';
brrr[0]+='</tr>';
brrr[0]+='<tr>';
brrr[0]+='<td colspan="2" class="tablecontent2">Cape May Court House, NJ 08210</td>';
brrr[0]+='</tr>';
brrr[0]+='<tr>';
brrr[0]+='<td colspan="2" class="tablecontent">Tel: 609-465-5188<br />Fax: 609-463-8392</td>';
brrr[0]+='</tr>';
brrr[0]+='<tr>';
brrr[0]+='<td colspan="2" class="tablecontent2">Dennis W. Gilbert, Manager </td>';
brrr[0]+='</tr>';
brrr[0]+='<tr>';
brrr[0]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[0]+='<td class="tablecontent">8 AM - 6 PM Monday through Friday<br />';
brrr[0]+='8 AM - 3 PM Saturday</td>';
brrr[0]+='</tr>';
//brrr[0]+='<tr>';
//brrr[0]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[0]+='<td class="tablecontent2"> 9 AM - 4 PM Monday through Wednesday<br>';
//brrr[0]+='9 AM - 6 PM Thursday and Friday<br>  ';
//brrr[0]+='9 AM - 12 PM Saturday<br>';
//brrr[0]+='</td>';
//brrr[0]+='</tr>';
brrr[0]+='<tr>';
brrr[0]+='<td colspan="2" class="tablecontent2">ATM, Safe Deposit Boxes & Night Depository</td>';
brrr[0]+='</tr>';
brrr[0]+='</table>';
brrr[0]+='</td>';
brrr[0]+='</tr>';
brrr[0]+='</table>';

brrr[1]=""
brrr[1]+='<table>';
brrr[1]+='<tr>';
brrr[1]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[1]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[1]+='<tr>';
brrr[1]+='<td colspan="2" class="tableheader">Cape May Office</td>';
brrr[1]+='</tr>';
brrr[1]+='<tr>';
brrr[1]+='<td colspan="2" class="tablecontent">217 Jackson Street</td>';
brrr[1]+='</tr>';
brrr[1]+='<tr>';
brrr[1]+='<td colspan="2" class="tablecontent2">Cape May, NJ 08204</td>';
brrr[1]+='</tr>';
brrr[1]+='<tr>';
brrr[1]+='<td colspan="2" class="tablecontent">Tel: 609-884-0900<br />Fax: 609-884-5177</td>';
brrr[1]+='</tr>';
brrr[1]+='<tr>';
brrr[1]+='<td colspan="2" class="tablecontent2">Lacey A. Fitch, Manager</td>';
//brrr[1]+='<td colspan="2" class="tablecontent2">Gerry Halley, Manager</td>';
brrr[1]+='</tr>';
brrr[1]+='<tr>';
brrr[1]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[1]+='<td class="tablecontent">8 AM – 6 PM  Monday through Friday<br>';
brrr[1]+='8 AM – 4 PM  Saturday<br>';
brrr[1]+='10 AM – 2 PM  Sunday<br>';
brrr[1]+='</td>';
brrr[1]+='</tr>';
//brrr[1]+='<tr>';
//brrr[1]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[1]+='<td class="tablecontent2">9 AM - 4 PM Monday through Thursday<br>';
//brrr[1]+='9 AM - 6 PM Friday <br>';
//brrr[1]+='9 AM - 12 PM Saturday<br>';
//brrr[1]+='10 AM - 2 PM Sunday (June 29 to August 31)<br>';
//brrr[1]+='</td>';
//brrr[1]+='</tr>';
brrr[1]+='<tr>';
brrr[1]+='<td colspan="2" class="tablecontent2">ATM & Night Depository</td>';
brrr[1]+='</tr>';
brrr[1]+='</table>';
brrr[1]+='</td>';
brrr[1]+='</tr>';
brrr[1]+='</table>';

brrr[2]=""
brrr[2]+='<table>';
brrr[2]+='<tr>';
brrr[2]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[2]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[2]+='<tr>';
brrr[2]+='<td colspan="2" class="tableheader">Ocean City Office</td>';
brrr[2]+='</tr>';
brrr[2]+='<tr>';
brrr[2]+='<td colspan="2" class="tablecontent">10th and Asbury Avenue</td>';
brrr[2]+='</tr>';
brrr[2]+='<tr>';
brrr[2]+='<td colspan="2" class="tablecontent2">Ocean City, NJ 08226</td>';
brrr[2]+='</tr>';
brrr[2]+='<tr>';
brrr[2]+='<td colspan="2" class="tablecontent">Tel: 609-398-7400<br />Fax:609-398-1519</td>';
brrr[2]+='</tr>';
brrr[2]+='<tr>';
brrr[2]+='<td colspan="2" class="tablecontent2">Antoinette Costanza, Manager </td>';
brrr[2]+='</tr>';
brrr[2]+='<tr>';
brrr[2]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[2]+='<td class="tablecontent">8 AM – 6 PM  Monday through Friday<br />8 AM – 2 PM  Saturday<br />10 AM – 2 PM Sunday<br /></td>';
brrr[2]+='</tr>';
//brrr[2]+='<tr>';
//brrr[2]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[2]+='<td class="tablecontent2">9 AM - 4 PM Monday through Thursday<br>';
//brrr[2]+='9 AM - 6 PM Friday <br>  ';
//brrr[2]+='9 AM - 12 PM Saturday<br>';
//brrr[2]+='</td>';
//brrr[2]+='</tr>';
brrr[2]+='<tr>';
brrr[2]+='<td colspan="2" class="tablecontent2">ATM & Night Depository</td>';
brrr[2]+='</tr>';
brrr[2]+='</table>';
brrr[2]+='</td>';
brrr[2]+='</tr>';
brrr[2]+='</table>';

brrr[3]=""
brrr[3]+='<table>';
brrr[3]+='<tr>';
brrr[3]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[3]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[3]+='<tr>';
brrr[3]+='<td colspan="2" class="tableheader">Marmora Office</td>';
brrr[3]+='</tr>';
brrr[3]+='<tr>';
brrr[3]+='<td colspan="2" class="tablecontent">46 S Shore Road</td>';
brrr[3]+='</tr>';
brrr[3]+='<tr>';
brrr[3]+='<td colspan="2" class="tablecontent2">Marmora, NJ 08223</td>';
brrr[3]+='</tr>';
brrr[3]+='<tr>';
brrr[3]+='<td colspan="2" class="tablecontent">Tel: 609-390-3500<br />Fax: 609-390-4620</td>';
brrr[3]+='</tr>';
brrr[3]+='<tr>';
brrr[3]+='<td colspan="2" class="tablecontent2">Rosa Taylor, Manager </td>';
brrr[3]+='</tr>';
brrr[3]+='<tr>';
brrr[3]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[3]+='<td class="tablecontent">9 AM - 6 PM Monday through Friday<br />9 AM - 2 PM Saturday</td>';
brrr[3]+='</tr>';
//brrr[3]+='<tr>';
//brrr[3]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[3]+='<td class="tablecontent2">9 AM - 4 PM Monday through Wednesday<br>';
//brrr[3]+='9 AM - 6 PM Thursday and Friday <br>  ';
//brrr[3]+='9 AM - 12 PM Saturday<br>';
//brrr[3]+='</td>';
//brrr[3]+='</tr>';
brrr[3]+='<tr>';
brrr[3]+='<td colspan="2" class="tablecontent2">ATM & Night Depository</td>';
brrr[3]+='</tr>';
brrr[3]+='</table>';
brrr[3]+='</td>';
brrr[3]+='</tr>';
brrr[3]+='</table>';

brrr[4]=""
brrr[4]+='<table>';
brrr[4]+='<tr>';
brrr[4]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[4]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[4]+='<tr>';
brrr[4]+='<td colspan="2" class="tableheader">Villas Office</td>';
brrr[4]+='</tr>';
brrr[4]+='<tr>';
brrr[4]+='<td colspan="2" class="tablecontent">1899 Bayshore Road</td>';
brrr[4]+='</tr>';
brrr[4]+='<tr>';
brrr[4]+='<td colspan="2" class="tablecontent2">Villas, NJ 08251</td>';
brrr[4]+='</tr>';
brrr[4]+='<tr>';
brrr[4]+='<td colspan="2" class="tablecontent">Tel: 609-886-2773<br />Fax: 609-886-4312</td>';
brrr[4]+='</tr>';
brrr[4]+='<tr>';
brrr[4]+='<td colspan="2" class="tablecontent2">Andrew Scrivani, Manager</td>';
brrr[4]+='</tr>';
brrr[4]+='<tr>';
brrr[4]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[4]+='<td class="tablecontent">8 AM - 6 PM Monday through Saturday</td>';
brrr[4]+='</tr>';
//brrr[4]+='<tr>';
//brrr[4]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[4]+='<td class="tablecontent2">9 AM - 4 PM Monday through Thursday<br>';
//brrr[4]+='9 AM - 6 PM Friday <br>  ';
//brrr[4]+='9 AM - 12 PM Saturday<br>';
//brrr[4]+='</td>';
//brrr[4]+='</tr>';
brrr[4]+='<tr>';
brrr[4]+='<td colspan="2" class="tablecontent2">ATM, Night Depository and Safe Deposit Boxes</td>';
brrr[4]+='</tr>';
brrr[4]+='</table>';
brrr[4]+='</td>';
brrr[4]+='</tr>';
brrr[4]+='</table>';

brrr[5]=""
brrr[5]+='<table>';
brrr[5]+='<tr>';
brrr[5]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[5]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[5]+='<tr>';
brrr[5]+='<td colspan="2" class="tableheader">Stone Harbor Office</td>';
brrr[5]+='</tr>';
brrr[5]+='<tr>';
brrr[5]+='<td colspan="2" class="tablecontent">9616 Second Avenue</td>';
brrr[5]+='</tr>';
brrr[5]+='<tr>';
brrr[5]+='<td colspan="2" class="tablecontent2">Stone Harbor, NJ 08247</td>';
brrr[5]+='</tr>';
brrr[5]+='<tr>';
brrr[5]+='<td colspan="2" class="tablecontent">Tel: 609-368-3600<br />Fax: 609-368-2448</td>';
brrr[5]+='</tr>';
brrr[5]+='<tr>';
brrr[5]+='<td colspan="2" class="tablecontent2">Kathleen M. Ackley, Manager </td>';
brrr[5]+='</tr>';
brrr[5]+='<tr>';
brrr[5]+='<td valign="top" class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[5]+='<td class="tablecontent">9 AM - 4 PM Monday through Thursday<br>';
brrr[5]+='9 AM - 6 PM Friday <br>  ';
brrr[5]+='9 AM - 12 PM Saturday<br>';
brrr[5]+='</td>';
brrr[5]+='</tr>';
brrr[5]+='<tr>';
brrr[5]+='<td colspan="2" class="tablecontent2">Night Depository</td>';
brrr[5]+='</tr>';
brrr[5]+='</table>';
brrr[5]+='</td>';
brrr[5]+='</tr>';
brrr[5]+='</table>';

brrr[6]=""
brrr[6]+='<table>';
brrr[6]+='<tr>';
brrr[6]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[6]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[6]+='<tr>';
brrr[6]+='<td colspan="2" class="tableheader">Rio Grande Office</td>';
brrr[6]+='</tr>';
brrr[6]+='<tr>';
brrr[6]+='<td colspan="2" class="tablecontent">Routes 9 and 47</td>';
brrr[6]+='</tr>';
brrr[6]+='<tr>';
brrr[6]+='<td colspan="2" class="tablecontent2">Rio Grande, NJ 08242</td>';
brrr[6]+='</tr>';
brrr[6]+='<tr>';
brrr[6]+='<td colspan="2" class="tablecontent">Tel: 609-886-0600<br />Fax: 609-886-4590</td>';
brrr[6]+='</tr>';
brrr[6]+='<tr>';
brrr[6]+='<td colspan="2" class="tablecontent2">Patricia Fitzgerald, Manager </td>';
brrr[6]+='</tr>';
brrr[6]+='<tr>';
brrr[6]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[6]+='<td class="tablecontent">8 AM - 6 PM Monday through Saturday</td>';
brrr[6]+='</tr>';
//brrr[6]+='<tr>';
//brrr[6]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[6]+='<td class="tablecontent2">9 AM - 4 PM Monday through Thursday<br>';
//brrr[6]+='9 AM - 6 PM Friday <br>  ';
//brrr[6]+='9 AM - 12 PM Saturday<br>';
//brrr[6]+='</td>';
//brrr[6]+='</tr>';
brrr[6]+='<tr>';
brrr[6]+='<td colspan="2" class="tablecontent2">ATM & Night Depository</td>';
brrr[6]+='</tr>';
brrr[6]+='</table>';
brrr[6]+='</td>';
brrr[6]+='</tr>';
brrr[6]+='</table>';

brrr[7]=""
brrr[7]+='<table>';
brrr[7]+='<tr>';
brrr[7]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[7]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[7]+='<tr>';
brrr[7]+='<td colspan="2" class="tableheader">Wildwood Office</td>';
brrr[7]+='</tr>';
brrr[7]+='<tr>';
brrr[7]+='<td colspan="2" class="tablecontent">3101 New Jersey Avenue</td>';
brrr[7]+='</tr>';
brrr[7]+='<tr>';
brrr[7]+='<td colspan="2" class="tablecontent2">Wildwood, NJ 08260</td>';
brrr[7]+='</tr>';
brrr[7]+='<tr>';
brrr[7]+='<td colspan="2" class="tablecontent">Tel: 609-522-2447<br />Fax: 609-522-7019</td>';
brrr[7]+='</tr>';
brrr[7]+='<tr>';
brrr[7]+='<td colspan="2" class="tablecontent2">Amy L. Hulme, Manager</td>';
brrr[7]+='</tr>';
brrr[7]+='<tr>';
brrr[7]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[7]+='<td class="tablecontent">8 AM – 6 PM Monday through Friday<br />8 AM – 4 PM Saturday<br />10 AM – 2 PM Sunday<br /></td>';
brrr[7]+='</tr>';
//brrr[7]+='<tr>';
//brrr[7]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[7]+='<td class="tablecontent2">9 AM - 4 PM Monday through Thursday<br>';
//brrr[7]+='9 AM - 6 PM Friday <br>  ';
//brrr[7]+='9 AM - 12 PM Saturday<br>';
//brrr[7]+='</td>';
//brrr[7]+='</tr>';
brrr[7]+='<tr>';
brrr[7]+='<td colspan="2" class="tablecontent2">ATM & Night Depository</td>';
brrr[7]+='</tr>';
brrr[7]+='</table>';
brrr[7]+='</td>';
brrr[7]+='</tr>';
brrr[7]+='</table>';

brrr[8]="";
brrr[8]+='<table>';
brrr[8]+='<tr>';
brrr[8]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[8]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[8]+='<tr>';
brrr[8]+='<td colspan="2" class="tableheader">Atlantic City Office</td>';
brrr[8]+='</tr>';
brrr[8]+='<tr>';
brrr[8]+='<td colspan="2" class="tablecontent">1501 Pacific Avenue</td>';
brrr[8]+='</tr>';
brrr[8]+='<tr>';
brrr[8]+='<td colspan="2" class="tablecontent2">Atlantic City, NJ 08401</td>';
brrr[8]+='</tr>';
brrr[8]+='<tr>';
brrr[8]+='<td colspan="2" class="tablecontent">Tel: 609-344-9027<br />Fax: 609-345-2379</td>';
brrr[8]+='</tr>';
brrr[8]+='<tr>';
//brrr[8]+='<td colspan="2" class="tablecontent2">Irene Charlton, Manager</td>';
brrr[8]+='<td colspan="2" class="tablecontent2">Darren Mitchell, Manager</td>';
brrr[8]+='</tr>';
brrr[8]+='<tr>';
brrr[8]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[8]+='<td class="tablecontent">9 AM - 5 PM Monday through Thursday<br>';
brrr[8]+='9 AM - 6 PM Friday<br>';
brrr[8]+='9 AM - 12 PM Saturday<br>';
brrr[8]+='</td>';
brrr[8]+='</tr>';
brrr[8]+='<tr>';
brrr[8]+='<td colspan="2" class="tablecontent2">ATM, Night Depository and Safe Deposit Boxes</td>';
brrr[8]+='</tr>';
brrr[8]+='</table>';
brrr[8]+='</td>';
brrr[8]+='</tr>';
brrr[8]+='</table>';

brrr[9]="";
brrr[9]+='<table>';
brrr[9]+='<tr>';
brrr[9]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[9]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[9]+='<tr>';
brrr[9]+='<td colspan="2" class="tableheader">Margate Office</td>';
brrr[9]+='</tr>';
brrr[9]+='<tr>';
brrr[9]+='<td colspan="2" class="tablecontent">Essex and Ventnor Avenues</td>';
brrr[9]+='</tr>';
brrr[9]+='<tr>';
brrr[9]+='<td colspan="2" class="tablecontent2">Margate City, NJ 08402</td>';
brrr[9]+='</tr>';
brrr[9]+='<tr>';
brrr[9]+='<td colspan="2" class="tablecontent">Tel: 609-823-2737<br />Fax: 609-823-3655</td>';
brrr[9]+='</tr>';
brrr[9]+='<tr>';
brrr[9]+='<td colspan="2" class="tablecontent2">Oscar Petrosh, Manager </td>';
brrr[9]+='</tr>';
brrr[9]+='<tr>';
brrr[9]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[9]+='<td class="tablecontent">8 AM – 6 PM  Monday through Friday<br />9 AM – 2 PM  Saturday<br />10 AM – 2 PM  Sunday<br /></td>';
brrr[9]+='</tr>';
//brrr[9]+='<tr>';
//brrr[9]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[9]+='<td class="tablecontent2">9 AM - 4 PM Monday through Thursday<br>';
//brrr[9]+='9 AM - 6 PM Friday <br>  ';
//brrr[9]+='9 AM - 12 PM Saturday<br>';
//brrr[9]+='</td>';
//brrr[9]+='</tr>';
brrr[9]+='<tr>';
brrr[9]+='<td colspan="2" class="tablecontent2">ATM, Safe Deposit Boxes & Night Depository</td>';
brrr[9]+='</tr>';
brrr[9]+='</table>';
brrr[9]+='</td>';
brrr[9]+='</tr>';
brrr[9]+='</table>';

brrr[10]=""
brrr[10]+='<table>';
brrr[10]+='<tr>';
brrr[10]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[10]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[10]+='<tr>';
brrr[10]+='<td colspan="2" class="tableheader">Egg Harbor Township Office</td>';
brrr[10]+='</tr>';
brrr[10]+='<tr>';
brrr[10]+='<td colspan="2" class="tablecontent">Black Horse Pike and Fire Road</td>';
brrr[10]+='</tr>';
brrr[10]+='<tr>';
brrr[10]+='<td colspan="2" class="tablecontent2">Egg Harbor Township, NJ 08234</td>';
brrr[10]+='</tr>';
brrr[10]+='<tr>';
brrr[10]+='<td colspan="2" class="tablecontent">Tel: 609-645-1400<br />Fax: 609-484-7027</td>';
brrr[10]+='</tr>';
brrr[10]+='<tr>';
brrr[10]+='<td colspan="2" class="tablecontent2">Mary Giberson, Manager</td>';
brrr[10]+='</tr>';
brrr[10]+='<tr>';
brrr[10]+='<td class="tablecontent">LOBBY &amp; DRIVE-UP HOURS: </td>';
brrr[10]+='<td class="tablecontent">8 AM - 6 PM Monday through Friday<br />8 AM - 3 PM Saturday</td>';
brrr[10]+='</tr>';
//brrr[10]+='<tr>';
//brrr[10]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[10]+='<td class="tablecontent2">9 AM - 4 PM Monday through Thursday<br>';
//brrr[10]+='9 AM - 6 PM Friday <br>  ';
//brrr[10]+='9 AM - 12 PM Saturday<br>';
//brrr[10]+='</td>';
//brrr[10]+='</tr>';
brrr[10]+='<tr>';
brrr[10]+='<td colspan="2" class="tablecontent2">ATM & Night Depository</td>';
brrr[10]+='</tr>';
brrr[10]+='</table>';
brrr[10]+='</td>';
brrr[10]+='</tr>';
brrr[10]+='</table>';

brrr[11]=""
brrr[11]+='<table>';
brrr[11]+='<tr>';
brrr[11]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[11]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[11]+='<tr>';
brrr[11]+='<td colspan="2" class="tableheader">Galloway Office</td>';
brrr[11]+='</tr>';
brrr[11]+='<tr>';
brrr[11]+='<td colspan="2" class="tablecontent">320 E. Jimmie Leeds Road</td>';
brrr[11]+='</tr>';
brrr[11]+='<tr>';
brrr[11]+='<td colspan="2" class="tablecontent2">Galloway, NJ 08205</td>';
brrr[11]+='</tr>';
brrr[11]+='<tr>';
brrr[11]+='<td colspan="2" class="tablecontent">Tel: 609-652-4000</td>';
brrr[11]+='</tr>';
brrr[11]+='<tr>';
brrr[11]+='<td colspan="2" class="tablecontent">Fax: 609-652-3755</td>';
brrr[11]+='</tr>';
brrr[11]+='<tr>';
brrr[11]+='<td colspan="2" class="tablecontent2">Kellie Spawton, Manager</td>';
brrr[11]+='</tr>';
brrr[11]+='<tr>';
brrr[11]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[11]+='<td class="tablecontent"> 8 AM - 6 PM Monday through Friday<br />8 AM - 3 PM Saturday<br />10 AM - 2 PM Sunday<br />';
brrr[11]+='</tr>';
//brrr[11]+='<tr>';
//brrr[11]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[11]+='<td class="tablecontent2">9 AM - 4 PM Monday through Thursday<br>';
//brrr[11]+='9 AM - 6 PM Friday<br>  ';
//brrr[11]+='9 AM - 12 PM Saturday<br>';
//brrr[11]+='10 AM - 2 PM Sunday</td>';
//brrr[11]+='</tr>';
brrr[11]+='<tr>';
brrr[11]+='<td colspan="2" class="tablecontent2">ATM, Safe Deposit Boxes &amp; Night Depository</td>';
brrr[11]+='</tr>';
brrr[11]+='</table>';
brrr[11]+='</td>';
brrr[11]+='</tr>';
brrr[11]+='</table>';

brrr[12]=""
brrr[12]+='<table>';
brrr[12]+='<tr>';
brrr[12]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[12]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[12]+='<tr>';
brrr[12]+='<td colspan="2" class="tableheader">Somers Point Office</td>';
brrr[12]+='</tr>';
brrr[12]+='<tr>';
brrr[12]+='<td colspan="2" class="tablecontent">199 New Road (corner of Bethel & New Roads)</td>';
brrr[12]+='</tr>';
brrr[12]+='<tr>';
brrr[12]+='<td colspan="2" class="tablecontent2">Somers Point NJ 08244</td>';
brrr[12]+='</tr>';
brrr[12]+='<tr>';
brrr[12]+='<td colspan="2" class="tablecontent">Tel: 609-926-5757<br />Fax: 609-926-5760</td>';
brrr[12]+='</tr>';
brrr[12]+='<tr>';
brrr[12]+='<td colspan="2" class="tablecontent2">Robert Madara, Manager</td>';
brrr[12]+='</tr>';
brrr[12]+='<tr>';
brrr[12]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[12]+='<td class="tablecontent"> 8 AM - 6 PM Monday through Friday<br />8 AM - 2 PM Saturday</td>';
brrr[12]+='</tr>';
//brrr[12]+='<tr>';
//brrr[12]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[12]+='<td class="tablecontent2">9 AM – 4 PM Monday through Thursday<br>';
//brrr[12]+='9 AM – 6 PM Friday <br>  ';
//brrr[12]+='9 AM – 12 PM Saturday<br>';
//brrr[12]+='</td>';
//brrr[12]+='</tr>';
brrr[12]+='<tr>';
brrr[12]+='<td colspan="2" class="tablecontent2">ATM, Night Depository & Safe Deposit Boxes</td>';
brrr[12]+='</tr>';
brrr[12]+='</table>';
brrr[12]+='</td>';
brrr[12]+='</tr>';
brrr[12]+='</table>';

brrr[13]=""
brrr[13]+='<table>';
brrr[13]+='<tr>';
brrr[13]+=' <td width="501" align="center" valign="middle" bgcolor="#ffffff">            ';
brrr[13]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[13]+='<tr>';
brrr[13]+='<td colspan="2" class="tableheader">Cape May Court House Office</td>';
brrr[13]+='</tr>';
brrr[13]+='<tr>';
brrr[13]+='<td colspan="2" class="tablecontent">907 Route 9 South</td>';
brrr[13]+='</tr>';
brrr[13]+='<tr>';
brrr[13]+='<td colspan="2" class="tablecontent2">Cape May Court House, NJ 08210</td>';
brrr[13]+='</tr>';
brrr[13]+='<tr>';
brrr[13]+='<td colspan="2" class="tablecontent">Tel: 609-465-5810<br />Fax: 609-465-1969</td>';
brrr[13]+='</tr>';
brrr[13]+='<tr>';
brrr[13]+='<td colspan="2" class="tablecontent2">Dennis W. Gilbert, Manager</td>';
brrr[13]+='</tr>';
brrr[13]+='<tr>';
brrr[13]+='<td class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[13]+='<td class="tablecontent">8 AM - 6 PM Monday through Friday<br />8 AM - 2 PM Saturday</td>';
brrr[13]+='</tr>';
//brrr[13]+='<tr>';
//brrr[13]+='<td valign="top" class="tablecontent2">LOBBY HOURS: </td>';
//brrr[13]+='<td class="tablecontent2"> 8 AM - 6 PM Monday through Friday<br>';
//brrr[13]+='8 AM - 2 PM Saturday<br>  ';
//brrr[13]+='10 AM - 2 PM Sunday<br>';
//brrr[13]+='</td>';
//brrr[13]+='</tr>';
brrr[13]+='<tr>';
brrr[13]+='<td colspan="2" class="tablecontent2">ATM, Safe Deposit Boxes & Night Depository</td>';
brrr[13]+='</tr>';
brrr[13]+='</table>';
brrr[13]+='</td>';
brrr[13]+='</tr>';
brrr[13]+='</table>';

brrr[14]=""
brrr[14]+='<table>';
brrr[14]+='<tr>';
brrr[14]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[14]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[14]+='<tr>';
brrr[14]+='<td colspan="2" class="tableheader">Linwood Office</td>';
brrr[14]+='</tr>';
brrr[14]+='<tr>';
brrr[14]+='<td colspan="2" class="tablecontent">201 Shore Road</td>';
brrr[14]+='</tr>';
brrr[14]+='<tr>';
brrr[14]+='<td colspan="2" class="tablecontent2">Linwood, NJ 08221</td>';
brrr[14]+='</tr>';
brrr[14]+='<tr>';
brrr[14]+='<td colspan="2" class="tablecontent">Tel: 609-653-1208<br />Fax: 609-601-0813</td>';
brrr[14]+='</tr>';
brrr[14]+='<tr>';
brrr[14]+='<td colspan="2" class="tablecontent2">Sara Martinez, Manager</td>';
brrr[14]+='</tr>';
brrr[14]+='<tr>';
brrr[14]+='<td valign="top" class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[14]+='<td class="tablecontent">8 AM - 6 PM Monday through Friday<br />9 AM - 2 PM Saturday</td>';
brrr[14]+='</tr>';
//brrr[14]+='<tr><td valign="top" class="tablecontent2">LOBBY HOURS:</td>';
//brrr[14]+='<td class="tablecontent2">8 AM - 6 PM Monday through Friday<br />';
//brrr[14]+='8 AM - 2 PM Saturday <br>  ';
//brrr[14]+='</td>';
//brrr[14]+='</tr>';
brrr[14]+='<tr>';
brrr[14]+='<td colspan="2" class="tablecontent2">ATM, Safe Deposit Boxes & Night Depository</td>';
brrr[14]+='</tr>';
brrr[14]+='</table>';

brrr[15]=""
brrr[15]+='<table>';
brrr[15]+='<tr>';
brrr[15]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[15]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[15]+='<tr>';
brrr[15]+='<td colspan="2" class="tableheader">Linwood Loan Processing Center, Linwood</td>';
brrr[15]+='</tr>';
brrr[15]+='<tr>';
brrr[15]+='<td colspan="2" class="tablecontent">327 Central Avenue </td>';
brrr[15]+='</tr>';
brrr[15]+='<tr>';
brrr[15]+='<td colspan="2" class="tablecontent2">Linwood, NJ 08221</td>';
brrr[15]+='</tr>';
brrr[15]+='<tr>';
brrr[15]+='<td colspan="2" class="tablecontent">Tel: 609-601-0600<br />Fax: 609-601-9562</td>';
brrr[15]+='</tr>';
brrr[15]+='<tr>';
brrr[15]+='<td colspan="2" class="tablecontent2">Fran Goldstein, Regional Manager<br />John Charles, Vice President</td>';
brrr[15]+='</tr>';
brrr[15]+='<tr>';
brrr[15]+='<td valign="top" class="tablecontent">OFFICE HOURS: </td>';
brrr[15]+='<td class="tablecontent">8:30 AM - 5 PM Monday through Friday</td>';
brrr[15]+='</tr>';
brrr[15]+='</table>';

brrr[16]=""
brrr[16]+='<table>';
brrr[16]+='<tr>';
brrr[16]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[16]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[16]+='<tr>';
brrr[16]+='<td colspan="2" class="tableheader">Margate Office</td>';
brrr[16]+='</tr>';
brrr[16]+='<tr>';
brrr[16]+='<td colspan="2" class="tablecontent">9312 Ventnor Avenue</td>';
brrr[16]+='</tr>';
brrr[16]+='<tr>';
brrr[16]+='<td colspan="2" class="tablecontent2">Margate, NJ 08402</td>';
brrr[16]+='</tr>';
brrr[16]+='<tr>';
brrr[16]+='<td colspan="2" class="tablecontent">Tel: 609-822-4134<br />Fax: 609-822-5387</td>';
brrr[16]+='</tr>';
brrr[16]+='<tr>';
brrr[16]+='<td colspan="2" class="tablecontent2">Oscar Petrosh, Manager</td>';
brrr[16]+='</tr>';
brrr[16]+='<tr>';
brrr[16]+='<td valign="top" class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[16]+='<td class="tablecontent">8 AM - 6 PM Monday through Friday<br />9 AM - 2 PM Saturday</td>';
brrr[16]+='</tr>';
//brrr[16]+='<tr><td valign="top" class="tablecontent2">LOBBY HOURS:</td>';
//brrr[16]+='<td class="tablecontent2">8 AM - 6 PM Monday through Friday<br />';
//brrr[16]+='8 AM - 2 PM Saturday <br />  ';
//brrr[16]+='10 AM - 2 PM Sunday (June 29 to August 31)<br />  ';
//brrr[16]+='</td>';
//brrr[16]+='</tr>';
brrr[16]+='<tr>';
brrr[16]+='<td colspan="2" class="tablecontent2">ATM & Night Depository</td>';
brrr[16]+='</tr>';
brrr[16]+='</table>';

brrr[17]=""
brrr[17]+='<table>';
brrr[17]+='<tr>';
brrr[17]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[17]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[17]+='<tr>';
brrr[17]+='<td colspan="2" class="tableheader">Egg Harbor Township Office</td>';
brrr[17]+='</tr>';
brrr[17]+='<tr>';
brrr[17]+='<td colspan="2" class="tablecontent">2251 Ocean Heights Avenue</td>';
brrr[17]+='</tr>';
brrr[17]+='<tr>';
brrr[17]+='<td colspan="2" class="tablecontent2">Egg Harbor Twp. NJ 08234</td>';
brrr[17]+='</tr>';
brrr[17]+='<tr>';
brrr[17]+='<td colspan="2" class="tablecontent">Tel: 609-927-1615<br />Fax: 609-927-5125</td>';
brrr[17]+='</tr>';
brrr[17]+='<tr>';
brrr[17]+='<td colspan="2" class="tablecontent2">Joann Calvarese, Manager </td>';
brrr[17]+='</tr>';
brrr[17]+='<tr>';
brrr[17]+='<td valign="top" class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[17]+='<td class="tablecontent">8 AM - 6 PM Monday through Friday<br />8 AM - 2 PM Saturday<br />10 AM - 2 PM Sunday</td>';
brrr[17]+='</tr>';
//brrr[17]+='<tr><td valign="top" class="tablecontent2">LOBBY HOURS:</td>';
//brrr[17]+='<td class="tablecontent2">8 AM - 6 PM Monday through Friday<br />';
//brrr[17]+='8 AM - 2 PM Saturday <br />  ';
//brrr[17]+='10 AM - 2 PM Sunday<br />  ';
//brrr[17]+='</td>';
//brrr[17]+='</tr>';
brrr[17]+='<tr>';
brrr[17]+='<td colspan="2" class="tablecontent2">ATM, Safe Deposit Boxes & Night Depository</td>';
brrr[17]+='</tr>';
brrr[17]+='</table>';

brrr[18]=""
brrr[18]+='<table>';
brrr[18]+='<tr>';
brrr[18]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[18]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[18]+='<tr>';
brrr[18]+='<td colspan="2" class="tableheader">Egg Harbor Township Office</td>';
brrr[18]+='</tr>';
brrr[18]+='<tr>';
brrr[18]+='<td colspan="2" class="tablecontent">4096 English Creek Avenue</td>';
brrr[18]+='</tr>';
brrr[18]+='<tr>';
brrr[18]+='<td colspan="2" class="tablecontent2">Egg Harbor Twp. NJ 08234</td>';
brrr[18]+='</tr>';
brrr[18]+='<tr>';
brrr[18]+='<td colspan="2" class="tablecontent">Tel: 609-646-8850<br />Fax: 609-646-8858</td>';
brrr[18]+='</tr>';
brrr[18]+='<tr>';
brrr[18]+='<td colspan="2" class="tablecontent2">Joann Calvarese, Manager </td>';
brrr[18]+='</tr>';
brrr[18]+='<tr>';
brrr[18]+='<td valign="top" class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[18]+='<td class="tablecontent">8 AM - 6 PM Monday through Friday<br />8 AM - 2 PM Saturday</td>';
brrr[18]+='</tr><tr>';
//brrr[18]+='<td valign="top" class="tablecontent2">LOBBY HOURS:</td>';
//brrr[18]+='<td class="tablecontent2">8 AM - 6 PM Monday through Friday<br />';
//brrr[18]+='8 AM - 2 PM Saturday <br />  ';
//brrr[18]+='10 AM - 2 PM Sunday<br />  ';
//brrr[18]+='</td>';
//brrr[18]+='</tr>';
brrr[18]+='<tr>';
brrr[18]+='<td colspan="2" class="tablecontent2">ATM, Safe Deposit Boxes & Night Depository</td>';
brrr[18]+='</tr>';
brrr[18]+='</table>';

/*
brrr[19]=""
brrr[19]+='<table>';
brrr[19]+='<tr>';
brrr[19]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[19]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[19]+='<tr>';
brrr[19]+='<td colspan="2" class="tableheader">Galloway Office</td>';
brrr[19]+='</tr>';
brrr[19]+='<tr>';
brrr[19]+='<td colspan="2" class="tablecontent">67 E. Jimmie Leeds Road</td>';
brrr[19]+='</tr>';
brrr[19]+='<tr>';
brrr[19]+='<td colspan="2" class="tablecontent2">Galloway, NJ 08205</td>';
brrr[19]+='</tr>';
brrr[19]+='<tr>';
brrr[19]+='<td colspan="2" class="tablecontent">Tel: 609-748-3123<br />Fax: 609-748-8215</td>';
brrr[19]+='</tr>';
brrr[19]+='<tr>';
brrr[19]+='<td colspan="2" class="tablecontent2">Christina Gerety, Manager</td>';
brrr[19]+='</tr>';
brrr[19]+='<tr>';
brrr[19]+='<td valign="top" class="tablecontent">LOBBY &amp; DRIVE THRU HOURS: </td>';
brrr[19]+='<td class="tablecontent">8 AM - 6 PM Monday through Friday<br />8 AM - 3 PM Saturday<br />10 AM - 2 PM Sunday</td>';
brrr[19]+='</tr>';
//brrr[19]+='<tr><td valign="top" class="tablecontent2">LOBBY HOURS:</td>';
//brrr[19]+='<td class="tablecontent2">8 AM - 6 PM Monday through Friday<br />';
//brrr[19]+='8 AM - 2 PM Saturday <br />  ';
//brrr[19]+='10 AM - 2 PM Sunday<br />  ';
//brrr[19]+='</td>';
//brrr[19]+='</tr>';
brrr[19]+='<tr>';
brrr[19]+='<td colspan="2" class="tablecontent">ATM, Safe Deposit Boxes & Night Depository</td>';
brrr[19]+='</tr>';
brrr[19]+='</table>';
*/
brrr[20]=""
brrr[20]+='<table>';
brrr[20]+='<tr>';
brrr[20]+='<td width="501" align="center" valign="middle" bgcolor="#ffffff">';
brrr[20]+='<table width="500" border="0" cellspacing="1" cellpadding="5">';
brrr[20]+='<tr>';
brrr[20]+='<td colspan="2" class="tableheader">Loan Processing Center, Vineland</td>';
brrr[20]+='</tr>';
brrr[20]+='<tr>';
brrr[20]+='<td colspan="2" class="tablecontent">1199 East Park Avenue</td>';
brrr[20]+='</tr>';
brrr[20]+='<tr>';
brrr[20]+='<td colspan="2" class="tablecontent2">Vineland, NJ  08360</td>';
brrr[20]+='</tr>';
brrr[20]+='<tr>';
brrr[20]+='<td colspan="2" class="tablecontent">Tel: 856-692-2480<br />Fax: 856-692-5245</td>';
brrr[20]+='</tr>';
brrr[20]+='<tr>';
brrr[20]+='<td colspan="2" class="tablecontent2">Jeff Taylor, Vice President</td>';
brrr[20]+='</tr>';
brrr[20]+='<tr>';
brrr[20]+='<td valign="top" class="tablecontent">OFFICE HOURS: </td>';
brrr[20]+='<td class="tablecontent">8:30 AM - 5 PM Monday through Friday</td>';
brrr[20]+='</tr>';
brrr[20]+='</table>';

function showIBWarning_csb(url){
    var content = new Array();
    var index = 0;

    content[index++] = "<div align=\"center\">";
    content[index++] = "<p>Due to our Computer Systems Conversion</p>";
    content[index++] = "<p style=\"font-size:12pt\"><strong>";
    content[index++] = "ONLINE BANKING & BILL PAY</strong></p>";
    content[index++] = "<p style=\"font-size: 12pt; line-height: 65% \">will be</p>";
    content[index++] = "<p style=\"color:#FF0000; font-size:16pt; font-weight: bold; line-height: 65% \">UNAVAILABLE</p>";
	content[index++] = "<p>from <strong>5pm Friday, June 6th</strong><br />";
    content[index++] = "through <strong>8pm Saturday, June 7th</strong></p>";
    content[index++] = "<p>to our Cape Savings Bank customers</p>";
    content[index++] = "<p><strong>You may experience intermittent downtime<br />";
    content[index++] = "on Sunday, June 8.</strong></p>";
    content[index++] = "<p><em>Thank you for your patience as we update<br />";
    content[index++] = "our computer systems to better serve you!</em></p>";
    content[index++] = "</div>";

    content[index++] = "<br />";
    content[index++] = "<div align=\"center\"><input type=\"button\" value=\"  OK  \" onclick=\"document.getElementById('ex_dis').style.display = 'none'\; location.href='"+url+"'\" style=\"font-size: 12pt; font-weight: bold;\" /></div></div>";
    document.getElementById("ex_dis_ib").innerHTML = content.join("");
    document.getElementById("ex_dis_ib").style.display = "block";
    scrollTo(0, 0);
}

function showIBWarning2_csb(url){
    var content = new Array();
    var index = 0;

    content[index++] = "<div align=\"center\">";
    content[index++] = "<p>Due to our Computer Systems Conversion</p>";
    content[index++] = "<p style=\"font-size:12pt\"><strong>";
    content[index++] = "BUSINESS ONLINE BANKING</strong></p>";
    content[index++] = "<p style=\"font-size: 12pt; line-height: 65% \">will be</p>";
    content[index++] = "<p style=\"color:#FF0000; font-size:16pt; font-weight: bold; line-height: 65% \">UNAVAILABLE</p>";
	content[index++] = "<p>from <strong>5pm Friday, June 6th</strong><br />";
    content[index++] = "through <strong>8pm Saturday, June 7th</strong></p>";
    content[index++] = "<p>to our Cape Savings Bank customers</p>";
    content[index++] = "<p><strong>You may experience intermittent downtime<br />";
    content[index++] = "on Sunday, June 8.</strong></p>";
    content[index++] = "<p><em>Thank you for your patience as we update<br />";
    content[index++] = "our computer systems to better serve you!</em></p>";
    content[index++] = "</div>";

    content[index++] = "<br />";
    content[index++] = "<div align=\"center\"><input type=\"button\" value=\"  OK  \" onclick=\"document.getElementById('ex_dis').style.display = 'none'\; location.href='"+url+"'\" style=\"font-size: 12pt; font-weight: bold;\" /></div></div>";
    document.getElementById("ex_dis_ib").innerHTML = content.join("");
    document.getElementById("ex_dis_ib").style.display = "block";
    scrollTo(0, 0);
}

function showIBWarning_bb(url){
    var content = new Array();
    var index = 0;

    content[index++] = "<div align=\"center\">";
    content[index++] = "<p>Due to our Computer Systems Conversion</p>";
    content[index++] = "<p style=\"font-size:12pt\"><strong>";
    content[index++] = "ONLINE BANKING</strong></p>";
    content[index++] = "<p style=\"font-size: 12pt; line-height: 65%; \">will be</p>";
    content[index++] = "<p style=\"color:#FF0000; font-size:16pt; font-weight: bold; line-height: 65%; \">UNAVAILABLE</p>";
	content[index++] = "<p>from <strong>5pm Friday, June 6th</strong><br />";
    content[index++] = "through <strong>9am Tuesday, June 10th</strong></p>";
    content[index++] = "<p style=\"font-size:12pt\"><strong>Online Bill Pay</strong></p>";
	content[index++] = "<p>will be UNAVAILABLE";
	content[index++] = "<p>from <strong>5pm Thursday, June 5th</strong><br />";
    content[index++] = "through <strong>9am Tuesday, June 10th</strong>";
	content[index++] = "<p>to our former Boardwalk Bank customers";
	content[index++] = "<p><em>Thank you for your patience as we update<br />";
    content[index++] = "our computer systems to better serve you!</em>";
    content[index++] = "</div>";

    content[index++] = "<br />";
    content[index++] = "<div align=\"center\"><input type=\"button\" value=\"  OK  \" onclick=\"document.getElementById('ex_dis').style.display = 'none'\; location.href='"+url+"'\" style=\"font-size: 12pt; font-weight: bold;\" /></div></div>";
    document.getElementById("ex_dis_ib").innerHTML = content.join("");
    document.getElementById("ex_dis_ib").style.display = "block";
    scrollTo(0, 0);
}

function showIBWarning2_bb(url){
    var content = new Array();
    var index = 0;

    content[index++] = "<div align=\"center\">";
    content[index++] = "<p>Due to our Computer Systems Conversion</p>";
    content[index++] = "<p style=\"font-size:12pt\"><strong>";
    content[index++] = "BUSINESS ONLINE BANKING</strong></p>";
    content[index++] = "<p style=\"font-size: 12pt; line-height: 65%; \">will be</p>";
    content[index++] = "<p style=\"color:#FF0000; font-size:16pt; font-weight: bold; line-height: 65%; \">UNAVAILABLE</p>";
	content[index++] = "<p>from <strong>5pm Friday, June 6th</strong><br />";
    content[index++] = "through <strong>9am Tuesday, June 10th</strong></p>";
    content[index++] = "<p style=\"font-size:12pt\"><strong>Business Online Bill Pay</strong></p>";
	content[index++] = "<p>will be UNAVAILABLE";
	content[index++] = "<p>from <strong>5pm Thursday, June 5th</strong><br />";
    content[index++] = "through <strong>9am Tuesday, June 10th</strong>";
	content[index++] = "<p>to our former Boardwalk Bank customers";
	content[index++] = "<p><em>Thank you for your patience as we update<br />";
    content[index++] = "our computer systems to better serve you!</em>";
    content[index++] = "</div>";

    content[index++] = "<br />";
    content[index++] = "<div align=\"center\"><input type=\"button\" value=\"  OK  \" onclick=\"document.getElementById('ex_dis').style.display = 'none'\; location.href='"+url+"'\" style=\"font-size: 12pt; font-weight: bold;\" /></div></div>";
    document.getElementById("ex_dis_ib").innerHTML = content.join("");
    document.getElementById("ex_dis_ib").style.display = "block";
    scrollTo(0, 0);
}

function showWarning(url){
    var content = new Array();
    var index = 0;
    content[index++] = "<h2>Third Party Site Disclaimer</h2>By accessing the noted link you will be leaving your financial institution's website and entering a website hosted by another party. Although your financial institution has approved this as a reliable partner site, please be advised that you will no longer be subject to, or under the protection of, the privacy and security policies of your financial institution's website.";
	content[index++] = "<br /><br />We encourage you to read and evaluate the privacy and security policies on the site you are entering, which may be different than those of your financial institution.";
    content[index++] = "<br /><br /><br />";
    content[index++] = "<div align=\"center\"><a href=\"javascript:void('0');\" onclick=\"window.open('"+url+"');document.getElementById('ex_dis').style.display = 'none'\" style=\"font-size: 12pt; font-weight: bold;\">Continue</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href=\"javascript:void('0');\" onclick=\"document.getElementById('ex_dis').style.display = 'none'\">Return to Cape Bank</a></div></div>";
    document.getElementById("ex_dis").innerHTML = content.join("");
    document.getElementById("ex_dis").style.display = "block";
    scrollTo(0, 0);
}
document.write('<div id="ex_dis" style="background-color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: normal; color: #000000; text-align: left; position:absolute; top:125px; left:225px; border: thin solid #1A448E; padding: 15px; display: none; z-index: 100000; width:350px;"></div>');



function sendInfo(page){
if(page ==1){
    bWindow = window.open("https://www.capebankonline2.com/site/business_referral.html","application","toolbar=0,brrr=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=750,height=400,screenX=100,screenY=104,top=90,left=100");

    bWindow.formType = "Business Loans";
    bWindow.email = '<input type="hidden" name="email_dept" value="LOANS">'
    }
if(page ==2){
    bWindow = window.open("https://www.capebankonline2.com/site/business_referral.html","application","toolbar=0,brrr=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=750,height=400,screenX=100,screenY=104,top=90,left=100");

    bWindow.formType = "Business Deposit Accounts";
    bWindow.email = '<input type="hidden" name="email_dept" value="DEPOSITS">'
    }    
 }    
 
 
function EndOfNav(){
var content = new Array();
var index = 0;
var endContent = 0;
content[index++] = '<br />';
content[index++] = '<a href="javascript:showWarning(\'http://www.cdars.com/how-cdars-works.php\')"><img src="' +imgdir+ '/logo_cdars.gif" border="0" alt="" /></a>';
content[index++] = '<br />';
content[index++] = '<br />';	
endContent = content.join("");
document.write(endContent);
}








