<!--
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_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_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 Over(elem, farbe)
{elem.style.backgroundColor = farbe;
}

function Out(elem, farbe)
{elem.style.backgroundColor = farbe;
}
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);
win.focus();}

wmtt = null;
rfhd = null;
document.onmousemove = updateWMTT;
lp = 10;
tp = -10;
rfmax = 16;

function an(lay)
{
if (navigator.appName == "Microsoft Internet Explorer")
{
     for (var i = 1; i <= rfmax; i++)
	 {
    }
}
   wmtt = document.getElementById(lay);
   wmtt.style.display = "block";
}


function updateWMTT(e) {
	x = (document.all) ? window.event.x + document.body.scrollLeft : e.pageX;
	y = (document.all) ? window.event.y + document.body.scrollTop  : e.pageY;
	if (wmtt != null) {
		var aw = document.body.clientWidth;
		if((x+230)>aw)
		{
			x = x-240;
			wmtt.style.left = (x + lp) + "px";
		}
		else
		{
			wmtt.style.left = (x + lp) + "px";
		}
		wmtt.style.top 	= (y + tp) + "px";
	}
}
function aus(lay)
{
  if (navigator.appName == "Microsoft Internet Explorer"){
      for (var i = 1; i <= rfmax; i++){
      }
   }
   wmtt = document.getElementById(lay);
   wmtt.style.display = "none";
}
function delRow(TabellenID)
{
	var table = document.getElementById(TabellenID);
  var rows = table.getElementsByTagName('tr');

  while( 0 < rows.length )
  {
    rows[0].parentNode.removeChild( rows[0] );
 }
	
}
function setRow(InsertZeile, Anzahl)
{	
	if(document.getElementById(InsertZeile).rows.length > 0 || Anzahl == '0')
	{
		delRow(InsertZeile);
	}
	
	tb=document.createElement("tbody");
	tb.setAttribute("id", "tbInsert");
	table = document.getElementById(InsertZeile).appendChild(tb);	
	for(ZeilenID=1 ; ZeilenID <= Anzahl; ZeilenID++)
	{
		textinhalt = "Kind "+ZeilenID;
		tr = document.createElement("tr");
		tr.setAttribute("id", "tr"+ZeilenID);
		td1 = document.createElement("td");
		td1.setAttribute("id", "td1"+ZeilenID);
		td1.setAttribute("align", "RIGHT");
		td1.setAttribute("width", "130");
		td1.style.fontFamily = "Arial";
		td1.style.fontSize = "11px";
		td2 = document.createElement("td");
		td2.setAttribute("id", "td2"+ZeilenID);
		td2.style.fontFamily = "Arial";
		td2.style.fontSize = "11px";
		var theData1 = document.createTextNode(textinhalt);
		var theData2 = document.createElement("select");
		
		theData2.style.borderWidth = "1px";
		theData2.style.borderStyle = "solid";
		theData2.style.borderColor = "#000000";
		theData2.style.fontFamily = "Arial";
		theData2.style.fontSize = "11px";
		theData2.style.width = "100px";
		for(var s = 0 ; s <= 16; s++)
		{
			if(s == 1)var addme = new Option(s+" Jahr", s);
			else var addme = new Option(s+" Jahre", s);
			theData2[s] = addme;
		}
		theData2.name="Kindesalter["+ZeilenID+"]";
		
		td1.appendChild(theData1);
		td2.appendChild(theData2);
		tr.appendChild(td1);
		tr.appendChild(td2);
		table.appendChild(tr);
	}

}

function SetKinder(ist, anz)
{
		document.getElementById("kinder_anzahl").disabled = false;
		if(document.date_select.personen_anzahl.value == anz)
		{
			document.getElementById("kinder_anzahl").disabled = true;
		}
		for(var z = 1; z <= anz; z++)
		{
			document.getElementById("kinder_anzahl")[z] = null;
		}
		for(var s = 1 ; s <= (anz-ist.value); s++)
		{
			if(s == 1)var addme = new Option(s+" - Kind", s);
			else var addme = new Option(s+" - Kinder", s);
			document.getElementById("kinder_anzahl")[s] = addme;
		}
		
    	document.getElementById("kinder_anzahl")[0].selected = true;
		
}
//-->
