function BranchLocation(){
	this.branch = "&nbsp;";
	this.street = "";
	this.cityinfo = "";
	this.mail_street = "";
	this.mail_cityinfo = "";
	this.phone_numbers = "";
	this.fax_number = "";
	this.manager = "";
	this.location_hours = "";
	this.shared_branch = false;
	this.setLocationHours = setLocationHours;
	this.extra_info = "";
	this.getLocations = getLocations;
	this.table = new Array();
}
function setLocationHours(){
	var hour_table = new Array();
	var index = 0;
	hour_table[index++]='<table width="80%" border="0" cellspacing="2" cellpadding="2">';
	for(var i=0; i<arguments.length; i++){
		if(i%2==0){
			hour_table[index++]='<tr><td align="left" class="tablecontent0" nowrap>'+arguments[i]+'</td>';
		}
		else{
			hour_table[index++]='<td align="left" class="tablecontent0" nowrap>'+arguments[i]+'</td></tr>';
		}
	}
	hour_table[index++] = '</table>'
	
	this.location_hours = hour_table.join("");
}

function getLocations(){
	var index = 0;
	this.table[index++]='<!--TOP OF TABLE-->		';
	this.table[index++]='<!--TOP OF TABLE-->';
	this.table[index++]='<!--TOP OF TABLE-->';
	this.table[index++]='<table width="410" border="0" cellspacing="0" cellpadding="0" align="left"><tr>';
	this.table[index++]='<td bgcolor="#730C39"><table width="100%" border="0" cellspacing="1" cellpadding="5">';
	if(this.shared_branch){
		this.table[index++]='<tr><td class="tableheader" valign="top">Shared Branch - '+this.branch+'</td></tr>';
	}
	else{
		this.table[index++]='<tr><td valign="top" class="tableheader">'+this.branch+'<span style="font-weight: normal;">'+this.branchsub+'</span></td></tr>';
	}
	this.table[index++]='<tr><td bgcolor="#ffffff" class="ficontent" valign="top" align="left"><img src="../images/clearpix.gif" width="410" height="1" alt="" border="0"><br>'; 
	this.table[index++]='<table width="100%" border="0" align="left">';
	this.table[index++]='<!--MIDDLE OF TABLE-->		';
	this.table[index++]='<!--MIDDLE OF TABLE-->';
	this.table[index++]='<!--MIDDLE OF TABLE-->';
	this.table[index++]='<tr><td width="15%" rowspan="2" align="right" valign="top" class="tablecontent0"><strong>Address:&nbsp;</strong></td>';
	this.table[index++]='<td align="left" class="tablecontent0">'+this.street+'</td></tr>';
	this.table[index++]='<tr><td align="left" class="tablecontent0">'+this.cityinfo+'</td></tr>';
	if(this.mail_street || this.mail_cityinfo) {
		this.table[index++]='<tr><td width="25%" rowspan="2" align="right" valign="top" class="tablecontent0"><strong>Mailing Address:&nbsp;</strong></td>';
		this.table[index++]='<td align="left" class="tablecontent0">'+this.mail_street+'</td></tr>';
		this.table[index++]='<tr><td align="left" class="tablecontent0">'+this.mail_cityinfo+'</td></tr>';
	}
	if(this.phone_numbers != ""){
	this.table[index++]='<tr><td align="right" class="tablecontent0"><strong>Phone:&nbsp;</strong></td><td align="left" class="tablecontent0">'+this.phone_numbers+'</td></tr>';
	}
	if(this.fax_number != ""){
		this.table[index++]='<tr><td align="right" class="tablecontent0"><strong>Fax:&nbsp;</strong></td><td align="left" class="tablecontent0">'+this.fax_number+'</td></tr>';
	}
	if(this.manager != "" && this.manager != "Karen Kizeart"){
		this.table[index++]='<tr><td align="right" class="tablecontent0"><strong>Manager:&nbsp;</strong></td><td align="left" class="tablecontent0">'+this.manager+'</td></tr>';
	}
	else if(this.manager == "Karen Kizeart"){
		this.table[index++]='<tr><td align="right" class="tablecontent0"><strong><!--Personal Service Counselor-->Manager:&nbsp;</strong></td><td align="left" class="tablecontent0">'+this.manager+'</td></tr>';
	}
	this.table[index++]='<tr><td align="right" valign="top" class="tablecontent0" style="vertical-align: top;"><strong>Hours:&nbsp;</strong></td><td align="left" valign="top" class="tablecontent0">'+this.location_hours+'</td></tr>';
	if(this.extra_info != ""){
		this.table[index++]='<tr><td colspan="2" align="left" valign="top" bgcolor="#FFFFFF" class="disclaimer">'+this.extra_info+'</td></tr>';
	}
	this.table[index++]='<!--END OF TABLE-->		';
	this.table[index++]='<!--END OF TABLE-->';
	this.table[index++]='<!--END OF TABLE-->			';
	this.table[index++]='</table></td></tr></table></td></tr></table><br><br><br>';

	return(this.table.join(""));
}

/**
 *	The purpose of this function is to allow counties to display multiple locations.
 *	It calls getLocations for each location in the array passed to the function and
 *	returns a new array of the results of each call to getLocations.
 *	Right now, So. County uses this function. Function was created for 900-21505 4/23/2007
 *	@arg places - an array of branch locations
 *	@return - an array which holds each return value from getLocations()
 */
function getMultipleLocations(places)
{
	var allLocations= new Array();		// an array to hold the results of getLocations()
	var index= 0;						// used to iterate through allLocations
	
	// Place the whole thing in another table so that IE doesn't put the tables side by side
	allLocations[index++]= '<table width="410" border="0" cellspacing="0" cellpadding="0">';
	
	// for each branch in the array places
	for (i= 0; i < places.length; i++)
	{
		// add it's info from getLocations to a new row and cell in allLocations
		allLocations[index++]= '<tr><td>';
		allLocations[index++]= places[i].getLocations();
		allLocations[index++]= '</td></tr>';
	}
	
	// close table
	allLocations[index++]= '</table>';
	
	return allLocations.join("");
}

var states = new Array();
states["MO"] = new Array('<a href="javascript:changetext(getCities(\'stlouis\'));">St. Louis</a>','<a href="javascript:changetext(getCities(\'kansas\'));">Kansas City</a>','<a href="javascript:changetext2(springfield.getLocations());">Springfield</a>');
states["NY"] = new Array('<a href="javascript:changetext2(baldwin.getLocations());">Baldwinsville</a>')
states["GA"] = new Array('<a href="javascript:changetext2(carter.getLocations());">Cartersville</a>');
states["OH"] = new Array('<a href="javascript:changetext2(columbus.getLocations());">Columbus</a>');
states["TX"] = new Array('<a href="javascript:changetext2(dallas.getLocations());">Dallas</a>','<a href="javascript:changetext2(houston.getLocations());">Houston</a>','<a href="javascript:changetext2(paris.getLocations());">Paris</a>','<a href="javascript:changetext2(san.getLocations());">San Antonio</a>');
states["CA"] = new Array('<a href="javascript:changetext2(fair.getLocations());">Fairfield</a>','<a href="javascript:changetext2(la.getLocations());">Los Angeles/Van Nuys</a>','<a href="javascript:changetext2(sd.getLocations());">San Diego</a>');
states["CO"] = new Array('<a href="javascript:changetext2(fc.getLocations());">Ft. Collins</a>');
states["FL"] = new Array('<a href="javascript:changetext2(jackson.getLocations());">Jacksonville</a>','<a href="javascript:changetext2(tampa.getLocations());">Tampa</a>','<a href="javascript:changetext2(orlando.getLocations());">Orlando</a>');
states["NH"] = new Array('<a href="javascript:changetext2(merrimack.getLocations());">Merrimack</a>');
states["NJ"] = new Array('<a href="javascript:changetext2(newark.getLocations());">Newark</a>');
states["VA"] = new Array('<a href="javascript:changetext2(william.getLocations());">Williamsburg</a>');
states["kansas"] = new Array('<a href="javascript:changetext2(midwest.getLocations());">Kansas City</a>','<a href="javascript:changetext2(mazuma.getLocations());">Gladstone</a>','<br><a href="javascript:changetext2(united.getLocations());">Independence</a>');
states["stlouis"] = new Array('<a href="javascript:changetext2(main.getLocations());">Main Office - St. Louis</a>','<a href="javascript:changetext2(south_county.getLocations());">So. County Branch</a>','<a href="javascript:changetext2(jefferson.getLocations());">Jefferson County Branch</a>','<a href="javascript:changetext2(sostlouis.getLocations());">South St. Louis Branch</a>','<a href="javascript:changetext2(desperes.getLocations());">Des Peres Branch</a>','<a href="javascript:changetext2(ofallon.getLocations());">O\'Fallon, MO Branch</a>','<a href="javascript:changetext2(hazelwood.getLocations());">Hazelwood Branch</a>','<a href="javascript:changetext2(ec.getLocations());">Earth City Branch</a>','<a href="javascript:changetext2(crestwood.getLocations());">Crestwood Branch</a>','<a href="javascript:changetext2(florissant.getLocations());">Florissant Branch</a>','<a href="javascript:changetext2(getMultipleLocations(DowntownPlaces));">Downtown St. Louis</a>','<a href="javascript:changetext2(wildwood.getLocations());">Wildwood</a>','<a href="javascript:changetext2(getMultipleLocations(midtownPlaces));">Midtown</a>','<a href="javascript:changetext2(getMultipleLocations(southCountyPlaces));">So. County</a>',/**'<a href="javascript:changetext2(southcounty4.getLocations());">So. County 2</a>',**/'<a href="javascript:changetext2(getMultipleLocations(arnoldPlaces));">Arnold</a>','<a href="javascript:changetext2(getMultipleLocations(northCountyPlaces));">No. County</a>','<a href="javascript:changetext2(west.getLocations());">West County</a>','<a href="javascript:changetext2(charles.getLocations());">St. Charles</a>','<a href="javascript:changetext2(fallon.getLocations());">O’Fallon</a>','<a href="javascript:changetext2(manchester.getLocations());">Manchester</a>','<a href="javascript:changetext2(southcity.getLocations());">South City</a>','<a href="javascript:changetext2(stpeters.getLocations());">St. Peters</a>','<a href="javascript:changetext2(swansea.getLocations());">Swansea, IL</a>','<a href="javascript:changetext2(southstpeters.getLocations());">South St. Peters</a>','<a href="javascript:changetext2(fenton.getLocations());">Fenton Branch</a>','<a href="javascript:changetext2(southcounty3.getLocations());">South St. Louis County</a>','<a href="javascript:changetext2(brentwood.getLocations());">Brentwood</a>','<a href="javascript:changetext2(webstergroves.getLocations());">Webster Groves</a>','<a href="javascript:changetext2(kirkwood.getLocations());">Kirkwood</a>','<a href="javascript:changetext2(wentzville.getLocations());">Wentzville</a>');


function getCities(state){
	var state_link = new Array();
	var index = 0;
	if(state != "stlouis"){
		for(var i=0;i<states[state].length;i++){
			if(i != states[state].length - 1){
				state_link[index++] = states[state][i]+" l ";
			}
			else{
				state_link[index++] = states[state][i];
			}
		}
	}
	else{
		for(var i=0;i<10;i++){
			if(i != 9){
				state_link[index++] = states[state][i]+" l ";
			}
			else{
				state_link[index++] = states[state][i];
			}
		}
		state_link[index++] = '<br><span class="subheader">Area Shared Branches</span><br>';
		for(var i=9;i<states[state].length;i++){
			if(i != states[state].length - 1){
				state_link[index++] = states[state][i]+" l ";
			}
			else{
				state_link[index++] = states[state][i];
			}
		}
	}
	
	return(state_link.join(""));
}



function changetext2(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 baldwin = new BranchLocation();
baldwin.branch = "ABECU - Baldwinsville Branch"
baldwin.branchsub = "";
baldwin.street = "2885 Belgium Road (in the A-B complex)";
baldwin.cityinfo = "Baldwinsville, NY 13027-1311";
baldwin.mail_street = "PO Box 844";
baldwin.mail_cityinfo = "Baldwinsville, NY 13027-1311";
baldwin.phone_numbers = "(315)635-3487 ";
baldwin.fax_number = "(315)635-7853";
baldwin.manager = "Roxine Langdon";
baldwin.setLocationHours("Mon-Wed","8am - 4:30pm","Thurs","8am - 5pm","Fri","7:00am - 4:30pm");
 

var carter = new BranchLocation();
carter.branch = "ABECU - Cartersville Branch";
carter.branchsub = "";
carter.street = "100 Busch Drive (in the A-B complex)";
carter.cityinfo = "Cartersville, GA 30121";
//carter.mail_street = "PO Box 200248";
//carter.mail_cityinfo = "Cartersville, GA 30120";
carter.phone_numbers = "(770)606-3240";
carter.fax_number = "(770)606-3241";
carter.manager = "Lawonia Bray";
carter.setLocationHours("Mon-Fri","7:00am - 3:30pm"," ");
carter.extra_info = "(closed daily for lunch, 12:30 - 1pm)"; 

var columbus = new BranchLocation();
columbus.branch = "ABECU - Columbus Branch"
columbus.branchsub = "";
columbus.street = "690 Schrock Road (in the A-B Brewery - ATM accessible to brewery employees only)";
columbus.cityinfo = "Columbus, OH 43229-1129";
columbus.phone_numbers = "(614)888-2299"; 
columbus.fax_number = "(614)888-5511";
columbus.manager = "Lori Holdren";
columbus.setLocationHours("Mon &amp; Fri","7:00am - 4:30pm","Tues &amp; Wed","8:00am - 4:00pm", "Thurs", "7:00am - 4:00pm"); 

var dallas = new BranchLocation();
dallas.branch = "ABECU - American Eagle Credit Union";
dallas.branchsub = "";
dallas.street = "3500 Manor Way";
dallas.cityinfo = "Dallas, TX 75235-0306";
dallas.mail_street = "PO Box 35306";
dallas.mail_cityinfo = "Dallas, TX 75235";
dallas.phone_numbers = "(214)956-8681";
dallas.fax_number = "(214)956-8683";
dallas.manager = "Rosie Magallon";
dallas.setLocationHours("Mon-Wed","8am - 4:30pm","Thur-Fri","8am - 5pm", "Closed daily", "11am - 11:45am for lunch");

var houston = new BranchLocation();
houston.branch = "ABECU - Houston Branch";
houston.branchsub = "";
houston.street = "775 Gellhorn (in the A-B complex)";
houston.cityinfo = "Houston, TX 77029-1496";
houston.phone_numbers = "(713)676-0939";
houston.fax_number = "(713)676-0402";
houston.manager = "Debbie Goddard";
houston.setLocationHours("Mon, Wed","8am - 4:00pm","Tues","7am - 4:00pm","Thur","8am - 5pm","Fri","7am - 5pm"); 

var paris = new BranchLocation();
paris.branch = "ABECU - American Eagle Credit Union ";
paris.branchsub = "";
paris.street = "1585 Loop 286 N.W.";
paris.cityinfo = "Paris, TX 75460";
paris.phone_numbers = "(903)785-8320";
paris.fax_number = "(903)785-3913";
paris.manager = "Brenda Jones";
paris.setLocationHours("Mon - Wed","8:00am - 4:30pm","Thurs - Fri","8:00am - 5:00pm","Closed for lunch","1 - 2pm daily");
//paris.extra_info = "(closed daily for lunch, 1-2pm)"; 


var san = new BranchLocation();
san.branch = "ABECU - SeaWorld Branch";
san.branchsub = "";
san.street = "10500 Sea World Drive";
san.cityinfo = "San Antonio, TX 78251";
san.phone_numbers = "(210)684-4811";
san.fax_number = "(210)684-9209";
san.manager = "Felipe Guzman";
san.setLocationHours("Mon - Fri","8am - 4:30pm"); 
san.extra_info = "(closed daily for lunch, 1-2pm)"; 

var fair = new BranchLocation();
fair.branch = "ABECU - Fairfield Branch";
fair.branchsub = "";
fair.street = "2351 N. Watney Way - Ste. A";
fair.cityinfo = "Fairfield, CA 94533-6746";
fair.phone_numbers = "(707)429-0105 or (888)774-9728 (CA only)";
fair.fax_number = "(707)429-3485";
fair.manager = "Elizabeth Valk";
fair.setLocationHours("Mon-Thurs","8am - 4:30pm","Fri","7:30am - 4:30pm")
fair.extra_info = "(Closed daily for lunch 1:00 pm – 2:00 pm)"; 




var la = new BranchLocation();
la.branch = "ABECU - Van Nuys Branch"
la.branchsub = "";
la.street = "16054 Roscoe Boulevard (in the A-B complex)";
la.cityinfo = "Van Nuys, CA 91406-1317";
la.phone_numbers = "(818)779-1105 or (800)873-0074 (CA only)";
la.fax_number = "(818)779-1106";
la.manager = "Jill Melton";
la.setLocationHours("Mon-Wed","8am - 4:30pm","Thurs-Fri","7am - 4:30pm"); 

var sd = new BranchLocation();
sd.branch = "ABECU - SeaWorld Branch"
sd.branchsub = "";
sd.street = "500 Sea World Drive";
sd.cityinfo = "San Diego, CA 92109-7995";
sd.phone_numbers = "(619)225-3230 ";
sd.fax_number = "(619)225-3233";
sd.manager = "Teri Christensen";
sd.setLocationHours("Mon-Fri","8:00am - 4:30pm (closed daily for lunch, 12:30 - 1:15pm)");
sd.extra_info="*No access to general membership; Sea World employees only."; 

var fc = new BranchLocation();
fc.branch = "ABECU - Ft. Collins Branch";
fc.branchsub = "";
fc.street = "1520 East Mulberry - Ste. 100";
fc.cityinfo = "Fort Collins, CO 80524-3501";
fc.phone_numbers = "(970)221-4541"; 
fc.fax_number = "(970)221-4543";
fc.manager = "Yolanda Cruz";
fc.setLocationHours("Mon-Wed","8am - 4:30pm","Thur","7:30am - 4:30pm","Fri","8am - 5pm");

var jackson = new BranchLocation();
jackson.branch = "ABECU - Jacksonville Branch"
jackson.branchsub = "";
jackson.street = "155 Busch Drive";
jackson.cityinfo = "Jacksonville, FL 32218-5578";
jackson.phone_numbers = "(904)751-3336";
jackson.fax_number = "(904)751-4910";
jackson.manager = "Faye Hodgson";
jackson.setLocationHours("Mon-Thur","8am - 4:30pm","Fri","7am - 5pm");  

var tampa = new BranchLocation();
tampa.branch = "ABECU - Tampa Branch"
tampa.branchsub = "";
tampa.street = "3209 E. Busch Boulevard";
tampa.cityinfo = "Tampa, FL 33612-8700";
tampa.phone_numbers = "(813)985-8552"; 
tampa.fax_number = "(813)989-1105";
tampa.manager = "Bobbie Bertram";
tampa.setLocationHours("Mon-Thur","8:30am - 5pm","Fri","8:30am - 6pm","Sat","8:30am - noon"); 

var orlando = new BranchLocation();
orlando.branch = "ABECU - SeaWorld Branch";
orlando.branchsub = "";
orlando.street = "7007 Sea World Drive";
orlando.cityinfo = "Orlando, FL 32821-8097";
orlando.phone_numbers = "(407)370-2406";
orlando.fax_number = "(407)370-3095";
orlando.manager = " Julieta Urquiola";
orlando.setLocationHours("Mon-Thur","8:30am - 4:30pm","Fri","8am - 5pm");
//orlando.extra_info="(closed daily for lunch, 1:30-2:30pm)"; 

var merrimack = new BranchLocation();
merrimack.branch = "ABECU - Merrimack Branch";
merrimack.branchsub = "";
merrimack.street = "302A Mound Court";
merrimack.cityinfo = "Merrimack, NH 03054-4492";
merrimack.phone_numbers = "(603)429-0434 ";
merrimack.fax_number = "(603)424-7157";
merrimack.manager = "Sherri Kehnast-Cuipa"; 
merrimack.setLocationHours("Mon-Wed","8am - 4:30pm","Thur-Fri","7:30am - 4:30pm");
merrimack.extra_info="(closed daily for lunch from 1 - 2pm)"; 


var newark = new BranchLocation();
newark.branch = "ABECU - Newark Branch";
newark.branchsub = "";
newark.street = "200 U.S. Highway 1";
newark.cityinfo = "Newark, NJ 07114";
newark.phone_numbers = "(973) 824-7071";
newark.fax_number = "(973) 824-1340";
newark.manager = "Linda Campanelli";
newark.setLocationHours("Mon-Wed","7:30am - 4:00pm","Thurs-Fri","7:00am - 4:30pm"); 

var william = new BranchLocation();
william.branch = "ABECU - Williamsburg Branch";
william.branchsub = "";
william.street = "243 McLaws Circle - Ste. 100";
william.cityinfo = "Williamsburg, VA 23185-5673";
william.phone_numbers = "(757)253-3894";
william.fax_number = "(757)220-0150";
william.manager = "Marcella McDonald";
william.setLocationHours("Mon","7:30am - 4:30pm","Tues-Wed","8am - 4:30pm","Thur","8am - 5pm","Fri","7am - 5pm");

/********** Missouri ****************/
//ST. LOUIS, MO - AECU - Jefferson & Russell
var aecu = new BranchLocation();
aecu.branch = "American Eagle Credit Union, ";
aecu.branchsub = "a division of ABECU";
aecu.street = "2101 S. Jefferson";
aecu.cityinfo = "St. Louis, MO 63104";
aecu.phone_numbers = "(314)772-3438"; 
aecu.fax_number = "(314)772-7825";
aecu.manager = "  ";
aecu.setLocationHours("Mon - Fri","9am - 5pm","Fri","9am - 6pm","Sat","9am - 1pm");

var sostlouis = new BranchLocation();
sostlouis.branch = "South St. Louis Branch";
sostlouis.branchsub = "";
sostlouis.street = "4650 Hampton Ave.";
sostlouis.cityinfo = "St. Louis, MO 63109";
sostlouis.phone_numbers = "(314) 832-8500";
sostlouis.fax_number = "(314) 832-3792";
sostlouis.manager = "Brad Kestler";
sostlouis.setLocationHours("Mon.-Thur.","9 a.m. - 5:30 p.m.","Fri.","9 a.m. - 6 p.m.","Sat.","9 a.m. - 12 p.m.","<strong>Drive-up Window:</strong>", "&nbsp;","Mon.-Sat.","open at 8 a.m."); 
sostlouis.shared_branch = false;

var desperes = new BranchLocation();
desperes.branch = "Des Peres Branch";
desperes.branchsub = "";
desperes.street = "2175 Barrett Station Road";
desperes.cityinfo = "St. Louis, MO 63131";
desperes.phone_numbers = "(314) 821-2442";
desperes.fax_number = "(314) 821-4819";
desperes.manager = "Linda Rosso";
desperes.setLocationHours("Mon.-Thur.","9 a.m. - 5:30 p.m.","Fri.","9 a.m. - 6 p.m.","Sat.","9 a.m. - 12 p.m.");

var ofallon = new BranchLocation();
ofallon.branch = "O'Fallon, MO Branch ";
ofallon.branchsub = "";
ofallon.street = "2531 Highway K";
ofallon.cityinfo = "O'Fallon, MO 63368";
ofallon.phone_numbers = "(636) 980-9800";
ofallon.fax_number = "(636) 980-9700";
ofallon.manager = "Jennifer Begley";
ofallon.setLocationHours("Mon.-Thurs","9 a.m. - 5:30 p.m.","Fri.","9 a.m. - 6 p.m.","Sat.","9 a.m. - 12 p.m.","<strong>Drive-up Windows:</strong>","&nbsp;","Mon. - Sat.","open at 8 a.m."); 
 
var hazelwood = new BranchLocation();
hazelwood.branch = "Hazelwood Branch";
hazelwood.branchsub = "";
hazelwood.street = "8995 Dunn Road";
hazelwood.cityinfo = "Hazelwood, MO 63042";
hazelwood.phone_numbers = "(314) 837-7200";
hazelwood.fax_number = "(314) 837-7262";
hazelwood.manager = "Paul Martin";
hazelwood.setLocationHours("Mon. -Thurs.","9 a.m. - 5:30 p.m.","Fri.","9 a.m. - 6 p.m.","Sat.","9 a.m. - 12 p.m.","<strong>Drive-up Windows:</strong>","&nbsp;","Mon. - Sat.","open at 8 a.m.");

var ec = new BranchLocation();
ec.branch = "Earth City"
ec.branchsub = "";
ec.street = "3470 Rider Trail South";
ec.cityinfo = "Earth City, MO 63045";
ec.phone_numbers = "(314)513-7571";
ec.fax_number = "(314)739-6191";
ec.setLocationHours("Wednesday and Friday 9:00 am – 12:00 pm");

var florissant = new BranchLocation();
florissant.branch = "Florissant Branch"
florissant.branchsub = "";
florissant.street = "1075 N. Lindbergh (at St. Pierre)";
florissant.cityinfo = "Florissant, MO 63031";
florissant.phone_numbers = "(314) 972-5000";
florissant.fax_number = "(314) 972-5001";
florissant.manager = "Paul Martin";
florissant.setLocationHours("Mon.-Thur.","9 a.m. - 5:30 p.m.","Fri.","9 a.m. - 6 p.m.","Sat.","9 a.m. - 12 p.m.","Drive-Up opens at 8 am daily");

var crestwood = new BranchLocation();
crestwood.branch = "Crestwood Branch"
crestwood.branchsub = "";
crestwood.street = "9895 Watson Road";
crestwood.cityinfo = "St. Louis, MO  63126 ";
crestwood.phone_numbers = "(314) 835-2900";
crestwood.fax_number = "(314) 835-2930";
crestwood.manager = "Maria Harouff ";
crestwood.setLocationHours("Mon.-Thur.","9 a.m. - 5:30 p.m.","Fri.","9 a.m. - 6 p.m.","Sat.","9 a.m. - 12 p.m");


//KANSAS CITY, MO
var midwest = new BranchLocation();
midwest.branch = "United Consumers Credit Union";
midwest.branchsub = "";
midwest.street = "8730 E. 63rd Street";
midwest.cityinfo = "Raytown, MO 64133";
midwest.phone_numbers = "(816)325-6900";
midwest.setLocationHours("Mon-Fri","9:30am - 5:30pm","Sat","9:30am - 12:30pm","<strong>Drive-thru</strong>","&nbsp;","Mon-Fri","7am - 6pm","Sat","8:30am - 12:30pm");
midwest.shared_branch = true;

var mazuma = new BranchLocation();
mazuma.branch = "Mazuma CU - Northland Office";
mazuma.branchsub = "";
mazuma.street = "301 NW Englewood Road";
mazuma.cityinfo = "Gladstone, MO 64118";
mazuma.phone_numbers = "(816)361-4194";
mazuma.setLocationHours("Mon-Thur","9am - 5:30pm","Fri","9am - 6pm","Sat","9am - noon");
mazuma.shared_branch = true;

var united = new BranchLocation();
united.branch = "United Consumers Credit Union";
united.branchsub = "";
united.street = "2326 South Savage";
united.cityinfo = "Independence, MO 64055";
united.phone_numbers = "(816)325-6900";
united.setLocationHours("Mon-Fri","9:30am - 5:30pm","Sat","9:30am - noon");
united.shared_branch = true;

//Springfield
var springfield = new BranchLocation();
springfield.branch = " ";
springfield.branchsub = "";
springfield.street = "248 E. Primrose";
springfield.cityinfo = "Springfield, MO 65807";
springfield.phone_numbers = "(417)887-5770 ";
springfield.fax_number = "(417)887-0610";
springfield.setLocationHours("Mon-Fri","10am - 6pm","<strong>Drive-thru</strong>","&nbsp;","Mon-Thurs","7:30am - 6:30pm","Fri","7:30am - 7pm","Sat","9am - 2pm"); 
springfield.shared_branch = true;

var main = new BranchLocation();
main.branch = "ABECU - Main Office";
main.branchsub = "";
main.street = "1001 Lynch Street";
main.cityinfo = "St. Louis, MO 63118-1803";
main.phone_numbers = "(314)771-7700 or (800)325-9905";
main.fax_number = "(314)771-3540";
main.manager = "May Harris";
main.setLocationHours("<strong>Lobby</strong>","&nbsp;","Mon-Wed","8am - 5pm","Thur-Fri","7am - 5pm","Sat*","9am - noon","<strong>Drive-up</strong>","&nbsp;","Mon-Wed","7:30am - 5pm","Thur-Fri","7am - 6pm","Sat","8am - noon"); 
main.extra_info= "*Safe deposit boxes will not be accessible on Saturdays.<br /><br /><br />";

var downtown = new BranchLocation();
downtown.branch = "1<span style=\"vertical-align:super; font-size:70%;\">st</span> Financial FCU";
downtown.branchsub = "";
downtown.street = "1407 Washington Avenue";
downtown.cityinfo = "St. Louis, MO 63103";
/*downtown.phone_numbers = "(314)231-5114";
downtown.fax_number = "(314)231-9041";*/
downtown.setLocationHours("Mon, Tues, Thur, Fri","9am - 5pm","Wed","10am - 5pm"); 
downtown.shared_branch = true;




var downtown1 = new BranchLocation();
downtown1.branch = "Gateway Metro CU";
downtown1.branchsub = "";
downtown1.street = "909 Chestnut Street";
downtown1.cityinfo = "St. Louis, MO 63101";
downtown1.setLocationHours("Mon - Fri","7am – 5pm","Sat","9am - noon"); 
downtown1.shared_branch = true;

var wildwood = new BranchLocation();
wildwood.branch = "Electro Savings Credit Union";
wildwood.branchsub = "";
wildwood.street = "16500 Manchester Road ";
wildwood.cityinfo = "Wildwood, MO 63040";
/*wildwood.phone_numbers = "(636)405-1888";
wildwood.fax_number = "(636)-405-1688";*/
wildwood.setLocationHours("Mon - Thur","9am - 4:30pm","Fri","9am - 6 pm", "Sat","9am - noon","<strong>Drive Up</strong>  ","&nbsp;","Mon - Fri","8am - 6pm","Sat","9am - noon"); 
wildwood.shared_branch = true;

var fenton = new BranchLocation();
fenton.branch = "Neighbors Credit Union"
fenton.branchsub = "";
fenton.street = "58 Fenton Plaza";
fenton.cityinfo = "Fenton, MO 63026";
//fenton.phone_numbers = "(636) 305-8010<br />(in the office)";
fenton.setLocationHours("<strong>Lobby and Drive-up</strong>","&nbsp;","Mon, Tue, Thurs.","9 a.m. to 5 p.m.","Wed","10a.m. to 5 p.m.","Fri,","9 a.m. to 6 p.m.","Sat.","9 a.m. to 1 p.m."); 
fenton.shared_branch = true;

var midtown = new BranchLocation();
midtown.branch = "Health Care Family CU";
midtown.branchsub = "";
midtown.street = "2114 South Big Bend Blvd.";
midtown.cityinfo = "Richmond Heights, MO 63117";
//midtown.phone_numbers = "(314)645-5851";
midtown.setLocationHours("Mon, Tues, Thurs, Fri","9am - 5pm","Wed","10am - 5pm","<strong>Drive-up</strong>","&nbsp;","Mon - Fri","8:30am - 5:30pm","Sat","9:00am - noon"); 
midtown.shared_branch = true;

var midtown1 = new BranchLocation();
midtown1.branch = "St. Louis Community CU";
midtown1.branchsub = "";
midtown1.street = "1436 S. Big Bend Blvd";
midtown1.cityinfo = "Richmond Heights, MO 63117";
midtown1.setLocationHours("Mon - Fri","9am - 6pm","Sat","9am - 12pm"); 
midtown1.shared_branch = true;

var south_county = new BranchLocation();
south_county.branch = "ABECU - So. County Branch";
south_county.branchsub = "";
south_county.street = "3805 Union Road";
south_county.cityinfo = "St. Louis, MO 63125-4309";
south_county.phone_numbers = "(314)894-3555";
south_county.fax_number = "(314)894-5239";
south_county.manager = "Janice Rea";
south_county.setLocationHours("<strong>Lobby</strong>","&nbsp;","Mon-Thur","9am - 5pm","Fri","9am - 6pm","Sat","9am - noon","<strong>Drive-up</strong>","&nbsp;","Mon-Fri","8am - 6pm","Sat","8am - 1pm");

var southcounty4 = new BranchLocation();
southcounty4.branch = "First Missouri Credit Union";
southcounty4.branchsub = "";
southcounty4.street = "4102 Midamerica Circle";
southcounty4.cityinfo = "St. Louis, MO 63129";
//southcounty4.phone_numbers = "314-544-5050";
southcounty4.setLocationHours("Monday through Thursday","9 a.m. to 5 p.m.","Friday","9 a.m. to 5:30 p.m.","Saturday","9 a.m. to 12 p.m."); 
southcounty4.shared_branch = true;

var south_county1 = new BranchLocation();
south_county1.branch = "Electro Savings Credit Union";
south_county1.branchsub = "";
south_county1.street = "12400 Tesson Ferry Road";
south_county1.cityinfo = "St. Louis, MO 63128";
/*south_county1.phone_numbers = "(314)849-5050";
south_county1.fax_number = "(314)849-2501";
south_county1.manager = "Mark Hohenstein";*/
south_county1.setLocationHours("Mon-Fri","8:30am - 7:00pm","Sat","9am - 2pm"); 
south_county1.shared_branch = true;
//Changed So. County hours from, 9am - 7pm;

var arnold = new BranchLocation();
arnold.branch = "Century Credit Union";
arnold.branchsub = "";
arnold.street = "3920 Jeffco Boulevard";
arnold.cityinfo = "Arnold, MO 63010";
arnold.setLocationHours("Mon - Thurs","9:00am - 5:00pm","Fri","9:00am - 6:00pm","Sat","9:00am - noon"); 
arnold.shared_branch = true;

var arnold1 = new BranchLocation();
arnold1.branch = "Arsenal CU";
arnold1.branchsub = "";
arnold1.street = "3780 Vogel Road";
arnold1.cityinfo = "Arnold, MO 63010";
arnold1.setLocationHours("Mon - Fri","9am - 6pm","Sat","9am - 4pm"); 
arnold1.shared_branch = true;

var southcounty3 = new BranchLocation();
southcounty3.branch = "Southpointe Credit Union";
southcounty3.branchsub = "";
southcounty3.street = "4591 Chestnut Park Plaza";
southcounty3.cityinfo = "St. Louis, MO 63129";
southcounty3.phone_numbers = "";
southcounty3.setLocationHours("Monday through Friday","10 a.m. to 6 p.m.","Saturday","9 a.m. to 12 p.m."); 
southcounty3.shared_branch = true;

var south_county5 = new BranchLocation();
south_county5.branch = "Neighbors Credit Union";
south_county5.branchsub = "";
south_county5.street = "6300 S. Lindbergh Blvd";
south_county5.cityinfo = "St. Louis, MO 63123";
/*south_county5.phone_numbers = "(314)849-5050";
south_county5.fax_number = "(314)849-2501";
south_county5.manager = "Mark Hohenstein";*/
south_county5.setLocationHours("Mon, Tuesday, Thursday, Friday:","9am - 5pm", "Wed:", "10am - 5pm" , "Sat:","9am - 12pm"); 
south_county5.shared_branch = true;

var south_county6 = new BranchLocation();
south_county6.branch = "Southpointe CU";
south_county6.branchsub = "";
south_county6.street = "1690 Lemay Ferry Road ";
south_county6.cityinfo = "St. Louis, MO 63125";
south_county6.setLocationHours("Mon - Thur:","9am - 5pm", "Fri:", "9am - 6pm" , "Sat:","Closed");
south_county6.shared_branch = true;

var south_county7 = new BranchLocation();
south_county7.branch = "Southpointe CU";
south_county7.branchsub = "";
south_county7.street = "4591 Chestnut Park Plaza";
south_county7.cityinfo = "Oakville, MO 63129";
south_county7.setLocationHours("Mon - Fri","10 am - 6 pm", "Sat", "9 am - 12 pm");
south_county7.shared_branch = true;

var south_county8 = new BranchLocation();
south_county8.branch = "Southpointe CU";
south_county8.branchsub = "";
south_county8.street = "4702 Mattis Road";
south_county8.cityinfo = "St. Louis, MO 63128";
south_county8.setLocationHours("MMon - Thur.","9 am - 4:30", "Fri", "9 am - 5:30");
south_county8.shared_branch = true;

var northcounty = new BranchLocation();
northcounty.branch = "1<span style=\"vertical-align:super; font-size:70%;\">st</span> Financial FCU";
northcounty.branchsub = "";
northcounty.street = "5916 N. Lindbergh Blvd.";
northcounty.cityinfo = "Hazelwood, MO 63042";
//northcounty.phone_numbers = "(314)592-5800";
//removed 3/28/03 northcounty.fax_number = "(314)895-5982";
northcounty.setLocationHours("<strong>Lobby</strong>","&nbsp;","Mon, Tues, Thur","9am - 5pm","Wed","10am - 5pm","Fri"," 9am - 6pm","Sat","9am - Noon","<strong>Drive-up</strong>", "&nbsp;","Mon - Fri","8:00am - 6:00pm","Sat","8:00am - noon");
northcounty.shared_branch = true;

//var northcounty2 = new BranchLocation();
//northcounty2.branch = "Neighbors Credit Union";
//northcounty2.branchsub = "";
//northcounty2.street = "355 Howdershell";
//northcounty2.cityinfo = "Florissant,  MO 63031";
//northcounty2.phone_numbers = "(314)592-5800";
//removed 3/28/03 northcounty.fax_number = "(314)895-5982";
//northcounty2.setLocationHours("Mon, Tuesday, Thursday, Friday:","9am -5pm","Wed:","10am - 5pm","Sat:"," 9am - 1pm");
//northcounty2.shared_branch = true;

var northcounty3 = new BranchLocation();
northcounty3.branch = "St. Louis Community Credit Union";
northcounty3.branchsub = "";
northcounty3.street = "1250 Graham Road";
northcounty3.cityinfo = "Florissant,  MO 63031";
//northcounty3.phone_numbers = "(314)592-5800";
//removed 3/28/03 northcounty.fax_number = "(314)895-5982";
northcounty3.setLocationHours("Mon - Wed:","9am -5pm","Thurs:","9am - 5pm","Friday:","9am - 6pm","Sat:","9am - 1pm");
northcounty3.shared_branch = true;

var northcounty4 = new BranchLocation();
northcounty4.branch = "St. Louis Community Credit Union";
northcounty4.branchsub = "";
northcounty4.street = "10024 West Florissant";
northcounty4.cityinfo = "Dellwood,  MO 63136";
//northcounty3.phone_numbers = "(314)592-5800";
//removed 3/28/03 northcounty.fax_number = "(314)895-5982";
northcounty4.setLocationHours("Mon - Thurs:","10am – 6pm","Fri:","10am - 6pm","Sat:","12pm – 3pm");
northcounty4.shared_branch = true;

var northcounty5 = new BranchLocation();
northcounty5.branch = "Neighbors CU";
northcounty5.branchsub = "";
northcounty5.street = "11899 New Halls Ferry Road";
northcounty5.cityinfo = "Florissant, MO 63033";
northcounty5.setLocationHours("Mon, Tues, Thur, Fri","9 am - 5 pm","Wed","10 am - 5 pm","Sat","9 am - 1 pm");
northcounty5.shared_branch = true;

var northcounty6 = new BranchLocation();
northcounty6.branch = "Neighbors CU";
northcounty6.branchsub = "";
northcounty6.street = "8935 Jennings Station Road";
northcounty6.cityinfo = "Jennings, MO 63136";
northcounty6.setLocationHours("Mon - Fri","10am - 6 pm","Sat","12 pm - 3 pm");
northcounty6.shared_branch = true;



var manchester = new BranchLocation();
manchester.branch = "Electro Savings Credit Union"
manchester.branchsub = "";
manchester.street = "407 Lafayette Center - Manchester & Baxter Roads";
manchester.cityinfo = "Manchester, MO 63011";
//manchester.phone_numbers = "(636) 227-1134";
manchester.setLocationHours("Mon-Fri","8:30am - 7:00pm","Sat","9am - 2pm"); 
manchester.shared_branch = true;

var southcity = new BranchLocation();
southcity.branch = "St. Louis Community CU"
southcity.branchsub = "";
southcity.street = "7224 Gravois";
southcity.cityinfo = "St. Louis, MO 63116";
//southcity.phone_numbers = "(636) 227-1134";
southcity.setLocationHours("<strong>Lobby</strong>","&nbsp;","Mon, Tues, Thur, Fri","9am - 6pm","Wed","10am - 6pm","Sat","9am - Noon","<strong>Drive-Up</strong>","&nbsp;","Fri","8am - 6pm","Sat","9am - Noon"); 
southcity.shared_branch = true;

var southstpeters = new BranchLocation();
southstpeters.branch = "Gateway Metro Credit Union"
southstpeters.branchsub = "";
southstpeters.street = "273 Centre Pointe Drive";
southstpeters.cityinfo = "St. Peters, MO 63376";
//southstpeters.phone_numbers = "(314) 621-4575";
southstpeters.setLocationHours("<strong>Lobby</strong>","&nbsp;","Mon.-Thurs."," 9 a.m. to 5 p.m.","Fri.","9 a.m. to 6 p.m.","Sat","9 a.m. to 12 p.m."); 
southstpeters.shared_branch = true;

var stpeters = new BranchLocation();
stpeters.branch = "Health Care Family Credit Union"
stpeters.branchsub = "";
stpeters.street = "4599 Executive Centre Parkway";
stpeters.cityinfo = "St. Peters, MO 63376";
//stpeters.phone_numbers = "(314) 645-5851";
stpeters.setLocationHours("<strong>Lobby</strong>","&nbsp;","Mon, Tues, Thur, Fri","9am - 5pm","Wed","10am - 5pm","<strong>Drive-Up</strong>","&nbsp;","Mon - Fri","8:30am - 5:30pm","Sat","9am - Noon"); 
stpeters.shared_branch = true;

var west = new BranchLocation();
west.branch = "Electro Savings Credit Union"
west.branchsub = "";
west.street = "1805 Craigshire Drive";
west.cityinfo = "St. Louis, MO 63146";
//west.phone_numbers = "(314)434-6470";
west.setLocationHours("<strong>Lobby & Drive-Up</strong>","&nbsp;","Mon-Tues","9am - 4:30pm","Wed","10am - 4:30pm","Thurs-Fri","9am - 6pm","Sat","9am - Noon"); 
west.shared_branch = true;

var charles = new BranchLocation();
charles.branch = "1<span style=\"vertical-align:super; font-size:70%;\">st</span> Financial FCU";
charles.branchsub = "";
charles.street = "1550 Country Club Plaza, Highway 94 South";
charles.cityinfo = "St. Charles, MO, 63303";
/*charles.phone_numbers = "(636)916-8300";
charles.fax_number = "(636)947-9876";*/
charles.setLocationHours("Mon, Tues, Thur","9am - 5pm","Wed","10am - 5pm","Fri","9am - 6pm","Sat","9am - noon","<strong>Drive-up</strong>", "&nbsp;","Mon - Fri","8:00am - 6:00pm","Sat","8:00am - noon"); 
charles.shared_branch = true;

var fallon = new BranchLocation();
fallon.branch = "West Community CU";
fallon.branchsub = "";
fallon.street = "4161 Highway K";
fallon.cityinfo = "O'Fallon, MO 63368";
//fallon.phone_numbers = "(636) 720-2400";
//fallon.fax_number = "(636)947-9876";
fallon.setLocationHours("Mon, Tues, Thur","9am - 5pm","Wed","10am - 5pm","Fri","9am - 6pm","Sat","9am - 1pm","<strong>Drive-up</strong>", "&nbsp;","Mon, Tues, Thur","8am - 6pm","Wed","10am - 6pm","Sat","8am - 1pm"); 
fallon.shared_branch = true;

var jefferson = new BranchLocation();
jefferson.branch = "ABECU - Jefferson County Branch"
jefferson.branchsub = "";
jefferson.street = "1334 Jeffco Blvd";
jefferson.cityinfo = "Arnold, MO 63010";
jefferson.phone_numbers = "(636)282-7030";
jefferson.fax_number = "(636)282-7021";
jefferson.manager = "Jennifer Duncan";
jefferson.setLocationHours("<strong>Lobby</strong>","","Monday-Thursday","9am-5pm","Friday","9am-6pm","Sat","9am-1pm","<strong>Drive-Up</strong>","","Monday-Thursday","8am-5pm","Friday","8am-6pm","Sat","8am-1pm"); 

var swansea = new BranchLocation();
swansea.branch = "Gateway Metro CU";
swansea.branchsub = "";
swansea.street = "Schnuck's Plaza, 2693 North Illinois St.";
swansea.cityinfo = "Swansea, IL 62221";
//swansea.phone_numbers = "(314) 621-4575";
swansea.setLocationHours("Mon-Thurs","9:00am - 5:00pm","Fri","9:00am - 6:00pm","Sat","9:00am - noon"); 
swansea.shared_branch = true;

var brentwood = new BranchLocation();
brentwood.branch = "West Community Credit Union";
brentwood.branchsub = "";
brentwood.street = "2345 South Brentwood Blvd.";
brentwood.cityinfo = "St. Louis, MO 63144";
//brentwood.phone_numbers = "(636) 720-2400 ";
brentwood.setLocationHours("Mon, Tue, Thurs","9:00am - 5:00pm","Wed","10:00am - 5:00pm","Fri","9:00am - 6:00pm","Sat","9:00am - 1:00pm"); 
brentwood.shared_branch = true;

var webstergroves = new BranchLocation();
webstergroves.branch= "Arsenal CU"
webstergroves.branchsub = "";
webstergroves.street = " 8651 Watson Road.";
webstergroves.cityinfo = "Webster Groves, MO 63119";
/*webstergroves.phone_numbers = "(314) 962-6363";
webstergroves.fax_number = "(314) 963-0479";*/
webstergroves.setLocationHours("Mon - Thurs","9:00am - 5:00pm","Fri","9:00am - 6:00pm","Sat","9:00am - 12:00pm","<strong>Drive-up</strong>", "&nbsp;","Mon - Fri","8:00am - 6:00pm"); 
webstergroves.shared_branch = true;

var kirkwood = new BranchLocation();
kirkwood.branch= "West Community Credit Union"
kirkwood.branchsub = "";
kirkwood.street = "465 S. Kirkwood Road";
kirkwood.cityinfo = "Kirkwood, MO 63122";
kirkwood.setLocationHours("Mon, Tues, Thur, Fri","9 am - 5 pm","Wed","10 am - 5 pm","Sat","9 am - 1 pm"); 
kirkwood.shared_branch = true;

var wentzville = new BranchLocation();
wentzville.branch= "1<sup>st</sup> Financial CU"
wentzville.branchsub = "";
wentzville.street = "1232 Wentzville Parkway";
wentzville.cityinfo = "Wentzville, MO 63385";
wentzville.setLocationHours("Mon, Tues, Thur, Fri","9 am - 5 pm","Wed","10 am - 5 pm"); 
wentzville.shared_branch = true;

/** Begin multiple location arrays **/
var southCountyPlaces= new Array();
southCountyPlaces[0]= south_county1;
southCountyPlaces[1]= southcounty4;
southCountyPlaces[2]= south_county5;
southCountyPlaces[3]= south_county6;
southCountyPlaces[4]= south_county7;
southCountyPlaces[5]= south_county8;


var northCountyPlaces= new Array();
northCountyPlaces[0]= northcounty;
//northCountyPlaces[1]= northcounty2;
northCountyPlaces[1]= northcounty3;
northCountyPlaces[2]= northcounty4
northCountyPlaces[3]= northcounty5
northCountyPlaces[4]= northcounty6

var DowntownPlaces= new Array();
DowntownPlaces[0]=downtown;
DowntownPlaces[1]=downtown1;

var midtownPlaces= new Array();
midtownPlaces[0]=midtown;
midtownPlaces[1]=midtown1;

var arnoldPlaces= new Array();
arnoldPlaces[0]=arnold;
arnoldPlaces[1]=arnold1;
