//Mac Font size
if(navigator.userAgent.indexOf("Mac")!=-1){
	var host = (("https:" == document.location.protocol) ? "https://hs30.drive.ne.jp/store-house.net/" : "http://www.store-house.net/");
    document.write('<link rel="stylesheet" href="' + host + 'css/mac.css" type="text/css" media="all" />');
}

//scroll
Event.observe(window, 'load', function() {
  $$('a[href^=#]:not([href=#])').each(function(element) {
    element.observe('click', function(event) {
      new Effect.ScrollTo(this.hash.substr(1));
      Event.stop(event);
    }.bindAsEventListener(element))
  })
})

// GoogleMap表示
function onLoad() {
var map = new GMap2(document.getElementById("map"));
map.setCenter(new GLatLng(37.4088,140.390234),13, G_NORMAL_MAP);
map.setZoom(13);
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
map.addControl(new GScaleControl());
map.addControl(new GOverviewMapControl());
map.setMapType(G_NORMAL_MAP);

var icon = new GIcon();
icon.image = "images/mapicon.png";
icon.iconSize = new GSize(62, 80);
icon.iconAnchor = new GPoint(31, 75);
icon.infoWindowAnchor = new GPoint(31, 75);

var marker = new GMarker(new GLatLng(37.4088,140.390234),icon);
map.addOverlay(marker);

GEvent.addListener(marker, "click", function() {
map.setZoom(18);
});

}

