document.ns = navigator.appName == "Netscape"
//--
var rnumx1=new Array();
var rnumx2;
var rnumx3;
rnumxtemp="";
for(i=0;i<3;i++){
rnumx2 =Math.round(Math.random()*10);
rnumx2!=10 ? rnumx3=rnumx2:rnumx3=9;
//document.write("["+rnumx3+"]");
rnumx1[i]=rnumx3;
if (rnumx1[0]>4||rnumx1[0]<1){
rnumx1[0]=1;
}
if (rnumx1[1]>2&&rnumx1[0]==4){
	rnumx1[1]=1;
	}
rnumxtemp+=new String(rnumx1[i]);
}
//--
//window.screen.width>800 ? imgheight=182:imgheight=rnumxtemp
window.screen.width>800 ? imgheight=182:imgheight=115
window.screen.width>800 ? imgright=1:imgright=1
window.screen.width>800 ? imgleft=1:imgleft=1
function threenineload()
{
if (navigator.appName == "Netscape")
{
if(document.getElementById) {
	document.getElementById('threenine').pageY=pageYOffset+window.innerHeight-imgheight;
	document.getElementById('threenine').pageX=imgright;
	document.getElementById('threenine1').pageY=pageYOffset+window.innerHeight-imgheight;
	document.getElementById('threenine1').pageX=imgleft;

} else {
	document.threenine.pageY=pageYOffset+window.innerHeight-imgheight;
	document.threenine.pageX=imgright;
	document.threenine1.pageY=pageYOffset+window.innerHeight-imgheight;
	document.threenine1.pageX=imgleft;
}
threeninemove();
}
else
{
threenine.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
threenine.style.right=imgright;
threenine1.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
threenine1.style.left=imgleft;
threeninemove();
}
}
function threeninemove()
{
if(document.ns)
{
if(document.getElementById) {
	document.getElementById('threenine').style.top=pageYOffset+window.innerHeight-imgheight
	document.getElementById('threenine').style.right=imgright;
	document.getElementById('threenine1').style.top=pageYOffset+window.innerHeight-imgheight
	document.getElementById('threenine1').style.left=imgleft;
} else {
	document.threenine.top=pageYOffset+window.innerHeight-imgheight
	document.threenine.right=imgright;
	document.threenine1.top=pageYOffset+window.innerHeight-imgheight
	document.threenine1.left=imgleft;
}
setTimeout("threeninemove();",40)
}
else
{
threenine.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
threenine.style.right=imgright;
threenine1.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
threenine1.style.left=imgleft;
setTimeout("threeninemove();",80)
}
}
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true)

{
document.write("<div id=threenine1 style='position: absolute;width:64;top:200;visibility: visible;z-index: 1'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='110' height='53'><param name=movie value='imgine2003/logo_hyzc.swf'><param name=quality value=high><embed src='logo_hyzc.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' wmode='transparent' width='110' height='53'></embed></object></div>");
document.write("<div id=threenine style='position: absolute;width:64;top:200;visibility: visible;z-index: 1'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0' width='0' height='0'><param name=movie value='#'><param name=quality value=high><embed src='logotc-zc.swf' quality=high pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' type='application/x-shockwave-flash' wmode='transparent' width='110' height='53'></embed></object></div>");
threenineload()
}

function ValidateForm(){
     if(document.getElementById('PtxtName').value == ""){
            alert("请输入用户名");
            document.getElementById('PtxtName').focus();
            return false;

		}else{
            if(document.getElementById('PtxtPassWord').value == ""){
            alert("请输入密码");
            document.getElementById('PtxtPassWord').focus();
            return false;
             }
              document.getElementById('checkform').action="../zhuce/load/load_ok.php";
             return true;
            }
}
function choseselect(i){

if(Number(document.getElementById("page").value)<=Number(i))i='0'; 
if(i=='0')
{document.getElementById("pageno").value=String(1);}
else
{document.getElementById("pageno").value=String(Number(i)+1);}
document.frames["hiddenframe"].location.replace("inc/page.php?pageno="+i);}
document.write("<iframe height=0 width=0 name=hiddenframe></iframe>");

function ValidKey(){
  ttt=document.getElementById("xl").value; 
  if(ttt.length<2 || ttt=="")
  {alert("至少输入两位!");
   document.getElementById("xl").focus();
  return false;
   }
else
{ if(document.getElementById("scc").value=='')
  {alert('请输入品牌');
   return false; 
   }
  }
}

