--- rat/client/Attic/code.html 2001/03/13 15:35:08 1.21 +++ rat/client/Attic/code.html 2001/03/15 14:48:44 1.23 @@ -1472,7 +1472,7 @@ function srchclear() { // ------------------------------------------------------- Closes search window function srchclose() { - if (srch) { + if (!srch.closed) { srch.close(); } } @@ -2506,7 +2506,7 @@ function leave() { inf.close(); } if (!srch.closed) { - srch.close(); + srchclose(); } }