// two nice scripts for pop-up windows var exWin; // name the window that will be opened // function to open and focus a window of any size specificied // will have no stuff under the title bar, and no status bar function openSecond(winurl,winwidth,winheight) { exWin = window.open(winurl,"win2","width=" + winwidth + ",height=" + winheight + ",scrollbars,resizable"); exWin.focus(); } // end function // function to check if window is open, and if so, focus it. // use this with a link rollover, so they don't click the link again // when the window is already open. function focSecond(winName) { if ((!winName) || (winName.closed)) { return; } else { winName.focus(); } // end if } // end function