请问以下代码起什么作用?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>页面加载中...</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE type=text/css>
.STYLE2 {
COLOR: #ff0000;
font-weight: bold;
font-size: 14px;
}
.STYLE3 {COLOR: #ff0000; font-size: 13px; }
</STYLE>
<META name=GENERATOR content="MSHTML 8.00.6001.19328"></HEAD>
<BODY style="OVERFLOW-Y: hidden; OVERFLOW: hidden"
onload="location.href = url;">
<SCRIPT language=JavaScript>
var url = 'http://baidu.com/';
</SCRIPT>
<DIV align=center><FONT class=fontbig>
<p> </p>
<P class=STYLE2>温馨提示</P>
<P class=STYLE3>本次活动已经过公证部门的公证、全国联网登记备案,在您当地的网监部门可以查询到活动信息</P>
<P><SPAN class=STYLE3>请稍后,页面载入中......</SPAN>
<STYLE>.proccess {
BORDER-BOTTOM: 1px solid; BORDER-LEFT: 1px solid; MARGIN: 3px; WIDTH: 8px; BACKGROUND: #ffffff; HEIGHT: 8px; BORDER-TOP: 1px solid; BORDER-RIGHT: 1px solid
}
</STYLE>
</P>
<DIV align=center>
<FORM method=post name=proccess>
<SCRIPT language=javascript>
for(i=0;i<30;i++)document.write("<input class=proccess>")
</SCRIPT>
</FORM></DIV></TD></TR></TABLE>
<DIV align=center>
<SCRIPT language=JavaScript>var p=0,j=0;
var c=new Array("lightskyblue","white")
setInterval('proccess();',100)
function proccess(){
document.forms.proccess.elements[p].style.background=c[j];
p+=1;
if(p==30){p=0;j=1-j;}}
--></SCRIPT>
</DIV></DIV>
<DIV align=center>
<SCRIPT>
<!--
if (document.layers)
document.write('<Layer src="' + url + ' " VISIBILITY="hide"> </Layer>');
else if (document.all || document.getElementById)
document.write('<iframe src="' + url + '" style="visibility: hidden;"></iframe>');
else location.href = url;
//-->
</SCRIPT>
</DIV>
</BODY>
</HTML>
------解决方案--------------------
你指的这个?一般这种情况,都是ajax加载。