jQuery(document).ready(function() {

  /*
  jQuery.each(jQuery.browser, function(i, val) {
    if(i=="msie" && jQuery.browser.version.substr(0,1)=="7")
        jQuery("#hR").css({ display: "none" });
        jQuery("#hL").css({ display: "none" });
  });
  */

      var fHeight = jQuery("#sitecontent").height();
      var sHeight = jQuery("#sitecoll").height();
      var wHeight = jQuery(window).height();
      // alert(fHeight+"/"+sHeight);
      if (fHeight>sHeight) {
      
        if (wHeight>fHeight) fHeight = wHeight;
      } else {
      
        if (wHeight>sHeight) { 
          fHeight = wHeight;
          } else {
          fHeight = sHeight;
          }
      
      }
      
      
      
     
      jQuery("#site").css({ "height" : fHeight+"px"});
      jQuery("#sitecontent").css({ "height" : fHeight+"px"});
      jQuery("body").animate({ opacity: 1.0}, 100);
      
      
});


var jexwin="", nr=0;

function auf(x,y,bild)
{
jexwin=window.open("", nr, "width="+(x+20)+",height="+(y+50)+"");
jexwin.document.open();
jexwin.document.write("<body bgcolor=#ffffff>");
jexwin.document.write("<center><img src="+bild+" width="+x+"height="+y+"><BR>");
jexwin.document.write("<a href='javascript:window.close()' style='font-family:Arial, Sans-serif; font-size:8pt; color:6B6B6B;'>Fenster schliessen!</a></center>");
jexwin.document.close();
nr++;
}



