<!--

function submitForm()
{
if(document.LocatorForm.SEARCHBY.value=='State')
document.LocatorForm.STATE.value=document.LocatorForm.INPUT.value.toUpperCase();

document.LocatorForm.submit();
}

function adjustColumn(){
    hideComponent(inputbox);
    hideComponent(radiuslist);

   switch (this.LocatorForm.SEARCHBY.selectedIndex)
   {
      case 0: showComponent( inputbox);
              hideComponent(radiuslist);
              this.LocatorForm.INPUT.value=""; break;

      case 1: showComponent(inputbox);
              hideComponent(radiuslist);
              this.LocatorForm.INPUT.value=""; break;

      case 2: showComponent(inputbox);
              showComponent(radiuslist);
              this.LocatorForm.INPUT.value=""; break;

      case 3: showComponent(inputbox);
              hideComponent(radiuslist);
              this.LocatorForm.INPUT.value=""; break;

   }
}

function init() {
    hideComponent(radiuslist);
    hideComponent(inputbox);

	if (this.LocatorForm.SEARCHBY.selectedIndex == 0) // Area Code
	{
		showComponent(inputbox);
		hideComponent(radiuslist);
	}

	if (this.LocatorForm.SEARCHBY.selectedIndex == 1) // City
	{
		showComponent(inputbox);
		hideComponent(radiuslist);
	}

	if (this.LocatorForm.SEARCHBY.selectedIndex == 2) // Zip
	{
		showComponent(inputbox);
		showComponent(radiuslist);
	}
	if (this.LocatorForm.SEARCHBY.selectedIndex == 3) // State
	{
		showComponent(inputbox);
		hideComponent(radiuslist);
	}

}

function showComponent(comp)
{
   var item;

   //if (ns4)
   //{
      //item = document.comp;
      //item.visibility = "show";
   //}
   //else if (ie4)
   //{
      item = comp.style;
      item.visibility = "visible";
   //}
}

function hideComponent(comp) {
   var item;
   //if (ns4)
   //{
	//item = document.comp;
     	//item.visibility = "hide";
   //}
   //else if (ie4)
   //{
      item = comp.style;
      item.visibility = "hidden";
   //}
}

function HoverState(State)
{
	hideComponent(inputbox);
	hideComponent(radiuslist);
        hideComponent(radiuslabel);


	with (document.LocatorForm)
	{
		STATE.value=State;

		if (STATE.value.length==2)
		{

			SEARCHBY.value="State";


			this.LocatorForm.submit()
		}
	}
}



//-->