// JavaScript Document

//pop ups. lots of pop ups.
function popUp(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=800,height=460,left = 200,top = 200');");
}

function popUpSmall(URL) {
	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=460,height=460,left = 250,top = 250');");
}

function SubmitDate() {
    if (document.DateForm.timebase.value != "") {
      document.DateForm.submit();
    }
}
function SubmitCity() {
    if (document.CityForm.city.value != "") {
     document.CityForm.submit();
    }
}
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function textClear (input) {
	if ( input.value == input.defaultValue ) {
		input.value = "";
	}
}
function textRestore (input) {
	if ( input.value == "" ) {
		input.value = input.defaultValue;
	}
}


