function SendSide(webPath) { var ItsTheWindow; w = 240; h = 300; LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; TopPosition = (screen.height) ? (screen.height-h)/2 : 0; settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no'; alert(webPath); var id = ""; if(webPath == ""){ id = DocumentURL2; }else{ id = webPath; } ItsTheWindow = window.open('/rationel/data.nsf/TipEnVen?OpenForm&ID='+id,'SendSiden', settings); } function OpenPrintWindow(UNID) { var ItsTheWindow; w = 640; h = 500; LeftPosition = (screen.width) ? (screen.width-w)/2 : 0; TopPosition = (screen.height) ? (screen.height-h)/2 : 0; var isRes = ""; try{ var prm = document.getElementById("docParm").value; var parms = prm.substring(prm.indexOf("&"),prm.length); isRes = parms + "&isResult=" + document.getElementById("isResult").value; }catch(e){} settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=yes'; if(UNID.length == 32){ ItsTheWindow = window.open('/rationel/data.nsf/webPrint/'+UNID+'?Open'+isRes,'Udskrift', settings); }else{ ItsTheWindow = window.open('/rationel/data.nsf/webPrint'+UNID+'?Open'+isRes,'Udskrift', settings); } } /* Kaldes som det sidste på siden (onLoad på spacer.gif i bunden af alle sider) */ function lastFunctions(){ designImage(); } function designImage(){ var tds = document.getElementsByTagName('td'); for(var i=0;i