<!--
//------------------------------------------------------------------------------
//deutsche ueberpruefung
function checkInput() {
	var valid = true;
    // ueberpruefe name und email
    var name = document.emailForm.name.value;
    var email = document.emailForm.email.value;
    
    if (!checkVar( name )) {
    	window.alert( "Bitte geben Sie Ihren Namen ein. ");
    	valid = false;
    }
    if (!checkVar( email )) {
    	window.alert( "Bitte geben Sie noch Ihre eMail-Adresse ein. ");
    	valid = false;
    }
    return valid;
}
//english check
function checkInput_en() {
	var valid = true;
    // ueberpruefe name und email
    var name = document.emailForm.name.value;
    var email = document.emailForm.email.value;
    
    if (!checkVar( name )) {
    	window.alert( "Please enter your name. ");
    	valid = false;
    }
    if (!checkVar( email )) {
    	window.alert( "Please enter your eMail address.  ");
    	valid = false;
    }
    return valid;
}

//das script ueberprueft lediglich ob die variablen nicht leer sind
function checkVar( str ) {
	// gibt "true" zurueck wenn der string nicht leer ist
	return ( str != "" );
}


//------------------------------------------------------------------------------

var ttStart = 0;
var ttEnd = -300;
var ttPosition = 0;
var ttSpeed = 50;
var ttStep = 10;
var ttStop = 0;

//blinde funktion, damit ein href beim scrollen moeglich ist...
function scrollen(){
}

function startScrollUp(){
	ttStop = 1;
	scrollTextUp()
}

function startScrollDown(){
	ttStop = 1;
	scrollTextDown()
}

function endScroll(){
	ttStop = 0;
}

function scrollTextUp(){
  if(ttPosition < 0) 
  {
	if(ttStop != 0) 
		{
		ttPosition = ttPosition + ttStep;
		document.getElementById('tabellentext').style.top = ttPosition;
 		setTimeout('scrollTextUp()', ttSpeed);
		}
  }
}

function scrollTextDown(){
  if(ttPosition <= 0) 
  {
	if(ttStop != 0) 
		{
		ttPosition = ttPosition - ttStep;
		document.getElementById('tabellentext').style.top = ttPosition;
 		setTimeout('scrollTextDown()', ttSpeed);
	}
  }
}

//------------------------------------------------------------------------------

function MM_swapImgRestore() {
  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) {
  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); return x;
}

function MM_swapImage() {
  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];}
}

//------------------------------------------------------------------------------

//-->


