<!--

//==============================================================================
//	ポップアップウィンドウ設定
//==============================================================================


function popup(loc) {
	var myWindow = window.open(loc, 'map', 'resizable=1,toolbar=1,scrollbars=1,status=1,width=600,height=600');
	if (myWindow.focus!=null) {
		myWindow.focus();
	}
}

function popup2(loc) {
	var myWindow = window.open(loc, 'mado', 'resizable=1,toolbar=0,scrollbars=1,status=1,width=600,height=600');
	if (myWindow.focus!=null) {
		myWindow.focus();
	}
}

function popup3(loc) {
	var myWindow = window.open(loc, 'hirakumado', 'resizable=1,toolbar=0,scrollbars=1,status=1,width=600,height=450');
	if (myWindow.focus!=null) {
		myWindow.focus();
	}
}

//==============================================================================
//	Netscape（Mac）でリサイズした際の以下のバグを防ぐスクリプト
//		・CSSの無効化
//		・document.writeでの書き込みの消去
//==============================================================================

// fix the resize issue in ns4
var uNC4=(navigator.appVersion.charAt(0)<=4 && navigator.appName.charAt(0) == "N" && navigator.appVersion.indexOf("Mac") >= 0);	//MacのNN4以下の人
if (uNC4) { 
origWidth = innerWidth; 
origHeight = innerHeight; 
} 

function handleResize() { 
if (innerWidth != origWidth || innerHeight != origHeight) 
location.reload(); 
} 

if (uNC4) {onresize = handleResize; }

//--> 


