// Pop-up windows
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function win_open(win_name, where, type_val) {
	var win_type = new Array();

	
	// Brims Available Homes
	win_type[0]="menubar=no,scrollbars=no,toolbar=no,resizable=no,width=325,height=325";	
	// Site plans
	win_type[1]="menubar=yes,scrollbars=yes,resizable=yes,width=750,height=600";
	// video pop up
	win_type[2]="menubar=no,scrollbars=no,toolbars=no,resizable=no,width=500,height=400";
	// Vtours
	//win_type[3]="menubar=no,scrollbars=no,resizable=no,width=410,height=330";
	//
	//win_type[4]="menubar=yes,scrollbars=yes,resizable=yes,width=825,height=425";
	
	win_name = window.open(where, win_name, win_type[type_val]);
	win_name.focus();
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function custom_print() {
   self.print();
}