$(document).ready(function(){branch_map();});
function branch_map() {
// Map markers for Google Maps API3
// Set options
var options = {
zoom: 3,
center: new google.maps.LatLng(25.48295117535531, -80.859375),
mapTypeId: google.maps.MapTypeId.TERRAIN
};
// Write map
var map = new google.maps.Map(document.getElementById("map_canvas"), options);
// Create infobubble
var infobubble = new InfoBubble({
maxWidth: 300
});
// Create infobubble tabs
infobubble.addTab('Info', "");
infobubble.addTab('Contact', "");
// Create markers array
var markers = new Array();
// Loop through locations channel, append to array
var marker_array = {
position_lat: "40.119219",
position_lng: "-83.012354",
type: "Branch",
title: "Columbus Office",
name: "Bret Casey",
address: "150 E. Campus View Boulevard
Suite 133
Columbus, OH",
zip: "43235",
email: "Bcasey@hazenandsawyer.com",
phone: "614-781-9655",
fax: "614-781-9665"
};
markers.push(marker_array);
var marker_array = {
position_lat: "34.0399244",
position_lng: "-118.2617257",
type: "Branch",
title: "Los Angeles Office",
name: "Lynn Grijalva",
address: "1150 South Olive Street
Suite 475
Los Angeles, CA",
zip: "90015",
email: "lgrijalva@hazenandsawyer.com",
phone: "213-765-0251",
fax: "213-765-0261"
};
markers.push(marker_array);
var marker_array = {
position_lat: "34.003204",
position_lng: "-81.034255",
type: "Branch",
title: "Columbia Office",
name: "Bill Orne, P.E.",
address: "1320 Main Street
Suite 300
Columbia, SC",
zip: "29201",
email: "borne@hazenandsawyer.com",
phone: "803-724-1328",
fax: ""
};
markers.push(marker_array);
var marker_array = {
position_lat: "-2.156567",
position_lng: "-79.9010784",
type: "Branch",
title: "Guayaquil Office",
name: "Fernando Chiriboga",
address: "Oficina No. 1, Piso 10
Edificio Torre Atlas
Avenida Justino Cornejo & Luis Orantia Esquina
Urbanización Kennedy Norte
Guayaquil, Ecuador",
zip: "",
email: "fchiriboga@hazenandsawyer.com",
phone: "(011-593) 4-228-7139",
fax: ""
};
markers.push(marker_array);
var marker_array = {
position_lat: "37.66696",
position_lng: "-77.578396",
type: "Branch",
title: "Richmond Office",
name: "Christopher W. Tabor, P.E.",
address: "4870 Sadler Road, Suite 300
Glen Allen, VA",
zip: "23060",
email: "ctabor@hazenandsawyer.com",
phone: "804-205-5045",
fax: ""
};
markers.push(marker_array);
var marker_array = {
position_lat: "32.7511589",
position_lng: "-97.3329998",
type: "Branch",
title: "Fort Worth Office",
name: "Tina E. Hanson, P.E.",
address: "500 West 7th Street, Suite 702
Fort Worth, Texas",
zip: "76102",
email: "thanson@hazenandsawyer.com",
phone: "817-870-2630",
fax: "817-870-2680"
};
markers.push(marker_array);
var marker_array = {
position_lat: "29.7636557",
position_lng: "-95.4607216",
type: "Branch",
title: "Houston Office",
name: "Jayson Page, P.E.",
address: "4801 Woodway Drive, Suite 300 East
Houston, TX",
zip: "77056",
email: "jpage@hazenandsawyer.com",
phone: "713-513-4802",
fax: ""
};
markers.push(marker_array);
var marker_array = {
position_lat: "41.1347055",
position_lng: "-81.5525418",
type: "Branch",
title: "Northeast Ohio Office",
name: "Debbie Houdeshell",
address: "1755 Merriman Road, Suite 330
Akron, OH",
zip: "44313",
email: "dhoudeshell@hazenandsawyer.com",
phone: "330-322-2567",
fax: ""
};
markers.push(marker_array);
var marker_array = {
position_lat: "43.0769614",
position_lng: "-70.7593312",
type: "Branch",
title: "Portsmouth Office",
name: "Matt Valade",
address: "155 Fleet Street
Portsmouth, NH",
zip: "03801",
email: "mvalade@hazenandsawyer.com",
phone: "603-766-0416 ",
fax: "603-766-0410"
};
markers.push(marker_array);
var marker_array = {
position_lat: "28.565998",
position_lng: "-81.328681",
type: "Branch",
title: "Orlando Office",
name: "Robert Cadle",
address: "4767 New Broad Street
Orlando, FL",
zip: "32814",
email: "rcadle@hazenandsawyer.com",
phone: "407-514-2688",
fax: "407-514-2604"
};
markers.push(marker_array);
var marker_array = {
position_lat: "40.7923178",
position_lng: "-77.8633748",
type: "Branch",
title: "State College Office",
name: "Brian Book",
address: "330 Innovation Boulevard, Suite 104
State College, PA",
zip: "16803",
email: "bbook@hazenandsawyer.com",
phone: "814-272-3332",
fax: "814-272-3013"
};
markers.push(marker_array);
var marker_array = {
position_lat: "18.479014",
position_lng: "-69.890784",
type: "Branch",
title: "Santo Domingo, Dominican Republic Office",
name: "Fernando Chiriboga",
address: "Edificio Progressus, Suite 5-A
Avenida Abraham Lincoln
Esquina Calle José Amado Soler
Santo Domingo, República Dominicana",
zip: "",
email: "fchiriboga@hazenandsawyer.com",
phone: "305-443-4001(US)",
fax: "305-443-4549 (US)"
};
markers.push(marker_array);
var marker_array = {
position_lat: "4.6091196",
position_lng: "-74.071994",
type: "Branch",
title: "Bogotá, Colombia Office",
name: "Fernando Chiriboga",
address: "Carrera 11B No. 96-03
Oficina 504, Edificio Zurich
Santa Fé de Bogotá, Colombia",
zip: "",
email: "fchiriboga@hazenandsawyer.com",
phone: "305-443-4001 (US) or 011-571-635-4995 (local)",
fax: "305-443-4549 (US)"
};
markers.push(marker_array);
var marker_array = {
position_lat: "-0.229498",
position_lng: "-78.524277",
type: "Branch",
title: "Quito, Ecuador Office",
name: "Fernando Chiriboga",
address: "Republica del Salvador
N34-499 y Portugal
Edificio Trento
Oficina 16, Piso 3
Quito, Ecuador",
zip: "",
email: "fchiriboga@hazenandsawyer.com",
phone: "305-443-4001(US) or 011-593-2-333-2740 (local)",
fax: "305-443-4549"
};
markers.push(marker_array);
var marker_array = {
position_lat: "41.6519655",
position_lng: "-72.6750946",
type: "Branch",
title: "Rocky Hill Office",
name: "Scott Bonett",
address: "101 Corporate Place
Rocky Hill, CT",
zip: "06067",
email: "sbonett@hazenandsawyer.com",
phone: "860-257-1067",
fax: "860-257-1075"
};
markers.push(marker_array);
var marker_array = {
position_lat: "39.951503",
position_lng: "-75.153584",
type: "Branch",
title: "Philadelphia Office",
name: "Mark Bottin",
address: "801 Market Street, Suite 1001
Philadelphia, PA",
zip: "19107",
email: "mbottin@hazenandsawyer.com",
phone: "215-592-0600",
fax: "215-592-0690"
};
markers.push(marker_array);
var marker_array = {
position_lat: "37.737178",
position_lng: "-88.9947356",
type: "Branch",
title: "Marion Office",
name: "Jack Kiefer",
address: "3401 Professional Park
Marion, IL",
zip: "62959",
email: "jkeifer@hazenandsawyer.com",
phone: "618-889-0498",
fax: ""
};
markers.push(marker_array);
var marker_array = {
position_lat: "27.31289",
position_lng: "-82.449378",
type: "Branch",
title: "Sarasota Office",
name: "Damann L. Anderson",
address: "2201 Cantu Court, Suite 109
Sarasota, FL",
zip: "34232",
email: "danderson@hazenandsawyer.com",
phone: "941-378-2862",
fax: "941-378-0196"
};
markers.push(marker_array);
var marker_array = {
position_lat: "26.01078",
position_lng: "-80.183716",
type: "Regional",
title: "Hollywood Office - Regional Headquarters",
name: "Lauren Ormerod",
address: "4000 Hollywood Boulevard, Suite 750N
Hollywood, FL",
zip: "33021",
email: "lormerod@hazenandsawyer.com",
phone: "954-987-0066",
fax: "954-987-2949"
};
markers.push(marker_array);
var marker_array = {
position_lat: "27.42862",
position_lng: "-80.3508109",
type: "Branch",
title: "Fort Pierce Office",
name: "Robert B. Taylor, Jr.",
address: "Mardi Executive Center
1905 South 25th Street, Suite 103
Fort Pierce, FL",
zip: "34947",
email: "rbtaylor@hazenandsawyer.com",
phone: "772-489-0066",
fax: "772-489-1299"
};
markers.push(marker_array);
var marker_array = {
position_lat: "26.3707393",
position_lng: "-80.1254807",
type: "Branch",
title: "Boca Raton Office",
name: "Albert Muniz",
address: "2101 NW Corporate Boulevard, Suite 301
Boca Raton, FL",
zip: "33431",
email: "amuniz@hazenandsawyer.com",
phone: "561-997-8070",
fax: "561-997-8159"
};
markers.push(marker_array);
var marker_array = {
position_lat: "25.7625",
position_lng: "-80.2586479",
type: "Branch",
title: "Coral Gables Office",
name: "Fernando Chiriboga",
address: "999 Ponce de Leon Boulevard, Suite 1150
Coral Gables, FL",
zip: "33134",
email: "fchiriboga@hazenandsawyer.com",
phone: "305-443-4001",
fax: "305-443-4549"
};
markers.push(marker_array);
var marker_array = {
position_lat: "30.255452",
position_lng: "-81.590724",
type: "Branch",
title: "Jacksonville Office",
name: "John C. Burke",
address: "Southpoint Square ll
4110 Southpoint Boulevard, Suite 219
Jacksonville, FL",
zip: "32216",
email: "jcburke@hazenandsawyer.com",
phone: "904-296-1503",
fax: "904-296-9307"
};
markers.push(marker_array);
var marker_array = {
position_lat: "27.97994",
position_lng: "-82.3361369",
type: "Branch",
title: "Tampa Office",
name: "Damann L. Anderson",
address: "10002 Princess Palm Avenue
Registry One Building, Suite 200
Tampa, FL",
zip: "33619",
email: "danderson@hazenandsawyer.com",
phone: "813-630-4498",
fax: "813-630-1967"
};
markers.push(marker_array);
var marker_array = {
position_lat: "39.272115",
position_lng: "-84.372898",
type: "Regional",
title: "Cincinnati Office - Regional Headquarters",
name: "Gary Haubner",
address: "11311 Cornell Park Drive, Suite 135
Cincinnati, OH",
zip: "45242",
email: "ghaubner@hazenandsawyer.com",
phone: "513-469-2750",
fax: "513-469-2751"
};
markers.push(marker_array);
var marker_array = {
position_lat: "37.9960086",
position_lng: "-84.5348822",
type: "Branch",
title: "Lexington Office",
name: "John Steinmetz",
address: "444 Lewis Hargett Circle, Suite 260
Lexington, KY",
zip: "40503",
email: "jsteinmetz@hazenandsawyer.com",
phone: "859-219-1126",
fax: "859-219-1134"
};
markers.push(marker_array);
var marker_array = {
position_lat: "40.439108",
position_lng: "-80.0062219",
type: "Branch",
title: "Pittsburgh Office",
name: "Curt Courter",
address: "11 Stanwix Avenue, Suite 1440
Pittsburgh, PA",
zip: "15222",
email: "ccourter@hazenandsawyer.com",
phone: "412-281-6161",
fax: "412-281-6165"
};
markers.push(marker_array);
var marker_array = {
position_lat: "36.193157",
position_lng: "-86.795446",
type: "Branch",
title: "Nashville Office",
name: "Scott Woodard",
address: "227 French Landing Drive, Suite 420
Nashville, TN",
zip: "37228",
email: "swoodard@hazenandsawyer.com",
phone: "615-783-1515",
fax: "615-724-0855"
};
markers.push(marker_array);
var marker_array = {
position_lat: "42.32956",
position_lng: "-83.045978",
type: "Branch",
title: "Detroit Office",
name: "Gary Haubner",
address: "Guardian Building
500 Griswold Street, Suite 3300
Detroit, MI",
zip: "48226",
email: "ghaubner@hazenandsawyer.com",
phone: "313-961-3050",
fax: "313-961-2438"
};
markers.push(marker_array);
var marker_array = {
position_lat: "32.826725",
position_lng: "-79.9877496",
type: "Branch",
title: "Charleston Office",
name: "Scott Abrams",
address: "1 Poston Road, Suite 320
Charleston, SC",
zip: "29407",
email: "sabrams@hazenandsawyer.com",
phone: "843-744-6467",
fax: "843-744-6469"
};
markers.push(marker_array);
var marker_array = {
position_lat: "36.0877",
position_lng: "-79.82728",
type: "Branch",
title: "Greensboro Office",
name: "Jeffrey R. Cruickshank",
address: "629 Green Valley Road, Suite 200
Greensboro, NC",
zip: "27408",
email: "jcruickshank@hazenandsawyer.com",
phone: "336-292-7490",
fax: "336-292-5614"
};
markers.push(marker_array);
var marker_array = {
position_lat: "36.762015",
position_lng: "-76.25886",
type: "Branch",
title: "Hampton Roads Office",
name: "Dwayne Amos",
address: "Lake Center ll
505 Independence Parkway, Suite 250
Chesapeake, VA",
zip: "23320",
email: "damos@hazenandsawyer.com",
phone: "757-312-9135",
fax: "757-312-9138"
};
markers.push(marker_array);
var marker_array = {
position_lat: "39.289505",
position_lng: "-76.610273",
type: "Branch",
title: "Baltimore Office",
name: "Andrew Gregson",
address: "One South Street, Suite 1150
Baltimore, MD",
zip: "21202",
email: "agregson@hazenandsawyer.com",
phone: "410-539-7681",
fax: "410-539-7682"
};
markers.push(marker_array);
var marker_array = {
position_lat: "33.9117687",
position_lng: "-84.3530204",
type: "Branch",
title: "Atlanta Office",
name: "Pat Rogers",
address: "5775 Peachtree Dunwoody Road, Suite D-520
Atlanta, GA",
zip: "30342",
email: "progers@hazenandsawyer.com",
phone: "404-459-6363",
fax: "404-459-6362"
};
markers.push(marker_array);
var marker_array = {
position_lat: "35.183527",
position_lng: "-80.903835",
type: "Branch",
title: "Charlotte Office",
name: "James Struve",
address: "4944 Parkway Plaza Boulevard, Suite 375
Charlotte, NC",
zip: "28217",
email: "jstruve@hazenandsawyer.com",
phone: "704-357-3150",
fax: "704-357-3152"
};
markers.push(marker_array);
var marker_array = {
position_lat: "38.854953",
position_lng: "-77.340365",
type: "Branch",
title: "Fairfax Office",
name: "Andrew Gregson",
address: "4035 Ridge Top Road
Suite 400
Fairfax, VA",
zip: "22030",
email: "agregson@hazenandsawyer.com",
phone: "703-218-2034",
fax: "703-218-2040"
};
markers.push(marker_array);
var marker_array = {
position_lat: "42.3564",
position_lng: "-71.0564",
type: "Branch",
title: "Boston Office",
name: "Matt Valade",
address: "24 Federal Street
5th Floor
Boston, MA",
zip: "02110",
email: "mvalade@hazenandsawyer.com",
phone: "617-574-4747",
fax: "617-574-4799"
};
markers.push(marker_array);
var marker_array = {
position_lat: "35.801406",
position_lng: "-78.708374",
type: "Regional",
title: "Raleigh Office - Regional Headquarters",
name: "Ron Taylor",
address: "4011 WestChase Boulevard, Suite 500
Raleigh, NC",
zip: "27607",
email: "rltaylor@hazenandsawyer.com",
phone: "919-833-7152",
fax: "919-833-1828"
};
markers.push(marker_array);
var marker_array = {
position_lat: "40.752729",
position_lng: "-73.989548",
type: "Regional",
title: "New York Office - Corporate Headquarters",
name: "Norm Bradley",
address: "498 Seventh Avenue
11th Floor
New York, NY",
zip: "10018",
email: "nbradley@hazenandsawyer.com",
phone: "212-777-8400",
fax: "212-228-8369"
};
markers.push(marker_array)
// Loop through array
$.each(markers, function(i, item) {
// Logic to determine if branch or regional office
var marker_colour;
if (item["type"] == "Branch") {
marker_colour = "cd770b";
} else if (item["type"] == "Regional") {
marker_colour = "8b2d5a";
} else {
marker_colour = "cd770b";
}
// Create marker
var marker = new StyledMarker({
styleIcon: new StyledIcon(StyledIconTypes.MARKER, { color: marker_colour }),
position: new google.maps.LatLng(item["position_lat"],item["position_lng"]),
map: map
});
// Create strings to store data
var marker_info = "
" + item["title"] + "
" + item["address"] + ",
" + item["zip"] + "
";
if (item["name"].length) {
marker_contact += "Name: " + item["name"] + "
";
}
if (item["email"].length) {
marker_contact += "Email: " + item["email"] + "
";
}
if (item["phone"].length) {
marker_contact += "Phone: " + item["phone"] + "
";
}
if (item["fax"].length) {
marker_contact += "Fax: " + item["fax"] + "
";
}
marker_contact += "