<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}


            
function initialize()
	{	
	obj = document.getElementById("navTop")	
	ihtScreen = new screenObject(); 
	userEventsInit(); 
	
	document.onmousemove = mousePosition; 
	windowTimer = setInterval("placeNavBar()",25);  
	}	
	
var mouseX = mouseY =0;

function screenObject()
	{

	this.bottom = function(){
		if (document.body.scrollHeight) return document.body.scrollHeight};
	
	this.height = function() {
		if (document.body.offsetHeight) return document.body.offsetHeight;}
	
	this.visHeight = function() {
		if (window.innerHeight) return window.innerHeight;
		if (document.body.clientHeight) return document.body.clientHeight;}
	
	this.width = function() {
		if (document.body.offsetWidth) return document.body.offsetWidth;}
	
	this.scrollTop = function() {
		if(document.body.scrollTop) return document.body.scrollTop
		if (window.pageYOffset) return window.pageYOffset;
		else return 0;};			
	}

function mousePosition(e)
	{
	if (e) event = e;   
	mouseX = event.clientX;
	mouseY = event.clientY;
	}
	
function placeNavBar()       
	{
	obj = document.getElementById("navTop");

	if (ihtScreen.scrollTop() > 550) {
		obj.style.top = ihtScreen.scrollTop()+25; 
		}                                           
		
	else {obj.style.top = 550+"px";}           
	}

function userEventsInit()
	{
		obj = document.getElementById("navTop")
		}


function checkData()
{
doSubmit = true;
vorname = document.forms[0].A.value;
name = document.forms[0].B.value;
strasse = document.forms[0].C.value;
plz = document.forms[0].D.value;
ort = document.forms[0].E.value;
land = document.forms[0].L.value;
spende = document.forms[0].F.value;

if (doSubmit == true) 	{ 
if (vorname== "" ) 	{
alert("Bitte geben Sie Ihren Vornamen ein.\nDanke!");
document.forms[0].A.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if (name== "" ) 	{
alert("Bitte geben Sie Ihren Namen ein.\nDanke!");
document.forms[0].B.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if (strasse== "" ) 	{
alert("Bitte geben Sie Ihre Strasse ein.\nDanke!");
document.forms[0].C.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if ((plz=="") || (isNaN(plz)))	{
alert("Bitte geben Sie Ihre Postleitzahl nur als Zahlen ein.\nDanke!");
document.forms[0].D.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if (ort== "" ) 	{
alert("Bitte geben Sie Ihren Wohnort ein.\nDanke!");
document.forms[0].E.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if (land== "" ) 	{
alert("Bitte geben Sie Ihr Land ein.\nDanke!");
document.forms[0].L.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if ((spende=="") || (isNaN(spende)))	{
alert("Bitte geben Sie Ihre Spende ein.\nKomma bitte als Punkt schreiben und keine Tausender Trennung. Danke!");
document.forms[0].F.focus();
doSubmit = false;
}
}
if (doSubmit == true)	{
document.forms[0].submit(); 
}
}
	
function checkDataEN()
{
doSubmit = true;
vorname = document.forms[0].A.value;
name = document.forms[0].B.value;
strasse = document.forms[0].C.value;
plz = document.forms[0].D.value;
ort = document.forms[0].E.value;
land = document.forms[0].L.value;
spende = document.forms[0].F.value;

if (doSubmit == true) 	{ 
if (vorname== "" ) 	{
alert("Please insert your first name.\nThank you!");
document.forms[0].A.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if (name== "" ) 	{
alert("Please insert your family name.\nThank you!");
document.forms[0].B.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if (strasse== "" ) 	{
alert("BPlease insert your street.\nThank you!");
document.forms[0].C.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if ((plz=="") || (isNaN(plz)))	{
alert("Please insert your postal code.\nThank you!");
document.forms[0].D.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if (ort== "" ) 	{
alert("Please insert your city.\nThank you!");
document.forms[0].E.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if (land== "" ) 	{
alert("Please insert your country.\nThank you!");
document.forms[0].L.focus();
doSubmit = false;
}
}
if (doSubmit == true) 	{ 
if ((spende=="") || (isNaN(spende)))	{
alert("Please insert your donation.\nUse the dot for decimal places and dont use any thousend breaks. Thank you.");
document.forms[0].F.focus();
doSubmit = false;
}
}
if (doSubmit == true)	{
document.forms[0].submit(); 
}
}	
	
//-->// JavaScript Document