 jQuery(document).ready(function(){

    
     setFontSize();
     jQuery('.bookmarkLink_de').jFav({msg:'Druecken Sie Strg und D um diese Seite zu Ihren Lesezeichen hinzuzufuegen.'});
     jQuery('.bookmarkLink_en').jFav({msg:'Press Strg and D to bookmark this page.'});
		initHoverList();
 });
 
 function initHoverList() {
    jQuery("ul.hoverList li").click(function(event) {
        var myLink=jQuery(this).find("a");
        var targetWindow="_self";
        if(myLink){
        //location.href=myLink.attr("href");
        if(myLink.attr("target") && myLink.attr("target").length()>1){
        	targetWindow=myLink.attr("target");
        	}
        window.open(myLink.attr("href"), "Zweitfenster");
      }
          event.preventDefault();
    }); 
      jQuery("ul.hoverList li").hover( 
      function () { 
       jQuery(this).addClass("liHover");
      },  
      function () { 
       jQuery(this).removeClass("liHover");
      } 
    ); 
       
   
}
function showPopup(URL, windowName, width, height) {
	   popupWindow = window.open(URL, windowName || "ZweitFenster", "location=no,width=" + (width||800) + ",height=" + (height||750) + ",left=100,top=200");
  	 popupWindow.focus();
	}