function addComment(u,v,w,h,s){ window.open(u+"&id="+v+"&subject="+s+"&","Comment","width="+w+",height="+h+",scrollbars=yes,status=yes")} function readComment(u,v,w,h,s){ window.open(u+"&RestrictToCategory="+v,"Comment","width="+w+",height="+h+",resizable,scrollbars=yes,status=yes")} function dxInsertDate(){ var now= new Date() var month= now.getMonth() var date= now.getDate() var year= now.getFullYear() var mnth= new Array() var dt= new Array() mnth[0]="Januar" mnth[1]="Februar" mnth[2]="Marts" mnth[3]="April" mnth[4]="Maj" mnth[5]="Juni" mnth[6]="Juli" mnth[7]="August" mnth[8]="September" mnth[9]="Oktober" mnth[10]="November" mnth[11]="December" dt[1]="st" dt[2]="nd" dt[3]="rd" dt[4]="th" dt[5]="th" dt[6]="th" dt[7]="th" dt[8]="th" dt[9]="th" dt[10]="th" dt[11]="th" dt[12]="th" dt[13]="th" dt[14]="th" dt[15]="th" dt[16]="th" dt[17]="th" dt[18]="th" dt[19]="th" dt[20]="th" dt[21]="st" dt[22]="nd" dt[23]="rd" dt[24]="th" dt[25]="th" dt[26]="th" dt[27]="th" dt[28]="th" dt[29]="th" dt[30]="th" dt[31]="st" document.write(date+dt[date]+" "+mnth[month]+" "+year) } function doSearch(categories,group,strict,auto) { var strSearch=""; if(auto=="Y"){ categories=""; group=""; var href=new String(window.location.href+"&"); var ar=href.split("&cat="); if(ar[1]!=null){ categories=ar[1].split("&")[0]; } var ar=href.split("&cat2="); if(ar[1]!=null){ categories+="~"+ar[1].split("&")[0]; } var ar=href.split("&cat3="); if(ar[1]!=null){ categories+="~"+ar[1].split("&")[0]; } var ar=href.split("&cat4="); if(ar[1]!=null){ categories+="~"+ar[1].split("&")[0]; } var ar=href.split("&cat5="); if(ar[1]!=null){ categories+="~"+ar[1].split("&")[0]; } var ar=href.split("&cat6="); if(ar[1]!=null){ categories+="~"+ar[1].split("&")[0]; } strSearch="&categories="+categories; }else{ if(categories!=""){strSearch+="&categories="+categories}; if(group!=""){strSearch+="&group="+group}; } if(strict!=""){strSearch+="&strict="+strict}; var form=document.forms["searchForm"]; var query = form.Query.value; if( query == '' ){ alert('Indtast søgeterm eller frase.'); form.Query.focus(); } else { window.location.href = 'http://domino.djh.dk/appl/djh/intranet/Bibliotek.nsf/dx/search.htm?opendocument&q=' + escape(query)+strSearch; } } function writeStat(pth,page,xhtml,subject){ var docurl=document.URL; docurl=docurl.split("#")[0]; document.write("Statistics");} function storeCuk(){ if(f.remember.checked){ if(!isNull(f.author)){cookie.author=f.author.value;} if(!isNull(f.organisation)){cookie.organisation=f.organisation.value;} if(!isNull(f.country)){cookie.country=f.country.value;} if(!isNull(f.email)){cookie.email=f.email.value;} if(!isNull(f.website)){cookie.website=f.website.value;} cookie.store(); } } function cuk(){ this.$document=document; this.$name="DX"; var hours=744; if(hours){this.$expiration=new Date((new Date()).getTime()+hours*3600000)}else{this.$expiration=null} this.$path="/"; } cuk.prototype.store=function (){ var cval="" for(var prop in this){ if((prop.charAt(0)=='$')||((typeof this[prop])=='function')) continue; if(cval!=""){cval+='&'} cval+=prop+':'+escape(this[prop]) } var c=this.$name+'='+cval if(this.$expiration){c+='; expires='+this.$expiration.toGMTString()} if(this.$path){c+='; path='+this.$path} this.$document.cookie=c } cuk.prototype.load=function (){ var ac=this.$document.cookie if(ac==""){return false} var s=ac.indexOf(this.$name+'=') if(s==-1){return false} s+=this.$name.length+1 var e=ac.indexOf(';',s) if(e==-1)e=ac.length var cval=ac.substring(s,e) var a=cval.split('&') for(var i=0; i"+cookie.author+""; }else{ name=cookie.author; } document.write(pre+name+post);}} function toggleDiv(o){ if (document.getElementById(o.id+"Control").style.display=="none"){ document.getElementById(o.id+"Control").style.display=""; document.getElementById("i"+o.id+"Control").innerHTML="-"; }else{ document.getElementById(o.id+"Control").style.display="none"; document.getElementById("i"+o.id+"Control").innerHTML="+"; } }