function runClock() {
	theTime = window.setTimeout("runClock()", 500);
	var today = new Date();
	var display= today.toLocaleString();
	status=display;
}
function reflow() {
	var photo = document.getElementById("Auffrischen");
	photo.style.border = photo.style.border;
}
function startbildcall() {
	if (screen.width >= 1601) {
		document.write('<img src="' + startbild +'_1830.jpg" id="bildzoom" alt="' + starttext + '" width="1830" style="height:auto" border="0" class="startrahmen" title="' + starttext + '">');
	}
	else if (screen.width >= 1441 && screen.width < 1601) {
		document.write('<img src="' + startbild +'_1510.jpg" id="bildzoom" alt="' + starttext + '" width="1510" style="height:auto" border="0" class="startrahmen" title="' + starttext + '">');
	}
	else if (screen.width >= 1281 && screen.width < 1441) {
		document.write('<img src="' + startbild +'_1350.jpg" id="bildzoom" alt="' + starttext + '" width="1350" style="height:auto" border="0" class="startrahmen" title="' + starttext + '">');
	}
	else if (screen.width >= 1025 && screen.width < 1281) {
		document.write('<img src="' + startbild +'_1190.jpg" id="bildzoom" alt="' + starttext + '" width="1190" style="height:auto" border="0" class="startrahmen" title="' + starttext + '">');
	}
	else if (screen.width >= 801 && screen.width < 1025) {
		document.write('<img src="' + startbild +'_934.jpg" id="bildzoom" alt="' + starttext + '" width="934" style="height:auto" border="0" class="startrahmen" title="' + starttext + '">');
	}
	else if (screen.width >= 101 && screen.width < 801) {
		document.write('<img src="' + startbild +'_722.jpg" id="bildzoom" alt="' + starttext + '" width="722" style="height:auto" border="0" class="startrahmen" title="' + starttext + '">');
	}
	else {
		document.write('<img src="' + startbild +'_1190.jpg" id="bildzoom" alt="' + starttext + '" width="1190" style="height:auto" border="0" class="startrahmen" title="' + starttext + '">');
	}
}

<!-- Check Cookies
// Bildgroesse fuer Fotos übergeben
var expDays = 1;
var exp = new Date(); 
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));

function StartAuswahl () {
var BildSize = GetCookie('BildSize');
if (BildSize == null) {
	if (screen.height < 769) { var BildSize = "S"; 
		document.getElementById('S').selected = true; }
	else { 	var BildSize = "N";
		document.getElementById('N').selected = true; }
}

else if (BildSize == "S") { document.getElementById('S').selected = true; }
else if (BildSize == "N") { document.getElementById('N').selected = true; }
else if (BildSize == "L") { document.getElementById('L').selected = true; }
else if (BildSize == "XL") { document.getElementById('XL').selected = true; }
else { var BildSize = "N"; document.getElementById('N').selected = true; }
SetCookie ('BildSize', BildSize, exp, "/urlaubsseiten/");
return BildSize;
}

function CheckAuswahl () {
var BildSize = document.Bildgroesse.Auswahl.options
[document.Bildgroesse.Auswahl.selectedIndex].value;
SetCookie ('BildSize', BildSize, exp, "/urlaubsseiten/");
return BildSize;
}

function getCookieVal (offset) { 
var endstr = document.cookie.indexOf (";", offset); 
if (endstr == -1) 
endstr = document.cookie.length; 
return unescape(document.cookie.substring(offset, endstr));
}

function GetCookie (name) { 
var arg = name + "="; 
var alen = arg.length; 
var clen = document.cookie.length; 
var i = 0; 
while (i < clen) { 
var j = i + alen; 
if (document.cookie.substring(i, j) == arg) 
return getCookieVal (j); 
i = document.cookie.indexOf(" ", i) + 1; 
if (i == 0) break; 
} 
return null;
}

function SetCookie (name, value) {
var argv = SetCookie.arguments; 
var argc = SetCookie.arguments.length; 
var expires = (argc > 2) ? argv[2] : null; 
var path = (argc > 3) ? argv[3] : null; 
var domain = (argc > 4) ? argv[4] : null; 
var secure = (argc > 5) ? argv[5] : false; 
document.cookie = name + "=" + escape (value) + 
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
((path == null) ? "" : ("; path=" + path)) + 
((domain == null) ? "" : ("; domain=" + domain)) + 
((secure == true) ? "; secure" : "");
}

function DeleteCookie (name) { 
var exp = new Date(); 
exp.setTime (exp.getTime() - 1); 
var cval = GetCookie (name); 
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
// Bilderbauwahlbox
function bilderbox() {
	 document.write('<form name="Bildgroesse" action="" class="form0px" style="padding-top:1px;" onChange="StartAuswahl()">');
		 document.write('<select name="Auswahl" id="Bildgroesse" onchange="CheckAuswahl();javascript:location.reload()" class="menu_bildgroesse">');
			 document.write('<option class="menu_bildgroesse_unternemue" value="S" id="S" onclick="CheckAuswahl();">BG: Klein</option>');
			 document.write('<option class="menu_bildgroesse_unternemue" value="N" id="N" onclick="CheckAuswahl();">BG: Normal</option>');
			 document.write('<option class="menu_bildgroesse_unternemue" value="L" id="L" onclick="CheckAuswahl();">BG: Gro&szlig;</option>');
			 document.write('<option class="menu_bildgroesse_unternemue" value="XL" id="XL" onclick="CheckAuswahl();">BG: XL</option>');
		 document.write('</select>');
	 document.write('</form>');
			 }
// End -->

