/**
 * @author Christian Schöner
 */


	function navi_mouseover (_id) {
		var pfeil_width = document.getElementById('navi_pfeil').offsetWidth / 2;
		var link_width = document.getElementById(_id).offsetWidth / 2
		var link_left = document.getElementById(_id).offsetLeft;
		
		document.getElementById('navi_pfeil').style.left =  (link_left + link_width - pfeil_width) + "px";
	}
	
	function navi_mouseout () {
		document.getElementById('navi_pfeil').style.left = "-1000px";
	}
	
	function open_online_buchen()
	{
		var url         = "https://ssl.at-rooms.com/publicHotel/search.aspx?lang=de&hotelid=101";
		var popuphoehe  = 600;
		var popupbreite = 700;
		var popupseite  = (screen.availWidth - popupbreite) / 2;
		var popupoben   = (screen.availHeight - popuphoehe) / 2;

		params = ('width='+ popupbreite +',height='+ popuphoehe +',left='+ popupseite +',top='+ popupoben + ',resizable=yes,screenX=50,screenY=5,scrollbars=yes');
   
   		var reservierung;
	   	reservierung=window.open(url,"Reservierung",params);
	
		if(reservierung.focus){
			reservierung.focus();
		}			
	}		
