var map;var $marker = [];function $setCursor($lat, $lng, $index){$marker[$index - 1]['infowindow'].open(map, $marker[$index - 1]);var $lat_lng = new google.maps.LatLng($lat, $lng);map.setCenter($lat_lng);map.setZoom(20);}function initialize(){var $i = 0;var mapOptions = {zoom: 10,center: new google.maps.LatLng(39.4852,-80.1426)};var g_ad34e28ef62ff8a9539b377047b677ea = new google.maps.Geocoder();g_ad34e28ef62ff8a9539b377047b677ea.geocode( { 'address': "301 Adams St, Fairmont, WV 26554, USA"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('fairmont-WV-wesbanco-bank-fairmont-main').style.display = '';map = new google.maps.Map(document.getElementById('fairmont-WV-wesbanco-bank-fairmont-main'), mapOptions);}document.getElementById('4681fb0d').innerHTML += ' | View Map';var $lad34e28ef62ff8a9539b377047b677ea = '

WesBanco Bank (Fairmont Main)

Address: 301 Adams St, Fairmont, WV 26554, USA
Phone: (304) 368-5000
';var m_ad34e28ef62ff8a9539b377047b677ea = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'WesBanco Bank (Fairmont Main)',});m_ad34e28ef62ff8a9539b377047b677ea['infowindow'] = new google.maps.InfoWindow({content: $lad34e28ef62ff8a9539b377047b677ea});var infowindow = new google.maps.InfoWindow({content: $lad34e28ef62ff8a9539b377047b677ea});google.maps.event.addListener(m_ad34e28ef62ff8a9539b377047b677ea, 'click', function() {infowindow.open(map,m_ad34e28ef62ff8a9539b377047b677ea);});$marker.push(m_ad34e28ef62ff8a9539b377047b677ea);}});}google.maps.event.addDomListener(window, 'load', initialize);