//******************************************************************************************************function fNewWinURL( strURL, strWinName, strWidth, strHeight ) {//******************************************************************************************************  if (screen.height <= strHeight) {  strHeight = screen.height-1000;  }  if (typeof(strWidth) == 'undefined') {    strWidth = "";  } else {    strWidth = ",width=" + strWidth;  }  if (typeof(strHeight) == 'undefined') {    strHeight = "";  } else {    strHeight = ",height=" + strHeight;  }  strWinProp = " toolbar=no"        //Back, Forward, etc...               + ",location=no"     //URL field               + ",directories=no"   //"What's New", etc...               + ",status=yes"       //Status Bar at bottom of window.               + ",menubar=no"       //Menubar at top of window.      //         + ",resizeable=no"    //Allow resizing by dragging. (Yes - Does not work with Netscape or IE)               + ",scrollbars=yes"   //Displays scrollbars if document is larger than window.               + ",titlebar=yes"     //Displays titlebar. Signed script required for "no" to work in Netscape.               + ",top=0"            //Offset of windows top edge from screen.               + ",left=0"           //Offset of windows left edge from screen.               + strWidth            //Width               + strHeight           //Heigth               + "";  winMsg = window.open(strURL, strWinName, strWinProp);  //parms: URL,window name,properties.  winMsg.focus();  }