var map = new GMap2(document.getElementById("gmap"));
var point_x = new document.getElementById('gmapx').value - 0 ;
var point_y = new document.getElementById('gmapy').value - 0 ;
var point_z = new document.getElementById('gmapz').value - 0 ;
iconObj = new GIcon();
iconObj.image = "./ico/hanabi01.gif";
iconObj.iconSize = new GSize(11,11);
iconObj.iconAnchor = new GPoint(0,0);
/*あ
point_x = document.getElementById('gmapx').value ;
point_y = document.getElementById('gmapy').value ;
*/

function disp_gmap() {
	map = new GMap2(document.getElementById("gmap"));
	point_x = document.getElementById('gmapx').value - 0 ;
	point_y = document.getElementById('gmapy').value - 0 ;
//	x = document.getElementById('gmapx').value ;
//	y = document.getElementById('gmapy').value ;
	point_z = document.getElementById('gmapz').value - 0 ;
	if (GBrowserIsCompatible()) {
		map.addControl(new GLargeMapControl());
		map.addControl(new GMapTypeControl());
		map.setCenter(new GLatLng(point_y,point_x), point_z);
		map.addControl(new GOverviewMapControl(new GSize(100,100)));
		iconObj = new GIcon();
		iconObj.image = "../ico/hanabi01.gif";
		iconObj.iconSize = new GSize(11,11);
		iconObj.iconAnchor = new GPoint(6,6);
		marker = new GMarker(new GLatLng(point_y,point_x), iconObj);
		map.addOverlay(marker);
	}
	return 1 ;
}


function google_ad(id) {
	document.getElementById(id).innerHTML = '<script type="text/javascript"> google_ad_client = "pub-8486078797040360"; google_alternate_color = "302921"; google_ad_width = 468; google_ad_height = 60; google_ad_format = "468x60_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "302921"; google_color_link = "FF0080"; google_color_bg = "302921"; google_color_text = "FFFFFF"; google_color_url = "FF0080"; </script> <script type="text/javascript"   src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script>' ;
	return 1 ;
}

