if(!this.JSON2){JSON2=function(){function f(n){return n<10?'0'+n:n;} Date.prototype.toJSON=function(key){return this.getUTCFullYear()+'-'+ f(this.getUTCMonth()+1)+'-'+ f(this.getUTCDate())+'T'+ f(this.getUTCHours())+':'+ f(this.getUTCMinutes())+':'+ f(this.getUTCSeconds())+'Z';};var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapeable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','\\':'\\\\'},rep;function quote(string){escapeable.lastIndex=0;return escapeable.test(string)?'"'+string.replace(escapeable,function(a){var c=meta[a];if(typeof c==='string'){return c;} return'\\u'+('0000'+ (+(a.charCodeAt(0))).toString(16)).slice(-4);})+'"':'"'+string+'"';} function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key];if(value&&typeof value==='object'&&typeof value.toJSON==='function'){value=value.toJSON(key);} if(typeof rep==='function'){value=rep.call(holder,key,value);} switch(typeof value){case'string':return quote(value);case'number':return isFinite(value)?String(value):'null';case'boolean':case'null':return String(value);case'object':if(!value){return'null';} gap+=indent;partial=[];if(typeof value.length==='number'&&!(value.propertyIsEnumerable('length'))){length=value.length;for(i=0;i>2;enc2=((chr1&3)<<4)|(chr2>>4);enc3=((chr2&15)<<2)|(chr3>>6);enc4=chr3&63;if(isNaN(chr2)){enc3=enc4=64;}else if(isNaN(chr3)){enc4=64;} output=output+keyStr.charAt(enc1)+keyStr.charAt(enc2)+ keyStr.charAt(enc3)+keyStr.charAt(enc4);}while(i>4);chr2=((enc2&15)<<4)|(enc3>>2);chr3=((enc3&3)<<6)|enc4;out=out+String.fromCharCode(chr1);if(enc3!=64){out=out+String.fromCharCode(chr2);} if(enc4!=64){out=out+String.fromCharCode(chr3);} chr1=chr2=chr3="";enc1=enc2=enc3=enc4="";}while(i',start) stop3=head.indexOf("'",start) stop=head.length if(stop10)stop=stop1 if(stop20)stop=stop2 if(stop30)stop=stop3 xhttppageencoding=head.substr(start,stop-start)} else {} return xhttppageencoding;} TAjax.prototype.doRequest=function() {var url url=this.Sourcefile;this.xmlhttp.open("GET",url,true);eval('this.xmlhttp.onreadystatechange= function() {\nreadyhandle(\''+this.cn+'\');\n }');this.xmlhttp.send(null);} TAjax.prototype.doPost=function() {var url url=this.Sourcefile;this.xmlhttp.open("POST",url,true);eval('this.xmlhttp.onreadystatechange= function() {\nreadyhandle(\''+this.cn+'\');\n }');this.xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset="+this.getCharset());this.xmlhttp.send(this.doctosend);} TAjax.prototype.ready=function() {if(this.xmlhttp.readyState==4){eval(this.onReadyresponsecommand);}} TAjax.prototype.doExecute=function(source) {eval(source);} TAjax.prototype.ReportFail=function(source) {if(this.Debug==1) {alert('Request failed:'+this.xmlhttp.getAllResponseHeaders()+'\n===========\n'+source);}} function deleteresponse(nr) {if(TA[nr].deleted!='yes') {delete(TA[nr].xmlhttp);TA[nr].deleted='yes';}} function getresponse(nr) {if(typeof TA[nr]=='object') {TA[nr].doctosend='';if(typeof env=="undefined") {setTimeout('deleteresponse('+nr+')',2000);} return TA[nr].xmlhttp.responseText;} else {return'';}} function getresponsexml(nr) {if(typeof TA[nr]=='object') {TA[nr].doctosend='';if(typeof env=="undefined") {setTimeout('deleteresponse('+nr+')',2000);} return TA[nr].xmlhttp.responseXML;} else {return'';}} if(typeof loaderbar=='object'){loaderbar.loadedfile('ajax.js');} function tajaxDefaultConfig() {this.queing=true;this.autoabort=true;this.defaulttimeout=10;this.debugmode=false;} function tajaxDefaultCallConfig() {this.method='GET';this.doc='';this.weight=10;this.priority=0;this.onError='alert("error")';this.charset='UTF-8';} function tajax_container(cn,config) {this.cn=cn;this.debugmessages=[];this.defaultconfig=new tajaxDefaultConfig;this.currentcalls=[];this.history=[];this.ajaxqueuea=[];this.ajaxqueueb=[];if(typeof config=='object') {this.config=config;} else {this.config=[];} for(var i in this.defaultconfig) {if(typeof this.config[i]=='undefined') {this.config[i]=this.defaultconfig[i];}}} tajax_container.prototype.printdebugdata=function(out) {if(typeof out=="undefined") {out='ajaxdebugout';} var html='';html+='Debug output
';html+='Queued items A:'+this.ajaxqueuea.length+'
';for(var pq=0;pq';} html+='Queued items B:'+this.ajaxqueueb.length+'
';for(pq=0;pq';} html+='History:'+this.history.length+'
';for(pq=0;pq';} if(typeof this.currentcalls[0]!='object') {html+='
feed A free';} else {html+='
feed A busy';} if(typeof this.currentcalls[1]!='object') {html+='
feed B free';} else {html+='
feed B busy';} document.getElementById(out).innerHTML=html;} tajax_container.prototype.debug=function(text) {this.debugmessages[this.debugmessages.length]=text;if(this.config.debugmode) {if(typeof this.config.debugout!='undefined') {document.getElementById(this.config.debugout).innerHTML+=text+'
';} else {alert(text);}}} tajax_container.prototype.readyStateChangeA=function() {_tajax.currentcalls[0].readyStateChange();} tajax_container.prototype.readyStateChangeB=function() {_tajax.currentcalls[1].readyStateChange();} tajax_container.prototype.feedAReady=function() {_tajax.feedReady('A');} tajax_container.prototype.feedBReady=function(feed) {_tajax.feedReady('B');} tajax_container.prototype.feedReady=function(feed) {var tmp=null;this.debug('feed ready'+feed);if(feed=="A") {tmp=this.currentcalls[0];this.currentcalls[0]='';} else {tmp=this.currentcalls[1];this.currentcalls[1]='';} var hcallnr=this.history.length;this.history[hcallnr]=tmp;if(typeof this.history[hcallnr].onFinish=='function') {this.history[hcallnr].onFinish(this.history[hcallnr].response);}} tajax_container.prototype.init=function() {this.interval=setInterval(this.cn+".handleQueue()",200);} tajax_container.prototype.handleQueue=function() {if(this.queuerunning) {return false;} this.queuerunning=true;afeedfree=false;bfeedfree=false;afeednext=-1;bfeednext=-1;bfeedbecameafeed=false;if(typeof this.currentcalls[0]!='object') {afeedfree=true;} if(typeof this.currentcalls[1]!='object') {bfeedfree=true;} lowestprir=false;for(tot=this.ajaxqueuea.length-1;tot>-1;tot--) {tprir=this.ajaxqueuea[tot].weight-this.ajaxqueuea[tot].priority;if(!lowestprir){lowestprir=tprir;afeednext=tot;} if(lowestprir>tprir) {lowestprir=tprir;afeednext=tot;}} lowestprir=false;for(tot=this.ajaxqueueb.length-1;tot>-1;tot--) {tprir=this.ajaxqueueb[tot].weight-this.ajaxqueueb[tot].priority;if(!lowestprir){lowestprir=tprir;bfeednext=tot;} if(lowestprir>tprir) {lowestprir=tprir;bfeednext=tot;}} if(afeedfree) {if(afeednext>-1) {this.debug('starting the a feed with something from a queue ->'+afeednext);this.startafeed(this.ajaxqueuea[afeednext]);this.removefromqueuea(afeednext);this.debug('Queue length'+this.ajaxqueuea.length);} else {if(bfeednext>-1) {bfeedbecameafeed=true;this.debug('starting the a feed with something from b queue ->'+bfeednext);this.startafeed(this.ajaxqueueb[bfeednext]);this.removefromqueueb(bfeednext);this.debug('Queue length'+this.ajaxqueueb.length);} else {}}} if(bfeedfree) {if(!bfeedbecameafeed) {if(bfeednext>-1) {this.debug('starting the b feed with something from b queue ->'+bfeednext);this.startbfeed(this.ajaxqueueb[bfeednext]);this.removefromqueueb(bfeednext);this.debug('Queue length'+this.ajaxqueueb.length);} else {}} else {}} this.queuerunning=false;} tajax_container.prototype.startafeed=function(call) {this.currentcalls[0]=call;this.currentcalls[0].feed=0;this.currentcalls[0].doCall();} tajax_container.prototype.startbfeed=function(call) {this.currentcalls[1]=call;this.currentcalls[1].feed=1;this.currentcalls[1].doCall();} tajax_container.prototype.removefromqueuea=function(queueaid) {newar=[];for(hh=0;hh';html+='
elements:
';var tmpobj;html+='
Forms
';html+='';if(available) {htmla+=thtml;} else {htmlb+=thtml;}} html+='Existing forms:
'+htmla;html+='
Old forms:
'+htmlb;html+='
';html+='
Lists
';html+='';html+='';document.getElementById(this.output).innerHTML=html;} var _md3debug=new md3debug('_md3debug'); function print_r(variable,returnMe) {if(typeof returnMe=='undefined') {returnMe=false;} if(returnMe) {return JSON2.stringify(variable);} else {alert(JSON2.stringify(variable));}} function stripenter(value){val=value.split('\n');value=val.join('');return value;} function trim(value){value=value.replace(/^\s+/,'');value=value.replace(/\s+$/,'');return value;} logging=true;xsltdebug=true;var pi_statustimeout,pi_overlayertimeout;var puntInterface_xsl=[];var nr=0;var TA=[];var reloadcd;var statuscd;var foldout=0;var foldout2=0;var loaded_notifications=[];function jsGC() {var bSaf=(navigator.userAgent.indexOf('Safari')!=-1);var bOpera=(navigator.userAgent.indexOf('Opera')!=-1);var bMoz=(navigator.appName=='Netscape');var html_doc=document.getElementsByTagName('head').item(0);var scripts=html_doc.getElementsByTagName('script');var txt='';var pos=0;var parts='';var itemid;var st;for(var o=0;o-1) {parts=txt.split('/*JSGC::',2);parts=parts[1].split('*/',2);if(document.getElementById(parts[0])) {if(typeof console!='undefined') {} continue;} else {html_doc.removeChild(scripts.item(o));if(typeof console!='undefined') {}}}}} setInterval('jsGC();',10000);function execJS(node){var bSaf=(navigator.userAgent.indexOf('Safari')!=-1);var bChrome=(navigator.userAgent.indexOf('Chrome')!=-1);var bOpera=(navigator.userAgent.indexOf('Opera')!=-1);var bMoz=(navigator.appName=='Netscape');var bIE=(navigator.appName=='MSIE');var st=node.getElementsByTagName('script');var strExec;for(var i=0;i-1) {eval(strExec);} else {var html_doc=document.getElementsByTagName('head').item(0);var js=document.createElement('script');js.setAttribute('language','javascript');js.setAttribute('type','text/javascript');js.text=strExec;if(tmpsrc!='') {js.setAttribute('src',tmpsrc);} html_doc.appendChild(js);} continue;}catch(e){alert('execjs'+e.getMessage());}}} if(typeof loaderbar=='object'){loaderbar.loadedfile('main.js');} var scalersizes=[];tmpscale={};tmpscale.biggerthan=1280;tmpscale.targetwidth=1200;tmpscale.sidespacing='%';tmpscale.showfullscreen=true;scalersizes[scalersizes.length]=tmpscale;tmpscale={};tmpscale.smallerthan=1000;tmpscale.targetwidth='%';tmpscale.sidespacing=0;tmpscale.showfullscreen=false;scalersizes[scalersizes.length]=tmpscale;tmpscale={};tmpscale.isdefault=true;tmpscale.targetwidth='%';tmpscale.sidespacing=13;tmpscale.showfullscreen=false;scalersizes[scalersizes.length]=tmpscale;var fullscreensize=tmpscale; function punt_api(cn) {this.cn=cn;this.msgboxes=[];this.widgets=[];this.hooks=[];this.timers=[];this.mydrag=[];this.totalWROteller=0;this.uplform=0;this.reporter=0;this.messagelist=[];this.stepspeed=10;this.icon1sizex=90;this.icon1sizex=80;this.icon2sizex=45;this.icon2sizey=40;this.actionButtons=[];this.actionButtons2=[];this.actionButtontarget='main';this.defaulttarget='';this.debug=false;this.currentlang='';this.currentlangtags='';this.autoupdatelangtags=0;this.openchanges=false;this.keepNotificationsForTrip=0;this.isFullScreen=false;this.includeAlternativeTargets=false;} punt_api.prototype.selectLocaleDialog=function() {puntdialog.startdialog('adminoverview','selectLocale','','');} punt_api.prototype.checkUnsavedChanges=function() {var unsaved=false;if(typeof FUM!='undefined') {if(FUM.uploadIsHappening()) {if(!unsaved) {unsaved='';} else {unsaved+=',';} unsaved+='Je bent nog bezig met het uploaden van bestanden.';}} return unsaved;} punt_api.prototype.attachEvent=function(element,ev,func) {if(window.addEventListener){element.addEventListener(ev,func,false);}else{element.attachEvent('on'+ev,func);}} punt_api.prototype.befunload=function() {var response='';if(response=puntapi.checkUnsavedChanges()){return response;} else {}} punt_api.prototype.rescale=function(e) {puntforms.rescalestart();try{_lb.rescale();}catch(e){} puntapi.redrawPositions();if(typeof FUM!='undefined') {FUM.rescale();} if(typeof _tW!='undefined') {_tW.rescale();} puntforms.rescaledone();} punt_api.prototype.toggleAlternativeTargets=function() {if(this.includeAlternativeTargets) {this.includeAlternativeTargets=false;} else {this.includeAlternativeTargets=true;}} punt_api.prototype.saveLanguageWidgetdoneEXT=function(msg) {var msgtxt=msg.text.split('^');var msgtxt2=msgtxt[0].split('#');if(msgtxt[1]=='ok') {var color='green';var displ='none';} else {var color='red';var displ='block';} var ltags2=this.currentlangtags.split('/');var ltags=ltags2[1].split(',');for(var lnr=0;lnr
    ";for(var lnr=0;lnr"+ltags[lnr]+"
    ";}} html+="
";puntapi._('languageoutputbox').innerHTML=html;} punt_api.prototype.saveLanguageWidgetExistingChanged=function() {var ltags2=this.currentlangtags.split('/');var ltags=ltags2[1].split(',');if(!this.loadedTags) {return false;} var changedTags=[];for(var lnr=0;lnr
    ";for(var lnr=0;lnr"+ltags[lnr]+"
    ";html+="";html+="";html+="";}} html+="
";this.loadLanguageTagExisting(ltags);puntapi._('languageoutputboxext').innerHTML=html;} punt_api.prototype.changeDefaultTarget=function(target) {this.defaulttarget=target;} punt_api.prototype.changeActionbuttonTarget=function(target) {this.actionButtontarget=target;} punt_api.prototype.touchActionbutton=function(id) {} punt_api.prototype.startDownload=function(url) {} punt_api.prototype.defineActionButton=function(id,title,icon,application,command,query,target,customscript) {} punt_api.prototype.actionButtonHtml=function(title,icon,application,command,id,query,target,customscript) {var bonclick=customscript;if((bonclick=='')||(typeof bonclick=='undefined')) {if(this.actionButtontarget=='dialog') {bonclick='puntdialog.changecommand(\''+application+'\',\''+command+'\',\''+id+'\',\''+query+'\')';} else {bonclick=this.cn+'.DoCommand(\''+application+'\',\''+command+'\',\''+id+'\',\''+query+'\',\'\',\'\',\''+target+'\')';}} html2=_tT.parse('actionbutton_small_onclick',{title:title,icon:icon,onclick:bonclick});return html2;} punt_api.prototype.changehost=function(hostname) {} punt_api.prototype.findArrayElement=function(arr,name) {for(var ay=0;ay';} else {}}} html='';var hasbuttons=false;for(tt=0;tt ';} else {html+='';hasbuttons=true;}} html+='
'+abbb[tt].html+' '+abbb[tt].html+'
';for(tt=0;tt';} puntapi._(target).innerHTML=html;if(hasbuttons) {puntapi._(target).style.display='block';} else {puntapi._(target).style.display='none';}} punt_api.prototype.appendActionButton=function(title,icon,application,command,id,query,target,customscript) {if(this.actionButtontarget=='dialog') {newpos=this.actionButtons2.length;this.actionButtons2[newpos]=new Array() this.actionButtons2[newpos].html=this.actionButtonHtml(title,icon,application,command,id,query,target,customscript);this.redrawActionButtons();} else {newpos=this.actionButtons.length;this.actionButtons[newpos]=new Array() this.actionButtons[newpos].html=this.actionButtonHtml(title,icon,application,command,id,query,target,customscript);this.redrawActionButtons();}} punt_api.prototype.addActionButton=function(title,icon,application,command,id,query,target,customscript,doubleposition) {var yy;var nab;nab=[];newpos=0;if(this.actionButtontarget=='dialog') {abbb=this.actionButtons2;} else {abbb=this.actionButtons;} nab[newpos]=new Array() nab[newpos].html=this.actionButtonHtml(title,icon,application,command,id,query,target,customscript);nab[newpos].doubleposition=doubleposition;for(yy=1;yy0) {} else {width+='px';}} else {width=width+'px';} div_new.setAttribute('style','width:'+width+';');}} else {width='';} msg='
';msg+='
'+title+'     X  
';msg+=data;msg+='
';if(nook!='yes') {msg+='';} msg+='
';msg+='';msg+='
';div_new.innerHTML=msg;msgboxlayer.appendChild(div_new);this.mydrag[max]=new Draggable('msgbox_'+max,{})} punt_api.prototype.writeToMessagebox=function(id,data) {msgboxid='msgbox_'+id;msg='
';msg+='
'+title+'     X
';msg+=data;msg+='';msg+='
';puntapi._(msgboxid).innerHTML=msg;} punt_api.prototype.uploadBox=function(formid,formfield) {this.uplform++;data='
';data+='
';data+='';data+='';data+='';data+='
';data+='
';data+='';data+='
';data+='
';data+='
';data+='';this.newMessagebox('Bestand uploaden',data,'',300,'yes');} punt_api.prototype.reportform=function() {this.reporter++;data='
';data+='
';data+='Soort rapportage:

';data+='Korte omschrijving:

';data+='Omschrijf het probleem of de nieuwe functie:

';data+='
';data+='';data+='
';data+='
';data+='
';closeid=this.newMessagebox('Rapporteer een probleem of een nieuwe functie',data,'',300,'yes');} punt_api.prototype.report=function(typeid,titleid,textid,msgbox) {title=puntapi._(titleid).value;type=puntapi._(typeid).value;text=puntapi._(textid).value;rawdata='=====REPORT=====\n';rawdata+='window.location:\n'+window.location+'\n';rawdata+='ajax calls:\n' for(u=1;u
";this.writeToMessagebox(msgbox,msg);} punt_api.prototype.endUploadSequence=function(nr,formid,formfield,id,filenr) {puntapi._(formid+'_'+formfield).value+='^$'+escape(id)+'|'+escape(filenr);this.filelistRepaint(formid,formfield);this.closeMsgbox(nr);} punt_api.prototype.filelistRepaint=function(formid,formfield) {html='';data=puntapi._(formid+'_'+formfield).value;data2=data.split('^$');if(data2.length>0) {for(u=1;u'+data3[1]+'
\n';}} puntapi._(formid+'_'+formfield+'_filelist').innerHTML=html;} punt_api.prototype.startUploadSequence=function(nr) {} punt_api.prototype.closeMsgbox=function(nr) {this.mydrag[nr].destroy();var msgboxlayer=puntapi._('msgboxlayer');msgboxlayer.removeChild(puntapi._('msgbox_'+nr));} punt_api.prototype.registerTimers=function(timers) {total=timers.length;for(i=0;i'+TA[o].Sourcefile.substring(0,70)+'
';} catch(e) {}} strt+='';this.setlightbox(strt);} punt_api.prototype.debugshowrequest=function(reqnr) {strt='
back to debugscreen
Request '+reqnr+':
'+TA[reqnr].Sourcefile+'

';this.setlightbox(strt);} punt_api.prototype.checkforceddone=function(data2) {list=data2.split('[SEPP]');for(i=0;i"+window.location.hostname+"";if(this._('adminzone_output_topright').innerHTML==''){var html="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="";html+="
Artikelenladen Albumsladen ruimte gebruiktladen 
 reactiesladen ruimte overladen 
";this._('adminzone_output_topright').innerHTML=html;} var func1=function(response){puntapi.adminZoneDataReciever('comment','total',response);} _tajax.makeCall(basepath+'/API/comment/getstats/total',{method:'POST',onFinish:func1});var func3=function(response){puntapi.adminZoneDataReciever('content','total',response);} _tajax.makeCall(basepath+'/API/content/getstats/total',{method:'POST',onFinish:func3});var func4=function(response){puntapi.adminZoneDataReciever('mediaalbum','total',response);} _tajax.makeCall(basepath+'/API/mediaalbum/getstats/total',{method:'POST',onFinish:func4});var func5=function(response){puntapi.adminZoneDataReciever('wsp','diskUsage',response);} _tajax.makeCall(basepath+'/API/wsp/diskUsage',{method:'POST',onFinish:func5});var timeout=1000*60*5;if(!this.intervaladminzonedataloader) {this.intervaladminzonedataloader=setInterval('puntapi.adminZoneDataLoader();',timeout);}} punt_api.prototype.sendForm=function(formname,url,formelements) {doctosend='';} punt_api.prototype.updateSystembox=function() {nr++ TA[nr]=new TAjax();TA[nr].cn='TA['+nr+']';TA[nr].Sourcefile=basepath+'/API/messenger/messages?AJAX_REQ=yes';TA[nr].onReadyresponsecommand=this.cn+'.updateSystembox_Write(getresponse('+nr+'),getresponsexml('+nr+'))';TA[nr].doPost();} punt_api.prototype.updateSystembox_Write=function(msg,message) {try {var root=message.getElementsByTagName('messages').item(0);totaalmessages=0;messagelist=[];if(root) {messages=root.getElementsByTagName('message');for(o=0;o0) {html+='
';alternator='a';for(u=0;u 
  '+messagelist[u].titlevalue+'
 
';} html+='';} puntapi._('systemmessagebox').innerHTML=html;this.checknewmessages(messagelist);this.messagelist=messagelist;} else {}} catch(e) {} setTimeout(this.cn+'.updateSystembox();',60000);} punt_api.prototype.checknewmessages=function(messagelist) {try {for(o=0;o=0) {setTimeout(this.cn+'.blinkmessagetitle(\''+id+'\','+ammount+','+(blinkspeed)+','+state+')',blinkspeed);}} punt_api.prototype.showlightbox=function(var1,var2,contents) {if(typeof contents!='undefined'){_lb.open(contents);} else {_lb.open('loading_lightbox');}} punt_api.prototype.hidelightbox=function() {_lb.hide();} punt_api.prototype.showlightbox_old=function(step,noonclick) {step=step+1;step=0;if(step==0) {viewprt=puntapi.getviewportsize();try {puntapi._('Application').style.overflow='hidden';puntapi._('Application').style.display='none';} catch(e) {puntapi._('websitecontent').style.overflow='hidden';} puntapi._('lightbox').style.display='block';if(noonclick) {puntapi._('lightbox').onclick='';} else {puntapi._('lightbox').onClick=function(){puntapi.hidelightbox(7);}} puntapi._('lightbox_underlay').style.display='block';puntapi._('lightbox_underlay').style.width='100%';puntapi._('lightbox_underlay').style.height=viewprt.docheight+'px';} this.lightup(puntapi._('lightbox_underlay'),70);this.lightup(puntapi._('lightbox'),100);step=4;if(step<3) {setTimeout(this.cn+'.showlightbox('+step+')',this.stepspeed);}} punt_api.prototype.hidelightbox_old=function(step) {step=0;if(step>0) {setTimeout(this.cn+'.hidelightbox('+step+')',this.stepspeed);} else {puntapi._('lightbox_underlay').style.display='none';puntapi._('lightbox').style.display='none';try {puntapi._('Application').style.overflow='';puntapi._('Application').style.display='';puntapi._('lightbox').style.width='';} catch(e) {puntapi._('websitecontent').style.overflow='';puntapi._('lightbox').style.width='';}}} punt_api.prototype.setlightbox=function(msg,noonclick,lbwidth,lbheight) {if(typeof lbwidth!='undefined') {puntapi._('lightbox').style.width=lbwidth;puntapi._('lightbox').style.height=lbheight;} this.showlightbox(-1,noonclick,msg);} punt_api.prototype.fillintags=function(){ppos=arguments.length;for(o=0;o';onok='puntapi.translatedtag(\''+tag+'\')';this.newMessagebox(title,html,onok,'800');} punt_api.prototype.translatedtag=function(tag){encodedtag=this.encodetagmsgbox(tag);} punt_api.prototype.lightup=function(imageobject,opacity){if(navigator.appName.indexOf("Netscape")!=-1&&parseInt(navigator.appVersion)>=5) {imageobject.style.MozOpacity=opacity/100;} else if(navigator.appName.indexOf("Microsoft")!=-1&&parseInt(navigator.appVersion)>=4) {imageobject.style.filter='alpha(opacity='+opacity+')';}} punt_api.prototype.setHelp=function(msg,length) {if(length<1) {this.currenthelptext='';} else {this.helpopen=0;this.currenthelptext=msg;this.appendActionButton('Help','help','','','','','',this.cn+'.showhelp(this)');}} punt_api.prototype.showhelp=function(closeaction) {if(closeaction=='closed') {this.helpopen=0;puntapi._('Pagehelp').innerHTML='';puntapi._('Pagehelp').style.display='none';} else {if(this.helpopen==1) {this.helpopen=0;puntapi._('Pagehelp').innerHTML='';puntapi._('Pagehelp').style.display='none';} else {this.helpopen=1;var istyle='color:#555555;background-color:#eeecbe;padding-left:2px;padding-right:2px;';puntapi._('Pagehelp').innerHTML=_tT.parse('helpbox',{style:istyle,color:'d4d2d2',text:this.currenthelptext,height:200});puntapi._('Pagehelp').style.display='block';}}} punt_api.prototype.resizehelp=function(direction) {originalheight=puntapi._('pagehelpinner').style.height.split('px');if(direction=='bigger') {var newheight=parseInt(originalheight[0])+100;puntapi._('pagehelpinner').style.height=newheight+'px';} else {var newheight=parseInt(originalheight[0])-100;if(newheight>=100) {puntapi._('pagehelpinner').style.height=newheight+'px';}}} punt_api.prototype.closehelp=function() {this.showhelp('closed');} punt_api.prototype.onclose=function() {if(!mayclose){return confirm('Weet je zeker dat je dit venster wilt sluiten?')}} punt_api.prototype.preventclose=function(state) {if(state=='on') {mayclose=false;} else {mayclose=true;}} punt_api.prototype.showhelptexts=function() {if(puntapi._('helpboxtxt').style.display=='') {puntapi._('helpboxtxt').style.display='block';puntapi._('helpboxtitle').innerHTML='Klap het hulpscherm weer in';} else if(puntapi._('helpboxtxt').style.display=='block') {puntapi._('helpboxtxt').style.display='none';puntapi._('helpboxtitle').innerHTML='Toon hulp bij dit scherm';} else {puntapi._('helpboxtxt').style.display='block';puntapi._('helpboxtitle').innerHTML='Klap het hulpscherm weer in';}} punt_api.prototype.togglehelp=function(id) {} punt_api.prototype.gethelp=function(application,command,returndat) {try{if(helpenabled=='yes'){if(typeof returndat=='object'){helpelement=returndat.getElementsByTagName('help').item(0);helpboxout='';if(helpelement){commands=helpelement.getElementsByTagName('command');for(o=0;o';helpboxout+='
'+title+'
';if(o==0){helpboxout+=''+text+'';} else{helpboxout+='';} helpboxout+='
';}} this.setHelp(helpboxout,commands.length);} else{nr++ TA[nr]=new TAjax();TA[nr].cn='TA['+nr+']';TA[nr].Sourcefile=basepath+'/API/help/'+application+'/'+command+'?AJAX_REQ=yes&bp='+encodeURIComponent(basepath);TA[nr].onReadyresponsecommand=this.cn+'.gethelp(\''+application+'\',\''+command+'\',getresponsexml('+nr+'))';TA[nr].doPost();}}} catch(e) {}} punt_api.prototype.DoCommand_delay=function(app,command,id,query,confirmation,doc) {cmd='this.DoCommand(\''+app+'\',\''+command+'\',\''+id+'\',\''+query+'\',\''+confirmation+'\',\''+doc+'\');';setTimeout(cmd,300);} punt_api.prototype.repeatCommand=function() {if(typeof this.lr=='object') {if(this.lr.app=='command2') {this.DoCommand2(this.lr.path,this.lr.doc,this.lr.resulttarget);} else {this.DoCommand(this.lr.app,this.lr.command,this.lr.id,this.lr.query,this.lr.confirmation,this.lr.doc,this.lr.resulttarget);}}} punt_api.prototype.doRefresh=function(id) {if(this._(id)){this.DoCommand2(this.refreshUrl);}} punt_api.prototype.refresh=function(id,url,delay) {this.refreshUrl=url.replace('&','&');setTimeout('puntapi.doRefresh("'+id+'")',(1000*delay));} punt_api.prototype.DoCommand=function(app,command,id,query,confirmation,doc,resulttarget,callback) {var confirmed=true;if(this.openchanges) {confirmed=confirm('global_openchanges_form');} else if((typeof confirmation!='undefined')&&(confirmation!='')) {confirmed=confirm(confirmation);} this.lr=[];this.lr.type='command';this.lr.app=app;this.lr.command=command;this.lr.id=id;this.lr.query=query;this.lr.confirmation=confirmation;this.lr.doc=doc;this.lr.resulttarget=resulttarget;if(this.defaulttarget==resulttarget) {mdunloadUnloadable=true;} if((typeof resulttarget=='undefined')||(resulttarget=='')) {if(this.defaulttarget!='') {resulttarget=this.defaulttarget;} else {resulttarget='';}} key=app+'_'+command+'_'+id+'_'+query;puntMedia.reloaditem=0;if(resulttarget==this.defaulttarget) {if(resulttarget!='dialogoutput'){window.scrollTo(0,0);}} else {if(resulttarget=='wizard_pageoutput'){window.scrollTo(0,0);}} _toolTip.disabled=true;_toolTip.hide();if((this.notificationsticky!='yes')&&(this.notificationtimeout==-1)) {if(this.keepNotificationsForTrip>0){this.keepNotificationsForTrip--;} else{this.hideNotification();}} if((this.alertsticky!='yes')&&(this.alerttimeout==-1)) {this.hideAlert();} mayclose=true;if(confirmed) {nr++ TA[nr]=new TAjax();TA[nr].cn='TA['+nr+']';targetdiv='';if(typeof resulttarget!='undefined') {if(resulttarget!='') {targetdiv='formtargetdiv='+resulttarget+'&';}} if(command=='') {TA[nr].Sourcefile=basepath+'/'+app+'?AJAX_REQ=yes&'+targetdiv+query;} else {if(id!='') {TA[nr].Sourcefile=basepath+'/'+app+'/'+command+'/'+id+'?AJAX_REQ=yes&'+targetdiv+query;} else {TA[nr].Sourcefile=basepath+'/'+app+'/'+command+'?AJAX_REQ=yes&'+targetdiv+query;}} if((typeof doc!='undefined')&&(doc!='')) {TA[nr].doctosend=doc;} TA[nr].onReadyresponsecommand=this.cn+'.WriteAppresponse(getresponsexml('+nr+'),getresponse('+nr+'),\''+key+'\')';if(typeof resulttarget!='undefined') {if(resulttarget!='') {TA[nr].onReadyresponsecommand=this.cn+'.WriteAppresponse(getresponsexml('+nr+'),getresponse('+nr+'),\''+key+'\',\''+resulttarget+'\')';}} if(typeof callback!='undefined') {TA[nr].onReadyresponsecommand+=';\n'+callback;} this.start_hidercount();TA[nr].doPost();} return false;} punt_api.prototype.DoCommand2=function(path,doc,resulttarget,callback,noscroll) {this.lr={};this.lr.type='command2';this.lr.path=path;this.lr.doc=doc;this.lr.resulttarget=resulttarget;mdunloadUnloadable=true;var st=0;var splitpath=path.split('?');var sp2=splitpath[0].split('/');if((sp2[0]=='http:')||(sp2[0]=='https:')) {if((sp2[3]=='Profile')||(sp2[3]=='Admin')||(sp2[3]=='Service')||(sp2[3]=='Supplier')||(sp2[3]=='Control')) {st=3;} else {st=2;}} else if((sp2[1]=='Profile')||(sp2[1]=='Admin')||(sp2[1]=='Service')||(sp2[1]=='Supplier')||(sp2[1]=='Control')) {st=1;} else {st=0;} var qapplication=sp2[st+1];var qcommand=sp2[st+2];var qid=sp2[st+3];var qquery=splitpath[1];if((qapplication=='undefined')||(typeof qapplication=='undefined')) {qapplication='';} if((qcommand=='undefined')||(typeof qcommand=='undefined')) {qcommand='';} if((qid=='undefined')||(typeof qid=='undefined')) {qid='';} if((qquery=='undefined')||(typeof qquery=='undefined')) {qquery='';} this.DoCommand(qapplication,qcommand,qid,qquery,'',doc,resulttarget,callback);return true;mayclose=true;if(resulttarget==this.defaulttarget) {window.scrollTo(0,0);} nr++ TA[nr]=new TAjax();TA[nr].cn='TA['+nr+']';_toolTip.hide();_toolTip.disabled=true;if(typeof resulttarget=='undefined') {TA[nr].Sourcefile=splitpath[0]+'?AJAX_REQ=yes&'+splitpath[1];} else {TA[nr].Sourcefile=splitpath[0]+'?AJAX_REQ=yes&formtargetdiv='+encodeURIComponent(resulttarget)+'&'+splitpath[1];} TA[nr].doctosend=doc;TA[nr].onReadyresponsecommand=this.cn+'.WriteAppresponse(getresponsexml('+nr+'),getresponse('+nr+'),\'\')';if(typeof resulttarget!='undefined') {if(resulttarget!='') {TA[nr].onReadyresponsecommand=this.cn+'.WriteAppresponse(getresponsexml('+nr+'),getresponse('+nr+'),\'\',\''+resulttarget+'\')';}} if(typeof callback!='undefined') {TA[nr].onReadyresponsecommand+=';\n'+callback;} TA[nr].doPost();} punt_api.prototype.start_hidercount=function() {clearTimeout(reloadcd);clearTimeout(statuscd);reloadcd=setTimeout(this.cn+".start_hider()",750);} punt_api.prototype.start_hider=function() {clearTimeout(reloadcd);try {if(puntapi._("statuslayer").style.display!='block') {puntapi._("statuslayer").innerHTML='
Bezig met ophalen gegevens
';$('#statuslayer').slideDown('fast',function() {});}} catch(e) {}} punt_api.prototype.stop_hider=function() {clearTimeout(reloadcd);try {if(puntapi._("statuslayer").style.display!='none') {$('#statuslayer').slideUp('fast',function() {puntapi._("statuslayer").style.display='none';});}} catch(e) {}} punt_api.prototype.hide_status=function() {puntapi._("statuslayer").style.display='none';} punt_api.prototype.openCurrentSelectedDomain=function() {puntapi.DoCommand('domainmanager','selectdomain',this.currentselecteddomain);} punt_api.prototype.setrdomtitle=function(title,id) {try {if(puntapi.currentselecteddomain!=id) {if((id!='')&&(title!='')&&(id!=false)&&(title!=false)) {tautocompletecontainer.update('selectdomainbox',id,title);if(title.length>35) {title=title.substring(0,15)+'...'+title.substring(title.length-15);} this.currentselecteddomain=id;if(basepath!='/Admin'){puntapi._('hostname').innerHTML=""+title+"";} else {puntapi._('hostname').innerHTML=""+window.location.hostname+"";}}}} catch(e) {}} punt_api.prototype.pagePrepend=function(source) {var tmp_data=puntapi._(source).value;if(tmp_data.length>0) {puntapi._('contentprepend').innerHTML=tmp_data;puntapi._('contentprepend').style.display='block';} else {puntapi._('contentprepend').innerHTML='';puntapi._('contentprepend').style.display='none';}} punt_api.prototype.mustRefreshPage=function(url,target) {return"to refresh go to: global_reload_now";} punt_api.prototype.WriteAppresponse=function(response,responsetxt,key,resulttarget,fromhistory) {var resp='';var app='';var command='';var id='';var tkey='';var xmlDoc='';var applicationpath='';var rtitle='';var rdomtitles='';var rdomtitle='';if(typeof resulttarget!='undefined') {if((resulttarget=='Application_Output')||(resulttarget=='')) {resulttarget=undefined;}} if(this.debug) {resp=responsetxt.replace(/[<]/g,'<');try {puntapi._('debugdatafield').innerHTML='Laatste antwoord
';} catch(e) {}} try {} catch(e) {} _toolTip.disabled=false;if(typeof ajaxhist!='undefined') {if(responsetxt.indexOf('')==-1) {if(typeof resulttarget=='undefined') {if(typeof key!='undefined') {key=key.replace('#','');if(key!='') {if(typeof fromhistory=='undefined') {var targs=[];for(var ttval=0;ttval<5;ttval++) {targs[ttval]=arguments[ttval];} ajaxhist.registerhistory(key,targs);} tkey=key.split('_');app='';command='';id='';if(typeof tkey[0]!='undefined') {app=tkey[0];} if(typeof tkey[1]!='undefined') {command=tkey[1];} if(typeof tkey[2]!='undefined') {id=tkey[2];} md3nav.displaynav(app,command,id);puntapi.gethelp(app,command,0);this.currentapp=app;this.currentcommand=command;}}} else {if(typeof key!='undefined') {key=key.replace('#','');if((resulttarget=='dialogoutput')||(resulttarget.indexOf('list_page')>-1)) {if(key!='') {if(typeof fromhistory=='undefined') {var targs=[];for(var ttval=0;ttval<5;ttval++) {targs[ttval]=arguments[ttval];} ajaxhist.registerhistory(key,targs);} tkey=key.split('_');app='';command='';id='';if(typeof tkey[0]!='undefined') {app=tkey[0];} if(typeof tkey[1]!='undefined') {command=tkey[1];} if(typeof tkey[2]!='undefined') {id=tkey[2];} this.currentapp=app;this.currentcommand=command;}}}}}} try {xmlDoc=response;var x=xmlDoc.getElementsByTagName('page').item(0);applicationpath='';try{applicationpath=x.getElementsByTagName('applicationpath').item(0).firstChild.nodeValue;}catch(e){} rtitle='';try{rtitle=x.getElementsByTagName('title').item(0).firstChild.nodeValue;}catch(e){} try{rdomtitles=x.getElementsByTagName('domaintitle');if(rdomtitles.length>0) {rdomtitle=rdomtitles.item(0).firstChild.nodeValue;} else {rdomtitle='';}}catch(e){rdomtitle='';} var rdomtitle='';try{rdomtitle=x.getElementsByTagName('domaintitle').item(0).firstChild.nodeValue;}catch(e){} var rdomid='';try{rdomid=x.getElementsByTagName('domaintitleid').item(0).firstChild.nodeValue;}catch(e){} var content='';try{content=x.getElementsByTagName('content').item(0).firstChild.nodeValue;}catch(e){} var sideinfo='';try{sideinfo=x.getElementsByTagName('sideinfo').item(0).firstChild.nodeValue;}catch(e){} var nootherwidgets='';try{nootherwidgets=x.getElementsByTagName('widgets').item(0).getAttribute('nootherwidgets');}catch(e){} var widgets='';try{widgets=x.getElementsByTagName('widgets').item(0).firstChild.nodeValue;}catch(e){} var actionbuttons='';try{actionbuttons=x.getElementsByTagName('actionbuttons').item(0);}catch(e){} var notifications='';try{notifications=x.getElementsByTagName('notifications').item(0);}catch(e){} var errormessages='';try{errormessages=x.getElementsByTagName('errormessages').item(0);}catch(e){} var redirecturl='';try{redirecturl=x.getElementsByTagName('redirecturl').item(0).firstChild.nodeValue;}catch(e){} var debugmessages='';try{debugmessages=x.getElementsByTagName('debugmessages').item(0).firstChild.nodeValue;}catch(e){} var appicon='';try{appicon=x.getElementsByTagName('appicon').item(0).firstChild.nodeValue;}catch(e){} var mustrefresh='';try{mustrefresh=x.getElementsByTagName('mustrefresh').item(0).firstChild.nodeValue;}catch(e){} var refreshUrl='';try{refreshUrl=x.getElementsByTagName('refreshUrl').item(0).firstChild.nodeValue;}catch(e){} var tmplangtags='';var tmplang='';try{tmplangtags=x.getElementsByTagName('notreplacedtags').item(0).firstChild.nodeValue;}catch(e){} if(tmplangtags!='') {if((typeof resulttarget=='undefined')||this.includeAlternativeTargets) {this.currentlangtags=tmplangtags;}} try{tmplang=x.getElementsByTagName('notreplacedtags').item(0).getAttribute('lang');}catch(e){} if(tmplang!='') {this.currentlang=tmplang;} var tracedata='';try{tracedata=x.getElementsByTagName('trace').item(0).firstChild.nodeValue;}catch(e){} if(typeof fromhistory!='undefined') {if(mustrefresh=='yes') {content=puntapi.DoCommand2(refreshUrl,'',resulttarget);return false;}} if(debugmessages!='') {try {puntapi._('debugtextdata').value+=debugmessages;this.blinkmessagetitle('debugtogglefield',20,200,0);if(typeof console!='undefined') {console.log(debugmessages);}} catch(e) {}} if((typeof resulttarget=='undefined')||(resulttarget=='')) {if(this.autoupdatelangtags==1) {this.printLanguageWidget();} try {_tW.demandWidgets(widgets,nootherwidgets);} catch(err) {} try{tracedata=JSON2.parse(tracedata);} catch(e) {} if(typeof tracedata=='object') {this.handleTrace(tracedata);} else {this._('tracecontainer').style.display='none';} this.readNotifications(notifications,errormessages);if(typeof redirecturl!='undefined') {if((redirecturl!='')&&(redirecturl!=null)) {this.keepNotificationsForTrip=1;this.DoCommand2(redirecturl);return true;}} this.createActionButtons(actionbuttons);this.setrdomtitle(rdomtitle,rdomid);var application_elem=puntapi._('Application');try {puntapi._('contentprepend').innerHTML='';puntapi._('contentprepend').style.display='none';} catch(e) {} var appout=document.getElementById('Application_Output');appout.innerHTML=content;puntapi._('Applicationpath').innerHTML=applicationpath;if(applicationpath.length>0) {puntapi._('Applicationpath').style.display='block';} else {puntapi._('Applicationpath').style.display='none';} puntapi._('Pagetitle').innerHTML=rtitle;puntapi._('Pagehelp').innerHTML='';var bSaf=(navigator.userAgent.indexOf('Safari')!=-1);var bOpera=(navigator.userAgent.indexOf('Opera')!=-1);var bMoz=(navigator.appName=='Netscape');if(bSaf){execJS(puntapi._('Application_Output'));}else if(bOpera){execJS(puntapi._('Application_Output'));}else if(bMoz){execJS(puntapi._('Application_Output'));}else{execJS(puntapi._('Application_Output'));}} else {if(resulttarget=='dialogoutput') {this.createActionButtons(actionbuttons);} var application_elem=puntapi._(resulttarget);application_elem.innerHTML=content;var bSaf=(navigator.userAgent.indexOf('Safari')!=-1);var bOpera=(navigator.userAgent.indexOf('Opera')!=-1);var bMoz=(navigator.appName=='Netscape');if(bSaf){execJS(application_elem);}else if(bOpera){execJS(application_elem);}else if(bMoz){execJS(application_elem);}else{execJS(application_elem);} if(resulttarget=='dialogoutput') {var content=md3._('loadercontainer');if(content) {var progress=md3._('loaderprogressbar');progress.style.display='none';content.style.display='block';}}}} catch(errorz) {this.addAlert('Oeps er is iets fout gegaan.','Daar ging iets niet helemaal goed. Het technische team van Mijndomein is direct per e-mail ingelicht en gaat voor je aan de slag. Onze excuses voor dit nare ongemak. ');} this.rescale();this.stop_hider();} punt_api.prototype._=function(id) {return document.getElementById(id);} punt_api.prototype.handleTrace=function(data) {if(data.length>0) {this.renderTrace(data);this._('tracecontainer').style.display='block';} else {this._('tracecontainer').style.display='none';}} punt_api.prototype.renderTrace=function(data) {var parts=[];var sep='>';for(var uu=0;uuscalersizes[ssnr].biggerthan) {usedsize=scalersizes[ssnr];}} if(typeof scalersizes[ssnr].smallerthan!='undefined') {if(vp.width0) {bgcontainer.style.right=(scalersize.sidespacing-13)+'px';} else {bgcontainer.style.right=scalersize.sidespacing+'px';} notificationcontainerElement.style.left=scalersize.sidespacing+'px';notificationcontainerElement.style.right=scalersize.sidespacing+'px';menubarelem.style.left=scalersize.sidespacing+'px';menubarelem.style.right=scalersize.sidespacing+'px';topbarelem.style.left=scalersize.sidespacing+'px';topbarelem.style.right=scalersize.sidespacing+'px';contentwapperElement.style.top=(dim2.y+dim2.h+sep)+'px';widgetLeftElement.style.left=scalersize.sidespacing+'px';widgetRightElement.style.right=scalersize.sidespacing+'px';widgetLeftElement.style.top=(dim2.y+dim2.h+sep)+'px';widgetRightElement.style.top=(dim2.y+dim2.h+sep)+'px';var leftcontentspacing=285+sep;if(widgetinfo.left==0) {leftcontentspacing=0;} var rightcontentspacing=285+sep;if(widgetinfo.right==0) {rightcontentspacing=0;} contentwapperElement.style.left=(scalersize.sidespacing+leftcontentspacing)+'px';contentwapperElement.style.right=(scalersize.sidespacing+rightcontentspacing)+'px';if(isie6=='yes') {topbarelem.style.width=scalersize.width+'px';menubarelem.style.width=scalersize.width+'px';bgcontainer.style.width=scalersize.width+'px';alertcontainerElement.style.width=scalersize.width+'px';notificationcontainerElement.style.width=scalersize.width+'px';contentwapperElement.style.width=(scalersize.width-(rightcontentspacing+leftcontentspacing))+'px';}} catch(e) {}} punt_api.prototype.updateAlertCounter=function() {this.alerttimeout--;var seconds='';if(this.alerttimeout>1) {seconds=' seconden';} else {seconds=' seconde';} puntapi._('alerttimeroutput').innerHTML='Deze waarschuwing wordt automatisch verborgen in '+this.alerttimeout+seconds;if(this.alerttimeout<=0) {this.hideAlert();}} punt_api.prototype.updateNotificationCounter=function() {this.notificationtimeout--;var seconds='';if(this.notificationtimeout>1) {seconds=' seconden';} else {seconds=' seconde';} puntapi._('notificationtimeroutput').innerHTML='Deze notificatie wordt automatisch verborgen in '+this.notificationtimeout+seconds;if(this.notificationtimeout<=0) {this.hideNotification();}} punt_api.prototype.hideAlert=function() {clearTimeout(this.alerttimer);clearInterval(this.alertinterval);this.alertenabled=false;this.redrawPositions();puntapi._('alerttimeroutput').innerHTML='';puntapi.rescale();} punt_api.prototype.hideNotification=function() {clearTimeout(this.notificationtimer);clearInterval(this.notificationinterval);this.notificationenabled=false;this.redrawPositions();puntapi.rescale();puntapi._('notificationtimeroutput').innerHTML='';} punt_api.prototype.readNotifications=function(notifications,errormessages) {var notifs=null;var errormsgs=null;var sticky='no';var timeout=-1;if(typeof notifications=='object') {try {notifs=notifications.getElementsByTagName('notification');for(tt=0;tt-1) {this.alerttimer=setTimeout(this.cn+'.hideAlert()',timeout*1000);this.alertinterval=setInterval(this.cn+'.updateAlertCounter()',1000);} this.redrawPositions();} catch(e) {}} punt_api.prototype.addNotification=function(title,text,sticky,timeout) {try {clearTimeout(this.notificationtimer);clearInterval(this.notificationinterval);elem2=puntapi._('notificationtitle');elem3=puntapi._('notificationtext');elem2.innerHTML=title;elem3.innerHTML=text;this.notificationenabled=true;this.notificationsticky=sticky;this.notificationtimeout=timeout;if(timeout>-1) {this.notificationtimer=setTimeout(this.cn+'.hideNotification()',timeout*1000);this.notificationinterval=setInterval(this.cn+'.updateNotificationCounter()',1000);} this.redrawPositions();} catch(e) {}} punt_api.prototype.insertHTML=function(html,n,returnselection,returnrange) {var bSaf=(navigator.userAgent.indexOf('Safari')!=-1);var browserName=navigator.appName;if(browserName=="Microsoft Internet Explorer"){if((typeof returnrange=='undefined')||(returnselection=='')) {puntapi._(n+'_ifr').contentWindow.document.body.setActive();returnselection=puntapi._(n+'_ifr').contentWindow.document.selection.createRange();returnselection.pasteHTML(html);} else {returnrange.pasteHTML(html);}} else{var div=puntapi._(n+'_ifr').contentWindow.document.createElement("span");div.innerHTML=html;div2=div.firstChild;if(typeof returnselection=='undefined') {var node=this.insertNodeAtSelection(div2,n);} else {var node=this.insertNodeAtSelection(div2,n,returnselection);}}} punt_api.prototype.insertNodeAtSelection=function(insertNode,n,overrideselection) {if(typeof overrideselection=='undefined') {var sel=puntapi._(n+'_ifr').contentWindow.getSelection();} else {var sel=overrideselection;} var range=sel.getRangeAt(0);sel.removeAllRanges();range.deleteContents();var container=range.startContainer;var pos=range.startOffset;range=document.createRange();if(container.nodeType==3&&insertNode.nodeType==3){container.insertData(pos,insertNode.nodeValue);range.setEnd(container,pos+insertNode.length);range.setStart(container,pos+insertNode.length);} else{var afterNode;if(container.nodeType==3){var textNode=container;container=textNode.parentNode;var text=textNode.nodeValue;var textBefore=text.substr(0,pos);var textAfter=text.substr(pos);var beforeNode=document.createTextNode(textBefore);afterNode=document.createTextNode(textAfter);container.insertBefore(afterNode,textNode);container.insertBefore(insertNode,afterNode);container.insertBefore(beforeNode,insertNode);container.removeChild(textNode);} else{afterNode=container.childNodes[pos];container.insertBefore(insertNode,afterNode);} range.setEnd(afterNode,0);range.setStart(afterNode,0);} sel.addRange(range);};punt_api.prototype.writeOptionsToId=function(utarget,data) {var itemselected='';puntapi._(utarget).options.length=0;if(data) {var root=data.getElementsByTagName('options').item(0);if(root) {options=root.getElementsByTagName('option');for(o=0;o';html+='';html+='
 
Klik hier voor de helpdesk.


';html+='';html+='
 
Geef je mening over de Websitemaker
';html+='';html+='
wsp_shortdescription
\n
\nGeef hieronder je wensen door over nieuwe mogelijkheden van de Mijndomein websitemaker die jij graag zou zien in de toekomst.
\n\n
';html+='
'+_tT.parse('actionbutton',{onclick:'puntapi.feedbacksubmit()',title:'Feedback versturen',icon:'ok'})+'
';html+='';_lb.open(html,'60%','60%',undefined,undefined,function(){puntapi.feedbackonhide()});} punt_api.prototype.feedbackrestore=function() {_lb.hide();} punt_api.prototype.feedbacksent=function() {setTimeout(this.cn+'.feedbackrestore()',2000);} punt_api.prototype.createRequestObject=function() {var sourcefiles=[];for(var nn=0;nn0) {c_start=document.cookie.indexOf(c_name+"=");if(c_start!=-1) {c_start=c_start+c_name.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1)c_end=document.cookie.length;return unescape(document.cookie.substring(c_start,c_end));}} return"";} bc_md3.prototype.shortenText=function(text,mleng) {var maxlength=30;if(typeof mleng!='undefined') {maxlength=mleng;} var maxlengthhalf=Math.floor(maxlength/2);if(text.length>maxlength) {var textnew=text.substr(0,maxlengthhalf-3)+'...';textnew+=text.substr(text.length-maxlengthhalf);text=textnew;} return text;} bc_md3.prototype.get_html_translation_table=function(table,quote_style){var entities={},hash_map={},decimal=0,symbol='';var constMappingTable={},constMappingQuoteStyle={};var useTable={},useQuoteStyle={};constMappingTable[0]='HTML_SPECIALCHARS';constMappingTable[1]='HTML_ENTITIES';constMappingQuoteStyle[0]='ENT_NOQUOTES';constMappingQuoteStyle[2]='ENT_COMPAT';constMappingQuoteStyle[3]='ENT_QUOTES';useTable=!isNaN(table)?constMappingTable[table]:table?table.toUpperCase():'HTML_SPECIALCHARS';useQuoteStyle=!isNaN(quote_style)?constMappingQuoteStyle[quote_style]:quote_style?quote_style.toUpperCase():'ENT_COMPAT';if(useTable!=='HTML_SPECIALCHARS'&&useTable!=='HTML_ENTITIES'){throw new Error("Table: "+useTable+' not supported');} entities['38']='&';if(useTable==='HTML_ENTITIES'){entities['160']=' ';entities['161']='¡';entities['162']='¢';entities['163']='£';entities['164']='¤';entities['165']='¥';entities['166']='¦';entities['167']='§';entities['168']='¨';entities['169']='©';entities['170']='ª';entities['171']='«';entities['172']='¬';entities['173']='­';entities['174']='®';entities['175']='¯';entities['176']='°';entities['177']='±';entities['178']='²';entities['179']='³';entities['180']='´';entities['181']='µ';entities['182']='¶';entities['183']='·';entities['184']='¸';entities['185']='¹';entities['186']='º';entities['187']='»';entities['188']='¼';entities['189']='½';entities['190']='¾';entities['191']='¿';entities['192']='À';entities['193']='Á';entities['194']='Â';entities['195']='Ã';entities['196']='Ä';entities['197']='Å';entities['198']='Æ';entities['199']='Ç';entities['200']='È';entities['201']='É';entities['202']='Ê';entities['203']='Ë';entities['204']='Ì';entities['205']='Í';entities['206']='Î';entities['207']='Ï';entities['208']='Ð';entities['209']='Ñ';entities['210']='Ò';entities['211']='Ó';entities['212']='Ô';entities['213']='Õ';entities['214']='Ö';entities['215']='×';entities['216']='Ø';entities['217']='Ù';entities['218']='Ú';entities['219']='Û';entities['220']='Ü';entities['221']='Ý';entities['222']='Þ';entities['223']='ß';entities['224']='à';entities['225']='á';entities['226']='â';entities['227']='ã';entities['228']='ä';entities['229']='å';entities['230']='æ';entities['231']='ç';entities['232']='è';entities['233']='é';entities['234']='ê';entities['235']='ë';entities['236']='ì';entities['237']='í';entities['238']='î';entities['239']='ï';entities['240']='ð';entities['241']='ñ';entities['242']='ò';entities['243']='ó';entities['244']='ô';entities['245']='õ';entities['246']='ö';entities['247']='÷';entities['248']='ø';entities['249']='ù';entities['250']='ú';entities['251']='û';entities['252']='ü';entities['253']='ý';entities['254']='þ';entities['255']='ÿ';} if(useQuoteStyle!=='ENT_NOQUOTES'){entities['34']='"';} if(useQuoteStyle==='ENT_QUOTES'){entities['39']=''';} entities['60']='<';entities['62']='>';for(decimal in entities){symbol=String.fromCharCode(decimal);hash_map[symbol]=entities[decimal];} return hash_map;} bc_md3.prototype.base_convert=function(number,frombase,tobase){return parseInt(number+'',frombase|0).toString(tobase|0);} bc_md3.prototype.html_entity_decode=function(string,quote_style){var hash_map={},symbol='',tmp_str='',entity='';tmp_str=string.toString();if(false===(hash_map=this.get_html_translation_table('HTML_ENTITIES',quote_style))){return false;} delete(hash_map['&']);hash_map['&']='&';for(symbol in hash_map){entity=hash_map[symbol];tmp_str=tmp_str.split(entity).join(symbol);} tmp_str=tmp_str.split(''').join("'");return tmp_str;} var md3=new bc_md3(); function progressbar_bc() {this.bars={};this.defaultBarConfig={percentage:50,tippingPoint:0,startColor:'ff00ff00',endColor:'ff00ff00'}} progressbar_bc.prototype.add=function(name,config) {for(var i in this.defaultBarConfig) {if(typeof config[i]=='undefined') {config[i]=this.defaultBarConfig[i];}} var sCS={};sCS.a=parseInt(config.startColor.substring(0,2),16);sCS.r=parseInt(config.startColor.substring(2,4),16);sCS.g=parseInt(config.startColor.substring(4,6),16);sCS.b=parseInt(config.startColor.substring(6,8),16);var eCS={};eCS.a=parseInt(config.endColor.substring(0,2),16);eCS.r=parseInt(config.endColor.substring(2,4),16);eCS.g=parseInt(config.endColor.substring(4,6),16);eCS.b=parseInt(config.endColor.substring(6,8),16);config.sCS=sCS;config.eCS=eCS;this.bars[name]={'name':name,config:config,percentage:0};this.initialise(name);} progressbar_bc.prototype.initialise=function(name) {var config=this.bars[name].config;clearTimeout(this.bars[name].slideTimer);this.bars[name].slideTimer=setTimeout('progressbar.slideTo("'+name+'",'+config.percentage+');',60);} progressbar_bc.prototype.setPercentage=function(name,to) {var config=this.bars[name].config;clearTimeout(this.bars[name].slideTimer);this.bars[name].slideTimer=setTimeout('progressbar.slideTo("'+name+'",'+to+');',60);} progressbar_bc.prototype.calcColor=function(name) {var config=this.bars[name].config;var color={};var perc=this.bars[name].percentage;var coldiff=0;var prstep=0.1;var colvr2='hr';var hxval=0;var overtip=false;if(perc<=config.tippingPoint) {perc=0;} else {var remainder=100-config.tippingPoint;var perct=perc-config.tippingPoint;perc=Math.floor((perct/remainder)*100);overtip=false;} for(var col in config.sCS) {if(config.sCS[col]>config.eCS[col]) {coldiff=config.sCS[col]-config.eCS[col];prstep=coldiff/100;color[col]=config.sCS[col]-Math.floor(prstep*perc);} else if(config.sCS[col]0) {color.alpha=Math.floor(color.a/2.55);} else {color.alpha=0;} return color;} progressbar_bc.prototype.calcspeed=function(diff) {var returnval=Math.floor(diff*0.3);if(returnval<1) {returnval=1;} return returnval;} progressbar_bc.prototype.slideTo=function(name,to) {var config=this.bars[name].config;var step=1;clearTimeout(this.bars[name].slideTimer);if(to>this.bars[name].percentage) {step=this.calcspeed(to-this.bars[name].percentage);this.bars[name].percentage=this.bars[name].percentage+step;if(to!=this.bars[name].percentage) {this.bars[name].slideTimer=setTimeout('progressbar.slideTo("'+name+'",'+to+');',60);}} else if(to
 
'+htmlpost,'60%','90%',undefined,undefined,function(){puntdialog.onhide()},notclosable);} else {this.useloading=true;_lb.open('
');_tT.define('actionbutton','
 
{title}
');_tT.define('actionbutton_small','
 
{title}
');_tT.define('actionbutton_small_onclick','
 
{title}
');_tT.define('quickstartbutton','
 
{title}
 
{title}
');_tT.define('helpbox','
 
{text}


');_tT.define('corner_top','
');_tT.define('corner_bottom','
');_tT.define('breadcrumb','{description}');_tT.define('colorpicker','
 

{button1}{button2}
');_tT.define('step_front_delimeter_active','
');_tT.define('step_front_delimeter_inactive','');_tT.define('step_first_front_delimeter_active','
');_tT.define('step_first_front_delimeter_inactive','
');_tT.define('step_end_delimeter_active','
');_tT.define('step_end_delimeter_inactive','
');_tT.define('step_past','
{content}
');_tT.define('step_active','
{content}
');_tT.define('step_future','
{content}
');_tT.define('step_inside','
Stap {position}
{title}
');_tT.define('step_wrapper','
{step_contents}
');_tT.define('loading','
Laden...

{text}

');_tT.define('button','
 {title}
 
');_tT.define('lists_export','
Laden...

Bezig met laden individuele paginas:0/{totalpages}

');_tT.define('lists_export_inside','
Export/Simpele weergave.
Hieronder zie je de simpele weergave van de lijst. Deze kun je met de buttons hierboven veranderen naar een ander uitvoer formaat.
');_tT.define("lists_export_simpletable_sep",",");_tT.define("lists_export_simpletable_container","{contents}
");_tT.define("lists_export_simpletable_header","{contents}");_tT.define("lists_export_simpletable_headeritem","{description}");_tT.define("lists_export_simpletable_row","{contents}");_tT.define("lists_export_simpletable_rowitem","{htmlvalue}");_tT.define("lists_export_csv_sep",",");_tT.define("lists_export_csv_container","
");_tT.define("lists_export_csv_header","{contents}\n");_tT.define("lists_export_csv_headeritem","\"{description}\"");_tT.define("lists_export_csv_row","{contents}\n");_tT.define("lists_export_csv_rowitem","\"{value}\"");_tT.define("list_export_percentage",'{what}:{percentage}/100%'); function tTooltipDefaultConf() {this.zIndex=251;this.fontsize=12;this.top=20;this.left=10;this.color='#ffff00';this.bordercolor="black";this.pointsize=15;this.blankimage='/Layout/Mijndomein/blank.gif';this.timeout=2000;} function tTooltip() {_tT.define('tooltipinside','
{text}
');this.lastcolor='';this.disabled=false;this.orientation="left";this.mouseposx=0;this.mouseposy=0;this.updatetimeoutcounter=0;} tTooltip.prototype.debug=function(msg) {var tmpelem=document.getElementById('tooltip_debug');if(this.config.debug) {tmpelem.innerHTML=msg+'->'+this.mouseposx+this.mouseposy;}} tTooltip.prototype.init=function(config) {this.defaultconfig=new tTooltipDefaultConf();this.tooltips=[];this.config=config;if(typeof this.config=='object') {} else {this.config=[];} for(var i in this.defaultconfig) {if(typeof this.config[i]=='undefined') {this.config[i]=this.defaultconfig[i];}} this.checkdiv();} tTooltip.prototype.checkdiv=function() {if(!this.tdiv) {var bdy=document.getElementsByTagName('body').item(0);if(bdy){tdiv=document.createElement('div');tdiv.setAttribute('id','ttooltip');tdiv.style.display='none';tdiv.style.position='absolute';tdiv.style.top='0px';tdiv.style.left='0px';tdiv.style.zIndex=this.config.zIndex;tdiv.innerHTML='empty';bdy.appendChild(tdiv);tdiv=document.getElementById('ttooltip');document.onmousemove=function(e){_toolTip.updatepos(e)};this.tdiv=document.getElementById('ttooltip');tdiv2=document.createElement('div');tdiv2.setAttribute('id','ttooltip2');tdiv2.style.display='none';tdiv2.style.position='absolute';tdiv2.style.top='0px';tdiv2.style.left='0px';tdiv2.style.zIndex=this.config.zIndex;tdiv2.innerHTML='empty';bdy.appendChild(tdiv2);tdiv2=document.getElementById('ttooltip');document.onmousemove=function(e){_toolTip.updatepos(e)};this.tdiv2=document.getElementById('ttooltip2');}}} tTooltip.prototype.updatepos=function(e) {var noclear=false;this.updatetimeoutcounter++;if(this.updatetimeoutcounter>10) {noclear=true;} else {clearTimeout(this.updateto);} var mouseposx=0,x=0;var mouseposy=0,y=0;if(document.all){mouseposx=((document.documentElement&&document.documentElement.scrollLeft)?document.documentElement.scrollLeft:document.body.scrollLeft)+window.event.clientX;mouseposy=((document.documentElement&&document.documentElement.scrollTop)?document.documentElement.scrollTop:document.body.scrollTop)+window.event.clientY;} else {mouseposx=e.pageX;mouseposy=e.pageY;} this.mouseposx=mouseposx;this.mouseposy=mouseposy;this.debug('updatepos');if(!noclear) {this.updateto=setTimeout('_toolTip.doupdatepos()',100);}} tTooltip.prototype.doupdatepos=function() {this.updatetimeoutcounter=0;clearTimeout(this.updateto);if(this.isactive) {var tmpwidth=Math.ceil(this.windowsize.docwidth/4);if(this.mouseposx<((tmpwidth*2)-20)) {tmpwidth=this.calcwidth();this.debug('rescale 1 to :'+tmpwidth);this.tdiv.style.left=(this.mouseposx+this.config.left)+"px";this.tdiv.style.top=(this.mouseposy+this.config.top)+"px";if(this.orientation!='left') {this.orientation='left';this.redraw(this.orientation,tmpwidth);}} else {tmpwidth=this.calcwidth();this.debug('rescale 2 to :'+tmpwidth);this.tdiv.style.left=(((this.mouseposx-tmpwidth)+20)-this.config.left)+"px";this.tdiv.style.top=(this.mouseposy+this.config.top)+"px";if(this.orientation!='right') {this.orientation='right';this.redraw(this.orientation,tmpwidth);}}}} tTooltip.prototype.calcwidth=function() {var tmpwidth=Math.ceil(this.windowsize.docwidth/4);var dims=this.dimensions(document.getElementById('toolTipInside'));if((dims.w+10)>tmpwidth) {document.getElementById('toolTipInside').style.width=(tmpwidth-10)+'px';document.getElementById('tooltipballoon').style.width=(tmpwidth)+'px';this.tdiv.style.width=(tmpwidth)+'px';return tmpwidth;} else {this.tdiv.style.width=(dims.w+10)+'px';document.getElementById('tooltipballoon').style.width=(dims.w+10)+'px';return dims.w+10;}} tTooltip.prototype.redraw=function(direction,width,height) {document.getElementById('tooltippointythingie').innerHTML=this.drawpointything(direction,width);document.getElementById('tooltippointythingie').style.textAlign='right';} tTooltip.prototype.drawpointything=function(direction,width,height) {ht='';var sdirection='left';style='padding-left:10px;padding-right:10px;width:100%;';if(typeof direction!='undefined') {ht+='
';if(direction=='right') {sdirection='right';if(width!='undefined') {style='padding-left:'+(width-30)+'px;padding-right:20px;width:100%;';} else {}} else {sdirection='left';}} ht+='';if(typeof height!='undefined') {maxval=height;} else {maxval=this.config.pointsize;} for(gg=0;gg';sp2='';if(sdirection=='left') {ht+='';} else {ht+='';}} ht+='
'+sp1+sp2+'
'+sp2+sp1+'
';if(typeof direction!='undefined') {ht+='
';} return ht;} tTooltip.prototype.showsticky=function(element,data) {clearTimeout(this.to);this.checkdiv();if((typeof element=='object')&&(typeof data=='object')) {this.currentelement=element for(var i in this.defaultconfig) {if(typeof data[i]=='undefined') {data[i]=this.defaultconfig[i];}} this.currentdata=data;this.isactive2=true;dim=this.dimensions(element);this.tdiv2.style.position='absolute';this.tdiv2.style.top=(dim.y+40)+'px';this.tdiv2.style.left=(dim.x-375)+'px';this.tdiv2.style.width=400+'px';istyle='color:#'+data.fontcolor+';background-color:#'+data.color+';font-size:'+this.config.fontsize+'px;padding-left:2px;padding-right:2px;';text=data.text;innerhtml=this.drawpointything(data.orientation,400,20);innerhtml+=_tT.parse('tooltipinside',{style:istyle,color:data.color,text:text});this.tdiv2.innerHTML=innerhtml;this.tdiv2.style.display='block';this.calcwidth();}} tTooltip.prototype.show=function(element,data) {if(!this.disabled) {clearTimeout(this.to);this.currentdata=data;this.checkdiv();this.windowsize=this.getviewportsize();if((typeof element=='object')&&(typeof data=='object')) {if(this.lastcolor==data.color) {document.getElementById('toolTipInside').innerHTML=data.text;} else {this.currentelement=element for(var i in this.defaultconfig) {if(typeof data[i]=='undefined') {data[i]=this.defaultconfig[i];}} this.currentdata=data;this.tdiv.style.display="none";this.isactive=true;dim=this.dimensions(element);istyle='color:#'+data.fontcolor+';background-color:#'+data.color+';font-size:'+this.config.fontsize+'px;padding-left:2px;padding-right:2px;';text=data.text;this.orientation='left';var tmpwidth=Math.ceil(this.windowsize.docwidth/4);if(this.mouseposx<((tmpwidth*2)-20)) {this.orientation="left";} else {this.orientation="right";} innerhtml="
"+this.drawpointything(this.orientation)+"
";innerhtml+=_tT.parse('tooltipinside',{width:tmpwidth,style:istyle,color:data.color,text:text});var tmpwidth=Math.ceil(this.windowsize.docwidth/4);this.tdiv.innerHTML=innerhtml;} this.tdiv.style.display='block';this.doupdatepos();}}} tTooltip.prototype.hide=function() {try {this.tdiv.innerHTML='';this.tdiv.style.display='none';this.isactive=false;} catch(e) {this.isactive=false;}} tTooltip.prototype.hidesticky=function() {this.tdiv2.innerHTML='';this.tdiv2.style.display='none';this.isactive2=true;} tTooltip.prototype._getElementHeight=function(elem) {var h;h=elem.scrollHeight;return h;if(this.isOpera){h=elem.style.pixelHeight;}else{h=elem.offsetHeight;} return h;} tTooltip.prototype._getElementWidth=function(elem) {var w;w=elem.scrollWidth;return w;if(this.isOpera){w=elem.style.pixelWidth;}else{w=elem.offsetWidth;} return w;} tTooltip.prototype.dimensions=function(el) {var dim=[];dim.x=this.getPageOffsetLeft(el);dim.y=this.getPageOffsetTop(el);dim.w=this._getElementWidth(el);dim.h=this._getElementHeight(el);return dim;} tTooltip.prototype.getPageOffsetLeft=function(el){var x;x=el.offsetLeft;if(el.offsetParent!=null)x+=this.getPageOffsetLeft(el.offsetParent);return x;} tTooltip.prototype.getPageOffsetTop=function(el){var y;y=el.offsetTop;if(el.offsetParent!=null)y+=this.getPageOffsetTop(el.offsetParent);return y;} tTooltip.prototype.pageHeight=function() {var docHeight;if(typeof document.height!='undefined'){docHeight=document.height;} else if(document.compatMode&&document.compatMode!='BackCompat'){docHeight=document.documentElement.scrollHeight;} else if(document.body&&typeof document.body.scrollHeight!='undefined'){docHeight=document.body.scrollHeight;} return docHeight;} tTooltip.prototype.pageWidth=function() {var docWidth;if(typeof document.Width!='undefined'){docWidth=document.Width;} else if(document.compatMode&&document.compatMode!='BackCompat'){docWidth=document.documentElement.scrollWidth;} else if(document.body&&typeof document.body.scrollWidth!='undefined'){docWidth=document.body.scrollWidth;} return docWidth;} tTooltip.prototype.getviewportsize=function() {var viewportwidth;var viewportheight;docheight=this.pageHeight();docwidth=this.pageWidth();if(typeof window.innerWidth!='undefined') {viewportwidth=window.innerWidth;viewportheight=window.innerHeight;} else if(typeof document.documentElement!='undefined'&&typeof document.documentElement.clientWidth!='undefined'&&document.documentElement.clientWidth!=0) {viewportwidth=document.documentElement.clientWidth;viewportheight=document.documentElement.clientHeight;} else {viewportwidth=document.getElementsByTagName('body')[0].clientWidth;viewportheight=document.getElementsByTagName('body')[0].clientHeight;} viewprt=[];viewprt.width=viewportwidth;viewprt.height=viewportheight;if(docheight';puntapi.DoCommand(this.rpccontent[parent][id]['app'],this.rpccontent[parent][id]['cmd'],this.rpccontent[parent][id]['id'],this.rpccontent[parent][id]['query'],'','',id+"_content");this.rpccontent[parent][id]['loaded']=true;}}} treeview.prototype.globalToggle=function(id){this.toggle(id);this.recursiveToggle(this.treeviewid,this.toggles[id],id);} treeview.prototype.recursiveToggle=function(id,state,skip){divs=document.getElementById(id).getElementsByTagName('td');if(typeof(state)=='undefined'){state=this.toggles[id];} for(i=0;i<=divs.length;i++){if(divs[i]&&divs[i].id!=skip){branches=document.getElementById(divs[i].id+"_branches");if(branches){this.toggle(divs[i].id,state,true);}}} this.resetBackgrounds();} treeview.prototype.toggle=function(id,toggle,dontresetbackgrounds){branches=document.getElementById(id+"_branches");icon=document.getElementById(id+"_icon");if(branches){if(branches.className.indexOf('treeviewbranch_closed')!=-1&&((toggle===true)||typeof(toggle)=='undefined')){branches.className=branches.className.replace("treeviewbranch_closed",'treeviewbranch_open');if(this.rpccontent[id]){this.loadContent(id);} if(icon){icon.className=this.icons[id]['iconopen'];} this.toggles[id]=true;this.setNodeVisible(id,true);} else if(toggle===false||typeof(toggle)=='undefined'){branches.className=branches.className.replace("treeviewbranch_open",'treeviewbranch_closed');if(icon){icon.className=this.icons[id]['iconclosed'];} this.toggles[id]=false;this.setNodeVisible(id,false);}} if(!dontresetbackgrounds){this.resetBackgrounds();}} treeview.prototype.resetBackgrounds=function(){linestyle='firstline';var note;for(i=0;i<=this.totalid;i++){id=document.getElementById(this.treeviewid+'_'+i);if(id){if(this.isVisible(this.treeviewid+'_'+i)){background=document.getElementById(id.id+"_background");if(background){if(linestyle=='firstline'){background.className=background.className.substring(0,(background.className.length-9))+'firstline';linestyle='b';} else{if(linestyle=='a'){background.className=background.className.substring(0,(background.className.length-1))+'b';linestyle='b';} else{background.className=background.className.substring(0,(background.className.length-1))+'a';linestyle='a';}}}}}}} treeview.prototype.getParent=function(id){if(this.parentinfo[id]){return this.parentinfo[id];} else{return false;}} treeview.prototype.isVisible=function(id){if(!this.visibleinfo[id]){return false;} if(!this.getParent(id)){return true;} return this.isVisible(this.getParent(id));} function paymentReturns(cn){this.cn=cn;this.ontype=[];} paymentReturns.prototype.reset=function(){this.ontype=[];} paymentReturns.prototype.setOn=function(type,scheme,hostname,application,command,id,query,formtargetdiv){try{var i=this.ontype.length;this.ontype[i]={};this.ontype[i].type=type;this.ontype[i].scheme=scheme;this.ontype[i].hostname=hostname;this.ontype[i].application=application;this.ontype[i].command=command;this.ontype[i].id=id;this.ontype[i].query=query;this.ontype[i].formtargetdiv=formtargetdiv;} catch(e){alert(JSON.stringify(e));}} paymentReturns.prototype.debug=function(){alert(JSON.stringify(this.ontype));} paymentReturns.prototype.on=function(type){for(i=0;i'+_tT.parse(tmpl,tmpobj)+'
';} _lb.tmpInnerStyle='font-family:Trebuchet MS;font-size:10px;text-align:left;width:612px;';_lb.tmpOuterWidth='612px';html+='
';_lb.open(html);} dialogSelect.prototype.attachEventsToElements=function(val) {var item;o=0;for(val in this.config.items) {o++;item=dialogSelectContainer._(this.id+'_dialogselectitem_'+o+'_container');try {item.selectid=this.id;} catch(e) {alert(typeof item);} dialogSelectContainer._ae(item,'click',function(e) {var targ;if(!e)var e=window.event;if(e.target)targ=e.target;else if(e.srcElement)targ=e.srcElement;if(targ.nodeType==3) targ=targ.parentNode;e.cancelBubble=true;if(e.stopPropagation)e.stopPropagation();var selectval='';var selectid='';var items=targ.getElementsByTagName('input');for(var uu=0;uu
{title}
{text}
');dialogSelectContainer._initBulk(DSonInitialise); function wsm_bc() {} wsm_bc.prototype.init=function() {var tmpObj=puntapi._('wsm_sessionContainerfloater');if(tmpObj) {tmpObj.style.display='block';}} wsm_bc.prototype.sessionbarTapped=function() {var tmpObj=puntapi._('wsm_sessionContainerfloater');if(tmpObj) {tmpObj.style.display='none';} var tmpObj=puntapi._('wsm_sessionContainer');if(tmpObj) {tmpObj.style.display='block';}} wsm_bc.prototype.sessionbarClose=function() {var tmpObj=puntapi._('wsm_sessionContainer');if(tmpObj) {tmpObj.style.display='none';} var tmpObj=puntapi._('wsm_sessionContainerfloater');if(tmpObj) {tmpObj.style.display='block';}} wsm_bc.prototype.translationBarStart=function(lang) {puntapi.currentlang=lang;puntapi.currentlangtags=puntapi._('allLanguageTags').value;var parts1=puntapi.currentlangtags.split("/");var parts2=parts1[0].split(",");if((parts2.length>0)&&(parts2[0]!='')) {var tmpObj=puntapi._('wsm_translationbar');if(tmpObj) {tmpObj.style.display='block';} puntapi._('wsm_translationbar_counter').innerHTML=parts2.length;try {puntapi.printLanguageWidget();} catch(e) {alert(e);}}} wsm_bc.prototype.translationBarOpen=function() {var tmpObj=puntapi._('wsm_translationbar');if(tmpObj) {tmpObj.style.display='none';} var tmpObj=puntapi._('wsm_translationbarFull');if(tmpObj) {tmpObj.style.display='block';}} wsm_bc.prototype.translationBarClose=function() {var tmpObj=puntapi._('wsm_translationbarFull');if(tmpObj) {tmpObj.style.display='none';} var tmpObj=puntapi._('wsm_translationbar');if(tmpObj) {tmpObj.style.display='block';}} var wsm=new wsm_bc();wsm.init(); if(typeof loaderbar=='object'){loaderbar.loadedfile('interfacepack.js')};