
/***********************************|**********************************
'                    Web Solutions - Andary Web Site
'                            Copyright 2005
'                         All Rights Reserved
'                       Web Solutions Division of
'                          JRA Systems, L.L.C.
'
' Application: Andary Realty Company - Web Site
' Module Type: JavaScript / code
' Module Name: Cbx_County_Display_Criteria.js
'
' Contains client side JavaScript code for the common County search
' combo boxes.
'
' This module must have standard names for the hidden form variables
' that are used by the '.php' code to identify the triggering event.
'
' The hidden form variable names are:
'
'   btnHiddenCitySelect
'   btnHiddenCountySelect
'
'*********************************************************************/

/**********************************************************************
' Variable declarations
'*********************************************************************/


/**********************************************************************
' Event handler to force a form submission from a combo box change
' triggered by a change in the city select combo box.
'
' function
' SubmitOnChangeCitySelect()
'
'*********************************************************************/

function 
SubmitOnChangeCitySelect(objForm)
{
  objForm.btnHiddenCitySelect.value = "Y"
  objForm.submit()
}

/**********************************************************************
' Event handler to force a form submission from a combo box change
' triggered by a change in the county select combo box.
'
' function
' SubmitOnChangeCountySelect()
'
'*********************************************************************/

function 
SubmitOnChangeCountySelect(objForm)
{
  objForm.btnHiddenCountySelect.value = "Y"
  objForm.submit()
}
