
function MapOpen(url){
	window.open(url, 'map');
}

function JumpOpen(url){
	window.open(url, 'jump', 'width=500,height=650');
}

function PhotoOpen(url){
	window.open(url, 'photo', 'width=330,height=280');
}

function fnc_moveOpener(strURL){
	if(is_opener()){
		window.opener.location.href=strURL;
	}else{
		alert("親ウィンドウは閉じられています。");
		window.open(strURL);
	}
}

function is_opener() {
	var strUserAgent = navigator.userAgent;
	if( !!window.opener ) {
		if( strUserAgent.indexOf('MSIE 4')!=-1 && strUserAgent.indexOf('Win')!=-1 ) {
			return !window.opener.closed;
		} else {
			return typeof window.opener.document == 'object';
		}
	} else {
		return false;
	}

}

function FormReset(){
document.touko.reset();
}