var map;

function load() {
	if (GBrowserIsCompatible()) {
		map = new GMap2(document.getElementById("map"));
		map.setCenter(new GLatLng(35.66375556161258, 139.73191022872925), 17);


		// 色々と有効にする
		map.enableContinuousZoom();
		map.enableScrollWheelZoom();

		//コントロール追加
		map.addControl( new GSmallMapControl() );

		// 画面スクロール対策
		GEvent.addDomListener(document.getElementById("map"), "DOMMouseScroll", CancelEvent); // Firefox
		GEvent.addDomListener(document.getElementById("map"), "mousewheel",     CancelEvent); // IE

		var marker = new GMarker(map.getCenter());
		map.addOverlay(marker);
	}
}
