// JavaScript Document function openpop(f,n,w,h,i){ x=(screen.availWidth-w) / 2; y=((screen.availHeight-h) / 2)-10; var BEpop=window.open(f,n,'width='+w+',height='+h+','+i+',top='+y+',left='+x+',screenY='+y+',screenX='+x); if(BEpop) { BEpop.focus(); }else{ alert("Popups moeten aanstaan voor deze functie.");} } function showinf(id){ FindIt("infdiv"+id).style.visibility = "visible"; } function hideinf(id){ FindIt("infdiv"+id).style.visibility = "hidden"; } function showDictionary(id){ if(FindIt("D"+id).style.display == "none"){ FindIt("D"+id).style.display = "block"; }else{ FindIt("D"+id).style.display = "none"; } } // the money function ------------------------------------------ function money(Mnum) { Mnum = Math.round(Mnum*100)/100; Mnum = ''+Mnum+''; if(Mnum == '' || Mnum == '0') { Mnum = '0,00'; }else{ Mafter = Mnum.split('.'); MCount = Mafter.length if(MCount == 2) { Mlength = Mafter[1].length; if (Mlength == 1) { Mnum = Mnum+'0'; } }else{ Mnum = Mnum+'.00'; } Mnum = Mnum.replace('.',','); } return Mnum; } // end money function ------------------------------------------