window.onload = function() {
     
	  if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        //map.setCenter(new GLatLng(37.4419, -122.1419), 13);
    
		
		 var mapPoint = new GLatLng(35.63820291545365 , 139.7122871875763);		
		 map.setCenter(mapPoint, 16,G_NORMAL_MAP);	
		 
		 map.addControl(new GLargeMapControl());
		 map.addControl(new GScaleControl());
		 
		 map.enableInfoWindow();	
		 gpObj = new GLatLng(35.63830291545365 , 139.7125071875763);
		 map.openInfoWindow(gpObj,document.getElementById("companyInfo"));		
		 
		 marker = new GMarker(gpObj);
		 map.addOverlay(marker);		
		 
		  GEvent.addListener(marker, "mouseover", function(){
	 marker.openInfoWindowHtml('<img src="../images/com/com03_title.gif" alt="ポジション株式会社" width="103" height="41" /><p>住所：東京都目黒区三田2-10-40</p><p>電話：03-3791-3611</p><p class="CO_red1">マーカーをクリックすると周辺地図を表示</p>');
} );
		 
		 GEvent.addListener(marker, "click", function(){
		 marker.showMapBlowup(18);
		 } )
		 GEvent.addListener(marker, "infowindowclose", function(){
																});
}
}

/*
	 if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(37.4419, -122.1419), 13);
      }
}
*/