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(43.0388,-95.237)};var g_9a9d53c38badba2284af0da4ef86b358 = new google.maps.Geocoder();g_9a9d53c38badba2284af0da4ef86b358.geocode( { 'address': "202 3rd Ave, Royal, IA 51357"}, function(results, status) {if (status == google.maps.GeocoderStatus.OK) {$i++;if ($i == 1){document.getElementById('royal-IA-home-state-bank').style.display = '';map = new google.maps.Map(document.getElementById('royal-IA-home-state-bank'), mapOptions);}document.getElementById('57270207').innerHTML += ' | View Map';var $l9a9d53c38badba2284af0da4ef86b358 = '

Home State Bank

Address: 202 3rd Ave, Royal, IA 51357
Phone: (712) 933-5511
';var m_9a9d53c38badba2284af0da4ef86b358 = new google.maps.Marker({position: results[0].geometry.location,map: map,title: 'Home State Bank',});m_9a9d53c38badba2284af0da4ef86b358['infowindow'] = new google.maps.InfoWindow({content: $l9a9d53c38badba2284af0da4ef86b358});var infowindow = new google.maps.InfoWindow({content: $l9a9d53c38badba2284af0da4ef86b358});google.maps.event.addListener(m_9a9d53c38badba2284af0da4ef86b358, 'click', function() {infowindow.open(map,m_9a9d53c38badba2284af0da4ef86b358);});$marker.push(m_9a9d53c38badba2284af0da4ef86b358);}});}google.maps.event.addDomListener(window, 'load', initialize);