function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
var mystat=0;//price select
function myout(){mystat=0;window.setTimeout("mycheck()",5);}
function myin(){mystat=1;}
function mycheck(){if (mystat==0) MM_showHideLayers('price','','hide');}//price select

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function PConlineLogin()
{
    if (mainform.username.value == "" || mainform.username.value == "guest") {	  
	   mainform.submit();
	}

	if (mainform.password.value == "") {
	   alert("请输入您的密码！");
	   mainform.password.focus();
	   return false;
	}
}
document.writeln("<table width=\"760\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"http://www.pconline.com.cn/images/new/reg_bg.gif\" align=\"CENTER\"> ");
document.writeln("  <tr>");
document.writeln("    <td width=\"6\"><IMG SRC=\"http://www.pconline.com.cn/images/new/reg1.gif\" WIDTH=\"6\" HEIGHT=\"31\"></td>");
document.writeln("    <td width=\"401\">");
document.writeln("      <table width=\"375\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("	<form ID=mainform  METHOD=\"post\" ACTION=\"http://pass.pconline.com.cn/permit/permit.jsp\" onSubmit=\"return PConlineLogin(this);\" > ");
document.writeln("        <tr>");
document.writeln("          <td width=\"296\"> 通行证: 用户");
document.writeln("              <input TYPE=\"text\" name=\"username\" value=\"guest\" size=\"10\" onClick=\"if(this.value=='guest')this.value='';password.value=''\">");
document.writeln("              密码");
document.writeln("              <input TYPE=\"password\" name=\"password\" size=\"10\" value=\"guest\">");
document.writeln("          </td>");
document.writeln("          <td width=\"54\" align=\"center\" valign=\"MIDDLE\">");
document.writeln("              <input  align=\"absMiddle\" type=\"image\" src=\"http://www.pconline.com.cn/images/new/reg_dl.gif\" width=\"44\" height=\"20\" name=\"image\">");
document.writeln("          </td>");
document.writeln("          <td width=\"51\" align=\"center\">");
document.writeln("		      <a href=\"http://pass.pconline.com.cn/permit/common/user/apply/Terms.html\" target=\"_blank\">");
document.writeln("			  <img align=\"absMiddle\"  src=\"http://www.pconline.com.cn/images/new/reg_reg.gif\" width=\"44\" height=\"20\" border=\"0\">");
document.writeln("			  </a>");
document.writeln("          </td>");
document.writeln("        </tr>");
document.writeln("	   </form>");
document.writeln("    </table>");
document.writeln("	</td>");
document.writeln("    <td width=\"161\" BACKGROUND=\"http://www.pconline.com.cn/images/new/reg_bg2.gif\"><A HREF=\"http://www.pconline.cn\"><IMG SRC=\"http://www.pconline.com.cn/images/new/reg_3.gif\" WIDTH=\"175\" HEIGHT=\"31\" BORDER=\"0\" alt=\"http://www.pconline.cn/\"></A></td>");
document.writeln("    <td width=\"186\" BACKGROUND=\"http://www.pconline.com.cn/images/new/reg_bg2.gif\">");
document.writeln("      <table height=\"30\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" width=\"98%\">");
document.writeln("        <tr> <TD HEIGHT=\"15\" ALIGN=\"CENTER\" VALIGN=\"BOTTOM\" class=\"font5\"><a href=\"http://www.pcauto.com.cn\" target=\"_blank\" class=p1>汽车网</a>");
document.writeln("            | <a href=\"http://www.pcgames.com.cn\" target=\"_blank\"  class=p1>游戏网</a>");
document.writeln("            | <a href=\"http://www.pclady.com.cn\" target=\"_blank\"  class=p1>时尚女性</a></TD>");
document.writeln("        </tr>");
document.writeln("      </table>");
document.writeln("    </td>");
document.writeln("    <td width=\"5\" ALIGN=\"RIGHT\"><IMG SRC=\"http://www.pconline.com.cn/images/new/reg_4.gif\" WIDTH=\"5\" HEIGHT=\"31\"></td>");
document.writeln("  </tr>");
document.writeln("</table>");
document.writeln("<table width=\"760\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#FFFFFF\">");
document.writeln("  <tr>");
document.writeln("    <td width=\"760\">");
document.writeln("      <table width=\"760\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"75\">");
document.writeln("        <tr>");
document.writeln("          <td width=\"190\" height=\"75\" align=\"center\" bgcolor=\"#F9F9F9\" class=\"dingwei\"><a href=\"http://www.pconline.com.cn/\" target=\"_top\"><img src=\"http://www.pconline.com.cn/images/newlogo1.gif\" width=\"172\" height=\"90\" border=\"0\"></a></td>");
document.writeln("          <td WIDTH=\"570\" height=\"97\" align=\"center\" valign=\"MIDDLE\" bgcolor=\"#F9F9F9\">");
