// JavaScript Document
function createMarker(point,html) {
var marker = new GMarker(point);
GEvent.addListener(marker, "click", function() {
// Create an array that will hold the tabs   
var tabs = [];   
// Create tabs and add them to the array   
tabs.push(new GInfoWindowTab('Location', 'Newwebby Solutions<br />1001 E University Avenue, C3<br />Las Cruces, NM 88001'));   
tabs.push(new GInfoWindowTab('Contact', 'Toll Free:  (877) 430-2601<br />El Paso: (915) 433-5873'));   
// Add tabs to the InfowWindow   
marker.openInfoWindowTabsHtml(tabs);  
});
return marker;
}
function initialize() {
if (GBrowserIsCompatible()) {
var map = new GMap2(document.getElementById("map_canvas"));
map.setMapType(G_HYBRID_MAP);
map.setCenter(new GLatLng(32.2855, -106.752005), 15);
map.openInfoWindowHtml(map.getCenter(),("Newwebby Solutions<br />1001 E University Avenue, C3<br />Las Cruces, NM 88001"));
var point = new GLatLng(32.2855, -106.752005);
//var point2 = new GLatLng(32.452997,-106.704712);
var marker = createMarker(point);
//var marker2 = createMarker(point2);
map.addOverlay(marker);
//map.addOverlay(marker2);
//GEvent.addListener(marker2, 'click', function() {   
  // When clicked, open an Info Window   
 // marker2.openInfoWindowHtml('El Paso sales and web development office');   
//}); 
// Create an array that will hold the tabs   
var tabs = [];   
// Create tabs and add them to the array   
tabs.push(new GInfoWindowTab('Location', 'Newwebby Solutions<br>1001 E University Avenue, C3<br />Las Cruces, NM 88001'));   
tabs.push(new GInfoWindowTab('Contact', 'Toll Free:  (877) 430-2601<br />El Paso: (915) 433-5873'));   
// Add tabs to the InfowWindow   
marker.openInfoWindowTabsHtml(tabs); 
//This gives you the zoom tool
map.setUIToDefault();
	}
}