var curakt=''; var curobj=''; function funccall(s,s2){ // If top.is.opsys is not defined or is equal to "win" the default at the end will be executed. if (top.is.opsys) { if (top.is.opsys == "mac"){ if (s2) parent.indhold.location.href = location.protocol + "//" + location.hostname + s2; else parent.indhold.location.href = location.protocol + "//" + location.hostname + "/link/nomac"; return; } } if (!top.ishomepage){ if (submitallowed){ fillstatus("666",top.STATUS_TXT_DATA_HENTES, "", chalresp, curakt, curobj); //if (!prevlink && ie4) // parent.indhold.document.all.HideShow.style.visibility = "hidden"; prevlink = false; submitallowed = false; // forhindrer adgang før næste side er modtaget moveGET(s) } } else moveGET(s) } function moveGET(s){ if (top.ishomepage) parent.indhold.location.href = location.protocol + "//" + top.netstyrdomain + createstring(s); else parent.indhold.location.href = location.protocol + "//" + location.hostname + top.postaction + createstring(s); } function createstring(s){ sout = s.substring(2, s.length-1); sout = sout.replace(/§/g,"&"); var retstr = "" if (!top.ishomepage){ if (top.secsystemFull == "AC") chalrespreturn = ""; else chalrespreturn = document.Security.webTeaKrypt(chalresp); retstr = "gsAftlnr=" + gsAftlnrExt retstr += "&gsSession=" + gsSession if (s.indexOf("gsSprog=")==-1) retstr += "&gsSprog=" + gsSprog if (s.indexOf("gsProdukt=")==-1) retstr += "&gsProdukt=" + gsProdukt retstr += "&gsChalResp=" + chalrespreturn } else{ sout = sout.replace(/DNB/g, "INF") retstr += "&gsSprog=" + top.gsSprog retstr += "&gsBrand=" + top.gsBrand } return "?" + retstr + sout } function naviger(url, erstat, linktarget){ parent.indhold.location.href = url; } // Notes specifikke funktioner function popUp(url,name,w,h,extra){ str="height="+h+",width="+w+","+extra; if(parseInt(navigator.appVersion)>3) str+=",left="+(screen.width -w)/2+",top="+parseInt((screen.height -h)/3); win=window.open(url,name,str); } function InitPage(){ try { if(top.gsBrand=="DNC") { var a = parent.favourite.document.getElementById('slSpan'); if (a!=null) a.innerHTML = ""; } } catch(err) { /* do nothing */ } if (top.indhold.document.Form1.gsNextAkt) curakt = top.indhold.document.Form1.gsNextAkt.value; if(top.postframe) movePF(); } function MenuChange(DocID,action){ if(action=="MenuOnly") window.open(location.protocol + "//" + top.domain_domino + '/etc/MenuChange?readform&Action~NoChgPage~DocID~'+DocID,'MenuChg'); else window.open(location.protocol + "//" + top.domain_domino + '/etc/MenuChange?readform&Action~ChgPage~DocID~'+DocID,'MenuChg'); } function maketitle(gsProdukt,gsStatusType,gsStatusTid,lblOverskr,lblTidovsk,VisEjhelp,VisOpdater,Server,gsSprog,lblHjaelp,gsCurAkt){ var overskrifttxt = ''; var NextObj=''; if ( top.indhold.document.forms[0].gsNextObj.value != null) NextObj=top.indhold.document.forms[0].gsNextObj.value; if (gsProdukt == "DNB" || gsProdukt == "HDL" || gsProdukt == "DAA" || gsProdukt == "OEF" || gsProdukt == "IKS" || gsProdukt == "INB" || gsProdukt == "DNK" || NextObj == "eAbonment" ){ var checkoverskr = lblOverskr; if (checkoverskr.substring(0,1) != "&"){ if (gsStatusType == "000" || gsStatusType == "A00" || gsStatusType == "904" || gsStatusType == "N50"){ overskrifttxt += ''; if (VisEjhelp != "JA"){ overskrifttxt +=''; overskrifttxt +=''; } if (VisOpdater == "JA"){ overskrifttxt += ''; overskrifttxt += ''; } overskrifttxt +=''; overskrifttxt +='
'; overskrifttxt += lblOverskr + ''; overskrifttxt += '' + lblTidovsk + ' ' + gsStatusTid + '  ' + lblHjaelp + '    
'; } else overskrifttxt +="
"; } } return overskrifttxt; } function makestyle(){ var gsStyle = ""; if (parent.stylefileHP) gsStyle = ''; return gsStyle; } function move(id, obj, prd, cur1, cur2, cur3, cur4, cur5){ if(top.gsBrand=="BG" || top.gsBrand=="DB" || top.gsBrand=="RD" || top.gsBrand=="DNC"){ //display wait text for netstyr applications tempTXT = '
Henter oplysninger. Vent venligst...
'; if(top.indhold.document.getElementById("HideShow")){ top.indhold.document.getElementById("HideShow").style.display="none"; top.indhold.document.getElementById("spwait").style.display=""; top.indhold.document.getElementById("spwait").innerHTML = tempTXT; }} if(top.indhold.document.Form1 && !top.indhold.document.Form1.gsIsGem){ if(id != null) top.indhold.document.forms[0].gsNextAkt.value = id; if(obj != null) top.indhold.document.forms[0].gsNextObj.value = obj; if( cur1 != null) top.indhold.document.forms[0].gsCurItem.value = cur1; if( cur2 != null) top.indhold.document.forms[0].gsCurItem2.value = cur2; if( cur3 != null) top.indhold.document.forms[0].gsCurItem3.value = cur3; if( cur4 != null) top.indhold.document.forms[0].gsCurItem4.value = cur4; if( cur5 != null) top.indhold.document.forms[0].gsCurItem5.value = cur5; top.indhold.document.forms[0].submit();} else movePF(true,id, obj, prd, cur1, cur2, cur3, cur4, cur5); } function movePF(post,id, obj, prd, cur1, cur2, cur3, cur4, cur5){ tbrand = top.gsBrand; sf = top.indhold.document.Form1; pf = top.postframe.document.Form1; if (top.brand != null) tbrand = top.brand; if (top.gsBrand != null) tbrand = top.gsBrand; if(sf && !sf.gsIsGem){ pf.gsSession.value = sf.gsSession.value; pf.gsAftlnr.value = sf.gsAftlnr.value; pf.gsSprog.value = sf.gsSprog.value; pf.gsProdukt.value = sf.gsProdukt.value; pf.gsNextObj.value = sf.gsNextObj.value; pf.gsNextAkt.value = sf.gsNextAkt.value; pf.gsCurObj.value = sf.gsCurObj.value; pf.gsCurAkt.value = sf.gsCurAkt.value; pf.gsSession.value = sf.gsSession.value; pf.gsChalResp.value = sf.gsChalResp.value; pf.gsCurItem.value = sf.gsCurItem.value; pf.gsCurItem2.value = sf.gsCurItem2.value; pf.gsCurItem3.value = sf.gsCurItem3.value; pf.gsCurItem4.value = sf.gsCurItem4.value; pf.gsCurItem5.value = sf.gsCurItem5.value; pf.gsBrand.value = tbrand; } if(post){ if(id != null) pf.gsNextAkt.value = id; if(obj != null) pf.gsNextObj.value = obj; if( cur1 != null) pf.gsCurItem.value = cur1; if( cur2 != null) pf.gsCurItem2.value = cur2; if( cur3 != null) pf.gsCurItem3.value = cur3; if( cur4 != null) pf.gsCurItem4.value = cur4; if( cur5 != null) pf.gsCurItem5.value = cur5; pf.submit(); } } function makestyleKP(rowcolor){ var t = '' if (subsystem == "indstilling"){ t += ''; } else{ t += ' '; } return t } function onsub(){ if ((curakt.substring(2,4) == "Ny") || (curakt.substring(2,7) == "MoGem") || (curakt == "MODetalj") || (curakt.substring(3,9) == "RetAcc") || (curakt == "AGEadrI") || (curakt == "AGOpretI") || (curakt == "AGRetI") || (curakt == "ESForside")||(curakt == "AktivNy")||(curakt == "KodeGensNy")||(curakt == "RegBrugNy ")) setTimeout("parent.indhold.ok()", 10); if (curakt.substring(2,4) == "Nv") setTimeout("parent.indhold.RetKaldenavn()", 10); if ((curakt.substring(0,9) == "VPHKursAd") || (curakt.substring(0,9) == "VPBoersAk") || (curakt.substring(0,3) == "VPS") || (curakt.substring(0,2) == "PR")) setTimeout("parent.indhold.Sog()", 10); if (curakt == "BUKABelDel") setTimeout("parent.indhold.Opret()", 10); return false; } function help(hp, hprd, type){ hp = hp.replace(/ /g, "") if (top.pagehelp_windowwidth) w = top.pagehelp_windowwidth else w = 410 if (top.pagehelp_windowheight) h = top.pagehelp_windowheight else h = 160 if (hprd) tprd = hprd; else tprd = top.pagehelp_product; if (type=="WithParam") type = "€WithParam=Yes"; else type = ""; var p = "" var re="1" if (top.pagehelp_version2){ p = "%A4" + top.brand + "%A4" + tprd + "%A4" + top.gsSprogHelpbook + type re="0" } if (hprd) tprd = hprd; else tprd = top.pagehelp_product; if (hp == null) hp = parent.indhold.gsHelpSide if (hp != "") { if (hp == "hbog.htm") helpwin = window.open(top.helpbook_path,'ord','scrollbars=1,resizeable=1,width=' + w + ',height=' + h); else helpwin = window.open(top.pagehelp_path + hp.substring(0,hp.indexOf('.') == -1 ? hp.length : hp.indexOf('.')) + p,'ord','scrollbars=1,resizable=' +re+ ',width=' + w + ',height=' + h); } } /* Global print function - Tom Nielsen (TOMN - B63058) */ function openPrint(language) { if(language=="DA") msgtxt = "Print funktionen kan ikke benyttes på denne side.\n\n"; else msgtxt = "The print function cannot be used with this page.\n\n"; try{ if(top.indhold.document); printFrame(); } /* if there is no top.indhold.document - show error */ catch(e){ alert(msgtxt+e); } } function printFrame(){ /* host page */ if(top.indhold.Form1 && top.indhold.Form1.gsSession){ top.indhold.window.focus(); top.indhold.window.print(); } /* notes page */ else{ var bredde = (screen.width - 670) / 2; var hoejde = (screen.height - 550) / 2; printWindow = window.open('/link/printFrame','Print','toolbar=no,scrollbars=yes,status=yes,width=670,height=550,left='+bredde+',top='+hoejde); }} function postContent(){ /* call from printFrame that sends the content from top.indhold */ printWindow.document.title=top.indhold.document.title; content = top.indhold.document.getElementsByTagName('body').item(0); printWindow.document.getElementById('pageContent').innerHTML += content.innerHTML; if(printWindow.document.getElementById('pageContent')){ /* removes all links and replaces onclick, href etc. with 'javascript:;' */ antal = printWindow.document.getElementById('pageContent').getElementsByTagName("a").length; obj = printWindow.document.getElementById('pageContent').getElementsByTagName("a"); for(i=0;i" + " " + statustxt + "<\/font>"; else sp.innerHTML="
" + " " + statustxt + "<\/font><\/TD><\/TR><\/TABLE>"; }