// // ===================================================================== // // function showEx(image,imgWidth,imgHeight,winWidth,winHeight,pTitle,tTitle,tContent) { // // image = Path to image to display in window. // imgWidth = Width (pixels) of image to display in window. // imgHeight = Height (pixels) of image to display in window. // winWidth = Width (pixels) of window to display. // winHeight = Heighth (pixels) of window to display. // pTitle = // tTitle = // tContent = Text comment for window. LeftPosition = (winWidth) ? (winWidth) : 0; TopPosition = (winHeight) ? (winHeight): 0; NewWinWidth = LeftPosition; NewWinHeight = TopPosition; NewWinWidth = (NewWinWidth > screen.availWidth - 60) ? screen.availWidth - 60: NewWinWidth; NewWinHeight = (NewWinHeight > screen.availHeight - 60) ? screen.availHeight - 60: NewWinHeight; // settings = 'menubar=no,toolbar=no,scrollbars=yes,height=' + winHeight + ',width=' + winWidth params = "toolbar=no,"; params += "location=no,"; params += "directories=no,"; params += "status=no,"; params += "menubar=no,"; params += "scrollbars=yes,"; params += "resizable=yes,"; params += "height=" + NewWinHeight + ","; params += "width=" + NewWinWidth +";"; params += "top=200"; var win = window.open("", "cWindow2", params); if ((document.window != null) && (!win.opener)) win.opener = document.window; var d = win.document; d.writeln(''); d.writeln(''); d.writeln('
'); if ((!pTitle) == "") // Do not generate the following statement if "pTitle" has no entry. { d.writeln('