function OpenWindow(link, title, width, height, scroll, closeHandler)
{
    var winHeight = height + 5;
    
    if (window.XMLHttpRequest) {
        if(document.all) //IE7
        {
            winHeight = height;; //+ 27;
        }
    }
    else // IE6, older browsers
    {
        winHeight = height + 27;
    }
    if ( scroll == undefined || scroll == 0){
      scroll = 'no';
    }
    else{
      scroll = 'yes';
    }
    var win = new Ext.Window({
      layout: 'fit',
      title: title,
      width: width + 16,
      height: winHeight,
      modal: true,
      closeAction: 'hide',
      id: "frameWindow",
      resizable: false,
      plain: true,
      closable: false,
      tools: [
        {
          id: 'textclose',
          scope: this,
          handler: function (event, toolEl, panel) {
            if (document.body) {
              document.body.style.overflow = 'auto';
            }
            panel.close();
          }
        }],
      items: new Ext.Panel({
        deferredRender: false,
        border: false,
        html: '<IFRAME src="' + link + '" scrolling="' + scroll + '" width="100%" height="100%" frameborder="0">Your browser doesn\'t support iframe.</IFRAME>'
      })
    });
    win.show();
    if (document.body) {
        document.body.style.overflow = 'hidden';
    }
    return win;
}
