var win= null;
function NewWindow(mypage,myname,w,h,scroll){
	var winl = (screen.width-w)/2;
	var wint = (screen.height-h)/2;
	var settings ='height='+h+',';
	settings +='width='+w+',';
	settings +='top='+wint+',';
	settings +='left='+winl+',';
	settings +='scrollbars='+scroll+',';
	settings +='resizable=no';
	win=window.open(mypage,myname,settings);
	if(parseInt(navigator.appVersion) >= 4){
		win.window.focus();
	}
} 

function fn_PopupTypeA(){
	//alert("fn_PopupTypeA");
	NewWindow('typeA.html','typeA','778','500','yes');
}

function fn_PopupTypeB(){
	//alert("fn_PopupTypeB");
	NewWindow('typeB.html','typeB','778','500','yes');
}

function fn_PopupTypeC(){
	//alert("fn_PopupTypeC");
	NewWindow('typeC.html','typeC','778','500','yes');
}

function fn_PopupTypeD(){
	//alert("fn_PopupTypeD");
	NewWindow('typeD.html','typeD','778','500','yes');
}

function fn_PopupMasterPlan(){
	//alert("Master Plan");
	NewWindow('masterplan.html','master','778','500','yes');
}

function fn_PopupMapLocation(){
	//alert("Map Location");
	NewWindow('landscape.html','land','778','500','yes');
}