function getCountries(aContinent , aContainer)
{
  if(aContinent == 'NOCONTINENT') // wenn kein continent gewaehlt ist, den container verstecken (z.b. bei bitte waehlen)
  {
    $(aContainer).hide();
  }
  else
  {
    new Ajax.Request('../js/laenderselect.php' , {
      method: 'post',
      parameters: {continent: aContinent},
      onCreate: $(aContainer).update('Loading...'),
      onSuccess: function(transport){
        var response = transport.responseText;
        // $(aContainer).show();
        $(aContainer).update(response);
      }
    });
  }
}

function checkForOther(aValue)
{
  if(aValue == 'othercountry')
  {
    $('otherRow').show();
    $('otherContainer').show();
  }
  else
  {
    $('otherRow').hide();
    $('otherContainer').hide();
  }
  if(aValue == '224' || aValue == "195")
  {
    $('stateRow').show();
    $('stateContainer').show();
  }
  else
  {
  	$('stateRow').hide();
    $('stateContainer').hide();
  }
  
  if(aValue =='224')
  {
  	$('selectUS').show();
  	$('selectCAN').hide();
  }
  else if(aValue =="195")
  {
  	$('selectUS').hide();
  	$('selectCAN').show();
  }
  else
  {
    $('selectUS').hide();
  	$('selectCAN').hide();
  }
}
