<!--
function toggle(nr)
{
	if (document.layers)
	{
		current = (document.layers[nr].display == 'none') ? 'block' : 'none';
		document.layers[nr].display = current;
	}
	else if (document.all)
	{
		current = (document.all[nr].style.display == 'none') ? 'block' : 'none';
		document.all[nr].style.display = current;
	}
	else if (document.getElementById)
	{
		vista = (document.getElementById(nr).style.display == 'none') ? 'block' : 'none';
		document.getElementById(nr).style.display = vista;
	}
}
// -->

<!--
function minimisemaps() {
toggle('hahamap');
toggle('chapelmap');
}
// -->

<!--
function RadioClick()
{
  var RadioAttend = document.getElementById('attended_y');
  var SpanBeen = document.getElementById('been');
  var SpanEvent = document.getElementById('eventattended');
  var RadioFriend = document.getElementById('friend_y');
  var SpanKnows = document.getElementById('knows');
  var SpanFriend = document.getElementById('friendknown');
  var RadioLift = document.getElementById('lift_n');
  var SpanLift = document.getElementById('driving');
  var RadioTake = document.getElementById('take_y');
  var SpanOthers = document.getElementById('others');

  if (RadioAttend && SpanBeen && SpanEvent)
  {
    if (RadioAttend.checked)
    {
      SpanBeen.style.display = "none";
      SpanEvent.style.display = "block";
    }
    else
    {
      SpanBeen.style.display = "block";
      SpanEvent.style.display = "none";
    }
  }
  if (RadioFriend && SpanKnows && SpanFriend)
  {
    if (RadioFriend.checked)
    {
      SpanKnows.style.display = "none";
      SpanFriend.style.display = "block";
    }
    else
    {
      SpanKnows.style.display = "block";
      SpanFriend.style.display = "none";
    }
  }
  if (RadioLift && SpanLift)
  {
    if (RadioLift.checked)
    {
      SpanLift.style.display = "block";
    }
    else
    {
      SpanLift.style.display = "none";
    }
  }
  if (RadioTake && SpanOthers)
  {
    if (RadioTake.checked)
    {
      SpanOthers.style.display = "inline"
    }
    else
    {
      SpanOthers.style.display = "none";
    }
  }
}
//-->

<!--
function show(identifier)
{
var identifier = document.getElementById(identifier);
	if(identifier)
	{identifier.style.display = "inline";}
}
// -->

<!--
function hide(identifier)
{
var identifier = document.getElementById(identifier);
	if(identifier)
	{identifier.style.display = "none";}
}
// -->


<!--
function English()
{
  hide('francais');
  hide('espanol');
  show('english');
}
// -->

<!--
function Francais()
{
  hide('english');
  hide('espanol');
  show('francais');
}
// -->

<!--
function Espanol()
{
  hide('english');
  hide('francais');
  show('espanol');
}
// -->

<!--
function GiftList()
{
  document.guestform.submit();
}
// -->

<!--
function AddSecondChild()
{
  hide('add2');
  show('secondchild');
  show('addremove3');
}
// -->

<!--
function AddThirdChild()
{
  hide('addremove3');
  show('thirdchild');
  show('remove3');
}
// -->

<!--
function RemoveSecondChild()
{
  hide('addremove3');
  hide('secondchild');
  document.registrationform.scfirstname.value='First Name';
  document.registrationform.sclastname.value='Last Name';
  document.registrationform.scgender_m.checked=false;
  document.registrationform.scgender_f.checked=false;
  document.registrationform.scallergies.value='Any allergies or dietary requirements?';
  document.registrationform.scemergency.value='Emergency Contact Number';
  document.registrationform.scdobd.options[0].selected=true;
  document.registrationform.scdobm.options[0].selected=true;
  document.registrationform.scdoby.options[0].selected=true;
  show('add2');
}
// -->

<!--
function RemoveThirdChild()
{
  hide('thirdchild');
  document.registrationform.tcfirstname.value='First Name';
  document.registrationform.tclastname.value='Last Name';
  document.registrationform.tcgender_m.checked=false;
  document.registrationform.tcgender_f.checked=false;
  document.registrationform.tcallergies.value='Any allergies or dietary requirements?';
  document.registrationform.tcemergency.value='Emergency Contact Number';
  document.registrationform.tcdobd.options[0].selected=true;
  document.registrationform.tcdobm.options[0].selected=true;
  document.registrationform.tcdoby.options[0].selected=true;
  hide('remove3');
  show('addremove3');
}
// -->