function submitForm()
{
  document.myForm.submit();
}

function emailSenden() 
{
	var senden=window.open("","senden","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=200,height=130");
	with(senden.document)
	{
		open("text/html");
		writeln('<html><head><title>Pleas wait . . .</title>');
		writeln('<style>.m {font-size:12px; font-family:Verdana, Arial, Tahoma,  sans-serif;}.s {font-size:10px; font-family:Verdana, Arial, Tahoma,  sans-serif;}</style>');
		writeln('</head>');
		writeln('<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 border=0 marginwidth=0 marginheight=0>');
		writeln('<center><br><br>');
		writeln('<p class="m">Please wait. Sending e-Mail . . .</p>');
		writeln('</center></body></html>');
		close();
	}
	senden.focus();
	document.idoapplication.submit();
}

function showAllMembers()
{
	var myForm = document.forms[0];
	myForm.landName.value = "";
	myForm.nickName.value = "";
	myForm.submit();
}

// vertical slide
window.addEvent('domready', function() {
	var status = {
		'true': '&raquo; Liste schliessen',
		'false': '&raquo; Liste ?ffnen'
	};
	
	//-vertical1
	if(document.getElementById('v_toggle1')) {
		var myVerticalSlide1 = new Fx.Slide('vertical_slide1');

		$('v_toggle1').addEvent('click', function(e){
			e.stop();
			myVerticalSlide1.toggle();
		});
	
		// When Vertical Slide ends its transition, we check for its status
		// note that complete will not affect 'hide' and 'show' methods
		myVerticalSlide1.addEvent('complete', function() {
			$('vertical_status1').set('html', status[myVerticalSlide1.open]);
		});
	}

	//-vertical2
	if(document.getElementById('v_toggle1')) {
		var myVerticalSlide2 = new Fx.Slide('vertical_slide2');

		$('v_toggle2').addEvent('click', function(e){
			e.stop();
			myVerticalSlide2.toggle();
		});
	
		// When Vertical Slide ends its transition, we check for its status
		// note that complete will not affect 'hide' and 'show' methods
		myVerticalSlide2.addEvent('complete', function() {
			$('vertical_status2').set('html', status[myVerticalSlide2.open]);
		});
	}
});
