function openBrowserWHS(strLocation,iWidth,iHeight,blnScroll) { var strScrollBar if(blnScroll == true) { strScrollBar = "scrollbars=yes"; } else { strScrollBar = "scrollbars=no"; } window.open(strLocation,'Browser','width='+ iWidth + ',height=' + iHeight +',status=no,menubar=no,toolbar=no,location=no,resizable=yes,' + strScrollBar); }