    //<![CDATA[
//	http://maps.google.com/maps?f=q&hl=en&geocode=&q=Guanella+Auto+Body+2789+Sebastopol+Rd,+Santa+Rosa,+CA%E2%80%8E&ie=UTF8&attrid=&ei=HpCbSMH2HaiKiAPC37nwBw&cd=1&cid=38426126,-122750920,18220817991372048924&li=lmd&ll=38.428412,-122.750072&spn=0.020978,0.04549&z=15
    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("googleMap"));
        map.setCenter(new GLatLng(38.431346, -122.74212986541748), 14);
      }
	  //38.428546756815535, -122.74312986541748
	  //controls and settings
	  map.addControl(new GLargeMapControl());
//	  map.addControl(new GMapTypeControl());
//	  map.setMapType(G_HYBRID_MAP);

	  //coordinates for Guanella. DO NOT ALTER
	  var point = new GLatLng(38.426346, -122.750673);
	  
	  bubbleDiv = createBubble(); //creates content of bubble.	  
	  //create marker on map. Link with bubble
	  mapArrow = new GMarker(point);
	  GEvent.addListener(mapArrow, "click", function() {
        mapArrow.openInfoWindowHtml(bubbleDiv);
      });
      map.addOverlay(mapArrow);
	  
	  //open bubble on marker on load
      mapArrow.openInfoWindowHtml(bubbleDiv);
    }
	
	
	function createBubble() {
		bubbleDiv = document.createElement('div');
		bubbleDiv.style.width = '250px'
		bubbleDiv.style.height = '150px'
		bubbleLogo = new Image();
		bubbleLogo.src = '/images/logo.gif';
		bubbleLogo.style.width = '100px';
		bubbleLogo.style.height = '100px';
		bubbleLogo.align = 'right';
		bubbleDiv.appendChild(bubbleLogo);
		
		bubbleText = document.createElement('div');
		bubbleText.style.margin = 0;
		bubbleText.style.border='1px';
		bubbleText.style.fontFamily = 'sans-serif';
		bubbleText.style.fontSize = '10pt';
		
		bubbleTextLine1 = document.createElement('span');
		bubbleTextLine1.style.fontSize = '11pt';
		bubbleTextLine1.style.fontWeight = 'bold';
		bubbleTextLine1.appendChild(document.createTextNode('Guanella Auto Body'));
		bubbleTextLine2 = document.createTextNode('2789 Sebastopol Rd.');
		bubbleTextLine3 = document.createTextNode('Santa Rosa, CA 95407');
		bubbleTextLine4 = document.createTextNode('Phone: (707) 526-6805');
		bubbleTextLine5 = document.createTextNode('Fax: (707) 527-7984');
		emailAdd = document.createTextNode('info@guanellaautobody.com');
		bubbleTextLine6 = document.createElement('a');
		bubbleTextLine6.href = "mailto:info@guanellaautobody.com";
		bubbleTextLine6.appendChild(emailAdd);
		bubbleTextLine7 = document.createTextNode('M-F: 8:00am-6:30pm');
		bubbleTextLine8 = document.createTextNode('Sat: 9:00am-1:00pm');
		
		bubbleText.appendChild(bubbleTextLine1);
		bubbleText.appendChild(document.createElement('br'));
		bubbleText.appendChild(bubbleTextLine2);
		bubbleText.appendChild(document.createElement('br'));
		bubbleText.appendChild(bubbleTextLine3);
		bubbleText.appendChild(document.createElement('br'));
		bubbleText.appendChild(bubbleTextLine4);
		bubbleText.appendChild(document.createElement('br'));
		bubbleText.appendChild(bubbleTextLine5);
		bubbleText.appendChild(document.createElement('br'));
		bubbleText.appendChild(bubbleTextLine7);
		bubbleText.appendChild(document.createElement('br'));
		bubbleText.appendChild(bubbleTextLine8);
		bubbleText.appendChild(document.createElement('br'));
		bubbleText.appendChild(bubbleTextLine6);
		
		bubbleDiv.appendChild(bubbleText);
		
		return bubbleDiv;
	}
	moviePlayerLoad = window.onload;
	window.onload = function() {
		moviePlayerLoad();
		load();
	}
	window.onunload = function() {
		GUnload()
	}

    //]]>
    
