function zimmerbuchung(url){var buchung=window.open(url,"Buchung","width=1024,height=650,resizable=yes,scrollbars=yes");buchung.focus();return false;}
/*function bookingForm(){var bookingWindow=window.open('about:blank','Buchung','width=1024,height=650,resizable=yes,scrollbars=yes');bookingWindow.setTimeout('window.document.forms["Booking"].submit();',1);}*/
function bookingForm(){var bookingWindow=window.open('about:blank','Buchung','width=1024,height=650,resizable=yes,scrollbars=yes');bookingWindow.focus();return false;}
$(document).ready(function(){
/*Weather*/var weather='';$.ajax({url:'php/wetter.php',async:false,success:function(data){weather=data;},complete:function(){$('#weather').append(weather);$('#weather').fadeIn('slow');}});
/*Holidaytest*/if($('#holidaytest').length > 0){$('#holidaytest').append('<a href="http://www.reisen.de/hotel/index/id/34064/name/Kaiser-Spa-Hotel-Zur-Post-Bansin" rel="nofollow" target="_blank"><img src="/images/hzp/holidaytest.de.png" width="73" height="59" /></a>');$('#holidaytest').fadeIn('slow');}
/*Navigation*/
$('#mainmenu li a.firstlevel').removeAttr('title');
$('#mainmenu li.firstlevel .panelborder').css({'display':'none','width':'600px','height':'200px'});
$('#mainmenu li.firstlevel .panel').css({'display':'none','width':'570px','height':'170px','padding':'5px'});
$('#mainmenu li.firstlevel .panelbordersmall').css({'width':'300px'});
$('#mainmenu li.firstlevel .panelsmall').css({'width':'270px'});
$('#mainmenu li.firstlevel').mouseenter(function() {$(this).children('a').addClass('mblue');$(this).children('a').children('span').addClass('mblue');$(this).children('.panelborder').fadeIn();$(this).children('.panel').fadeIn();});
$('#mainmenu li.firstlevel').mouseleave(function() {$(this).children('a').removeClass('mblue');$(this).children('a').children('span').removeClass('mblue');$(this).children('.panelborder').fadeOut();$(this).children('.panel').fadeOut();});
});
