var browser=navigator.appName; var fereastra; function alignPage(){ latzime=(browser.indexOf("Netscape")!=-1) ? window.innerWidth : document.body.clientWidth; if (((latzime-700)/2)>0) document.getElementById("page").style.left=((latzime-700)/2)+'px'; else document.getElementById("page").style.left='0px'; } function deschide(url,width,height) { if (browser.indexOf('Internet Explorer')==-1) { ics=(window.innerWidth-width)/2; igrec=(window.innerHeight-height)/2; fereastra=window.open(url,'test','width='+width+',height='+height+',scrollbars=yes,screenX=0,screenY='+igrec); } else { ics=(document.body.clientWidth-width)/2; igrec=(document.body.clientHeight-height)/2; fereastra=window.open(url,'test','width='+width+',height='+height+',scrollbars=no,left=0,top=300'); } x1=0; while(x1