var pi='76'; var pty='p'; function fs_main(a) { var f = document.forms[0]; f.pty.value='p'; if(a.length>0) { var ps=a.split('|'); for(var i=0;i < ps.length;i++) { var its=ps[i].split(':'); if(its[0]=='pi') { pi=its[1]; }else { //eval('f.'+its[0]+'.value="'+its[1]+'";'); f[its[0]].value=its[1]; } } } if(f.pty.value=='p')f.target = '_top'; if(f.pty.value=='d')f.target = 'if_name'; if(f.pty.value=='a')f.target = 'if_action'; if(f.pty.value=='t')f.target = 'if_action'; f.method='POST'; if(f.pty.value=='t')f.method='GET'; f.action = '/pvc'+'/index.php'; if(f.method!='GET')f.action+='?pi='+pi; f.submit(); //if(f.pty.value=='d')ifr_dbox_show(true, 0); // debug only } function mov(theimg) { theimg.src = theimg.src.substr(0,theimg.src.length-4) +'_' + '.gif'; theimg.style.cursor='hand'; //alert (theimg.src); } function mot(theimg) { theimg.src = theimg.src.substr(0,theimg.src.length-5) + '.gif'; //alert (theimg.src); } function ifr_dbox_center(a) { var ifra=document.getElementById(a); ifra.style.left= (document.body.clientWidth-ifra.width)/2; ifra.style.top= (document.body.clientHeight-ifra.height)/2; } var ifr_dbox_visibility=false; function ifr_dbox_show(flag,level) { var fev=(flag)?'hidden':'visible'; for(i=0;i< document.forms[0].elements.length;i++) { document.forms[0].elements[i].style.visibility=fev; } var v=(flag)?'visible':'hidden'; if(level==1) { var e=parent.document.getElementById('if_id'); }else { var e=document.getElementById('if_id'); } if(flag==false)e.src=''; e.style.visibility=v; var the=(flag)?'hidden':'visible'; ifr_dbox_visibility=flag; } function dispwait_main(a) { var d=dg('divwait_main'); d.innerHTML=''+a+''; d.style.left=(document.body.clientWidth/2) - (d.offsetWidth/2); d.style.visibility = 'visible'; }