/**
 * @file
 * PjaxForm class.
 *
 * @author Shannon M. Rause <shannon.rause@creativeflavor.com>
 * @version $Revision: 1.2 $
 * @version $Name:  $
 * @version $Id: PjaxForm.js,v 1.2 2006/09/05 18:08:34 smr Exp $
 *
 * Copyright 2005-2006 Creative Flavor, Inc. All rights reserved.
 * 
 * Please see the LICENSE file for specific licensing information.
 * If you did not receive this file or are unable to locate it, 
 * please contact licensing@creativeflavor.com.
 */
/**
 * PjaxForm class.
 *
 * @public
 */
function PjaxForm()
{
} // PjaxForm


/**
 * Handles the onchange event for the country select.
 *
 * @param select Country select.
 *
 * @public
 */
PjaxForm.onChangeCountry = function(select)
{
   if (select.value == 'US')
   {
      document.getElementById('usData').style.display = '';
      document.getElementById('usHead').style.display = '';
      document.getElementById('intlData').style.display = 'none';
      document.getElementById('intlHead').style.display = 'none';
   } // if
   else
   {
      document.getElementById('intlData').style.display = '';
      document.getElementById('intlHead').style.display = '';
      document.getElementById('usData').style.display = 'none';
      document.getElementById('usHead').style.display = 'none';
   } // else
} // onChangeCountry

