1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--Thanks to Tom Bovingdon and Rob Rix-->
5 <script>document.write("<title>"+window.opener.lblSearch+"</title>");</script>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <style type="text/css">
9 body { background-color: #EFEDDE; margin: 10px;}
10 table { font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 12px; }
11 legend { font-family: Tahoma, Arial, Helvetica, sans-serif; font-size: 14px; padding-left: 5px; padding-right: 8px; }
12 .style2 {font-size: 18px; background:black; font-weight:bold; color:white; display:block; width:100%; }
13 .show {left:auto;top:auto;position:auto;}
14 .hide {left:-1000px;top:-1000px;position:absolute;}
17 <script language="JavaScript" type="text/javascript">
20 window.resizeTo(515, 250);
21 } else if(document.all) {
22 window.resizeTo(515, 240);
24 window.resizeTo(503, 236);
27 function submitForm() {
28 if(document.getElementById("searchText").value == ""){
29 alert(window.opener.lblSearchVal0);
32 var searchText = document.getElementById("searchText").value;
33 var replaceText = document.getElementById("replaceText").value;
34 window.opener.SearchAndReplace(searchText, replaceText, document.getElementById("matchCase").checked, document.getElementById("wholeWord").checked);
40 </head><body><form name="linkForm">
41 <table cellpadding="0" cellspacing="0" border="0" width=100%><tr>
42 <td><fieldset style="margin-left: 5px;"><legend><script>document.write(window.opener.lblSearch);</script></legend>
43 <div style="padding: 2px;"></div><table cellpadding="4" cellspacing="0" border="0" width=100%>
45 <td align="right" nowrap><script>document.write(window.opener.lblSearchFind);</script>: </td>
46 <td><input name="searchText" type="text" id="searchText" style="width:250px;height:18px;font-size:14px" value=""></td>
49 <td align="right" nowrap><script>document.write(window.opener.lblSearchReplace);</script>: </td>
50 <td><input name="replaceText" type="text" id="replaceText" style="width:250px;height:18px;font-size:14px" value=""></td>
53 <td align="right" nowrap> </td>
55 <input id=matchCase name=matchCase type=checkbox><script>document.write(window.opener.lblSearchMatch);</script><br>
56 <input id=wholeWord name=wholeWord type=checkbox><script>document.write(window.opener.lblSearchWholeWord);</script>
60 <div style="padding: 2px;"></div>
61 </fieldset></td><td><td align="left" valign="top" style="padding: 8px;">
62 <input type="button" name="btnsubmit" value="" style="width:100px" onclick="submitForm();"/><br>
63 <input type="button" name="btncancel" value="" style="width:100px;" onClick="window.close();"/>
64 </td></tr></table></form></body></html>
66 document.linkForm.btnsubmit.value = window.opener.lblSearchSubmit;
67 document.linkForm.btncancel.value = window.opener.lblSearchCancel;