function chkFormular()
{
 if(document.Formular.name.value == "")  {
   alert("Bitte Ihren Namen eingeben!");
   document.Formular.name.focus();
   return false;
  }
 if(document.Formular.vorname.value == "") {
   alert("Bitte Ihren Vornamen eingeben!");
   document.Formular.vorname.focus();
   return false;
  }
 if(document.Formular.email.value == "") {
   alert("Bitte Ihre E-Mail-Adresse eingeben!");
   document.Formular.email.focus();
   return false;
  }
 if(document.Formular.email.value.indexOf('@') == -1) {
   alert("Keine E-Mail-Adresse!");
   document.Formular.email.focus();
   return false;
  }
if(document.Formular.text.value == "")  {
   alert("Bitte Ihren Text eingeben!");
   document.Formular.text.focus();
   return false;
  }
}

function favos()
{
  bookmarkurl="http://www.tipps-im-netz.de"
  bookmarktitle="Lifestyle Tipps"
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

function popup(url) {
 fenster=window.open("buchungsabwicklung/hotline.html", "Popupfenster", "left=200,top=0,width=818,height=600,resizable=no,scrollbars=yes,dependent=yes,");
 fenster.focus();
}

function popup2(url) {
 fenster=window.open("../buchungsabwicklung/hotline.html", "Popupfenster", "left=200,top=0,width=818,height=600,resizable=no,scrollbars=yes,dependent=yes");
 fenster.focus();
}

function Go(x)
{
if(x == "leer")
{
//document.forms.reset();
//document.forms.elements.blur();
return;
}
else if(x == "end") top.location.href = parent.frames.location;
else
{
parent.frames.location.href = x;
//document.forms.reset();
//document.forms.elements.blur();
}
}


function moveObjectTo(objectID,x,y) {
	var domStyle = findDOM(objectID,1);
	domStyle.left = x +'px'; domStyle.top = y +'px';
}

function AlignLayers() {
var x = "";
var y = "";
		if (navigator.appVersion.substr(17,4) != "MSIE") {             //17,4

		if(document.getElementById){
				//Netscape 6 Menu-Position
				y=150;
				if (navigator.platform.indexOf('Mac') > -1) {y=71;}//NS Mac, Safari
				x = document.body.clientWidth;
				if ( x < 990){x = 990}
				moveObjectTo('top',(x/2 - 392),y);
				moveObjectTo('last',(x/2 - 296),y);
				moveObjectTo('fern',(x/2 - 198),y);
				moveObjectTo('euro',(x/2 - 101),y);
				moveObjectTo('hotel',(x/2 - 4),y);
				moveObjectTo('kreuz',(x/2 + 94),y);
				moveObjectTo('auto',(x/2 + 190),y);
			}
		} else {
	   		if (document.body) {
	   			//IE Menu-Position
				x = document.body.clientWidth;
				// So fallen Menüs nie unter eine minimale Breite
				y=150;
				if (navigator.platform.indexOf('Mac') > -1) {y=77;}

				if ( x < 990){x = 990}
				moveObjectTo('top',(x/2 - 393),y);
				moveObjectTo('last',(x/2 - 337),y);
				moveObjectTo('fern',(x/2 - 199),y);
				moveObjectTo('euro',(x/2 - 143),y);
				moveObjectTo('hotel',(x/2 - 5),y);
				moveObjectTo('kreuz',(x/2 + 93),y);
				moveObjectTo('auto',(x/2 + 147),y);
		}
	}
}