http://dlsvr01.asus.com/pub/ASUS/wireless/WL-600g/GPL_WL600g_1028A.zip
[bcm963xx.git] / userapps / broadcom / cfm / html / ShowWebCamPic.html
1 <html>
2 <head>
3 <meta http-equiv="refresh" content="<%ejGet(usb_webfresh_x)%>">
4 <title>WL-600g Web Camera Page</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
8 <link rel="stylesheet" type="text/css" href="style.css" media="screen">
9 <SCRIPT LANGUAGE="JavaScript">
10 <!-- hide
11 function onClose()
12 {
13    window.close();
14 }
15
16 function loadWidzard()
17 {     
18 }
19 -->
20 </script>
21
22 </head>
23 <body onLoad="loadWidzard()" bgcolor="#FFFFFF" text="#000066" link="#3333CC" vlink="#666699" alink="#990099">
24 <form method="GET" name="form" action="webcam.wcgi">  
25 <input type="hidden" name="ImageSize" value="<%ejGet(usb_webimage_x)%>">
26 <input type="hidden" name="CaptionString" value="<%ejGet(usb_webcaption_x)%>">
27 <input type="hidden" name="CameraModel" value="<%ejGet(usb_webdriver_x)%>">
28
29 <!--mstheme-->
30 <font>
31 <table align="center" BORDER=1 CELLSPACING=0 CELLPADDING=0 BGCOLOR=#FFFFCC>
32 <tr>
33 <td>
34 <table align="center" width="1" BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=#FFFFCC>
35 <script language="JavaScript">
36 if ( document.form.ImageSize.value == "0") // 640 X 480
37 {
38      if (document.form.CameraModel.value == "0" ) //PWC
39      {  
40         width = 320;
41         height = 240;
42      }
43      else
44      {
45         width = 640;
46         height = 480;
47      }                  
48 }
49 else if ( document.form.ImageSize.value == "1") // 320 X 240
50 {    
51      width = 320;
52      height = 240;      
53 }
54 else 
55 {
56      if (document.form.CameraModel.value == "0" ) //PWC
57      {  
58         width = 160;
59         height = 120;
60      }
61      else
62      {
63         width = 176;
64         height = 144;
65      }               
66 }
67
68 Caption = document.form.CaptionString.value;
69
70         document.write('<tr>');
71         document.write('<td align="left" height="48" style="padding-top:2;padding-bottom:2;padding-left:2">');
72         document.write('<font face="MS Sans Serif" size="2" color="#000000">');
73         document.write('<b>');
74         document.write(Caption);
75         document.write('</b>');
76         document.write('</font>');
77         document.write('</td>');
78         document.write('<td align="right" style="padding-right:2">');
79         document.write('</td>     ');           
80         document.write('</tr>');
81         document.write('<tr>');
82         document.write('<td align="center" colspan="3">');
83         document.write('<img name="campicture" border="0" src="display.jpg" alt="Image is not ready" width="' + width + '" height="' + height + '">');
84         document.write('</td>');
85         document.write('</tr>');       
86 </script>       
87 </table>
88 </td>
89 </tr>
90 </table>
91 <!--mstheme-->
92 </font>
93 </form>
94 </body>
95 </html>