jQuery(document).ready(function() {
	

	// klassenzuweisung beim hauptmenue
	jQuery("#navi ul li").hover(
		function() {
			jQuery(this).addClass("hover");
	});
	
	jQuery("#navi ul li").mouseleave(
		function() {
			jQuery(this).removeClass("hover");
	});
	
	// tabs fuer detailseite
	jQuery(function() {
		jQuery( "#tabbed_content" ).tabs();
	});
 
});


 /* Eingefügt Wolfgang Haase, 19. Januar 2012 */

   function PopUpWindow(URL,w1,h1) {
      day = new Date();
      id = day.getTime();
      var posX = ((screen.availWidth / 2) - w1 / 2); 
      var posY = ((screen.availHeight / 2) - h1 / 2);
         eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width="+w1+",height="+h1+",left="+posX+",top="+posY+"');");   
   };

   function ChangeParentWindow(URL) {
      opener.location.href=URL;
      opener.focus();
   };
