<!-- js_utils - start -->
<!--
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_findObj(n, d) { //v4.0
  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 && document.getElementById) x=document.getElementById(n); return x;
}

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_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 requiredFields() {
  var rname,test, errors='',args=requiredFields.arguments;
  for(i=0; i<(args.length-1); i+=2) {
    rname=args[i+1];
    val=MM_findObj(args[i]);
    if (val) {
     if ((val=val.value) == "") 
       errors+='- '+rname+' \n';
    };
  };
  if (errors != '') {
  	alert('Folgende Felder müssen ausgefüllt werden:\n'+errors);
  	document.MM_returnValue = (errors == '');
  } else {
  	document.contact.submit();
  }


};

function requiredFieldsfgpwd() {
  var rname,test, errors='',args=requiredFieldsfgpwd.arguments;
  for(i=0; i<(args.length-1); i+=2) {
    rname=args[i+1];
    val=MM_findObj(args[i]);
    if (val) {
     if ((val=val.value) == "") 
       errors+='- '+rname+' \n';
    };
  };
  if (errors != '') {
  	alert('Folgende Felder müssen ausgefüllt werden:\n'+errors);
  	document.MM_returnValue = (errors == '');
  } else {
  	document.fgpwd.submit();
  }

};

function requiredFieldsregister() {
  var rname,test, errors='',args=requiredFieldsregister.arguments;
  for(i=0; i<(args.length-1); i+=2) {
    rname=args[i+1];
    val=MM_findObj(args[i]);
    if (val) {
     if ((val=val.value) == "") 
       errors+='- '+rname+' \n';
    };
  };
  if (errors != '') {
  	alert('Folgende Felder müssen ausgefüllt werden:\n'+errors);
  	document.MM_returnValue = (errors == '');
  } else {
  	document.register.submit();
  }

};

function equalPwd() {
  if ((register.password.value != register.passrpt.value) && (register.password.value != "")) {
	alert("Passwort und Passwortwiederholung müssen denselben Wert enthalten !");
	return false;
  } else return true;
};

function isValidDate(dateStr) {
// Check das Datum auf TT.MM.YYYY (Trennzeichen "." oder "/" oder "-")

var datePat = /^(\d{1,2})(\/|-|.)(\d{1,2})\2(\d{4})$/;

var matchArray = dateStr.match(datePat); // is the format ok?
if (dateStr == "")
	return true;

if ((matchArray == null) && (dateStr != "")) {
alert("Ungültiges Datumsformat. Bitte verwenden Sie  > TT.MM.JJJJ <")
return false;
}
day = matchArray[1];
month = matchArray[3];
year = matchArray[4];
if (month < 1 || month > 12) { 
alert("Monat muß zwischen 1 und 12 liegen");
return false;
}
if (day < 1 || day > 31) {
alert("Tag muß zwischen 1 und 31 liegen");
return false;
}
if ((month==4 || month==6 || month==9 || month==11) && day==31) {
alert("Monat "+month+" hat nicht 31 Tage !")
return false
}
if (month == 2) {
var isleap = (year % 4 == 0 && (year % 100 != 0 || year % 400 == 0));
if (day>29 || (day==29 && !isleap)) {
alert("Februar " + year + " hat nicht " + day + " Tage !");
return false;
   }
}
return true;  
}

function tickerAction(param)  {
  if(param.indexOf("http:") == 0)
    doc = window.open(param);
 else 
   window.location = param;
} 

//scroller width
var swidth=150
//scroller height
var sheight=100
//scroller's speed;
var sspeed=1
var wholemessage=''

//text: change to your own

function start(){
if (document.all) return
if (document.getElementById){
document.getElementById("slider").style.visibility="show"
ns6marquee(document.getElementById('slider'))
}
else if(document.layers){
document.slider1.visibility="show"
ns4marquee(document.slider1.document.slider2)
}
}
function ns4marquee(whichlayer){
ns4layer=eval(whichlayer)
ns4layer.document.write(wholemessage)
ns4layer.document.close()
sizeup=ns4layer.document.height
ns4layer.top-=sizeup
ns4slide()
}
function ns4slide(){
if (ns4layer.top>=sizeup*(-1)){
ns4layer.top-=sspeed
setTimeout("ns4slide()",150)
}
else{
ns4layer.top=sheight
ns4slide()
}
}
function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
ns6div.innerHTML=wholemessage
ns6div.style.top=sheight
sizeup=sheight
ns6slide()
}
function ns6slide(){
if (parseInt(ns6div.style.top)>=sizeup*(-1)){
ns6div.style.top=parseInt(ns6div.style.top)-sspeed
setTimeout("ns6slide()",150)
}
else{
ns6div.style.top=sheight
ns6slide()
}
}

//-->
<!-- js_utils - end -->