/* トップフラッシュ表示 */
function ShowTopFlash() {
	if (AC_FL_RunContent == 0) {
		alert("このページでは \"AC_RunActiveContent.js\" が必要です。");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', '550',
			'height', '370',
			'src', './flash/yamaichi_load',
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', 'yamaichi_load',
			'bgcolor', '#eaecd8',
			'name', 'yamaichi_load',
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', './flash/yamaichi_load',
			'salign', ''
			); //end AC code
	}
}

/* GoogleMap呼び出し */
function load() {
	var MyLatlng = new google.maps.LatLng(34.969542, 138.777197);
	var CenterLatlng = new google.maps.LatLng(34.971300, 138.777197);
	var myOptions = {
		zoom: 16,
		center: CenterLatlng,
		navigationControl: true,
		mapTypeControl: true,
		mapTypeId: google.maps.MapTypeId.ROADMAP
	};
	var map = new google.maps.Map(document.getElementById("map"), myOptions);
	
	var contentString = '<p><strong style="font-size: 120%; font-weight: bold;">磯割烹の宿 山市</strong></p>'+
		'<p style="margin-top: 5px; line-height: 1.5; font-size: 80%;">〒410-3402<br>静岡県沼津市戸田523</p>';
	
	var infowindow = new google.maps.InfoWindow({
		content: contentString
	});
	
	var marker = new google.maps.Marker({
		position: MyLatlng,
		map: map, 
		title:"磯割烹の宿 山市"
	});
	
	infowindow.open(map,marker);
	
	google.maps.event.addListener(marker, 'click', function() {
		infowindow.open(map,marker);
	});

/*
	if (GBrowserIsCompatible()) {
		var map = new GMap2(document.getElementById("map"));
		map.setCenter(new GLatLng(34.969542, 138.777197), 15);
		map.addControl(new GLargeMapControl());
	}
*/
}

/* Google Analytics */
function gAnalytics() {
	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
}

function gTracking() {
	var pageTracker = _gat._getTracker("UA-6022404-2");
	pageTracker._initData();
	pageTracker._trackPageview();
}



