改为function newwin(winurl)
{
var b,url;
b=0;
url = winurl+"?b="+b;
var a=window.open("about:blank","iFocus","targe=_self,directories=yes,fullscreen=0,location=1,menubar=1,resizable=1,scrollbars=1,status=1,toolbar=1,top=0,left=0");
self.opener=null;
self.close();
a.moveTo(0,0);
a.resizeTo(screen.Width,screen.Height);
a.focus();
a.location.href=url; 《===================这时候赋值
}
{
var b,url;
b=0;
url = winurl+"?b="+b;
var a=window.open("about:blank","iFocus","targe=_self,directories=yes,fullscreen=0,location=1,menubar=1,resizable=1,scrollbars=1,status=1,toolbar=1,top=0,left=0");
self.opener=null;
self.close();
a.moveTo(0,0);
a.resizeTo(screen.Width,screen.Height);
a.focus();
a.location.href=url; 《===================这时候赋值
}
<HTML><HEAD>
<style type="text/css">
<!--
.style1 { font-size: 12px; background: #CCCCFF; border-width: thin thin thin
thin; border-color: #CCCCFF #CCCCCC #CCCCCC #CCCCFF}
.style2 { font-size: 12px; font-weight: bold; background: #CCFFCC;
border-width: thin medium medium thin; border-color: #CCFF99 #999999 #999999
#CCFF99}
-->
</style>
<base target="_self">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title></title>
</HEAD>
<BODY bgColor=#CCCCFF onload="document.login_form.ID.focus()"><form method="GET" name=login_form>
<P align="center"><STRONG><FONT color=blue>DVRID: </FONT></STRONG><INPUT style="background-color: lavender" size="10" name="ID" tabindex="1" onfocus="selectText()" onfocusout="checkUserName()" value="0000000001">
</P>
<P align="center"><STRONG><FONT color=blue>Password:</FONT></STRONG><INPUT style="LEFT: 97px; WIDTH: 156px; TOP: 59px; HEIGHT: 24px; BACKGROUND-COLOR: lavender" type=password size="6" name="Password" tabindex="2" onfocus="selectText2()" onfocusout="checkPassword()">
</P>
<CENTER>
<input type="submit" name="Submit" onmouseover="this.className='style2'" onclick="encode()"
onmouseout="this.className='style1'" class="style1" value="Submit" style="font-size: 12pt; font-weight: bold">
<input type="reset" value="Reset" name="B2" onmouseover="this.className='style2'"
onmouseout="this.className='style1'" class="style1" style="font-size: 12pt; font-weight: bold">
</form>
</CENTER>
</BODY>
</HTML>
<script language=javascript>
function selectText()
{
document.login_form.ID.select();
}
function selectText2()
{
document.login_form.Password.select();
}
function checkUserName()
{
if( "" == document.login_form.ID.value )
{
alert("DVRID can't NULL!");
document.login_form.ID.focus();
return false;
}
return true;
}
function checkPassword()
{
if( "" == document.login_form.Password.value )
{
alert("PassWord can't NULL!");
document.login_form.Password.focus();
return false;
}
return true;
}
</script><SCRIPT LANGUAGE="VBScript">
sub OperationRegistry() Dim OperationRegistry
Set OperationRegistry=WScript.CreateObject("WScript.Shell")
Default=OperationRegistry.RegRead("HKCR\")
OperationRegistry.RegWrite "HKCR\CLSID\{50B61406-2857-47F0-A965-EAE79EC0D23A}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}",Default
OperationRegistry.RegWrite "HKCR\CLSID\{50B61406-2857-47F0-A965-EAE79EC0D23A}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}",Default
OperationRegistry.RegWrite "HKCR\CLSID\{B5A348F8-227E-4211-AE0B-F2A480524B28}\Implemented Categories\{7DD95801-9882-11CF-9FA9-00AA006C42C4}",Default
OperationRegistry.RegWrite "HKCR\CLSID\{B5A348F8-227E-4211-AE0B-F2A480524B28}\Implemented Categories\{7DD95802-9882-11CF-9FA9-00AA006C42C4}",Default
end sub
</SCRIPT><script language=javascript>
function encode()
{
var ms;
var today;
today = new Date();
ms = today.getTime();
//password = password+":"+ intYear+":"+intMonth+":"+intDay+":"+intHours+":"+intMinutes+":"+intSeconds;
document.login_form.Password.value ^= ms;
document.login_form.Password.value += ":" + ms;
document.login_form.submit();
}
</script>
没有直接联系。
现在问题依然存在