script language JavaScript function do_scan_file_02 var left screen wi

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<script language="JavaScript">
function do_scan_file_02()
{
var left = (screen.width - 640)/2;
var top = (screen.height - 400)/2;
window.open( "",
"drweb_scan_form_popup_window",
"width=640"+",height=400,left="+left+",top="+top+",scrollbars=yes,resizable=yes" );
document.getElementById( "drweb_online_scan_form" ).submit();
return false;
}
</script>
<form method="POST" id="drweb_online_scan_form"
enctype="multipart/form-data" action="http://online.drweb.com/result" target="drweb_scan_form_popup_window">
<table width="220" height="100" border="0" cellpadding="0" cellspacing="0" background="fon.png">
<tr>
<td height="23" colspan="2" align="center" valign="bottom"></td>
</tr>
<tr align="center">
<td height="22" colspan="2"><center><input type="file" name="file" size="15"></td>
</tr>
<tr>
<td width="63"></td>
<td width="137"><table width="100%" border="0" cellspacing="6" cellpadding="0">
<tr>
<td align="right"><input type="image" onClick="return do_scan_file_02();" src="prov.png" width="118" height="22"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>