function NewWindow(thepage, thename, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(thepage, thename, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function validate_qs() {
if (document.QuickSearch.AreaID.value == 0)
	window.alert("Please select a province.");
else
	document.QuickSearch.submit();
}

function validate2() {
if (document.search.area.value == 0)
	window.alert("Please select an area.");
else
	document.search.submit();
}

