window.onerror=new Function("return true") function newWindow(mypage,title,w,h){if(screen.width){var winl=(screen.width-w)/2;var wint=(screen.height-h)/2;} else{winl=0;wint=0;} if(winl<0)winl=0;if(wint<0)wint=0;var settings='scrollbars=1,resizable=1,status=yes,height='+h+','+'width='+w+','+'top='+wint+','+'left='+winl;win=window.open(mypage,title,settings);win.window.focus();} function ShowPicture(virtualroot,url){window.open('editor/billedPopUp.aspx?url='+url,'','width=10,height=10,status=yes,scrollbars=1,resizable=1');} function fnTrapKD(btn){if(document.all){if(event.keyCode==13){ event.returnValue=false;event.cancel=true;btn.click();}}}