<!--
function TodaysDate() {
   TDay = new Array('Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday');
   TMonth = new Array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
   TDate = new Date();
   CurYear = TDate.getYear();
   CurMonth = TDate.getMonth();
   CurDayOw = TDate.getDay();
   CurDay= TDate.getDate();
   TheDate = TDay[CurDayOw] + ', ';
   TheDate += TMonth[CurMonth] + ' ';
   TheDate += CurDay + ', ';
   TheDate += ((CurYear%1900)+1900);
   return TheDate;
}

function openWindowCenter(url,w,h) {
  var chasm
  var mount
  
  chasm = screen.width
  mount = screen.height

  xLoc = (chasm - w - 10) * .5
  yLoc = (mount - h - 30) * .5

  return window.open(url,'','width=' + w + ',height=' + h + ',left=' + xLoc + ',top=' + yLoc + ',scrollbars=no,toolbars=no,menubar=no,resizable=no')
}

function setSelectOption(p_ObjSel, p_Val)
{
	for (var i=0; i < p_ObjSel.options.length; i++)
	{
		if (p_ObjSel.options[i].value == p_Val)
		{
			p_ObjSel.selectedIndex = i
			break;
		}
	}
}

function updateState(objSelect,strFormName) {
	if (objSelect[objSelect.selectedIndex].value != 'United States') {
		eval('document.' +  strFormName + '.state.selectedIndex=0')
	}
}

function updateCountry(objSelect, strFormName) {
	if (objSelect.options[objSelect.selectedIndex].value != '') {
		setSelectOption(eval('document.' + strFormName + '.country'), 'United States')
	}
}
//-->