document.writeln("<script LANGUAGE=\"javascript\">");
document.writeln("<!--");
document.writeln("function checkdata()");
document.writeln("{");
document.writeln("if (document.user.UserName.value==\"\")");
document.writeln("{");
document.writeln("alert(\"对不起，请输入您的论坛用户名！\");");
document.writeln("document.user.UserName.focus();");
document.writeln("return false;");
document.writeln("}");
document.writeln("else if (document.user.Password.value==\"\")");
document.writeln("{");
document.writeln("alert(\"对不起，请输入您的论坛密码！\");");
document.writeln("document.user.Passwd.focus();");
document.writeln("return false;");
document.writeln("}");
document.writeln("}");
document.writeln("");
document.writeln("function MM_preloadImages() { \/\/v3.0");
document.writeln("var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();");
document.writeln("var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)");
document.writeln("if (a[i].indexOf(\"#\")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}");
document.writeln("}");
document.writeln("");
document.writeln("function MM_findObj(n, d) { \/\/v4.01");
document.writeln("var p,i,x;  if(!d) d=document; if((p=n.indexOf(\"?\"))>0&&parent.frames.length) {");
document.writeln("d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}");
document.writeln("if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];");
document.writeln("for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);");
document.writeln("if(!x && d.getElementById) x=d.getElementById(n); return x;");
document.writeln("}");
document.writeln("\/\/-->");
document.writeln("<\/script>");
