// JavaScript Document
 	

	var map = {
		initialize: function() {
			var	map,
				map_options,
				mapdiv = document.getElementById('map_canvas'),
				myMarker = false,
				useragent = navigator.userAgent;

	
			mapdiv.style.width = mapdiv.style.height = '100%';

			
			map_options = {
				zoom: 10,
				center: new google.maps.LatLng(40.197757,-105.147056), 
				mapTypeId: google.maps.MapTypeId.TERRAIN
			};
	
			map = new google.maps.Map(mapdiv, map_options);
			
		
  


// Horse Property
var image = 'http://www.klrealty.net/Boulder/Map/images/Pin-Purple.png';


// * Next Pin 1_________________________________________________________________
// 40.170544,-105.240026
var markerH1 = new google.maps.Marker({
        position: new google.maps.LatLng(40.170544,-105.240026), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/N_49th_10771/Listing.html" class="tu_db_iframe_705x830"><img src="http://www.klrealty.net/Horse-Real-Estate/N_49th_10771/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH1 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH1, 'click', function() {
  infowindowH1.open(map,markerH1);
});


// * Next Pin_________________________________________________________________

var markerH2 = new google.maps.Marker({
        position: new google.maps.LatLng(40.266363,-105.45579), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/0_County_59/Listing.html" class="tu_db_iframe_705x830"><img src="http://www.klrealty.net/Horse-Real-Estate/0_County_59/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH2 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH2, 'click', function() {
  infowindowH2.open(map,markerH2);
});

// * Next Pin 3 _______________________________________________________________
var markerH3 = new google.maps.Marker({
        position: new google.maps.LatLng(40.11712,-105.131897), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/7875_N_95th/Listing.html"><img src="http://www.klrealty.net/Horse-Real-Estate/7875_N_95th/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH3 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH3, 'click', function() {
  infowindowH3.open(map,markerH3);
});


// * Next Pin_________________________________________________________________

// 40.132761,-105.175574
var markerH4 = new google.maps.Marker({
        position: new google.maps.LatLng(40.132761,-105.175574), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/Crimson-Clover-8753/Listing.html"><img src="http://www.klrealty.net/Horse-Real-Estate/Crimson-Clover-8753/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH4 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH4, 'click', function() {
  infowindowH4.open(map,markerH4);
});

// * Next Pin_________________________________________________________________




// * Next Pin_________________________________________________________________


var markerH6 = new google.maps.Marker({
        position: new google.maps.LatLng(40.186914,-105.248369), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/4556_Hygiene/Listing.html"><img src="http://www.klrealty.net/Horse-Real-Estate/4556_Hygiene/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH6 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH6, 'click', function() {
  infowindowH6.open(map,markerH6);
});
// * Next Pin_________________________________________________________________
//WCR5 Erie 40.066857,-105.015049

var markerH7 = new google.maps.Marker({
        position: new google.maps.LatLng(40.066857,-105.015049), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/WCR5-4540/Listing.html"><img src="http://www.klrealty.net/Horse-Real-Estate/WCR5-4540/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH7 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH7, 'click', function() {
  infowindowH7.open(map,markerH7);
});

// * Next Pin  8_________________________________________________________________



// * Next Pin_________________________________________________________________
// 1612 Spring Gulch 40.275752,-105.3108


var markerH9 = new google.maps.Marker({
        position: new google.maps.LatLng(40.275752,-105.3108), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/Spring_Gulch_1612/Listing.html"><img src="http://www.klrealty.net/Horse-Real-Estate/Spring_Gulch_1612/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH9 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH9, 'click', function() {
  infowindowH9.open(map,markerH9);
});

// * Next Pin_________________________________________________________________


var markerH10 = new google.maps.Marker({
        position: new google.maps.LatLng(40.156581,-105.186941), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/Coyote-Trail-7245/Listing.html"><img src="http://www.klrealty.net/Horse-Real-Estate/Coyote-Trail-7245/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH10 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH10, 'click', function() {
  infowindowH10.open(map,markerH10);
});


// * Next Pin 11_________________________________________________________________
//40.076708,-105.053387




// * Next Pin 12_________________________________________________________________
//40.05858,-105.074469
var markerH12 = new google.maps.Marker({
        position: new google.maps.LatLng(40.05858,-105.074469), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/N_119th_4620/Listing.html"><img src="http://www.klrealty.net/Horse-Real-Estate/N_119th_4620/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH12 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH12, 'click', function() {
  infowindowH12.open(map,markerH12);
});

// * Next Pin_________________________________________________________________


var markerH13 = new google.maps.Marker({
        position: new google.maps.LatLng(40.07402,-105.084411), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/11471_Lookout/Listing.html"><img src="http://www.klrealty.net/Horse-Real-Estate/11471_Lookout/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH13 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH13, 'click', function() {
  infowindowH13.open(map,markerH13);
});


// * Next Pin 14_________________________________________________________________


var markerH14 = new google.maps.Marker({
        position: new google.maps.LatLng(40.297413,-105.134026), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/County-21-209/Listing.html"><img src="http://www.klrealty.net/Horse-Real-Estate/County-21-209/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH14 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH14, 'click', function() {
  infowindowH14.open(map,markerH14);
});


// * Next Pin 15 ________________________________________
// 81st street 40.125525,-105.166563

var markerH15 = new google.maps.Marker({
        position: new google.maps.LatLng(40.125525,-105.166563), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/8400_N_81st/Listing.html"><img src="http://www.klrealty.net/Horse-Real-Estate/8400_N_81st/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH15 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH15, 'click', function() {
  infowindowH15.open(map,markerH15);
});


// * Next Pin_________________________________________________________________


var markerH16 = new google.maps.Marker({
        position: new google.maps.LatLng(40.113822,-105.244603), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/4508_Oxford/Listing.html"><img src="http://www.klrealty.net/Horse-Real-Estate/4508_Oxford/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH16 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH16, 'click', function() {
  infowindowH16.open(map,markerH16);
});


// * Next Pin_________________________________________________________________


var markerH26 = new google.maps.Marker({
        position: new google.maps.LatLng(40.143665,-105.209155), 
        map: map,
		icon: image
		});
	var contentString =
    
   '<a href="http://www.klrealty.net/Horse-Real-Estate/9421_N_63rd/Listing.html" class="tu_db_iframe_705x830"><img src="http://www.klrealty.net/Horse-Real-Estate/9421_N_63rd/images/Site/iPhone2.png" width="250" height="83" border="0" /></a> '
    ;

var infowindowH26 = new google.maps.InfoWindow({
    content: contentString
});

google.maps.event.addListener(markerH26, 'click', function() {
  infowindowH26.open(map,markerH26);
});

	
		}
	};
