document.write("<script src='http://maps.google.com/maps?file=api&v=1&key=");
//本番用
document.write("ABQIAAAAQgzXfvMFFLSx92VhUnQe_RQWslljllZEwHl3y5b0zPWyaUEF8hRNlWbn5cjyN-eLQvqPoNv3YAQ21g" + "'");
//テスト14
//document.write("ABQIAAAAQgzXfvMFFLSx92VhUnQe_RRLGiAOIlDEiD3g6coppWSAuO1EyRTzCNCYNzzd8831eofq5UmpiwdHgg" + "'");
document.write("type='text/javascript'></script>");

//<![CDATA[
function load() {
	if (!GBrowserIsCompatible()) {

	//It is not possible to use it by this browser.
		var map = document.getElementById("map");
		map.innerHTML = "このブラウザでは利用できません。<br />"
		map.innerHTML += "GoogleMap対応のブラウザでご覧ください。"

	} else {

	//地図を作成(初期設定)
		var map = new GMap2(document.getElementById("map"));
		map.addControl(new GLargeMapControl());
		map.setCenter(new GLatLng(set_lat,set_lng), 14);

	//オリジナルマーカー画像作成
    	function addMarker(map, lat, lng, html) {
    	var point = new GLatLng(34.931852, 135.421536);
	    map.setCenter(point, 14);
      	var mp = new GLatLng(point.lat(), point.lng() );
     	var marker = new GMarker(mp);
      	map.addOverlay(marker);
      	/*
			//var icon = new GIcon();
			//icon.image = "http://kunisakicc.jp/misc/mapIcon.png";
			//icon.shadow = "http://x-trans.jp/corporate/img/icon_shadow.png";
			icon.iconSize = new GSize(86, 93);
			//icon.shadowSize = new GSize(105, 100);
			icon.iconAnchor = new GPoint(45, 105);
			icon.infoWindowAnchor = new GPoint(80, 0);
			var point = new GLatLng(lat, lng);
			var marker = new GMarker(point, icon);
			map.addOverlay(marker);*/
			marker.openInfoWindowHtml(html);
			//
			
			GEvent.addListener(marker, "click", function() {
				marker.openInfoWindowHtml(html);
				map.setZoom(14);
				});
				
		}
		}

//Head Office
addMarker(
map, 34.930996, 135.422662,
"<dl><dt>国崎クリーンセンター啓発施設</dt><dd>〒666-0103<br />兵庫県川西市国崎字小路13番地</dd></dl>");

}
//]]>
