<!--
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.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 MM_onLoad(){
	MM_preloadImages('images/main/button_over_haus.jpg','images/main/button_over_seeterrasse.jpg','images/main/button_over_lage.jpg','images/main/button_over_preise.jpg','images/main/button_over_kontakt','images/main/button_over_pfeil')
}
//-->
<!--
var message="";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
document.oncontextmenu=new Function("return false")
// -->
<!--
function eingaben_ueberpruefen(){
 var mail = document.Formular.email.value;
 if (document.Formular.vorname.value.length < 3) {
  alert("Sie haben noch keinen Vornamen eingegeben!")
  document.Formular.vorname.focus();
  return false;
 }

 else if (document.Formular.nachname.value.length < 3) {
  alert("Bitte geben Sie Ihren Nachnamen ein");
  document.Formular.nachname.focus();
  return false;
 }

 else if (mail.length < 10 || mail.indexOf ('@',0) == -1 || mail.indexOf ('.',0) == -1) {
  alert("Bitte geben Sie eine gültige E-Mail-Adresse ein.")
  document.Formular.email.select();
  return false;
 }

  else if (document.Formular.nachricht.value.length < 20) {
  alert("Bitte geben Sie eine Nachricht ein!")
  document.Formular.nachricht.focus();
  return false;
 }

 else
 return true;
}
// -->
<!--
var imageArray = new Array(
'images/main/but1o.gif',
'images/main/but1ao.gif',
'images/main/but1bo.gif',
'images/main/but2o.gif',
'images/main/but2ao.gif',
'images/main/but2bo.gif',
'images/main/but2co.gif',
'images/main/but2do.gif',
'images/main/but2eo.gif',
'images/main/but2fo.gif',
'images/main/but2go.gif',
'images/main/but2ho.gif',
'images/main/but2io.gif',
'images/main/but3o.gif',
'images/main/but3ao.gif',
'images/main/but3bo.gif',
'images/main/but3co.gif',
'images/main/but3do.gif',
'images/main/but3eo.gif',
'images/main/but3fo.gif',
'images/main/but3go.gif',
'images/main/but3ho.gif',
'images/main/but3io.gif',
'images/main/but3jo.gif',
'images/main/but3ko.gif',
'images/main/but3lo.gif',
'images/main/but3mo.gif',
'images/main/but4o.gif',
'images/main/but5o.gif',
'images/main/but6o.gif',
'images/main/but6ao.gif',
'images/main/but6bo.gif',
'images/main/but6co.gif',
'images/main/but6do.gif',
'images/main/but1.gif',
'images/main/but1a.gif',
'images/main/but1b.gif',
'images/main/but2.gif',
'images/main/but2a.gif',
'images/main/but2b.gif',
'images/main/but2c.gif',
'images/main/but2d.gif',
'images/main/but2e.gif',
'images/main/but2f.gif',
'images/main/but2g.gif',
'images/main/but2h.gif',
'images/main/but2i.gif',
'images/main/but3.gif',
'images/main/but3a.gif',
'images/main/but3b.gif',
'images/main/but3c.gif',
'images/main/but3d.gif',
'images/main/but3e.gif',
'images/main/but3f.gif',
'images/main/but3g.gif',
'images/main/but3h.gif',
'images/main/but3i.gif',
'images/main/but3j.gif',
'images/main/but3k.gif',
'images/main/but3l.gif',
'images/main/but3m.gif',
'images/main/but4.gif',
'images/main/but5.gif',
'images/main/but6.gif',
'images/main/but6a.gif',
'images/main/but6b.gif',
'images/main/but6c.gif',
'images/main/but6d.gif',

'images/v_o.gif'
);
var preloadArray = new Array();
function preloadImages() {
for (var i = 0; i <imageArray.length; i++) {
preloadArray[i] = new Image();
preloadArray[i].src = imageArray[i];
}
}
// -->
<!--
function menuCTRL(element, top, left, vis) {
	element.style.top = (top) ? top:null;
	element.style.left = (left) ? left:null;
	element.style.visibility = (vis) ? vis:null;
}
function findInArray (value) {
	for (var i = 0; i < this.length; i++) {
		if (this[i] == value)
			return i;
	}
	return -1;
}
Array.prototype.find = findInArray;
function getparentMenus(element) {
	var array = new Array();
	element = (element.parentNode.getElementsByTagName('DIV').length > 0) ? 
		element.parentNode.getElementsByTagName('DIV')[0]:element;
	while (element.parentNode) {
		if (element.className == 'mP')
			array[array.length] = element;
		element = element.parentNode;
	}
	return array;
} 
function showMenu(element, voffset, hoffset) {
	var mI = getparentMenus(element);
	var mD = document.getElementsByTagName('DIV');
	for (var i = 0; i < mD.length; i++) {
		if (mD[i].className == 'mP') {
			if (mI.find(mD[i]) != -1) {
				if (mD[i].getAttribute('orientation') == '0')
					menuCTRL(mD[i], mD[i].parentNode.clientHeight+mD[i].parentNode.offsetTop+voffset, mD[i].parentNode.offsetLeft, 'visible');
				else if (mD[i].getAttribute('orientation') == '1') {
					menuCTRL(mD[i], mD[i].parentNode.parentNode.offsetTop+2, mD[i].parentNode.parentNode.clientWidth+mD[i].parentNode.parentNode.offsetLeft+hoffset, 'visible');
				}
			} else {
				menuCTRL(mD[i], null, null, 'hidden');
			}
		}
	}
	return false;
}
function menuitem(caption, action, graphic, alt, rollover) {
	this.action = action;
	this.caption = caption;
	this.graphic = graphic;
	this.rollover = rollover;
	this.alt = alt;
	this.items = new Array();
	this.orientation = orVert;
	this.add = function (mi) {
		this.items[this.items.length] = mi;
		mi.parentMenu = this.parentMenu;
		return mi;
	}
	this.write = function () {
		var s = '<td class="caption">';
		s += '<a href="#" onclick="' + (this.action ? this.action:'') + '" onmouseover="showMenu(this, ' + this.parentMenu.menuVOffset + ', ' + this.parentMenu.menuHOffset + ');">';
		s += (this.graphic) ? '<img src="' + this.parentMenu.graphicPath + this.graphic + '" align="absmiddle"':'';
		s += (this.alt) ? ' alt="' + this.alt + '"':'';	
		s += (this.rollover) ? ' onmouseover="this.src=\'' + this.parentMenu.graphicPath + this.graphic.replace('.', 'o.') + '\'" onmouseout="this.src=\'' + this.parentMenu.graphicPath + this.graphic + '\'"':'';
		s += (this.graphic) ? '>':'&nbsp;';
		s += (this.parentMenu.showCaption) ? this.caption:'';
		s += '</a>';
		if (this.items.length > 0) {
			s += '<div class="mP" orientation="' + this.orientation + '" style="width:100%;position:absolute;visibility:hidden;"><table class="submenu"><tr>';
			for (var i=0; i<this.items.length; i++) {
				if (i > 0)
					s+= '<tr>';
				s += this.items[i].write();
				if (i < this.items.length-1)
					s += '</tr>';
			}
			s += '</tr></table></div>';
		}
		s += '</td>';
		if (this.parentMenu.showPointers && this.orientation != 0)
			s += ((this.items.length > 0) ? 
				'<td class="pointer"><img src="' + this.parentMenu.graphicPath + 'pointer.png" style="width:7px;height:7px;"></td>':'<td class="pointer">&nbsp;</td>');		
		return s;
	}
}

//Const
orHorz = 0;
orVert = 1;
function menu() {
	this.graphicPath = 'img/';
	this.orientation = orHorz;
	this.showCaption = true;
	this.showPointers = true;
	this.menuHOffset = 0;
	this.menuVOffset = 0;
	this.items = new Array();
	this.add = function (mi) {
		this.items[this.items.length] = mi;
		mi.orientation = this.orientation;
		mi.parentMenu = this;
		return mi;
	}
	this.write = function () {
		var s = '<div style="position:relative;"><table class="menu" id="dynmenu"><tr>';
		for (var i=0; i<this.items.length; i++) {
			if (this.orientation == 1 && i > 0)
				s += '<tr>';
			s += this.items[i].write();
			if (i < this.items.length-1 && this.orientation ==1)
				s += '</tr>';
		}
		s += '</tr></table></div>';
		document.write(s);
	}		
}
// -->
<!--
function HMW_open_popup(popA,popB,popC){
 window.open(popA,popB,popC);
}
-->