	// Event Listener Map Click
	function event_mapDblClick(returnFunc){
		var parm;
		if(returnFunc=="dragAndZoomView_one"){
			parm="dragAndZoomView_one";
			
		}else if(returnFunc=="dragAndZoomView"){
			parm="dragAndZoomView";
		}else if(returnFunc=="get_point_data"){
			parm="get_point_data";
		}
		GEvent.addListener(map, "dblclick", function (overlay, point) {
			if(returnFunc=="dragAndZoomView_one"){
//				GEvent.clearListeners(map,'moveend');
			}
			OpenWindowOfSpotMake(point,parm);
			map.centerAtLatLng(point);
		});
	}
	
	function OpenWindowOfSpotMake(point,parm){
		map.openInfoWindowHtml(point,
		'<div align="center" style="color:#000000">ここに新しいスポット情報を追加しますか?<br /><br />'
		+'<form>'
		+'	<input type="hidden" name="func" value="'+parm+'" />'
		+'	<input type="hidden" name="Actniche_Latitude" value="'+point.y+'" />'
		+'	<input type="hidden" name="Actniche_Longitude" value="'+point.x+'" />'
		+'	<button type="button" style="font-size:8px" onclick="spot_add_form_show(this.form)">登録する</button>&nbsp;<button type="button" style="font-size:8px" onclick="fCloseWindow()">閉じる</button>'
		+'</form></div>'
		);
	}
	
	function YahooLocalSearch_SpoForm_Open(point,parm){
		//make query
		var postdata =encodeURIComponent("Actniche_Latitude")		+"="	+encodeURIComponent(point.y);
			postdata+="&"+encodeURIComponent("Actniche_Longitude")	+"="	+encodeURIComponent(point.x);
			postdata+="&"+encodeURIComponent("func")				+"="	+encodeURIComponent(parm);
		/* FireBug */ if(window.console){console.debug('postdata: ' + postdata);}
		var html=innerHTML_PostAndReturn('inner_yahoosearch_spot_add_form.html',postdata);
		
		//infowindow open
		map.openInfoWindowHtml(point,html);
	}
	
	function YahooLocalSearch_SpotModify_Open(spotID,latitude,longitude){
		//make query
		var postdata =encodeURIComponent("Actniche_SpotID")	+"="	+encodeURIComponent(spotID);
		
		var html=innerHTML_PostAndReturn('inner_yahoosearch_spot_modify_form.html',postdata);
		
		//infowindow open
		var theLatLng= new GLatLng(latitude,longitude);
		map.openInfoWindowHtml(theLatLng,html);
	}
	
	function YahooLocalSearch_SpotDelete_Open(spotID,latitude,longitude,spotName){
		//make query
		var postdata =encodeURIComponent("Actniche_SpotID")			+"="	+encodeURIComponent(spotID);
			postdata+="&"+encodeURIComponent("Actniche_Latitude")	+"="	+encodeURIComponent(latitude);
			postdata+="&"+encodeURIComponent("Actniche_Longitude")	+"="	+encodeURIComponent(longitude);
			postdata+="&"+encodeURIComponent("Actniche_Spot_Name")	+"="	+encodeURIComponent(spotName);
			postdata+="&"+encodeURIComponent("Actniche_Spot_Available")	+"="	+encodeURIComponent('FALSE');
		
		var html=innerHTML_PostAndReturn('inner_yahoosearch_spot_delete.html',postdata);
		
		//infowindow open
		var theLatLng= new GLatLng(latitude,longitude);
		map.openInfoWindowHtml(theLatLng,html);
		window.moveView(1);
	}
	

