
function open4flexWindow(url,width,height) {
  if(typeof width == 'undefined') { var width = 720; }
  if(typeof height == 'undefined') { var height = 650; }
  var win=window.open(url, "opinion", "width=" + width + ", height=" + height + ", status=yes, resizable=yes, scrollbars=yes");
}


function addOnLoad(func) {
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    var oldonload=window.onload;
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }
}

/* Popup-Timeout (Fix fuer Safari) 
   2009-03-10
*/
var popup_timeout=null;
function popupMouseOver() {
  if (popup_timeout) {
    window.clearTimeout(popup_timeout);
  }

  popup_timeout=window.setTimeout(function() {
    document.getElementById('modell').style.display='block';
  }, 10);
}

function popupMouseOut() {
  if (popup_timeout) {
    window.clearTimeout(popup_timeout);
  }

  popup_timeout=window.setTimeout(function() {
    document.getElementById('modell').style.display='none';
  }, 10);

}


