if(typeof scriptParsing=='function')scriptParsing('default');function
PoolEntity(a,b){4|14;this.win=window;window.ilcsName="tmp";this.available=window.testUnloading=function()
{4|19;try{return!window.closed&&window.ilcsName&&window.document&&window.document.getElementsByTagName("body").length}catch(a){return!1}
};var c=this,d=function(a,b)
{4|34;if(!a)return!1;var c=!1;try{c=a.getIlcsObj(b)}catch(e){}try{for(var f=0;!c&&f<(a.frames||[]).length;f++)c=d(a.frames[f],b)}catch(e){}return c
},e,f,g,h=this._setEntity=function(a,b)
{4|53;b?f[a]=b:delete f[a]
},i=function(a,b)
{4|59;h(a,b);g(function(c)
{4|62;c._setEntity(a,b)
})
},j=this.getEntity=function(a)
{4|67;try{if(!a){for(var b in f){var d=j(b);if(d)return d}return!1}var e=f[a];if(!e)return!1;if(e.available&&e.available())return e;try{e.win&&(e.win.ilcsName=undefined)}catch(d){}try{deleteCookie("ilcs_"+a)}catch(d){}}catch(d){DBG("unknown getEntity err: "+d)}i(a);c.entityLost&&c.entityLost(a);return!1
};g=this.forEach=function(a)
{4|101;for(var b in f){var c=j(b);c&&a(c)}
};var k=this.getVal=function(a)
{4|109;return e[a]
},l=this.setVal=function(a,b)
{4|110;g(function(c)
{4|110;c._setVal(a,b)
})
};this.chVal=function(a,b)
{4|111;var c=b(k(a));l(a,c);return c
};this._setVal=function(a,b)
{4|112;e[a]=clone(b)
};var m=d(top,a)||d(window.opener,a);m&&DBG("ev: pool with top/opener");var n={},o=document.cookie.split("; ");for(var p=0;p<o.length;p++){var q=o[p].split("=");if(q[0].substr(0,5)!="ilcs_")continue;var r=parseInt(q[0].substr(5));n[r]=!0;if(m)continue;var s=q[1].split(":"),t=s[0]&&s[0]!="*"?s[0]:q[0];DBG("ev: cookie: "+o[p]+" -> "+t);var u=!1;try{u=window.open("",t,"",!1);DBG("ev: -> "+(u?"found":"blocked"))}catch(v){DBG("ev: -> except");u=!1}if(u&&(m=d(u,a)))DBG("ev: pool from cookie "+o[p]);else if(!u||!d(u)){deleteCookie(q[0]);if(u&&typeof u=="object"&&window!=u&&u.close){DBG("ev: reclosing");try{u.close()}catch(v){}}}}var w;do var w=rnd()&32767;while(n[w]);this.id=w;var x="ilcs_"+w;if(!m){DBG("ev: new pool");m={udata:b||{},entities:{}}}e=this.udata=clone(m.udata);f=this.entities=clone(m.entities,!0);i(w,this);window.ilcsName=a;window.ilcsObj=this;window.getIlcsObj=function(a)
{4|183;return!a||this.ilcsName==a?this.ilcsObj:!1
};try{top.name=x}catch(v){}try{window.name=x}catch(v){}var y=top.name||window.name||y;y==x&&(y="*");DBG("ev: window.name: "+window.name+"");this.cookie=function(a)
{4|194;a=y+(a?":"+a:"");document.cookie=x+"="+a+"; path=/"
};this.cookie();var z=function()
{},A=this.destroy=function()
{4|203;DBG("ev: destroy");c.onunload&&c.onunload();c.stateChanged=z;window.ilcsName=window.ilcsObj=!1;c.available=function()
{4|209;return!1
};j(w)
};window.addCallback&&window.addCallback("onunload",A)
}function
EventConnection(a){4|291;var b=rnd(),c=this,d=String.fromCharCode(1),e=String.fromCharCode(2),f=this.sep=String.fromCharCode(3),g=String.fromCharCode(4),h=String.fromCharCode(5);this.stateChanged=function(a)
{4|314;DBG("ev: stateChanged: "+a);var b;a>=1&&(b=fetchProp(c,"modal"))?b.cancel():!a&!c.modal&&window.Modal&&(c.modal=(new Modal({title:"Geen verbinding met de site",aboveWait:!0,content:"Op dit moment kan er geen verbinding worden gemaakt met Paiq. Dit kan twee oorzaken hebben:<br /><ul><li>De internetverbinding tussen jou en Paiq is weggevallen.</li><li>Er is een probleem met de site. Dit komt weinig voor, maar zou kunnen gebeuren, in welk geval: sorry!</li></ul>En nu?<ul><li>Gewoon even wachten. Dit bericht verdwijnt vanzelf wanneer de verbinding is hersteld.</li><li>Probeer eens te <a href=\"javascript: refresh();\">herladen</a>.</li><li>Kan je wel andere websites openen? Zo niet, dan is er waarschijnlijk iets mis aan jouw kant.</li><li>Als het probleem aanhoudt, laat het ons dan alsjeblieft <a href='mailto:support@paiq.nl'>even weten</a>!</div>",options:[]})).show())
};var i=[],j={},k={0:errorReload,1:!0},l=99,m=function(a,b,d,f)
{4|354;DBG("ev: sending for entity "+(d||c.id)+": "+a);if(i){i.push(arguments);DBG("ev: delayed: still loading..");return}var g=c.chVal("reqSeqNr",function(a)
{4|362;return parseInt(a||0)+1
});c.chVal("reqArr",function(b)
{4|363;b.push([g,""+(d||c.id)+e+a]);return b
});f&&c.setVal("signing",!0);(!b||b<=0)&&A(!0,b<0)
};function
n(){4|375;DBG("ev: cancel");var a={};if(arguments.length>0)for(var b=0;b<arguments.length;b++)a[b]=this[arguments[b]];else a=this;var c=[];for(var b in a){if(!k[a[b]])continue;delete k[a[b]];c.push(a[b])}m("C"+c.join(e),1)
}var o=!1;this.send=function()
{4|396;var a=arguments.length>1?arguments:arguments[0].split(f),b="",c=a[0].split("!");if(c.length>1){b=e+c[0];c=c[1]}else c=c[0];var d={cancel:n},g=[],h=[b,c];for(var i=1;i<a.length;i++){var j,p=a[i];if(p==null||typeof p!="function"&&typeof p[0]!="function"&&typeof p[1]!="function"&&typeof p[2]!="function"){h.push(p);g.push("j"+toJson(p))}else{k[l+=1]=p;g.push("c"+l);d[i]=l;h.push("<cb"+l+">")}}DBG("ev send:",h);m((o?"I":"M")+"paiq.nl"+"|"+c+f+g.join(f)+b,0,undefined,o);o=!1;return d
};this.signed=function()
{4|433;o=!0;return this.send.apply(this,arguments)
};var p=function(a)
{4|439;return{evParams:toSemiJson(a)}
};this.resp=function(a)
{4|446;var b=parseInt(a.shift()),c=a.shift(),d,e=k[b];if(!e)return;for(var f=0;f<a.length&&this.available&&this.available();f++){var i=a[f].split(g);if(i[0].charAt(0)==h){i[0]=i[0].substring(1);i[i.length-1]===""&&i.pop();i=xEval("["+i.join(",")+"]")}DBG("ev resp:",b,i);errExtra.push([p,i]);d=callback(e,i)===!0||d;errExtra.pop()}c=(j[b]||0)+(c=="+"?1:c=="-"?-1:parseInt(c||0));if(d&&c>=0){m("C"+b,1);c=0}if(c<0){delete k[b];delete j[b]}else j[b]=c
};var q,s,t,u,v,w,x,y,z=!1,A,B=function()
{4|491;A()
},A=this.triggerMaster=function(a,b)
{4|494;z&&clearTimeout(z);if(this.isMaster=="unload"){DBG("ev: unload blocks trigger");return}z=setTimeout(B,750);if(d&&!d.isMaster){DBG("ev: master problem?");d=0}var d=c.getVal("master");d&&(d=c.getEntity(d));if(!d){DBG("ev: becoming master");c.setVal("master",c.id);d=c;a=!0;q=!0}a&&d.reconnectSoon(b)
},C=function()
{4|525;DBG("ev: stopMaster");if(s){s.onreadystatechange=function()
{};s.abort()}v&&clearTimeout(v);w&&clearTimeout(w);x&&clearTimeout(x);q=s=v=w=x=0
};this.entityLost=function(a)
{4|538;DBG("ev: entityLost "+a);if(a!=this.getVal("master"))m("D",0,a);else{m("D",1,a);a==this.id&&C();var b=this.getEntity();if(b)b.triggerMaster(!0);else if(c.getVal("reqArr").length){q="unload";u()}}
};var D=function(a)
{4|569;var b=y;y=a;if(a==b||a==1&&b>1)return;c.forEach(function(b)
{4|576;b.stateChanged(a)
})
},E=0,F=function()
{4|581;w=0;u()
},G=function()
{4|582;E++&&D(0);x=0;L=4;t=2;u()
},H=function()
{},I=function(a)
{4|593;DBG("ev IN:",a);if(x){clearTimeout(x);x=0}if(w){clearTimeout(w);w=0}var b=(a||"").split(d),f=b.shift().split(e),g=parseInt(f[1]),h=c.getVal("bid");if(f[0]!="ilcs"){if(f[0].match(/running-in-maintenance-mode/))return errorReload("maintenance");DBG("ev: invalid bid: "+f[0]);L=4;E++&&D(0);v&&clearTimeout(v);v=setTimeout(u,E==1?500:3e3);return}else if(!g||h&&h!=g){DBG("ev: resync");c.destroy();c.forEach(function(a)
{4|617;if(c!=a){a.destroy();a.win.errorReload("resync")}
});c.destroy();errorReload("resync");return}else D(h?h==g?1:3:2);E=0;L<30&&(L+=2);c.cookie(g);c.setVal("bid",g);c.setVal("sec",f[2]);var i=parseInt(f[3]);c.chVal("reqArr",function(a)
{4|642;while(a.length&&i>=a[0][0])a.shift();return a
});c.getVal("reqArr").length||c.setVal("signing",!1);var j;for(var k=0;k<b.length;k++){r=b[k].split(e);if(!r[1])continue;j=r.shift();(function(a)
{4|658;setTimeout(function()
{4|659;var b=c.getEntity(parseInt(a.shift()));b&&b.resp(a)
},0)
})(r)}j&&c.setVal("lastResp",j);if(f[4]=="D"){DBG("ev: disconnect");c.setVal("reqSeqNr",0);c.setVal("bid",0);c.setVal("sec",0);c.setVal("lastResp",0);c.getVal("reqArr").length?u():z&&clearTimeout(z)}else u()
},J=0,K=function(a)
{4|686;if(!s||a!=J||s.readyState!=4)return;s.onreadystatechange=H;var b=s.responseText;s=0;I(b)
},L=30;u=function()
{4|705;if(v){clearTimeout(v);v=0}if(!q){DBG("ev: !isMaster");return}if(s){if(!t||w&&t<2)return!1;s.onreadystatechange=function()
{};!dd.android&&location.protocol!="https:"&&s.abort()}t=0;x&&clearTimeout(x);x=setTimeout(G,(L+10)*1e3);var b="ilcb"+e+L+e+c.getVal("bid")+e+c.getVal("sec")+e+c.getVal("lastResp")+e+e+32+d,f=c.getVal("reqArr");for(var g=0;g<f.length;g++)b+=""+f[g][0]+e+f[g][1]+d;w&&clearTimeout(w);w=f.length?setTimeout(F,500):0;J+=1;var h=J;DBG("ev OUT:",b);var i=c.getVal("signing");location.protocol=="https:"&&(a=a.replace(/^http:/,"https:"));var j=a+(i?"Get":"")+"?r="+rnd();try{s=!1;if(window.ActiveXObject)try{s=new ActiveXObject("Msxml2.XMLHTTP")}catch(k){try{s=new ActiveXObject("Microsoft.XMLHTTP")}catch(l){}}if(!s)if(typeof XMLHttpRequest!="undefined")s=new XMLHttpRequest;else throw 1;s.open("POST",j,"unload"!=q);if("unload"!=q){if(s.readyState==0)throw 2;s.onreadystatechange=function()
{4|795;K(h)
}}s.send(b)}catch(m){var k=encodeURIComponent;k="_noxmlhttp?exception="+k(m.toString())+"&url="+k(a)+"&location="+k(location.href);DBG(k);location.href=k}
};this.start=function()
{4|810;DBG("ev.start");var a=i;i=!1;for(var b=0;b<a.length;b++)m.apply(null,a[b])
};this.reconnectSoon=function(a)
{4|820;t||(t=1);if(a){t=2;u()}else v||(v=setTimeout(u,10))
};var M={reqArr:[],reqSeqNr:0,bid:0,sec:0,lastResp:0};PoolEntity.call(this,location.host+a,M)
}function
functionRestricted(a,b,c){5|3;if(!a)return;if(a=="autoMatching"){a="Matchen";b="door de kunstmatige intelligentie gematcht te worden"}var d,e=a+": "+(c=="age"?"niet mogelijk..":"alleen voor geregistreerde leden..");if(c=="age")d=new Modal({title:e,content:"Helaas: je moet minimaal <b>16 jaar</b> oud zijn om van Paiq gebruik te mogen maken"});else{d=new Modal({title:e,options:["Annuleren",!1,"Inschrijven",function()
{5|21;d.cancel();showModal("Signup")
}]});d.content=new InlineWidget("<br /><b>Registreer je nu gratis op "+"Paiq"+" om "+b+".</b><br /><br />Na registratie kun je:<ul><li><p>SpeedDaten & BattleDaten</p></li><li><p>Gematcht worden</p></li><li><p>OneLiners versturen & ontvangen</p></li><li><p>Je foto's laten beoordelen</p></li><li><p>.. en meer!</p></li></ul>Inschrijven kost je slechts enkele minuten!")}d.show()
}function
showNeedToMeetRequest(a){5|40;incrLoading();loadCall(R+"8/j/needToMeet.js",function()
{5|42;(new NeedToMeetRequestModal(a)).schedule();decrLoading()
})
}function
showSweepstake(a){5|45;loadCall(R+"8/j/sweepstake.js",function()
{5|47;(new SweepstakeModal({modalId:a})).schedule()
})
}function
modalDialog(a,b,c,d){5|51;(new Modal({modalId:a,title:b,content:c,options:d})).schedule()
}function
fancyModalDialog(a,b,c,d){5|61;modalDialog(a,b,fancyText(c),d)
}function
viewPhotos(a,b,c){6|8;showModal("Photos",a,b,c)
}function
showHistory(a,b){6|13;showPopup("_history?otherUserId="+a+""+(b?"&me="+b:"")+"#end")
}window.R="/d"+"/";window.siteName="Paiq",window.siteNameCapt="Paiq",window.siteUsers="paiqers";if(typeof window=="undefined"){window=self=global;location={href:""};top={};document={cookie:"",location:location}}xEval=function(arg)
{117|23;return eval(arg)
};var toJson,toSemiJson,fromJson;(function()
{7|22;var a,b,c,d={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},e={array:function(a)
{7|39;var b=[],c=a.length,d;for(var e=0;e<c;e+=1){try{d=f(a[e])}catch(g){d=null}if(d===null)return null;b.push(d)}return"["+b.join(",")+"]"
},"boolean":function(a)
{7|53;return String(a)
},"null":function(a)
{7|56;return"null"
},"undefined":function(a)
{7|59;return"null"
},number:function(a)
{7|62;return isFinite(a)?String(a):"null"
},object:function(a)
{7|65;if(!a)return"null";if(a instanceof Array||a.callee)return e.array(a);var b=[],c;for(var d in a){d=String(d);if(d.substr(d.length-3,3)=="___")continue;try{c=f(a[d])}catch(g){c=null}if(c===null)return null;b.push(e.string(d)+":"+c)}return"{"+b.join(",")+"}"
},string:function(a)
{7|85;a=a.replace(/([\x00-\x1f\\"])/g,function(a,b)
{7|86;var c=d[b];if(c)return c;c=b.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)
});return'"'+a+'"'
}};function
f(a){7|98;var b=e[typeof a];if(!b)return null;a=b(a);return typeof a=="string"?a:null
}var g={array:function(d)
{7|108;var e=[],f,g=d.length,i,j=g>20?20:g;if(a.length>b)return"[array-too-deep]";for(var k=0;k<j;k+=1){try{i=h(d[k])}catch(l){i="[exception: "+l+"]"}e.push(i)}j<g&&e.push("[and-"+(g-j)+"-others]");if(c&&e.length>1)return"[\n"+a+a+"  "+e.join(",\n"+a+a+"  ")+"\n"+a+a+"]";return"["+e.join(", ")+" ]"
},"boolean":function(a)
{7|126;return String(a)
},"null":function(a)
{7|129;return"null"
},"undefined":function(a)
{7|132;return"undefined"
},number:function(a)
{7|135;return isFinite(a)?String(a):"infinity"
},object:function(d)
{7|138;if(!d)return"null";if(d instanceof Array||d.callee)return g.array(d);var e=[],f,i=0;if(a.length>b)return"[object-too-deep]";for(var j in d){i++;if(i>=20){e.push("[and-others]");break}j=String(j);if(j.substr(j.length-3,3)=="___")continue;try{f=h(d[j])}catch(k){f="[exception: "+k+"]"}e.push(g.string(j)+(c?": ":":")+f)}if(c&&e.length>1)return"{\n"+a+a+"  "+e.sort().join(",\n"+a+a+"  ")+"\n"+a+a+"}";return"{ "+e.join(", ")+" }"
},string:function(a)
{7|164;a=a.replace(/([\x00-\x1f\\"])/g,function(a,b)
{7|165;var c=d[b];if(c)return c;c=b.charCodeAt();return"\\0"+Math.floor(c/16).toString(16)+(c%16).toString(16)
});return'"'+a+'"'
}};function
h(b){7|177;var c=g[typeof b];if(!c)return"["+typeof b+"]";var d=a;a=a===!1?"":a+" ";b=c(b);a=d;return typeof b=="string"?b:"[error]"
}toSemiJson=function(d,e,f)
{7|188;b=e||2;a=!1;c=f;return h(d)
};if(typeof JSON=="object"&&JSON.stringify&&JSON.parse){fromJson=function(a)
{7|200;try{return JSON.parse(a)}catch(b){return!1}
};toJson=function(a,b)
{7|209;if(b)return toSemiJson(a);try{return JSON.stringify(a)}catch(c){return null}
}}else{fromJson=function(a)
{7|222;if(!a)return!1;try{return!/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(a.replace(/"(\\.|[^"\\])*"/g,""))&&xEval("("+a+")")}catch(b){return!1}
};toJson=function(a,b)
{7|232;if(b)return toSemiJson(a);return f(a)
}}
})();errExtra=[];(function()
{117|30;var a=window;String.prototype.strip=function()
{117|32;return this.replace(/^\s*|\s*$/g,"")
};typeof a.encodeURIComponent=="undefined"&&(encodeURIComponent=escape);typeof a.decodeURIComponent=="undefined"&&(decodeURIComponent=unescape);realAlert=a.alert;var b;getGet=function(a)
{117|39;if(!b){b=[];var c=location.href.split("?");c=(c[1]||"").split("#")[0].split("&");for(var d=0;d<c.length;d++){var e=c[d].split("=");b[e[0]]=e[1]}}return b[a]?decodeURIComponent(b[a]):!1
};escapeHtml=function(a)
{117|53;if(a===undefined||a===null)return"";a.replace||(a=new String(a));return a.replace(/&/g,"&amp;").replace(/</g,"&lt;")
};unescapeHtml=function(a)
{117|60;return a.replace(/&lt;/g,"<").replace(/&amp;/g,"&")
};escapeHtmlString=function(a)
{117|66;if(a===undefined||a===null)return"";a.replace||(a=new String(a));return a.replace(/&/g,"&amp;").replace(/'/g,"&#039;").replace(/"/g,"&quot;")
};addSlashes=function(a)
{117|73;a=a.replace(/\\/g,"\\\\");a=a.replace(/'/g,"\\'");return a.replace(/"/g,'\\"')
};ucfirst=function(a)
{117|80;return typeof a=="string"?a.charAt(0).toUpperCase()+a.slice(1):""
};rnd=function()
{117|85;return Math.round(Math.random()*999999)
};dd=function()
{117|90;if(window.global===window)return{node:!0};var a=navigator.userAgent.toLowerCase(),b={},c;if((c=a.indexOf("msie "))>=0){b.ie=document.documentMode||parseInt(a.substring(c+5).split(".")[0])||6;b.ie==6&&(b.ie6=!0);b.ie<8&&(b.ie67=!0)}else if(a.indexOf("firefox/3.")>=0||a.indexOf("iceweasel/3.")>=0)b.ff3=!0;else if(a.indexOf("webkit")>=0){b.webkit=!0;a.indexOf("blackberry")>=0?b.bb=!0:a.indexOf("android")>=0?b.android=!0:a.indexOf("ipad")>=0?b.ipad=!0:a.indexOf("iphone")>=0||a.indexOf("ipod")>=0?b.iphone=!0:a.indexOf("chrome/")>=0?b.chrome=!0:a.indexOf("safari/")>=0&&(a.indexOf("mac os x")>=0||a.indexOf("windows")>=0)&&(b.saf=!0)}b.png=getGet("png")?fromJson(getGet("png")):!b.ie6;try{var d=document.createElement("audio");if(d&&d.canPlayType){d.canPlayType("audio/mpeg;").replace(/no/,"")&&(b.audio="mp3");d.canPlayType('audio/ogg; codecs="vorbis"').replace(/no/,"")&&(b.audio="ogg")}}catch(e){}return b
}();objectEmpty=function(a)
{117|139;for(var b in a)return!1;return!0
};objectsSimilar=function(a,b,c)
{117|148;if(a===b)return!0;if(typeof a!="object"||typeof b!="object")return!1;for(var d in a)if(c?!objectsSimilar(a[d],b[d]):a[d]!==b[d])return!1;for(var d in b)if(c?!objectsSimilar(b[d],a[d]):b[d]!==a[d])return!1;return!0
};clone=function(a,b,c)
{117|161;if(!a||typeof a!="object")return a;var d;if(a.reverse||a.callee){d=[];if(b)for(var e=0;e<a.length;e++)d[e]=a[e];else for(var e=0;e<a.length;e++)d[e]=clone(a[e])}else{d=c?c:{};if(b)for(var e in a)d[e]=a[e];else for(var e in a)d[e]=clone(a[e])}return d
};extendObject=function(a,b)
{117|181;for(var c in b)a[c]=b[c];return a
};fetchProp=function(a,b)
{117|188;var c=a[b];typeof c!="undefined"&&delete a[b];return c
};walkTree=function(a,b,c)
{117|195;c===undefined&&(c=!1);if(b.length==undefined)return c;var d=a;for(var e=0;e<b.length;e++){d=d[b[e]];if(d===undefined)return c}return d
};var c={enabled:getGet("dbg"),pageLoadTime:(new Date).getTime(),last:[]};dbgcfg=c;var d,e=function(b)
{117|219;try{if(!a.document||!document.body)return;var e=[];for(var f=0;f<b.length;f++){var g=b[f];if(typeof g=="string"){g=g.replace(/[\x00-\x1F]/g,function(a)
{117|228;var b=a.charCodeAt(0);return"\\"+Math.floor(b/16).toString(16)+(b%16).toString(16)
});e.push(escapeHtml(g));continue}if(a.toSemiJson){var h=toSemiJson(g);if(typeof h=="string"){e.push("<span style='color: #8ff;'>"+escapeHtml(h)+"</span>");continue}}e.push("<span style='color: red;'>"+escapeHtml(""+g)+"</span>")}var i=e.join('<span style="color: #666;"> _ </span>');if(!d){var j="DBG_parent";if(c.enabled=="x"){var k=a.open("about:blank");k.document.write("<table width='100%'><tbody id='"+j+"' style='color: white'></tbody></table>");k.document.close();d=k.document.getElementById(j)}else{var l=document.createElement("span");l.innerHTML="<table width='250' style='width: 250px; position: absolute; top: 10px; left: 100%; overflow: auto; border: 2px solid white; background-color: black; color: white; filter: alpha(opacity=70); opacity: 0.7; z-index: 500000;'><tbody id='"+j+"'></tbody></table>";document.body.firstChild?document.body.insertBefore(l,document.body.firstChild):document.body.appendChild(l);d=document.getElementById(j)}}var m=document.createElement("td");m.style.borderBottom="1px dashed #808080";m.innerHTML=i;var n=document.createElement("tr");n.style.backgroundColor=d.childNodes.length&1?"black":"#202020";n.appendChild(m);d.appendChild(n)}catch(o){if(!c.failed){var p="DBG failed: "+o;a.oldAlert?oldAlert(p):alert(p);c.failed=!0}}
};enableDBG=function()
{117|291;c.enabled=!0;for(var a=0;a<c.last.length;a++)e(c.last[a])
};DBG=function()
{117|301;var b=Array.prototype.slice.call(arguments);b.unshift((new Date).getTime()-c.pageLoadTime);c.last.push(b);c.last.length>16&&c.last.shift();c.enabled&&e(b);if((0||c.enabled=="console")&&typeof console=="object"){if(dd.ie||dd.android){var d="";for(var f=0;f<b.length;f++){f&&(d+=" ");typeof b[f]=="string"?d+=b[f]:a.toSemiJson?d+=toSemiJson(b[f]):d+="missingToSemiJson"}b=[d]}console.log.apply(console,b)}
};var f=0;errTrace=function(a)
{9|2;a=a||errTrace.caller||errTrace;f++;var b=f,c=[];try{while(a&&c.length<15){var d=[];for(var e=0;e<(a.arguments||[]).length;e++)d.push(a.arguments[e]);c.push(a,d);if(a.traceNum>=b){c.push("recursion");break}a.traceNum=b;a=a.caller}}catch(g){c.push("err:"+g)}return c
};window.errNullHandler=function()
{9|28;window.DBG&&DBG("onerror in err handler",arguments)
};var g,h,i;window.handleErrQueue=[];window.errReport=function(a)
{9|35;var b=window.onerror;try{var c=(new Date).getTime();if(g){if(c<g+5e3)return;try{var d=clone(a);if(objectsSimilar(d,h,!0))return;h=d}catch(e){}}a.time=g=c;b&&(window.onerror=errNullHandler);a["#trace"]=errTrace(errReport);m&&(a.noCatch=!0);for(var f=(window.errExtra||[]).length-1;f>=0;f--)try{var i=callback(errExtra[f]);for(var f in i)a["+"+f]=i[f]}catch(e){a["+"+f]="exception: "+e}errExtra=[];if(window.handleErrQueue){handleErrQueue.push(a);var j=document.createElement("SCRIPT");j.src=R+"2/j/handleErr.js";j.type="text/javascript";document.getElementsByTagName("head").item(0).appendChild(j)}else handleErr(a)}catch(e){DBG("except in err handling: "+e)}b&&(window.onerror=b)
};var j=getGet("err"),i;j||(window.onerror=function()
{9|90;errReport({onError:arguments,exception:i});i=undefined;return!0
});var k=xEval,l=function(a)
{9|97;return{evalStr:a[0]+(a[1]?" // "+a[1]:""),evalTrace:errTrace(xEval)}
};j||(xEval=function(a)
{9|104;errExtra.push([l,arguments]);r=k(a);errExtra.pop();return r
});var m=dd.ie&&dd.ie<9||dd.chrome&&Math.random()>.5;function
n(a){9|118;if(m||j)return a;return function()
{9|126;if(window.onerror===errNullHandler){window.DBG&&DBG("err null handler");return a.apply(this,arguments)}try{return a.apply(this,arguments)}catch(b){if(!b.catchTrace){i=b;setTimeout(function()
{9|144;if(i===b){i=undefined;errReport({exception:b})}
},1);try{b.catchTrace=errTrace(arguments.callee.caller)}catch(c){}}throw b}
}
}callback=n(function(a,b,c)
{117|356;if(!a)return;if(a===!0)return xEval(b.join(";"));var d=typeof a;if(d=="string"){d="function";if(typeof self[a]!=d)return xEval(a);a=self[a];c=self}if(d=="function")return b?a.apply(c||self,b):a.call(c||self);if(d!="object")throw new Error("unexpected callback type "+d);if(a.reverse||a.callee){var e=a,f=1,g=!0;a=e[0];if(a===!1){g=!1;a=e[f++]}if(typeof a=="object"){c=a;a=e[f++]}typeof a=="string"&&(a=(c||self)[a]);var h=[];for(var i=f;i<e.length;i++)h.push(e[i]);if(g)for(var i=0;i<(b?b.length:0);i++)h.push(b[i]);b=h}else{b=b||[];c=a;var j=b.shift();a=c[j];if(!a){if(!j)return;a=c.__call;if(!a)throw new Error("callback obj "+c+" has no "+j+"");b.unshift(j)}}if(!a.apply)throw new Error("callback error: "+a);else return b?a.apply(c,b):a.call(c)
});mkcb=function(a)
{117|417;return function()
{117|419;return callback(a,arguments)
}
};chainCb=function()
{117|429;var a=[],b=0,c=!1;if(arguments[0]===!0||arguments[0]===!1){b=1;c=arguments[0]}for(;b<arguments.length;b++)a.push(arguments[b]);var d=this;return function()
{117|444;var b=[];for(var e=0;e<arguments.length;e++)b.push(arguments[e]);var f;for(var e=0;e<a.length;e++){f=callback(a[e],b,d);if(c&&f===!1)break}return f
}
};objDispatch=function(a)
{117|460;return this[a].apply(this,Array.prototype.slice.call(arguments,1))
};setCallbackTimeout=function(a,b)
{117|466;return setTimeout(function()
{117|468;callback(a)
},b)
};a.objDispatch=function(a)
{117|472;return this[a].apply(this,Array.prototype.slice.call(arguments,1))
};objectExtensions=new function()
{117|478;var a=this.sup=function(b)
{117|482;var c=[];for(var d=1;d<arguments.length;d++)c.push(arguments[d]);var e=[],f=this.Class;if(f){f=f.prototype;if(f){f=f[b];f&&e.push(f)}}var g=this.Sup;while(g){g[b]&&e[e.length-1]!==g[b]&&e.push(g[b]);g=g.Sup}for(var d=e.length-1;d>=0;d--)if(e[d]===a.caller){if(e[d+1])return e[d+1].apply(this,c);return}if(e[0])return e[0].apply(this,c)
};this.newWithProto=function()
{117|515;var a=function()
{};a.prototype=this;return new a
};this.timeout=function(a,b,c)
{117|522;a="_to_"+a;var d=this;if(this[a]){clearTimeout(this[a]);b||delete this[a]}b&&(this[a]=setTimeout(function()
{117|530;delete d[a];callback(b,undefined,d)
},c))
};this.fetch=function(a)
{117|533;var b=this[a];typeof b!="undefined"&&delete this[a];return b
};this.basics=[]
};newWithArray=function(a,b)
{117|543;var c=function()
{117|544;return a.apply(this,b)
};c.prototype=a.prototype;return new c
};makeClass=function()
{117|579;var a=function(a,b,c)
{117|581;if(b===!1)this.rawArgs=a;else if(a.length==1&&a[0]!=null&&typeof a[0]=="object"&&!a[0].reverse&&(!a[0].ownerDocument||!a[0].tagName)){a=a[0];for(var d in a)this[d]=a[d];b===!0&&(this.rawArgs=a)}else{var e=this.basics;b===!0&&(this.rawArgs={});for(var f=0;f<a.length&&f<e.length;f++){this[e[f]]=a[f];b===!0&&(this.rawArgs[e[f]]=a[f])}}c?c.call(this):this.init&&this.init()
},b=function()
{};b.prototype=b;var c=(new b).__proto__===b;return function(b,c,d,e)
{117|616;var f=function()
{117|621;return a.call(this,arguments,d,e)
};c=c||b.inherit||objectExtensions;delete b.inherit;c=c.prototype||c;b=extendObject(c.newWithProto(),b);b.Class=f;b.Sup=c;f.prototype=b;return f
}
}();watchExtensions=new function()
{117|642;extendObject(this,objectExtensions);var a=function(a,b)
{117|647;if(!b)return;a=a.sort();var c;for(var d=0;d<a.length;d++){var e=a[d].split(" "),f,g=this._watch[e[1]];if(typeof g!="object"||!g.length)continue;if(g.relay){f=g.relay;g.relay=!0}if(c&&(b==2?e[0]==c[0]&&e[1]==c[1]:e[0].slice(0,c[0].length)==c[0]))continue;var h=e[0].split(":");h.shift();for(var i=0;i<g.length;i++){var j=g[i];if(typeof j=="object"&&j.startWatchBatching){if(typeof f!="object"){DBG("no relay log");continue}j.startWatchBatching();for(var k=0;k<f.length;k++)j.merge(f[k]);j.endWatchBatching()}else if(callback(g[i],h,this)===!1)break;if(b==1)break}c=e}
};this.startWatchBatching=function()
{117|698;if(!this._trigWatchDepth){this._trigWatchDepth=1;this._trigWatchList=[]}else this._trigWatchDepth++
};this.endWatchBatching=function()
{117|711;if(!this._trigWatchDepth)return;this._trigWatchDepth--;if(this._trigWatchDepth)return;var b=this._trigWatchList;delete this._trigWatchList;delete this._trigWatchDepth;a.call(this,b,this.watchMode||1)
};this.addWatch=function()
{117|738;var a=this._watch;a||(a=this._watch={});var b="";for(var c=0;c<=arguments.length-2;c++){var d=arguments[c];b+=":"+(d=="*"?"{}":d);a[b]||(a[b]=!0)}var e=arguments[arguments.length-1];typeof a[b]=="object"?a[b].push(e):a[b]=[e];typeof e=="object"&&e.startWatchBatching&&(a[b].relay=!0)
};this.delWatch=function()
{117|765;var a=this._watch;if(!a)return;var b="";for(var c=0;c<=arguments.length-2;c++){var d=arguments[c];b+=":"+(d=="*"?"{}":d)}var e=a[b];if(typeof e!="object")return;var f=arguments[arguments.length-1];if(f)for(var c=0;c<e.length;c++)objectsSimilar(f,e[c])&&e.splice(c--,1);else a[b]=!0
};var b=function(a,d,e,f,g,h,i,j)
{117|802;var k=d.charAt(0);if(!!j||k!="\\"&&k!="!"&&k!="["&&k!="]"&&k!="+"&&k!="-"&&k!="`")k=!1;else{d=d.slice(1);k=="\\"&&(k=!1)}var l=a[d];e===null&&(e=undefined);if(k&&((k=="["||k=="]")&&!(e instanceof Array&&(!l||l instanceof Array))||k=="+"&&!(!l||typeof l=="number"&&typeof e=="number"||typeof l=="string"&&typeof e=="string")||k=="`"&&!(typeof l=="function"&&e instanceof Array))){DBG('merge: Unable to handle operation "',k,'"(',e,') on current value "',l,'"');return 0}if(k=="`"||typeof l=="function"){k!="`"&&DBG('merge: Got non-` merge operation on function "',d,'"(',e,"). Falling back to compatibility mode but this should be fixed.");e instanceof Array||(e=[e]);l.apply(a,e);return 0}if(e===l)return 0;var m=!1,n=!0,o=[];for(var p=0;p<g.length;p++){var q=g[p];(!p||f[q+":"+d])&&o.push(q+":"+d);f[q+":{}"]&&o.push(q+":{}")}g=o;if(k=="!")j=!0;else if(k=="]"){var r=l||[];for(var p=0;p<e.length;p++)e[p]===null?r.pop():r.push(e[p]);e=r}else if(k=="["){var r=l||[];for(var p=e.length-1;p>=0;p--)e[p]===null?r.shift():r.unshift(e[p]);e=r}else k=="+"&&l?e=l+e:k=="-"&&l&&(e=l-e);if(typeof e!="object"||e instanceof Array){if(typeof l=="object"&&i==2)for(var s in l)b(l,s,null,f,g,h,2,!1);if(e instanceof Array){l=a[d]=[];c(l,e,f,g,h,i,!0)}else e===undefined?delete a[d]:a[d]=e;m=!0;n=!1}else{if(typeof l!="object"||l instanceof Array){l instanceof Array&&!j&&DBG("merge: trying to merge hash into array; this is probably a bug");if(i==2&&l instanceof Array)for(var s in l)b(l,s,null,f,g,h,2,!1);l=a[d]={};m=!0;n=!1}else if(j)for(var s in l)if(e[s]===undefined){i==2?b(l,s,null,f,g,h,2,!1):delete l[s];m=!0;n=!1}var t=c(l,e,f,g,h,i,j);t&&(m=!0);t==1&&(n=!1)}if(!m)return 0;if(!i)return 1;if(i==1&&n)return 2;var u=!1;for(var p=0;p<g.length;p++){var v=g[p],w=f[v];if(typeof w=="object"&&v.length){h.push(g[0]+" "+v);if(w.relay){w.relay===!0&&(w.relay=[]);if(!u&&!j&&typeof e=="object"&&!(e instanceof Array)){u={};for(var x in e)u["!"+x]=e[x];e=u}w.relay.push(e)}if(i==1)return 2;n=!0}}return n?2:1
},c=function(a,c,d,e,f,g,h)
{117|981;if(typeof c!="object"){DBG("merge: non-hash invocation; ignoring");return 0}var i=!1,j=!0;for(var k in c){var l=b(a,k,c[k],d,e,f,g,h);l&&(i=!0);l==1&&(j=!1)}return i?j?2:1:0
};this.merge=function()
{117|1001;var b=arguments.length-1,d=arguments[b];if(typeof d=="object"&&typeof Event=="function"&&d instanceof Event){b--;d=arguments[b]}for(var e=b-1;e>=0;e--){var f={};f[arguments[e]]=d;d=f}var g=this._trigWatchList||[],h=c(this,d,this._watch||{},[""],g,this.watchMode||1);this.watchMode&&h&&(h==1||this.watchMode==2)&&this._watch&&this._watch[""]&&g.push(" ");this._trigWatchList||a.call(this,g,this.watchMode||1)
};this.setVar=this.setVarList=this.mergeVarList=function(a)
{117|1028;var b=[];if(a instanceof Array&&a[0]&&a[0]instanceof Array)b=a;else if(a instanceof Array)for(var c=0;c<arguments.length;c++)b.push(arguments[c]);else{b[0]=[];for(var c=0;c<arguments.length;c++)b[0].push(arguments[c])}this.startWatchBatching();for(var c=0;c<b.length;c++)this.merge.apply(this,b[c]);this.endWatchBatching()
};this.watchMode=2
}
})();(function()
{8|3;var a=window;domElementExtensions=new function()
{8|5;extendObject(this,objectExtensions);var b=this.destruct=function()
{8|43;var a;if(a=this._w){if(a.root==this){a.unfinish&&a.unfinish();delete a.root;a.deinit&&a.deinit()}this._w=null}if(a=this._t){a.undraw();a.deinit&&a.deinit();this._t=null}this._h&&(this._h=null);var c=this.childNodes;for(var d=0;d<c.length;d++){var e=c.item(d);e.childNodes&&b.call(e)}
},c=function(a,c,d)
{8|81;if(d===!0){b.call(a);return a.parentNode.replaceChild(c,a)}else if(d){typeof d!="object"&&(d=a.firstChild);a.insertBefore(c,d)}else a.appendChild(c)
};this.insertHtml=function(b,d)
{8|99;var e=!1;if(typeof d=="object"&&d!==null){if(!d.addDynamics){c(this,d,b);return d}DBG("DEPRECATED: insertHtml(widget)");e=d;d=e.getHtml()}var f=0,g,h=document.createElement("div");if(b===!0){g=this.parentNode;if(!g){DBG("tagName: "+this.tagName+", innerHTML: "+this.innerHTML+", _w.name: "+(this._w?this._w.name:"_w unset")+", _w.basics: "+(this._w?this._w.basics:"_w unset")+"");errReport({silent:!0,message:"no DOM parent"});g=document.createElement("span");g.appendChild(this)}}else g=this;g=g.tagName.toLowerCase();if(g=="table"||g=="tbody"){d="<table><tbody>"+d+"</tbody></table>";f=2}else if(g=="tr"){d="<table><tbody><tr>"+d+"</tr></tbody></table>";f=3}h.innerHTML=d;while(f--)h=h.firstChild;var i,j,k=h.firstChild;if(!k&&(typeof d!="string"||d.strip()!="")){k=document.createElement("span");if(a.closed||!document.body)return k;errReport({silent:!0,message:"failed to insertHtml: "+toSemiJson(d)+" | tag="+g+" | before="+toSemiJson(b)+""})}for(j=k;j;j=i){i=j.nextSibling;c(this,j,b)}e&&e.addDynamics(k);return k
};this.appendHtml=function(a)
{8|162;return this.insertHtml(null,a)
};this.prependHtml=function(a)
{8|163;return this.insertHtml(this.firstChild,a)
};this.setHtml=function(a)
{8|164;var c=this.childNodes;for(var d=0;d<c.length;d++){var e=c[d];e.childNodes&&b.call(e)}this.innerHTML="";if(a&&a!="")return this.insertHtml(null,a)
};this.replaceWith=function(a)
{8|175;return this.insertHtml(!0,a)
};this.remove=function()
{8|180;this.destruct();this.parentNode.removeChild(this)
};this.fireCallback=function(a)
{8|189;var b=this[a];b&&b.call(this);this.addCallback(a,null);this._h[a]=!0
};var d={};this.addCallback=function(a,b,c)
{8|200;this._h||(this._h={});var e=this._h[a];if(!e)this._h[a]=e=[];else if(e===!0)return callback(b);var f=this[a],g=d[a];g||(g=d[a]=function()
{8|211;var b=(this._h?this._h[a]:[])||[];for(var c=0;c<b.length;c++)if(callback(b[c],arguments,this)===!1)return!1
});if(g!==f){this[a]=g;window==this&&dd.ie&&(window[a]=g);typeof f=="function"&&e.push(f)}c?e.unshift(b):e.push(b)
};this.addCallbacks=function(a)
{8|235;for(var b in a)this.addCallback(b,a[b])
};this.delCallbacks=function(a)
{8|241;for(var b in a)this.delCallback(b,a[b])
};this.delCallback=function(a,b)
{8|247;var c=this._h;if(!c)return;var d=c[a];if(!d)return;if(b)for(var e=0;e<d.length;e++)objectsSimilar(b,d[e])&&d.splice(e--,1);else d=[];if(d.length)c[a]=d;else{this[a]=null;delete c[a];objectEmpty(c)&&(this._h=null)}
};this.addClass=function(a)
{8|273;var b=this.className;this.className=b?b+" "+a:a
};this.delClass=function(a)
{8|279;var b=[],c=this.className;if(!c)return;c=c.split(" ");for(var d=0;d<c.length;d++)c[d]!=a&&b.push(c[d]);this.className=b.join(" ")
};this.hasClass=function(a)
{8|288;return(new RegExp("(^|\\s)"+a+"(\\s|$)")).test(this.className||"")
};var e=(a.HTMLElement||a.Element||{}).prototype;if(e)try{extendObject(e,this);e="ok"}catch(f){e=f;try{this.insertHtml=undefined}catch(f){}}else e="no";DBG("domExt",e)
};$=function(a)
{8|324;typeof a=="string"&&(a=document.getElementById(a));for(var b=1;b<arguments.length;b++)a&&(a=a.childNodes[arguments[b]]);a&&!a.insertHtml&&extendObject(a,domElementExtensions);return a
};$(document);$(window);dd.ie6&&a.addCallback("onunload",function()
{8|338;DBG("assist gc");a._h=[];document._h=[];$(document.body).destruct()
});killEvent=function(a,b,c)
{8|346;a=a||window.event||{};if(!c){a.stopPropagation&&a.stopPropagation();a.cancelBubble=!0}if(!b){a.returnValue=!1;a.preventDefault&&a.preventDefault()}
};getOffsetXY=function(a)
{8|359;var b=0,c=0,d=!1;do{var e=a.style.position;if(e=="relative"||e=="absolute")d=!1;if(!d){b+=a.offsetLeft||0;c+=a.offsetTop||0;if(a.tagName!="BODY"){b-=a.scrollLeft||0;c-=a.scrollTop||0}}e=="absolute"&&(d=!0)}while(a=a.offsetParent);return[b,c]
};getOffsetX=function(a)
{8|378;return getOffsetXY(a)[0]
};getOffsetY=function(a)
{8|379;return getOffsetXY(a)[1]
};getKeyCode=function(a)
{8|381;return a?a.keyCode||a.which:window.event?window.event.keyCode:0
};inDom=function(a)
{8|388;while(a){if(a===document)return!0;a=a.parentNode}
};deleteCookie=function(a,b)
{8|398;try{document.cookie=a+"=; path=/; expires=Sat, 04-Oct-1980 00:00:01 GMT; "+(b?"; domain="+b:"")}catch(c){DBG("delCookie err "+b+" "+c)}
};getCookie=function(b)
{8|407;var c=document.cookie.split(";"),d;for(var e=0;e<c.length;e++){var f=c[e].strip().split("=");if(f[0]==b){var g=decodeURIComponent(f[1]);d&&d!=g&&a.ev&&ev.send("log","double cookie '"+b+"': '"+d+"'!='"+g+"', agent: "+navigator.userAgent+"");d=g}}return d
};cookiesEnabled=function()
{8|423;var a="PaiqTestCookie",b=a+"=1; path=/";document.cookie="x"+b;document.cookie="y"+b;if(!getCookie("x"+a))return!1;deleteCookie("x"+a);deleteCookie("y"+a);return!0
};(function()
{8|437;var b=objectExtensions.newWithProto(),c=1,d=["INIT"],e;incrLoadingTimeout=25e3;var f="waitingIndicator",g,h=function()
{8|453;e||(e=$(f));if(!e)return;DBG("loadCount=",c);if(c>0&&e.style.display=="none")e.style.display="block";else if(c==0&&e.style.display!="none"){e.style.display="none";if(g!==undefined){location.hash=g;g=undefined}}
},i=function()
{8|475;if(!c)return;var b={message:"loading timed out",loadCount:c};for(var e=0;e<d.length;e++)b["incrLoading"+e+"Trace"]=d[e];a.errReport&&errReport(b);decrLoading(c)
},j=undefined;incrLoading=function(e,f)
{8|490;DBG("incrLoading",e,f);if(f===!1||j!==!1&&f>j)j=f;b.timeout("loading",j===!1?!1:i,j||a.incrLoadingTimeout);c++;a.errTrace&&d.push(errTrace(a.incrLoading.caller));e&&d.push(e);setTimeout(h,0)
};decrLoading=function(a)
{8|507;DBG("decrLoading",a);c-=a||1;if(c<=-0){c=0;d=[];j=undefined;b.timeout("loading",!1)}setTimeout(h,0)
};window.addCallback("onInit",decrLoading);b.timeout("loading",i,3e4);setLocationHash=function(a)
{8|527;if(dd.ie&&dd.ie<9)return;c>0?g=a:location.hash=a
};var k=a.scriptLoadStatus={},l=[];scriptParsing=function(a)
{8|551;k[a]==1&&(k[a]=2)
};var m=function()
{8|558;var a,b=0;while((a=l[b])!==undefined){var c=k[a[0]];if(c<3)if(a[2]===!1){b++;continue}else break;c==4&&callback(a[1]);l.shift()}
};scriptReady=function(a)
{8|587;DBG("scriptReady:",a);(k[a]==1||k[a]==2)&&decrLoading();k[a]=4;m()
};isLoaded=function(a)
{8|596;DBG(k);typeof a=="object"&&(a=a.name||a.url);return k[a]>=4
};var n=function(a,b)
{8|603;DBG("polling for func "+a);if(self[a]){scriptReady(b);return}setTimeout(function()
{8|610;n(a,b)
},100)
};loadCall=function(b,c)
{8|627;if(typeof b=="string")b={url:b};else if(b.reverse||b.callee){var d=b.length;for(var e=0;e<b.length;e++)loadCall(b[e],function()
{8|633;d--==1&&callback(c)
});return}var f=(a.jsVersions||{})[b.url]||b.url,g=b.name||f.match(/^(.*\/)?(.*)/)[2].split(".")[0],h=k[g]||0;l.push([g,c,b.critical]);if(h>=4)dd.ie?setTimeout(m,0):m();else if(!h){k[g]=b.silent?-1:1;b.silent||incrLoading("loadCall:"+g);var i=!1;DBG("Loading "+g+": "+f);if(b.flash)loadFlashObject(f,b.width,b.height,b.parent,b.bgcolor,g);else{var j=document.createElement("SCRIPT");j.src=f;j.type="text/javascript";document.getElementsByTagName("head").item(0).appendChild(j)}b.poll&&n(b.poll,g)}
}
})();var b=!1;getFlashVersion=function()
{8|674;if(b)return b;DBG("getFlashVersion");b=[0];if(a.navigator&&navigator.plugins){var c=navigator.plugins["Shockwave Flash"];c&&c.description&&(b=c.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}if(!b[0]&&dd.ie){var d;try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");b=[7]}catch(e){DBG("e0")}if(!d)try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");b=[6,0,21];d.AllowScriptAccess="always";b=[6,0,47]}catch(e){DBG("e1")}if(!d)try{d=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(e){DBG("e2")}if(d){DBG("axo");try{b=((d.GetVariable("$version")||"").split(" ")[1]||"").split(",")}catch(e){DBG("e3")}}}DBG("result",b);return b
};flashAvailable=function(a,b,c)
{8|721;a||(a=6);var d=getFlashVersion();if(d[0]!=a||!b)return d[0]>=a;if(d[1]!=b||!c)return d[1]>=b;return d[2]>c
};setOpacity=function(a,b)
{8|731;dd.ie?a.style.filter="Alpha(opacity="+parseInt(100*b)+")":a.style.opacity=b
};getOpacityCss=function(a)
{8|737;if(dd.ie)return" filter: alpha(opacity="+a*100+");";return"opacity: "+a+";-moz-opacity: "+a+";"
};setSelectionRange=function(a,b,c)
{8|751;c===undefined&&(c=b);if(a.setSelectionRange){a.focus();a.setSelectionRange(b,c)}else if(a.createTextRange){var d=a.createTextRange();d.collapse(!0);d.moveEnd("character",c);d.moveStart("character",b);d.select()}
};getDocScroll=function()
{8|767;var b=document.documentElement;body=document.body;if(body.scrollTop!==undefined)return[body.scrollLeft,body.scrollTop];if(a.pageYOffset!==undefined)return[pageXOffset,pageYOffset];if(b&&b.scrollTop!==undefined)return[b.scrollLeft,b.scrollTop];return[0,0]
};getEventXY=function(a,b)
{8|777;a=a||window.event;var c=b===!0?[0,0]:getDocScroll(),d=a.clientX,e=a.clientY;if(d===undefined){d=a.pageX||0;e=a.pageY||0}return[d+c[0],e+c[1]]
};viewportSize=function()
{8|790;var b,c,d;if(b=a.innerWidth)c=a.innerHeight;else if((d=document.documentElement)&&(b=d.clientWidth))c=d.clientHeight;else if(document.body&&(b=document.body.clientWidth))c=document.body.clientHeight;else{b=950;c=700}return[b,c]
};var c,d,e,f=[],g;function
h(a,b){8|801;if(c)return;c=!0;j(e,"mouseout",b||window.event);e=!1;c=!1;killEvent(b)
}function
i(a,b,h){8|811;if(c)return;h=h||window.event;var i=getEventXY(h,!0);c=!0;for(var k=0;k<f.length;k++){var l=f[k];if(inDom(l))l.style.display="none";else{f.splice(k,1);k--}}if(g!==!1){var m=getDocScroll();if(g===undefined&&(m[0]>0||m[1]>0)){var n=viewportSize();g=!!document.elementFromPoint(m[0]+n[0]-1,m[1]+n[0]-1)}if(g){i[0]+=m[0];i[1]+=m[1]}}var o=document.elementFromPoint(i[0],i[1]);o&&o.nodeType==3&&(o=o.parentNode);for(var k=0;k<f.length;k++)f[k].style.display="block";if(o!==e){j(e,"mouseout",h);j(o,"mouseover",h);e=o}j(o,b,h);if(b=="mousedown")d=o;else if(b=="mouseup"){(d===o||!d)&&j(o,"click",h);d=!1}c=!1;killEvent(h)
}function
j(b,c,d){8|866;if(!b||!inDom(b))return;if(d&&d.initMouseEvent){var e=document.createEvent("MouseEvent");e.initMouseEvent(c,!0,!0,a,0,d.screenX,d.screenY,d.clientX,d.clientY,d.ctrlKey,d.altKey,d.shiftKey,d.metaKey,0,null);b.dispatchEvent(e)}else document.createEventObject&&(c=="click"?b.click():b.fireEvent("on"+c,document.createEventObject(d)))
}forwardMouseEvents=function(a)
{8|884;f.push(a);$(a).addCallbacks({onmouseout:[h,a],onclick:function(a)
{8|889;killEvent(a)
}});var b=["mousemove","mousedown","mouseup","dblclick","mousewheel"];for(var c=0;c<b.length;c++)a.addCallback("on"+b[c],[i,a,b[c]])
};createHighlight=function(a,b,c,d,e)
{8|896;if(!document.elementFromPoint)return;d==null&&(d=5);typeof d!="object"&&(d=[d,d]);var f=$(document.createElement("div"));setOpacity(f,c==null?.25:c);var g="auto";for(var h=a;h&&h.style;h=h.parentNode)if(h.style.zIndex&&h.style.zIndex!="auto"){g=h.style.zIndex;break}extendObject(f.style,{position:"absolute",backgroundColor:b||"#68f",left:getOffsetX(a)-d[0]+"px",width:a.offsetWidth+2*d[0]+"px",top:getOffsetY(a)-d[1]+"px",height:a.offsetHeight+2*d[1]+"px",borderRadius:2*Math.min(d[0],d[1])+"px",zIndex:g});e&&forwardMouseEvents(f);document.body.appendChild(f);return f
};var k,l,m,n,o,p,q,r=function()
{8|928;o=!1;if(q!==!1&&q!=getDocScroll()[1])return scrollToElement();var a=((new Date).getTime()-m)/n;if(a>=1.5){a=1;scrollToElement()}else{if(a>=1){if(!p)return;setOpacity(p,Math.max(0,(1.5-a)/2));a=1}else a=Animation.T.sinsin(a);o=setTimeout(r,25)}q=Math.round(k+(1-a)*l);scrollTo(0,q)
};scrollToElement=function(a,b,c,d)
{8|955;if(o){clearTimeout(o);o=!1}if(p){document.body.removeChild(p);p=!1}if(!a)return;var e=getOffsetY(a),f=a.offsetHeight,g=getDocScroll()[1],h=viewportSize()[1];d=d&&typeof d!="object";if(!b&&e>=g&&e+f<=g+h){if(d)return;k=g}else k=Math.max(0,e-Math.max(0,parseInt((h-f)/2)));l=g-k;m=(new Date).getTime();n=c||500;q=!1;d?p=!1:p=createHighlight(a);location.hash=1+(0|location.hash.replace("#",""));r()
};link=function(b,c,d,e)
{8|1009;if(dd.ie){if(a.linkingOut&&!window.event)return;a.linkingOut=!0}c&&c.which&&(c=null);if(b=="default"||!b)b="";b=""+"/"+b;var f=b;c&&(f+="?msg="+encodeURIComponent(c));d&&(f+=(c?"&":"?")+d);incrLoading();var g=f+(e?"#"+e:""),h=location.href.match(/:\/\/[^\/]*(\/.*?)(#.*)$/);if(h&&h[1]==f){if("#"+(e||"")==h[2]){a.location.reload(!1);return}var g=g.replace(/^\/(.)?/,function(a,b)
{8|1040;return b=="_"?"":"_"+(b||"")
})}a.location.href=g
};refresh=function(a,b)
{8|1047;DBG("refresh",a,b);a||(a=document);var c=a.location.href,d=c.indexOf("?");d<0&&(d=c.indexOf("#"));d>=0&&(c=c.substring(0,d));if(b&&b!="all"&&(d=c.indexOf("_"))>=0&&c.substring(d+1)!=b&&c.substring(d+1)!=b+"Exe")return;a.location.href=c
};showPopup=function(b,c,d,e)
{8|1059;var f=a.open(b,b.replace(/[^a-zA-Z0-9]/g,""),"toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width="+(d||600)+",height="+(e||510));f&&f.focus&&f.focus()
};var s,t,u,v,w;testFont=function(a)
{8|1079;if(!s){s=document.body;t=document.createElement("DIV");u=document.createElement("SPAN");t.appendChild(u);t.style.visibility="hidden";t.style.fontFamily="monospace sans-serif";u.style.fontFamily="monospace sans-serif";u.style.fontSize="72px";u.innerHTML="mmmmmmmmmml";s.appendChild(t);v=u.offsetWidth;w=u.offsetHeight;s.removeChild(t)}u.style.fontFamily=a;s.appendChild(t);var b=u.offsetWidth!=v||u.offsetHeight!=w;s.removeChild(t);return b
};fixViewportY=function(b,c)
{8|1108;var d=getOffsetY(b),e=getOffsetY(c),f=parseInt(b.style.marginTop)||0,g;$(a).addCallback("onmodals",function(a)
{8|1115;g=a
});$(a).addCallback("onscroll",function()
{8|1117;if(g)return;var a=getDocScroll()[1],h=Math.max(0,e+parseInt(c.offsetHeight)-d-parseInt(b.offsetHeight)-f),i=Math.max(0,Math.min(h,a-d));b.style.marginTop=i+f+"px"
})
};saveFocus=function(b)
{8|1126;a.focussed=b
};unsaveFocus=function(b)
{8|1131;a.focussed===b&&(a.focussed=null)
};restoreFocus=function(a)
{8|1137;try{if(a&&a.focus){a.focus();return!0}}catch(b){}
};focusFirstInput=function(b,c)
{8|1150;for(var d=b.firstChild;d;d=d.nextSibling){if(d.tagName=="INPUT"||d.tagName=="TEXTAREA"){DBG("considering "+d.tagName);var e=getOffsetXY(d)[1],f=getDocScroll()[1],g=viewportSize()[1];if(e<f&&e>f+g-30)continue;if(!restoreFocus(d))continue;return d}if(d.firstChild&&focusFirstInput(d,!0))return d}if(!c){var h=a.focussed;try{h&&h.blur&&h.blur()}catch(d){}}
};var x;setForegroundRoot=function(a)
{8|1186;if(a==x)return;x=a;y(document)
};updateForegroundRoot=function()
{8|1197;y(document)
};var y=function(a,b)
{8|1207;if(!x||a==x)b=!0;if(b){if(a._background){var c=a._background;c.visibility&&(a.style.visibility=c.visibility);c.tabIndex&&a.setAttribute(dd.ie?"tabIndex":"tabindex",c.tabIndex);a._background=undefined}}else{var c={},d=!1;if(dd.ie&&(a.tagName=="SELECT"||a.tagName=="INPUT")&&a.style.visibility!="hidden"){c.visibility="visible";a.style.visibility="hidden";d=!0}if(a.tabIndex>=(dd.ie?1:0)){c.tabIndex=a.tabIndex;a.tabIndex=-1;d=!0}d&&(a._background=c)}for(var e=0,f=(a.childNodes||[]).length;e<f;e++)y(a.childNodes[e],b)
};a.addCallback("onInit",updateForegroundRoot)
})();(function()
{10|45;var a=watchExtensions.newWithProto();a.undraw=function(a)
{10|49;if(!this.root)return;var b=this.attrs["class"];b&&(this.attrs["class"]=b.replace(/( |^)![^ ]*/,""));this.attrs.id&&/^_PqLoMk/.test(this.attrs.id)&&delete this.attrs.id;if(this._rchld){for(var c=0;c<this._rchld.length;c++)this._rchld[c].undraw(!0);delete this._rchld}this.unfinish&&this.unfinish();this.root._w=null;a||this.root.remove(!0);delete this.root
};a.redraw=function()
{10|71;var a=this.root;if(a){this.undraw(!0);var b=a.replaceWith(this.getHtml());b&&d(b,this.parent,this)}
};a.getHtml=function()
{10|116;this.root&&unexpectedGetHtml(this.name);var a=null;this.ihtml&&(a=this.ihtml());var b="",c=this.attrs;for(var d in c)c[d]!==undefined&&(b+=" "+d+'="'+escapeHtmlString(c[d].toString())+'"');if(this.tag=="img"||this.tag=="br"||this.tag=="input")a="<"+this.tag+""+b+" />";else if(a===null)a=this.html(b);else if(a===undefined){DBG("html not ready for "+this.name+"");a="<span"+b+'><div style="position: relative; height: 50px;"><div style="position: absolute; left: 50%; top: 50%; background: url('+R+'1/i/loading.gif); margin: -16px 0 0 -25px; width: 50px; height: 32px;"></div></div></span>'}else a="<"+this.tag+""+b+">"+a+"</"+this.tag+">";return a
};var b=0,c={},d=function(a,b,e)
{10|179;var f,g=e||a,h,i=a.className;if(i){i=i.split(" ");for(var j=0;j<i.length;j++){var k=i[j],l=k.substring(0,1);if(l=="!")if(k.substring(1,2)=="!")h=!0;else{g=e=fetchProp(c,parseInt(k.substring(1)));if(!g){if(k.substring(1)!=""){DBG("unable to link widget "+k.substring(1)+" to "+a+"");if(a._w){DBG("assuming double scanTreeInit- aborting");return}}g=e={}}}else if(l=="@"&&b){f=!0;if(k.substring(1,2)=="@"){k=k.substring(2);b[k]||(b[k]=[]);g._nr=b[k].length;b[k].push(g)}else b[k.substring(1)]=g}}}if(h)return;if(e){g===a&&(a.className=a.className?a.className+" !!":"!!");e.root=$(a);e.parent=b;a._w=b=e}else f&&($(a)._w=b);var m=a.childNodes;for(var n=0;n<m.length;n++)m[n]?d(m[n],b):DBG(""+n+"th element of "+a+" is undefined");if(e&&typeof e.finish=="function")try{e.finish()}catch(o){if(typeof o=="object"){o.widgetFinish=e.name;e.root&&(typeof e.root.outerHTML=="string"?o.outerHtmlSnippet=e.root.outerHTML.substr(0,1e3):typeof e.root.innerHTML=="string"&&(o.innerHtmlSnippet=e.root.innerHTML.substr(0,1e3)))}if(window.errReport)errReport(o);else throw o}
};a.insert=function(a,b)
{10|267;var c=$(a).insertHtml(b,this.getHtml());d(c,a._w,this);return this
};a.set=function(a)
{10|274;var b=$(a).setHtml(this.getHtml());d(b,a._w,this);return this
};a.replace=function(a,b)
{10|281;var c=[];if(!b)for(var d=a.firstChild;d;d=d.nextSibling)c.push(d);this.content=this.content||"";this.insert(a,!0);if(this.inner)for(var e=0;e<c.length;e++)this.inner.appendChild(c[e]);return this
};a.render=function()
{10|298;var a=this.attrs["class"],d="!";if(!this.simple){c[++b]=this;d="!"+b}this.attrs["class"]=a?d+" "+a:d;return this.getHtml()
};var e=0,f={},g=function()
{10|315;for(var a in f){var b=f[a],c=$(a);c?d(c,!1,b):DBG("unable to finish widget "+a+" "+b.name)}f={}
};a.make=function()
{10|325;if(!this.simple){f.length||setTimeout(g,1);var a=this.attrs.id=this.attrs.id||"_PqLoMk"+ ++e;f[a]=this}return this.getHtml()
};a.makeStart=function()
{10|335;this.simple||(this.id=this.attrs.id=this.attrs.id||"_PqLoMk"+ ++e);this.content="<span class='!!'></span>";var a=this.getHtml().split("");this.endHtml=a[1];return a[0]
};a.makeEnd=function()
{10|345;if(!this.simple){f.length||setTimeout(g,1);f[this.id]=this}return this.fetch("endHtml")
};a.write=function()
{10|354;var a;this.simple||(a=this.attrs.id=this.attrs.id||"_PqLoMk"+ ++e);document.write(this.getHtml());(a=$(a))&&d(a,!1,this);return this
};a.writeStart=function()
{10|363;document.write(this.makeStart(this));return this
};a.writeEnd=function()
{10|369;document.write(this.fetch("endHtml"));var a=$(this.id);a&&d(a,!1,this);return this
};a.prop=function(a,b)
{10|390;var c,d,e=this[b||this.mainChild||this.basics[0]],f=a.charAt(0).toUpperCase()+a.substr(1);typeof e!="object"&&(e=undefined);e&&(c=e["_getParent"+f+""])?d=e:e&&(c=e["parent"+f+""])!==undefined?d=undefined:(c=this["_get"+f+""])?d=this:(c=this[a])!==undefined?d=undefined:e&&(c=e["_get"+f+""])?d=e:e&&(c=e[a])!==undefined&&(d=undefined);if(d){var g=[];for(var h=2;h<arguments.length;h++)g.push(arguments[h]);c=c.apply(d,g)}return c
};a.child=function(a,b)
{10|424;var c=this[a||this.mainChild||this.basics[0]];if(typeof c!="object")return c||b;this._rchld?this._rchld.push(c):this._rchld=[c];return c.render()
};a.modal=function()
{10|434;var a=this;while(a.parent&&a.Class!==window.Modal)a=a.parent;if(a.Class!==window.Modal)return!1;var b=[];for(var c=1;c<arguments.length;c++)b.push(arguments[c]);return a[arguments[0]].apply(a,b)
};a.redrawParent=function()
{10|449;this.modal("redraw")
};a.closeModal=function()
{10|450;this.modal("close")
};var h=window.domElementExtensions;extendObject(a,{tag:"span",basics:["content"],watchMode:1,addCallback:h.addCallback,delCallback:h.delCallback,addCallbacks:h.addCallbacks});a.addDynamics=function(a)
{10|463;d(a,!1,this)
};a.remove=function()
{10|464;this.root.remove()
};var i=function(a)
{10|511;var b=this._w;if(b){callback(b.onclick,[a],b);if(!b.bubbleEvent)return killEvent(a)}
},j=function()
{10|522;if(this.hehl){this.root&&this.root.delCallback("onmouseout",[this,l]);document.body.removeChild(this.hehl);this.hehl=!1}
},k=function()
{10|530;if(!this.hehl)return;if(this.hemo>0)this.heop=Math.min(this.heop+.04,.2);else{this.heop-=.01;if(this.heop<=0){j.call(this);return}}setOpacity(this.hehl,this.heop);setCallbackTimeout([this,k],25)
},l=function()
{10|546;this.hemo-=1
},m=function()
{10|547;this.hemo+=1
},n=function()
{10|548;this.hemo=1;if(this.hehl)return;this.heop=1;this.root.addCallback("onmouseout",[this,l]);this.hehl=createHighlight(this.root,null,0,this.root.tagName=="SPAN"?[5,2]:0,!0);if(this.hehl){this.hehl.style.cursor="pointer";k.call(this)}var a=this.unfinish;this.unfinish=function()
{10|560;j.call(this);if(a)return a.call(this)
}
};a.addOnClick=function(a,b)
{10|569;this.onclick=a;b&&typeof b!="object"&&this.root.addCallback("onmouseover",[this,n]);this.root.addCallback("onclick",i)
};var o={id:"id",style:"style",className:"class"},p=function(a,b,c,d)
{10|597;a[b]?d?a[b]=c+" "+a[b]:a[b]+=" "+c:a[b]=c
};a.appendAttr=function(a,b)
{10|604;p(this.attrs,a,b)
};window.makeWidget=function(b,c,d)
{10|606;var e=function()
{10|608;var a=clone(this.attrs)||{};if(d===undefined){for(var b in this.rawArgs)o[b]&&p(a,o[b],this.rawArgs[b]);delete this.rawArgs}this.attrs=a;if(this.init){var c=this.init();typeof c=="object"&&DBG("widget: init() returning hash - this should be fixed")}
};c=c||b.inherit||a;b.attrs||(b.attrs={});var f=(c.prototype||c).attrs;for(var g in f||{})p(b.attrs,g,f[g],!0);return makeClass(b,c,d===undefined?!0:d,e)
};String.prototype.render=function()
{10|645;return this
}
})();(function()
{11|5;window.InlineWidget=makeWidget({basics:["h","finish","tag"],h:"",tag:"span",ihtml:function()
{11|17;return this.h
}});window.EmptyWidget=makeWidget({ihtml:function()
{11|20;return""
}});window.RemoteWidget=makeWidget({basics:["rpc","ihtml","onData","path"],init:function()
{11|26;this.addWatch([this,this.redraw]);this.rpc instanceof Array||(this.rpc=[this.rpc]);this.rpc.push([this,this.resp]);this.stream=ev.send.apply(ev,this.rpc)
},deinit:function()
{11|35;this.stream.cancel()
},resp:function()
{11|38;var a=this.path?[this.path]:[];for(var b=0;b<arguments.length;b++)a.push(arguments[b]);this.merge.apply(this,a);callback(this.onData||!1,arguments,this)
},update:function()
{11|45;this.stream.cancel();this.path&&this.merge(this.path,null);this.stream=ev.send.apply(ev,this.rpc)
}});window.NotiStatWidget=makeWidget({basics:["measure","unknown","formatter"],unknown:"",init:function()
{11|59;var a=window.notificationHandlers;a&&a.addWatch(this.measure,[this,this.redraw])
},deinit:function()
{11|63;var a=window.notificationHandlers;a&&a.delWatch(this.measure,[this,this.redraw])
},ihtml:function()
{11|67;var a=(window.notificationHandlers||{})[this.measure];return a===undefined?this.unknown:(this.formatter||numberFormat)(a)
}});var a=function(a)
{11|77;var b=this._w;b&&b.getValue&&b.onChange&&callback(b.onChange,[b.getValue.call(b)],b);if(getKeyCode(a)!=13)return;killEvent(a);if(this.onEnter)this.onEnter();else if(this._w&&this._w.onEnter)this._w.onEnter();else for(var c=this;c;c=c.parentNode){if(c.submit)return c.submit();if(c._w&&c._w.onSubmit)return callback(c._w.onSubmit,[],c._w)}
},b=function(a,b,c,d,e)
{11|94;var f=function()
{11|96;this.addClass(b);callback(e,[!0])
},g=function()
{11|97;this.delClass(b);callback(e,[!1])
};if(typeof a!="object"||!(a instanceof Array))a=[a];for(var h=0;h<a.length;h++){var i=$(a[h]);i.addCallback(c,f);i.addCallback(d,g)}
};window.toggleFocus=function(a,c,d)
{11|107;return b(a,c||"focus","onfocus","onblur",d)
};window.toggleMouse=function(a,c,d)
{11|111;return b(a,c||"mouse","onmouseover","onmouseout",d)
};window.BoxWidget=function()
{12|7;var a={tag:"table",attrs:{style:"table-layout: "+(dd.ie67?"auto":"fixed")+";"}};a.transformContent=function(a)
{12|19;return a
};var b=function()
{12|24;var a=this.boxClass!==undefined?this.boxClass:this.name;return a==""?undefined:a
};a.ihtml=function()
{12|33;this.attrs.border=this.attrs.cellspacing=this.attrs.cellpadding=0;var a=b.call(this);a&&this.appendAttr("class",a);var c="margin:"+(this.textTop!=undefined?this.textTop-this.top:0)+"px "+(this.textRight!=undefined?this.textRight-this.borderRight:0)+"px "+(this.textBottom!=undefined?this.textBottom-this.bottom:0)+"px "+(this.textLeft!=undefined?this.textLeft-this.borderLeft:0)+"px;position: relative;"+(dd.ie67?"display: inline-block;":"")+"",d="",e="";if(this.ver){var f="background: url("+this.ver+") repeat-y top ";d=f+"left;";e=f+"right;"}else this.borderColor&&(d=e="background: "+this.borderColor+";");var g=this.left-this.borderLeft,h=this.right-this.borderRight;(g<0||h<0)&&(window.oldAlert?oldAlert:alert)("BoxWidget ["+(this.content||"unknown")+"] WARNING: leftDif || rightDif < 0!");var i=this.renderedCols={},j=this.renderedRows={};this.top!=0&&(j.top="<tr>"+(this.borderLeft||g?'<td colspan="'+((this.borderLeft?1:0)+(g?1:0))+'" style="background: url('+this.cor+") no-repeat top left; height: "+this.top+'px;"></td>':"")+'<td colspan="'+(1+(this.borderRight?1:0)+(h?1:0))+'" style="background: url('+this.cor+") no-repeat top right; height: "+this.top+'px;"></td></tr>');this.bottom!=0&&(j.bottom="<tr>"+(this.borderLeft||g?'<td colspan="'+((this.borderLeft?1:0)+(g?1:0))+'" style="background: url('+this.cor+") no-repeat bottom left; height: "+this.bottom+'px;"></td>':"")+'<td colspan="'+(1+(this.borderRight?1:0)+(h?1:0))+'" style="background: url('+this.cor+") no-repeat bottom right; height: "+this.bottom+'px;"></td></tr>');return"<tbody><tr>"+(this.borderLeft?i[0]='<td style="height: 1px;" width="'+this.borderLeft+'"></td>':"")+""+(g?i[1]='<td style="height: 1px;" width="'+g+'"></td>':"")+'<td style="height: 1px;" width="*"></td>'+(h?i[3]='<td style="height: 1px;" width="'+h+'"></td>':"")+""+(this.borderRight?i[4]='<td style="height: 1px;" width="'+this.borderRight+'"></td>':"")+"</tr>"+(j.top||"")+"<tr>"+(this.borderLeft?'<td style="'+d+'"></td>':"")+'<td colspan="'+(1+(g?1:0)+(h?1:0))+'" style="background: '+(this.color||"transparent")+'; "><div class="@inner" style="'+c+'">'+this.transformContent(this.content)+"</div></td>"+(this.borderRight?'<td style="'+e+'"></td>':"")+"</tr>"+(j.bottom||"")+"</tbody>"
};a.restyle=function(a)
{12|137;if(a){var c=a.prototype||a,d=["top","bottom","left","right","cor","ver","color","borderColor","borderLeft","borderRight","textLeft","textRight","textTop","textBottom"];for(var e=0;e<d.length;e++)this[d[e]]=c[d[e]];var f=b.call(this),g=b.call(c);this.boxClass!==undefined?this.boxClass=g==undefined?this.boxClass:g:this.name=g;if(this.root&&f!=g){f&&this.root.delClass(f);g&&this.root.addClass(g)}}if(!this.root)return;var h=this.root.firstChild.childNodes;if(!!this.renderedCols[0]!=!!this.borderLeft||!!this.renderedCols[1]!=!!(this.left-this.borderLeft)||!!this.renderedCols[3]!=!!(this.right-this.borderRight)||!!this.renderedCols[4]!=!!this.borderRight||!!this.renderedRows.top!=!!this.top||!!this.renderedRows.bottom!=!!this.bottom){DBG("DEPRECATED: BoxWidget.restyle called, but column configurations differ");this.content=this.inner.innerHTML;this.redraw();return}if(this.renderedRows.top){var i=h[1];for(var j=0;j<i.childNodes.length;j++){i.childNodes[j].style.backgroundImage="url("+this.cor+")";i.childNodes[j].style.height=""+this.top+"px"}}if(this.renderedRows.bottom){var i=h[3-(this.renderedRows.top?0:1)];for(var j=0;j<i.childNodes.length;j++){i.childNodes[j].style.backgroundImage="url("+this.cor+")";i.childNodes[j].style.height=""+this.bottom+"px"}}var k=h[2-(this.renderedRows.top?0:1)].childNodes,e=0;this.renderedCols[0]&&(k[e++].style.background=this.ver?"url("+this.ver+") repeat-y top left":this.borderColor||"transparent");e++;this.renderedCols[4]&&(k[e++].style.background=this.ver?"url("+this.ver+") repeat-y top right":this.borderColor||"transparent");var l=h[2].childNodes[h[2].childNodes.length>=2?1:0].firstChild;l.style.marginTop=(this.textTop!=undefined?this.textTop-this.top:0)+"px";l.style.marginRight=(this.textRight!=undefined?this.textRight-this.borderRight:0)+"px";l.style.marginBottom=(this.textBottom!=undefined?this.textBottom-this.bottom:0)+"px";l.style.marginLeft=(this.textLeft!=undefined?this.textLeft-this.borderLeft:0)+"px";l.parentNode.style.backgroundColor=this.color;var k=h[0].childNodes,e=0;this.renderedCols[0]&&(k[e++].style.width=this.borderLeft+"px");this.renderedCols[1]&&(k[e++].style.width=this.left-this.borderLeft+"px");e++;this.renderedCols[3]&&(k[e++].style.width=this.right-this.borderRight+"px");this.renderedCols[4]&&(k[e++].style.width=this.borderRight+"px")
};a.basics=["content","title","subtitle"];return makeWidget(a)
}();window.Button=makeWidget({content:"Ok",basics:["content","onclick","subcontent"],attrs:{style:"cursor: pointer; display: "+(dd.ie67?"inline":"inline-table")+"; -moz-user-select: none; -khtml-user-select: none; user-select: none; -moz-outline-style: none; outline-style: none; outline: none;",tabindex:"1"},ihtml:function()
{11|127;this.content=this.content||this.text;this.disabled&&this.appendAttr("style",getOpacityCss(.4)+"zoom: 1; cursor: default;");return this.sup("ihtml")
},highlightRestyle:function()
{11|132;this.origHash||(this.origHash={cor:this.cor,ver:this.ver});if(!this.highlightHash)return;var a=this.origHash;if(typeof this.highlight=="string")a=this[""+this.highlight+"Hash"];else if(this.root.hasClass("focus")||this.root.hasClass("mouse")||this.highlight)a=this.highlightHash;this.cor=a.cor;this.ver=a.ver;this.restyle()
},blink:function(a)
{11|148;var b=function(c)
{11|149;this.highlight=c&1?"inverse":!1;this.inner.childNodes[1]._w.setColor(c&1?"#000000":"#ffffff");this.highlightRestyle();c>0?setCallbackTimeout([this,b,c-1],150):a&&callback(a)
};b.call(this,5)
},onEnter:function()
{11|161;this.onclick&&callback(this.onclick)
},finish:function()
{11|164;this.root.addCallback("onkeypress",a);this.onclick&&this.addOnClick(this.onclick);if(this.highlightHash&&!this.disabled){toggleMouse(this.root,null,[this,this.highlightRestyle]);toggleFocus(this.root,null,[this,this.highlightRestyle]);preloadImage(this.highlightHash.cor);preloadImage(this.highlightHash.ver)}return this.sup("finish")
}},BoxWidget);window.boxHelpers={};var c=window.boxHelpers.t={};c.titledRoundedBox=function(a)
{13|4;var b=this.prop("title");return"<div style='height: 23px; line-height: 28px; margin-bottom: 18px; text-align: center;'>"+(new TitleFontWidget(b,"#444444","13pt")).render()+"</div>"+a+""
};c.contentBox=function(a)
{13|16;var b=this.prop("title");if(!b)return a;return'<div style="margin: 0px 0 10px 0;">'+(new TitleFontWidget(b,"#404040","13pt")).render()+"</div>"+a
};c.modalBox=function(a)
{13|24;var b=this.prop("title");if(b){this.titleWidget=new TitleFontWidget(b,"#ef6b00","16pt");b=this.titleWidget.render()}else b="";return'<div style="margin-bottom: 20px;">'+b+'</div><span style="color: #444;">'+a+"</span>"
};c.basicButton=function(a)
{13|39;a.match(/^[A-Z]\S*?[A-Z]\S*?\b/)||(a=a.substr(0,1).toLowerCase()+a.substr(1));var b=this.textSize||"18px",c="",d=getOpacityCss(.3),e="line-height: "+(this.subcontent?34:42)+"px; ",f=dd.webkit?"width: 100%;":"";if(dd.ie){c=(new TitleFontWidget({content:a,size:b,color:"#000000",style:""+d+""+e+"position: absolute; left: 0px; top: 0px;"})).render();d="visibility: hidden;"}c+=(new TitleFontWidget({content:a,size:b,color:"#000000",tag:"div",style:"text-align: left; "+d+""+e+""})).render()+(new TitleFontWidget({content:a,size:b,color:"#ffffff",tag:"div",style:"text-align: left; position: absolute; left: 1px; top: 1px; "+e+""+f+""})).render();this.subcontent&&(c+="<div style='margin-top: -"+(parseInt(this.textSize)>20?8:10)+"px; font-size: 85%; font-weight: bold; color: #e0e0e0; text-align: center;'>"+this.subcontent.replace(/ /g,"&nbsp;")+"</");return c
};window.ContentBox=makeWidget({transformContent:boxHelpers.t.contentBox,color:"#ffffff",right:8,top:62,left:8,bottom:0,textLeft:8,textTop:8,textRight:8,textBottom:10,borderLeft:0,borderRight:0,borderColor:"#ffffff",inherit:BoxWidget,cor:R+(dd.png?"1/i/_yz.png":"1/i/_z0.png")});window.RoundedBox=makeWidget({transformContent:boxHelpers.t.contentBox,color:"#ffffff",right:8,top:62,left:8,bottom:0,textLeft:8,textTop:8,textRight:8,textBottom:10,borderLeft:0,borderRight:0,borderColor:"#ffffff",inherit:BoxWidget,cor:R+(dd.png?"1/i/_yz.png":"1/i/_z0.png")});window.TitledRoundedBox=makeWidget({transformContent:boxHelpers.t.titledRoundedBox,color:"#ffffff",right:8,top:62,left:8,bottom:0,textLeft:8,textTop:0,textRight:8,textBottom:10,borderLeft:0,borderRight:0,borderColor:"#ffffff",basics:["title","content"],inherit:BoxWidget,cor:R+(dd.png?"1/i/_yz.png":"1/i/_z0.png")});window.BorderedRoundedBox=makeWidget({transformContent:boxHelpers.t.contentBox,color:"#ffffff",right:8,top:62,left:8,bottom:0,textLeft:8,textTop:8,textRight:8,textBottom:10,borderLeft:0,borderRight:0,borderColor:"#ffffff",inherit:BoxWidget,cor:R+(dd.png?"1/i/_z5.png":"1/i/_z6.png")});window.TipBox=makeWidget({transformContent:boxHelpers.t.contentBox,color:"#ffffff",right:8,top:62,left:8,bottom:0,textLeft:8,textTop:8,textRight:8,textBottom:10,borderLeft:0,borderRight:0,borderColor:"#ffffff",inherit:BoxWidget,cor:R+(dd.png?"1/i/_z7.png":"1/i/_z8.png")});window.PageBox=makeWidget({transformContent:boxHelpers.t.titledRoundedBox,color:"#ffffff",right:8,top:62,left:8,bottom:0,textLeft:8,textTop:0,textRight:8,textBottom:10,borderLeft:0,borderRight:0,borderColor:"#ffffff",basics:["title","content"],inherit:BoxWidget,cor:R+(dd.png?"1/i/_yz.png":"1/i/_z0.png"),attrs:{style:"width: 100%; margin: 20px 0 20px 0;"}});window.ModalBox=makeWidget({transformContent:boxHelpers.t.modalBox,color:"#ffffff",left:15,right:15,top:15,bottom:15,borderLeft:0,borderRight:0,borderColor:"#ffffff",textLeft:15,textRight:15,textTop:15,textBottom:15,inherit:BoxWidget,cor:R+(dd.png?"1/i/_z3.png":"1/i/_z9.png")});window.SimpleWhiteBox=makeWidget({color:"#ffffff",left:15,borderLeft:3,borderRight:3,borderColor:"#ffffff",right:15,textLeft:15,textRight:15,top:15,bottom:16,textTop:15,textBottom:15,inherit:BoxWidget,cor:R+(dd.png?"1/i/_m8.png":"1/i/_m9.png")});window.AbortButton=makeWidget({transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Annuleren",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_j6.png":"1/i/_yc.png"),ver:R+(dd.png?"1/i/_j8.png":"1/i/_yd.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Annuleren",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_ja.png":"1/i/_ye.png"),ver:R+(dd.png?"1/i/_jc.png":"1/i/_yf.png")}});window.GoButton=makeWidget({transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_iq.png":"1/i/_ir.png"),ver:R+(dd.png?"1/i/_is.png":"1/i/_it.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_iu.png":"1/i/_iv.png"),ver:R+(dd.png?"1/i/_iw.png":"1/i/_ix.png")}});window.AddButton=makeWidget({transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Toevoegen",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_ji.png":"1/i/_za.png"),ver:R+(dd.png?"1/i/_jk.png":"1/i/_zb.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Toevoegen",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_jm.png":"1/i/_zc.png"),ver:R+(dd.png?"1/i/_jo.png":"1/i/_zd.png")}});window.OkButton=makeWidget({transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Okay",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_ie.png":"1/i/_lk.png"),ver:R+(dd.png?"1/i/_ig.png":"1/i/_ll.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Okay",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_ii.png":"1/i/_lm.png"),ver:R+(dd.png?"1/i/_ik.png":"1/i/_ln.png")}});window.SuperButton=makeWidget({transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doen!",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_122.png":"1/i/_123.png"),ver:R+(dd.png?"1/i/_124.png":"1/i/_125.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doen!",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_126.png":"1/i/_127.png"),ver:R+(dd.png?"1/i/_128.png":"1/i/_129.png")}});window.PrevButton=makeWidget({transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Terug",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_iy.png":"1/i/_iz.png"),ver:R+(dd.png?"1/i/_j0.png":"1/i/_j1.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Terug",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_j2.png":"1/i/_j3.png"),ver:R+(dd.png?"1/i/_j4.png":"1/i/_j5.png")}});window.NextButton=makeWidget({transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Volgende",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_jy.png":"1/i/_ze.png"),ver:R+(dd.png?"1/i/_k0.png":"1/i/_zf.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Volgende",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_k2.png":"1/i/_zg.png"),ver:R+(dd.png?"1/i/_k4.png":"1/i/_zh.png")}});window.DocumentCover=makeWidget({basics:["onclick","op"],op:.55,bg:"#000000",tag:"div",attrs:{style:"top: 0; left: 0; width: 100%; z-index: 9998;"},init:function()
{11|275;this.appendAttr("style","background-color: "+this.bg+"; "+getOpacityCss(this.op)+"");dd.ie6?this.appendAttr("style","position: absolute; height: 500px;"):this.appendAttr("style","position: fixed; height: 100%;")
},ihtml:function()
{11|283;return""
},finish:function()
{11|284;this.onclick&&this.root.addCallback("onclick",this.onclick);dd.ie6&&this.check()
},check:function()
{11|288;if(!this.root)return;var a=document.body.parentNode.scrollHeight||Math.max(document.body.offsetHeight,document.body.parentNode.clientHeight);a>parseInt(this.root.style.height)&&(this.root.style.height=""+a+"px");this.timeout("check",[this,this.check],250)
},show:function()
{11|296;this.insert(document.body)
},hide:function()
{11|297;this.undraw()
}});(function()
{14|5;var a=[],b,c,d,e=new DocumentCover({onclick:function()
{14|15;b.prop("allowCancel")&&callback(b.prop("onCancel"),!1,b)
}}),f={},g=function()
{14|23;c=window.focussed;callback(window.onmodals,[!0]);e.show();document.addCallback("onkeydown",l,!0)
},h=function()
{14|34;document.delCallback("onkeydown",l);e.hide();setForegroundRoot(null);callback(window.onmodals,[!1]);restoreFocus(c)
};f.onShowing=function(a)
{14|46;this.root.style.zIndex=a?this.aboveWait?15e3:1e4:9997;a&&setForegroundRoot(this.root)
};var i=function()
{14|78;var c=b;b=a[0];window.notificationHandlers&&notificationHandlers.merge({modalTitle:b?b.prop("title")||null:null,modalSubTitle:b?b.prop("subTitle")||null:null});setLocationHash(b?b.prop("anchor")||"":"");if(b===c)return;var e=getDocScroll()[1];if(c){c.scroll=e;c.focussed=window.focussed||!1}else d=e;var f=b?b.scroll:d;DBG("restore: "+f);typeof f=="number"&&window.scrollTo(0,f);if(c&&!b)h();else if(c){c.root&&callback(c.onShowing,[!1],c);b.root||b.insert(document.body);callback(b.onShowing,[!0],b)}else{g();b.insert(document.body);callback(b.onShowing,[!0],b)}b&&b.root&&(b.focussed===undefined?focusFirstInput(b.root):b.focussed&&restoreFocus(b.focussed))
};f.show=function()
{14|144;for(var b=0;b<a.length;b++)a[b]===this&&a.splice(b,1);a.unshift(this);i();return this
};f.schedule=function()
{14|154;a.push(this);i();return this
};f.cancel=function()
{14|161;for(var b=0;b<a.length;b++)a[b]===this&&a.splice(b,1);var c=!!this.root;this.root&&this.undraw();i();return c
};window.clearModals=function(b)
{14|175;var c=[];for(var d=0;d<a.length;d++)callback(b,[a[d]])&&c.push(a[d]);for(var d=0;d<c.length;d++)c[d].clear();return c.length
};var j=function()
{14|188;var a=this.prop("options")||["Sluiten"];typeof a!="object"&&(a=a.split("|"));var b=this.prop("onAction"),c=this.prop("onCancel"),d=[];for(var e=0;e<(a||[]).length;e++){var f,g=a[e];if(typeof g=="object"&&g.Class){g.root&&g.undraw();g.orgOnclick===undefined?f=g.orgOnclick=g.onclick||!1:f=g.orgOnclick}else{f=a[++e];var h=e>=a.length-1?OkButton:f?GoButton:AbortButton;g=new h(g)}if(f)b&&(f=[!1,chainCb.call(this,!0,f,b)]);else{this.allowCancel===undefined&&(this.allowCancel=!0);f=c}e==a.length-1&&(this.onSubmit=f);g.onclick=typeof f=="function"?[this,f]:f;d.push(g)}return d
},k=function()
{14|237;var a=j.call(this);for(var b=0;b<a.length;b++)a[b]=a[b].render();return a.join("")
},l=function(a)
{14|246;if(getKeyCode(a)==27){b.prop("allowCancel")&&callback(b.prop("onCancel"),!1,b);return killEvent(a)}
};f.ihtml=function()
{14|258;this.updateDims();var a=this.child("content"),b=k.call(this);b=b?'<div style="margin-top: 15px; width: 100%;"><div style="zoom: 1; float: right; margin-right: 15px;" class="@buttonContainerE">'+b+'</div><div style="clear: both;"></div></div>':"";var c=this.title,d=this.content;this.title=this.prop("title");var e=this.top+this.bottom-(this.textTop||0)-(this.textButtom||0)-(OkButton.prototype.top+OkButton.prototype.bottom),f=this.prop("topHtml")||"",g=this.prop("bottomHtml")||"";f&&(f='<div style="position: relative;"><div style="position: absolute; top: -45px; right: 0px;">'+f+"</div></div>");g&&(g='<div style="position: relative;"><div style="position: absolute; top: '+(15+(OkButton.prototype.top+OkButton.prototype.bottom)/2)+'px;">'+g+"</div></div>");this.content=""+f+'<div style="width: 100%; min-height: '+e+'px; position: relative; ">'+a+'</div><div style="clear: both;"></div>'+g+""+b+"";var h=this.sup("ihtml");this.title=c;this.content=d;return h
};f.finish=function()
{14|302;b===this&&i()
};f.updateOptions=function()
{14|307;(new InlineWidget(k.call(this))).set(this.buttonContainerE)
};f.updateTitle=function()
{14|312;var a=this.prop("title"),c=this.prop("subTitle");this.titleE.setHtml(a);b===this&&i()
};f.updateDims=function()
{14|321;var a=(this.textLeft||this.left||0)+(this.textRight||this.right||0)+(this.extraChildMargin||0);scrollTop=getDocScroll()[1],vp=viewportSize(),innerWidth=vp[0];innerHeight=vp[1],maxWidth=innerWidth-50,z=parseInt(innerWidth*.9);maxWidth>z&&(maxWidth=z);maxWidth-=a;maxWidth<550&&(maxWidth=550);var b=this.prop("preferredWidth",null,maxWidth);b?b>maxWidth&&(b=maxWidth):b=550;b+=a;var c=scrollTop+innerHeight/10,d=this.aboveWait?15e3:1e4;DBG("modal: updateDims "+scrollTop+" / "+innerHeight+" / "+c+"");if(this.root){this.root.style.top=""+c+"px";this.root.style.width=""+b+"px";this.root.style.marginLeft=""+ -(b/2)+"px"}else this.appendAttr("style","position: absolute; left: 50%; top: "+c+"px; width: "+b+"px; margin-left: "+ -(b/2)+"px; z-index: "+d+";")
};f.updateAnchor=function()
{14|352;b===this&&i()
};f.close=f.clear=function()
{14|411;this.modalId&&!this.dontKillModal&&parseInt(this.modalId)&&ev.send("AutoRun.kill",this.modalId);return this.cancel()
};var m={};window.autoRunKilled=function(a)
{14|420;m[a]&&m[a].cancel()
};f.init=function()
{14|427;this.modalId&&(m[this.modalId]=this);return this.sup("init")
};f.deinit=function()
{14|434;delete m[this.modalId]
};f.onCancel=f.onAction=f.close=f.clear;f.name="Modal";f.basics=["modalId","content","title"];f.mainChild="content";window.Modal=makeWidget(f,ModalBox);window.LightBox=makeWidget(f,SimpleWhiteBox);window.unsafeModal=function(a,b)
{14|448;incrLoading("unsafeModal:"+a.name);a.widget||(a.widget=a.name);var c=function()
{14|454;var c=window[a.widget];if(!c)throw new Error("modals: cannot load "+a.name+" ("+a.widget+")");var d=c.prototype.newWithProto();c.apply(d,b||[]);var e=new Modal({name:a.name,content:d,modalId:a.id});a.now?e.show():e.schedule();decrLoading();gaTrackPageview("/modal/"+a.name+"?args="+encodeURIComponent(toJson(b||[])))
};a.deps?loadCall(a.deps,c):c()
};var n=function(a,b,c)
{14|475;var d=[];for(var e=0;e<b.length;e++)d.push(b[e]);var f=null;(""+d[0]).match(/^[0-9]*$/)&&(f=parseInt(d.shift()));var g=d.shift(),h=(window.safeModals||{})[g];if(!h)return DBG("modals: undefined modal: ",g);var i=h[0],j=h[1]||g,k=h[2]||!1,l=h[3]||!1;if(!window.uid&&!k||c&&l)return!1;var m=d[d.length-1];m&&typeof m=="object"&&m.cancelBubble!==undefined&&d.pop();unsafeModal({deps:i,name:g,widget:j,id:f,now:a},d)
};window.showModal=function()
{14|504;n(!0,arguments)
};window.schedModal=function()
{14|505;n(!1,arguments)
};var o=location.hash;window.addCallback("onInit",function()
{14|511;var a=o;if(!a||a.length<=1)return;a=a.slice(1);dd.saf&&(a=a.replace("%23","#"));a.charAt(0)=="!"?a=["Content",a.slice(1)]:a=a.split(/#/);if((window.safeModals||{})[a[0]]){var b=a[0]=="Settings"||a[0]=="RemoveAccount";(window.noModals||n(b,a,!0)!==!1)&&setLocationHash("")}
})
})();7;window.ContentDialog=function()
{15|3;var a={},b={basics:["url"],parentOptions:["Sluiten"]};b._getParentPreferredWidth=function(a)
{15|13;return this.tw=Math.min(a,1200)
};b.init=function()
{15|18;this.addWatch([this,this.modal,"redraw"]);ev.send("ContentNode.getTree",0,this.url,[this,this.merge]);window.ccc=this
};var c=function(a,b)
{15|27;return a.v.ord-b.v.ord
},d=function(a)
{15|28;return a.replace(/^\/+/,"").replace(/\/+$/,"")
};getParent=window.gp=function(a)
{15|29;return d(a).replace(/(\/|^)[^\/]*$/,"")
},isChild=function(a,b)
{15|32;a=d(a);b=d(b);return(!b||a.substring(0,b.length+1)==b+"/")&&a.indexOf("/",b.length+1)<0
},isDescendant=function(a,b)
{15|36;a=d(a);b=d(b);return!b||a.substring(0,b.length+1)==b+"/"
},makeTocs=function()
{15|40;var a={};for(var b in this.nodes){if(!this.nodes[b].toc)continue;var d=b.replace(/(^|\/)[^\/]+$/,"");a[d]||(a[d]=[]);a[d].push({k:b,v:this.nodes[b]})}for(var b in a)a[b].sort(c);this.tocs=a
};var e=function(a,b)
{15|58;var c=0;a=a.replace(new RegExp("((<.*?>)|("+b+"))","gi"),function(a,b,d,e)
{15|63;if(d)return d;c++;return'<span style="background-color: yellow;">'+e+"</span>"
});return[a,c]
},f=function(a,b,c,d)
{15|75;return'<div class="@@cnEA contentNode" path="'+escapeHtml(a)+'"><h3>'+(d?b:escapeHtml(b))+"</h3>"+c+"</div>"
},g=function(a,b)
{15|78;var c=this.tocs;if(!c[a])return"";var d="";for(var e=0;e<c[a].length;e++){var f=c[a][e],h={path:f.k,url:f.v.url,type:f.v.type};b&&(h={path:b,url:this.nodes[b].url,type:this.nodes[b].type,"`scrollTo":[f.k]});d+="<li>"+(new Link({content:escapeHtml(f.v.title),onclick:[!1,this,this.merge,h],style:this.path==f.k&&this.type!="search"?"color: #ef6b00":""})).render()+"</li>";if(this.path==f.k||isDescendant(this.path,f.k))d+=g.call(this,f.k,b||(f.v.type=="aggregate"?f.k:undefined))}return'<ul class="contentToc">'+d+"</ul>"
},h={text:function()
{15|102;return f(this.path,this.nodes[this.path].title,this.nodes[this.path].html)
},section:function()
{15|105;return'<div class="contentNode"><h3>'+escapeHtml(this.nodes[this.path].title)+"</h3><p>Maak een keuze in het menu aan de linkerkant.</p></div>"
},aggregate:function()
{15|108;var a=[];for(var b in this.nodes)isChild(b,this.path)&&a.push({k:b,v:this.nodes[b]});a.sort(c);var d=this.nodes[this.path].html||"";for(var e=0;e<a.length;e++)d+=f(a[e].k,a[e].v.title,a[e].v.html);return d
},search:function()
{15|121;var a=[];for(var b in this.nodes){var c=this.nodes[b],d=c.html,g=escapeHtml(c.title);if(!d)continue;var h=0,i=!0;for(var j=0;j<(this.swords||[]).length;j++){var k="\\b"+this.swords[j];j!=this.swords.length-1&&(k+="\\b");var l=h,m=e(d,k);d=m[0];h+=m[1];m=e(g,k);g=m[0];h+=m[1]*3;i=!1;if(l==h)break;i=!0}if(i){for(var n=getParent(b);n&&this.nodes[n];n=getParent(n))g=this.nodes[n].title+" &rarr; "+g;a.push({score:h,html:f(b,g,d,!0)})}}a.sort(function(a,b)
{15|154;return b.score-a.score
});var d="";for(var j=0;j<Math.min(7,a.length);j++)d+=a[j].html;a.length>7&&(d+='<div style="text-align: center; font-style: italic; padding: 35px 0;">Er zijn meer resultaten. Gebruik specifiekere zoektermen om deze te tonen.</div>');return d
}};b.ihtml=function()
{15|166;delete this.parentAnchor;this.cnEA=[];if(!this.type)return;if(this.type=="err"){ev.send("log","content node not found: url="+this.url+", path="+this.path+"");this.parentTitle="Ongeldige URL";delete this.parentAnchor;delete this.parentTopHtml;return'<div style="font-style: italic; text-align: center; padding: 35px 0;">Dit lijkt een ongeldige URL. We zouden het erg op prijs stellen als je een mailtje stuurt naar <a href="mailto:support@paiq.nl">support@paiq.nl</a> met uitleg hoe je hier terecht bent gekomen.</div>'}this.parentTitle=this.grTitle||"";this.parentAnchor=this.url?"!"+this.url:undefined;this.parentTopHtml=j.call(this);var a="";if(this.grPath){this.tocs||makeTocs.call(this);a=g.call(this,this.grPath,walkTree(this.nodes,[this.grPath,"type"])=="aggregate"?this.grPath:undefined)}var b=this,c=h[this.type].call(this);c=(new ContentBox({content:c,style:"width: 100%;",finish:function()
{15|193;b.cnEA=this.cnEA
}})).render();if(!a)return c;else return'<table style="width: 100%;"><tr><td width="180" style="padding: 12px 0 0 0;">'+a+'</td><td width="*">'+c+"</td></tr></table>"
};var i=function()
{15|209;this.timeout("redrawLater",[this,this.modal,"redraw"],10)
};b.scrollTo=function(a)
{15|214;var b=this.cnEA||[];for(var c=0;c<b.length;c++)if(b[c].getAttribute("path")==a){scrollToElement(b[c].childNodes[0],!0);break}
};b.finish=function()
{15|224;window.addCallback("onresize",[this,this.modal,"updateDims"]);this._id=a.length;a[this._id]=this
};b.unfinish=function()
{15|249;window.delCallback("onresize",[this,this.modal,"updateDims"]);delete a[this._id]
};var j=function()
{15|254;if(this.noSearch)return"";var a=function(a)
{15|257;this._type||(this._type=this.type);this.type=a?"search":this._type;this.swords=a?a.split(/\s+/):null;c.root.style.display=a?"block":"none";a!=b.getValue()&&b.setValue(a);this.redraw()
},b=new EnhancedInputLine({hint:"zoeken...",style:"width: 225px; position: relative; top: -6px;",onChange:[this,a]}),c=new Link({onclick:[this,a,""],content:"annuleren",style:"font-size: 85%; display: none; position: relative; top: -6px; left: 3px;"});return(new InlineWidget(""+b.render()+""+c.render()+"")).render()
};window.linkContent=function(b)
{15|279;var c;for(var d in a){var e=a[d];for(var f in e.nodes||{}){var g=e.nodes[f];if(g.url==b){c=[e,f,g];break}}e.nodes[b]&&(c=[e,b,e.nodes[b]]);if(c)break}if(c){c[0].modal("show");c[0].merge({path:c[1],url:c[2].url,type:c[2].type})}else showModal("Content",b)
};return makeWidget(b)
}();window.Link=makeWidget({basics:["content","onclick","tooltip","bubbleEvent"],attrs:{"class":"link",tabindex:"1"},ihtml:function()
{11|310;return this.content
},finish:function()
{11|313;toggleFocus(this.root);if(this.onclick){this.root.addCallback("onkeypress",a);this.addOnClick(this.onclick,this.glow)}if(this.tooltip){addTooltip(this.root,this.tooltip);this.tooltip=undefined}this.inner=this.root
},onEnter:function()
{11|325;this.onclick&&callback(this.onclick)
}});window.FormField=makeWidget({setError:function(a)
{11|336;if(!this.root)return;var b=a?"<span><div style='clear: both;'></div><span style='color: red; font-weight: bold; font-size: 85%;'>"+a+"</span></span>":"";this.error?$(this.error).setHtml(b):this.error=$(this.root.parentNode).insertHtml(this.root.nextSibling,b)
}});function
d(){11|355;this.root.focus();this.isChanged=!0;callback(this.onChange,[this.getValue()],this)
}window.CheckBox=makeWidget({attrs:{style:"padding: 4px; padding-top: 0px; cursor: pointer;",tabindex:"1"},tag:"div",ihtml:function()
{11|368;this.value&&(this.checked=this.value);return'<table style="margin: 0px; padding: 0px; border-collapse: collapse;"><tr><td><input tabindex="-1" class="@input checkbox" style="position: relative; float: left;" type="checkbox" '+(this.checked&&this.checked!="false"?"checked ":"")+""+(this.post?' name="'+escapeHtmlString(this.post)+'"':"")+' /></td><td style="padding: '+(dd.ie67?6:0)+'px 0 0 6px;">'+this.content+"</td></tr></table>"
},getValue:function()
{11|380;return this.input.checked?1:0
},setValue:function(a)
{11|382;this.input.checked=!!a
},changeValue:function(a)
{11|387;this.setValue(!this.getValue());a===!0&&d.call(this)
},finish:function()
{11|392;var b=this;b.root.addCallback("onkeypress",a);b.addOnClick(function(a)
{11|397;b.changeValue(!0);killEvent(a)
},!0);b.input.addCallbacks({onclick:function(a)
{11|403;d.call(b);killEvent(a,!0)
}})
},onEnter:function(a)
{11|410;this.changeValue(!0);return killEvent(a)
},basics:["content","checked"]},FormField);window.Selector=function()
{11|423;var b={basics:["answers","value"],attrs:{tabindex:1},tag:"select"};b.ihtml=function()
{11|430;var a="";if(this.answers instanceof Array)for(var b=0;b<this.answers.length;b++)a+='<option value="'+b+'" '+(b==this.value?"selected":"")+">"+escapeHtml(this.answers[b])+"</option>";else for(var c in this.answers)a+='<option value="'+c+'" '+(c==this.value?"selected":"")+">"+escapeHtml(this.answers[c])+"</option>";return a
};b.getValue=function()
{11|445;return this.root.childNodes[this.root.selectedIndex].value
};b.setValue=function(a)
{11|450;for(var b=0;b<this.root.childNodes.length;b++)if(this.root.childNodes[b].value==a){this.root.selectedIndex=b;return!0}return!1
};var c=function()
{11|461;callback(this.onChange,[this.getValue()],this)
};b.finish=function()
{11|466;var b=this.input=this.root;b.addCallback("onchange",[this,c]);b.addCallback("onkeypress",a)
};return makeWidget(b,FormField)
}();window.SelectorWithTemplate=function()
{11|482;var a={basics:["data","noDataText","listFormatter","textFormatter","onDataRequired","onSelect"],tag:"div",attrs:{style:dd.ie&&dd.ie<8?"display: inline; zoom: 1;":"display: inline-block;"},name:"SelectorWithTemplate",listShown:!1},b=!1;a.listFormatter=function(a)
{11|502;return typeof a=="string"?a:toJson(a)
};a.textFormatter=function()
{11|507;return this.listFormatter.apply(this,arguments)
};a.selectorFormatter=function(a)
{11|515;return'<div style="text-align: right; width: auto; height: 18px; padding-right: 13px; padding-left: 3px; border: 1px solid #e8e8e8; background: white url('+(R+(dd.png?"1/i/selector-list-button.png":"1/i/_ic.png"))+') no-repeat scroll 99% 6px; cursor: pointer;" class="@outerE"><div style="height: 18px; line-height: 18px; background: #ffffff; overflow: hidden;" tabindex="1" class="@focusE">'+a+"</div></div>"
};a.init=function()
{11|527;var a=this,b=function()
{11|530;a.redraw();if(a.focusE&&a.giveFocus){a.giveFocus=!1;try{a.focusE.focus()}catch(b){}}
};this.addWatch("data",b);this.addWatch("selectedIndex",b);this.addWatch("noDataData",b)
};a.ihtml=function()
{11|542;var a;if(this.data){if(!this.data[this.selectedIndex])for(var b=0;b<this.data.length;b++)if(this.data[b]._selectable===undefined||this.data[b]._selectable){this.selectedIndex=b;break}a=this.textFormatter(this.data[this.selectedIndex]||null)}else a=this.textFormatter(this.noDataData||null);return this.selectorFormatter(typeof a=="object"?a.render():a)
};a.selectItem=function(a)
{11|563;if(!this.data[a]||this.data[a]._selectable===!1)return;this.selectedIndex=a;this.listShown=!1;this.currentlyShown=!1;this.redraw();callback(this.onSelect||this.onChange,[a,this.data[a]],this)
};a.getSelectedItem=function()
{11|574;return this.data[this.selectedIndex]
};a.getValue=function()
{11|579;return 1+this.selectedIndex
};a.setValue=function(a)
{11|584;this.setVar("selectedIndex",a-1)
};a.focusItem=function(a)
{11|589;if(this.focusedIndex==a)return;this.focusedIndex!=null&&(this.itemWidgets[this.focusedIndex].root.style.backgroundColor="");if(!this.data[a]||this.data[a]._focusable===!1){this.focusedIndex=null;return}this.focusedIndex=a;this.itemWidgets[this.focusedIndex].root.style.backgroundColor="#cfdfef"
};function
c(){11|604;b=!1;if(this.listShown){this.listShown=!1;d.call(this)}
}var d=function()
{11|616;var a=this;if(!this.listShown&&this.listWidget){this.focusedIndex=null;this.listWidget.undraw();delete this.listWidget;document.delCallback("onclick",[this,c])}else if(this.listShown&&!this.data)callback(this.onDataRequired,[],this);else if(this.listShown){document.addCallback("onclick",[this,c]);this.listWidget&&this.listWidget.root&&this.listWidget.undraw();var b=[];this.itemWidgets=[];var d=this;for(var e=0;e<this.data.length;e++){var f=this.listFormatter(this.data[e]),g=this.itemWidgets[e]=new InlineWidget({selectorItemIndex:e,innerWidget:f,h:typeof f=="object"&&f.render?f.render():f,tag:"div",finish:function()
{11|647;toggleMouse(this.root,null,[!1,d,d.focusItem,this.selectorItemIndex]);this.root.addCallback("onmousedown",[this,function(a)
{11|649;d.selectItem(this.selectorItemIndex);killEvent(a,!0)
}])
},tag:"div"});b.push(g.render())}var h=getOffsetX(this.root);this.listWidth&&this.listAlign=="right"&&(h+=this.root.offsetWidth-this.listWidth);this.listWidget=new InlineWidget('<div style="border: solid 1px #a0a0a0; position: absolute; left: '+h+"px; top: "+(getOffsetY(this.root)+this.root.offsetHeight)+"px; width: "+(this.listWidth||this.root.offsetWidth)+'px; overflow-y: auto; overflow-x: none; z-index: 20000; background: #fff; cursor: default;" class="@containerE">'+b.join("")+""+(b.length?"":'<div style="height: 2px;"></div>')+"</div>",function()
{11|670;if(this.containerE.offsetHeight>220){this.containerE.style.height="220px";setTimeout(function()
{11|674;for(var b=0;b<a.itemWidgets.length;b++){var c=a.itemWidgets[b].innerWidget;c&&c.redraw()}
},0)}
});this.listWidget.insert(document.body)}
};a.toggleList=function()
{11|688;this.listShown=!this.listShown;if(this.listShown){b&&b.listShown&&b!=this&&b.toggleList();b=this}else b=!1;d.call(this)
};function
e(a){11|701;this.toggleList();this.focusE.focus();return killEvent(a)
}a.finish=function()
{11|708;var a=this;this.root.addCallback("onclick",[this,e]);var b=function(a)
{11|714;this.style.border="1px solid "+a
};this.borderHighlightColor&&this.root.addCallbacks({onmouseover:[this.outerE,b,this.borderHighlightColor],onmouseout:[this.outerE,b,"transparent"]});d.call(this)
};a.unfinish=function()
{11|725;document.delCallback("onclick",[this,c])
};return makeWidget(a)
}();(function()
{11|738;var a={name:"TextArea",tag:"textarea",ihtml:function()
{11|743;return escapeHtml(this.value||this.content||"")
},basics:["content"],attrs:{tabindex:1}},b=function()
{11|748;var a=this._w;this.addClass("focus");saveFocus(this);a.isChanged=!0;callback(a.onChange,[a.getValue()],a)
},c=function()
{11|758;var a=this._w;this.delClass("focus");unsaveFocus(this);a.isChanged=!0;callback(a.onChange,[a.getValue()],a)
};a.finish=function()
{11|768;var a=this.inputE=this.inputE||this.root;a.addCallbacks({onfocus:b,onblur:c});this.focused&&this.focus()
};a.disable=function(a)
{11|778;a!==!1&&(a=!0);this.disabled=a;this.root.style.backgroundColor=a?"#d0d0d0":"#ffffff"
};a.getValue=function()
{11|785;return this.inputE.value.toString().replace(/\u200B/g,"")
};a.setValue=function(a)
{11|790;this.inputE.value=a
};a.focus=function()
{11|795;try{this.inputE.focus();if(this.inputE.createTextRange){var a=this.inputE.createTextRange();a.move("character",this.inputE.value.length);a.select()}}catch(b){}
};window.TextArea=makeWidget(a,FormField);var d={tag:"div",basics:["content","hint","height"],enterMode:3,height:"100px",attrs:{tabindex:-1}},e=function()
{11|822;this.hintE.style.display=this.hint&&this.getValue().strip()==""?"block":"none"
};this.setValue=function(a)
{11|827;this.sup("setValue",a);e.call(this)
};d.setHint=function(a)
{11|833;(new InlineWidget(a)).set(this.innerHintE);e.call(this)
};d.ihtml=function()
{11|839;delete this.attrs.tabindex;this.appendAttr("style","position: relative;"+(dd.ie67?"display: inline-block;":""));var a=this.value||this.content||"",b="   "+(dd.ie67?"<fieldset style='padding: 0; margin: 0; border: 0;'><div>":"")+'<textarea tabindex="'+(this.tabindex||1)+'" class="@inputE" style="'+(this.fontSize?"font-size: "+this.fontSize+";":"")+" padding: 0px; margin: 0; border: 0px; width: 100%; height: "+this.height+"; background: transparent; color: "+(this.fontColor||"black")+"; "+(dd.ie?"overflow: auto;":"")+'">'+escapeHtml(a)+"</textarea>"+(dd.ie67?"</div></fieldset>":"")+'<div class="@hintE" style="position: absolute; left: 0; top: 0; height: '+this.height+"; width: 100%; z-index: 30; overflow: hidden; cursor: text; "+(a==""?"":"display: none;")+"\"><div class='@innerHintE' style='position: absolute; top: 50%; margin-top: -0.5em; text-align: center; color: #c0c0c0; width: 100%;'>"+(this.hint||"")+"</div></div>",c=dd.ie67?"padding: 0 0 0 2px;":"padding: 1px 1px 1px 3px;";if(!this.button){this.appendAttr("class","inputStyle");this.appendAttr("style",c);return b}this.appendAttr("class","inputStyle");this.appendAttr("style",c);var d=30;return'<div style="margin-right: '+d+'px;">'+b+'</div><div class="@buttonE" tabindex="'+(this.tabindex||1)+'" style="z-index: 31; position: absolute; right: 3px; bottom: 3px; width: 25px; height: 25px; cursor: pointer; background: url('+R+'1/i/chat-send-button.gif);"></div>'
};var f=function(a)
{11|892;this.buttonE.style.visibility=a?"visible":"hidden"
},g=function(a)
{11|897;a=a||window.event||{};var b=a.keyCode||a.which||a.charCode;if(b==13||b==10){var c=a.shiftKey?1:a.ctrlKey?3:2;if(c>=this.enterMode){if(callback(this.onEnter,!1,this)!==!1)return killEvent(a)}else if(c>=2&&this.buttonE)for(var d=0;d<3;d++){setCallbackTimeout([this,f,!1],d*150);setCallbackTimeout([this,f,!0],d*150+50)}}
};d.finish=function()
{11|918;this.sup("finish");this.inputE.addCallbacks({onkeyup:[this,e],onkeydown:[this,g]});this.hintE.addCallback("onclick",[this,this.focus]);if(this.buttonE){var a=this,b=function(b)
{11|928;killEvent(b);callback(a.onEnter,!1,a);try{a.focus()}catch(c){}
};this.buttonE.addCallbacks({onclick:b,onkeypress:function(a)
{11|935;(getKeyCode(a)==13||getKeyCode(a)==32)&&b(a)
}});addTooltip(this.buttonE,"Verstuur! (<b>"+(this.enterMode>2?"ctrl-enter":"enter")+"</b>)",{width:0})}this.inputE.addCallback("onfocus",[this,function()
{11|940;this.root.addClass("inputFocusStyle")
}]);this.inputE.addCallback("onblur",[this,function()
{11|941;this.root.delClass("inputFocusStyle")
}])
};window.EnhancedTextArea=makeWidget(d,TextArea)
})();(function()
{11|952;var b={basics:["content","startFocused"],tag:"input"};b.getValue=function()
{11|958;return this.input.value
};b.setValue=function(a)
{11|963;this.input.value=a
};var c=function()
{11|968;saveFocus(this.root);this.root.addClass("focus")
},d=function()
{11|974;unsaveFocus(this.root);this.root.delClass("focus")
},e=function()
{11|980;this.isChanged=!0;this.onChange&&callback(this.onChange,[this.getValue()],this)
};b.init=function()
{11|986;this.type||(this.type=this.password?"password":"text")
};b.ihtml=function()
{11|991;this.attrs.value=this.value||this.content;this.attrs["class"]+=" "+this.type;this.attrs.type=this.type;this.attrs.tabindex=1;this.post!==undefined&&(this.attrs.name=this.post);if(this.disabled){this.attrs.disabled="1";this.appendAttr("style","background-color: #b0b0b0; background-image: none;")}
};b.finish=function()
{11|1006;var b=this.input=this.inputE=this.inputE||this.root;b.addCallbacks({onfocus:[this,c],onblur:[this,d],onkeyup:[this,e],onkeypress:a});try{this.startFocused&&this.focus()}catch(f){}
};b.disable=function(a)
{11|1028;a!==!1&&(a=!0);this.disabled=this.input.disabled=a
};b.focus=function()
{11|1034;this.input.focus()
};window.InputLine=makeWidget(b,FormField);var f={basics:["content","hint"],tag:"div",attrs:{"class":"inputStyle",style:"zoom: 1;"}},g=function()
{11|1049;this.hintE.style.display=this.hint&&this.getValue().strip()==""?"block":"none"
};f.setHint=function(a)
{11|1054;(new InlineWidget(a)).set(this.innerHintE);g.call(this)
};f.setValue=function(a)
{11|1060;this.sup("setValue",a);g.call(this)
};f.ihtml=function()
{11|1066;var a=this.value||this.content||"";return'<input class="@inputE" tabindex="'+(this.tabindex||1)+'" style="padding: 1px 0 0 0; margin: 0 0 -1px 0; border: none; width: 100%; height: 100%; background: transparent; color: black; '+(dd.ie?"overflow: hidden;":"")+'" value="'+escapeHtmlString(a)+'"/><div class="@hintE" style="position: absolute; left: 0; top: 0; height: '+(dd.ie6?"20px":"100%")+"; width: 100%; z-index: 30; overflow: hidden; cursor: text; "+(a==""?"":"display: none;")+"\"><div class='@innerHintE' style='position: absolute; top: 50%; margin-top: -0.6em; text-align: center; color: #c0c0c0; width: 100%;'>"+(this.hint||"")+"</div></div>"
};f.finish=function()
{11|1080;this.sup("finish");this.inputE.addCallback("onkeyup",[this,g]);this.hintE.addCallback("onclick",[this,function()
{11|1084;this.inputE.focus()
}]);this.inputE.addCallback("onfocus",[this,function()
{11|1086;this.root.addClass("inputFocusStyle")
}]);this.inputE.addCallback("onblur",[this,function()
{11|1087;this.root.delClass("inputFocusStyle")
}]);this.focus&&this.root.addClass("inputFocusStyle")
};window.EnhancedInputLine=makeWidget(f,InputLine)
})();window.ProgBar=function()
{11|1099;var a={attrs:{style:"height: 17px; border: 1px solid black; padding: 0px; text-align: left;"},tag:"div"};a.setPercentage=function(a,b)
{11|1104;this.progBarText.innerHTML=b===undefined||b===null?""+(a||0)+"%":b===!1?"":b;this.progBar.style.width=a+"%"
};a.unfinish=function()
{11|1110;this.tout&&clearTimeout(this.tout);this.tout=!1
};a.finish=function()
{11|1116;if(!this.random)return;var a=(this.aniPos||0)+1;a>=85&&(a=-85);this.aniPos=a;this.progBar.style.width="15%";this.progBar.style.left=(a<0?-a:a)+"%";this.tout=setCallbackTimeout([this,this.finish],40)
};a.ihtml=function()
{11|1127;var a=this.value,b=""+(this.percentage||0)+"%";this.random&&(a=!1);a=a===undefined||a===null?b:a===!1?"":a;return'<div class="@progBar" style="position: relative; top: 0px; left: 0px; background-image: url('+R+"1/i/progani.gif); background-repeat: repeat; height: 100%; width: "+b+'; padding: 0px;"><div class="@progBarText" style="position: relative; top: 0px; color: #d8d8d8; left: 0px; height: auto; text-align: center; font-weight: bold; padding: 0px; padding-top: 1px; padding-left: 3px;">'+a+"</div></div>"
};return makeWidget(a)
}();window.MultipleChoice=function()
{11|1147;var a=0,b="mcAnswerSelected",c={tag:"div",attrs:{tabindex:"1",cellspacing:"0"},basics:["answers","defaultValue","onChange"]};c.init=function()
{11|1181;typeof this.answers=="string"&&(this.answers=this.answers.split("##"));this.disabledNrs=[];this.values=[];for(var a=0;a<this.answers.length;a++){var b=this.answers[a];typeof b=="string"&&(b=b.split("%%"));this.values[a]=b.length==1?a+1:b[1];if(b[2]){this.disabledNrs[a]=!0;this.val==b[0]&&(this.val=undefined)}this.answers[a]=b[0]}this.val&&(this.defaultValue=this.val)
};var d=function(a)
{11|1208;var b=this._w;if(b.disabledNrs[this._nr])return;b.setPosition(this._nr);b.isChanged=!0;callback(b.onChange,[b.getValue()],b)
};c.setPosition=function(a)
{11|1221;if(this.disabledNrs[a])return;if(!this.answersEA[a])return;this.position!=null&&this.answersEA[this.position].delClass(b);this.position=a;this.answersEA[this.position].addClass(b);this.answersEA[this.position].firstChild.firstChild.checked=!0
};c.getValue=function()
{11|1240;return this.values[this.position]||null
};c.setValue=function(a)
{11|1248;for(var b=0;b<(this.values||[]).length;b++)if(!!this.values[b]&&this.values[b]==a&&!this.disabledNrs[b]){this.setPosition(b);return!0}return!1
};var e=function(a)
{11|1262;var b=getKeyCode(a),c=this._w,d=c.position;if(b!=40||d!==undefined&&!c.answers[d+1])if(b!=38||d!==undefined&&!c.answers[d-1])return;else c.setPosition(c.position===undefined?c.answers.length-1:d-1);else c.setPosition(c.position===undefined?0:d+1);killEvent(a);c.isChanged=!0;callback(c.onChange,[c.getValue()],c)
};c.ihtml=function()
{11|1279;var c=[],d=this.answers,e=[],f=a++;for(var g=0;g<this.answers.length;g++){var h=!!this.defaultValue&&this.defaultValue==this.values[g]&&!this.disabledNrs[g];h&&(this.position=g);c.push('<tr class="@@answersEA mcAnswer'+(g&1)+" "+(h?b:"")+'" '+(this.disabledNrs[g]?'style="cursor: default;"':"")+'><td class="mcOptionAnswered" '+(this.centerRadioButton?"style='vertical-align: middle;'":"")+'><input tabindex="-1" style="cursor: pointer;" type="radio" name="ignoreMc'+f+'" value="'+1+'" '+(this.disabledNrs[g]?"disabled":"")+" "+(h?"checked ":"")+' /></td><td class="mcAnswerText" '+(this.disabledNrs[g]?'style="color: gray;"':"")+">"+this.answers[g]+"</td></tr>")}return'<table cellspacing="0" class="qArea">'+c.join("")+"</table>"
};c.finish=function()
{11|1302;this.defaultValue&&this.setValue(this.defaultValue);toggleMouse(this.answersEA,"mcAnswerHover");for(var a=0;a<this.answersEA.length;a++)this.answersEA[a].addCallback("onclick",d);this.root.addCallback("onkeypress",e)
};return makeWidget(c,FormField)
}();window.Animation=function()
{16|5;var a,b,c=[],d=function()
{16|14;a&&clearTimeout(a);if(c.length){var b=c[0][0]-(new Date).getTime();b<5&&(b=5);a=setTimeout(e,b)}else a=!1
},e=function()
{16|27;a=!1;var e=(new Date).getTime(),f=e+10,g=0;while(g<c.length&&c[g][0]<=e)g++;var h=c.splice(0,g);b=!0;for(g=0;g<h.length;g++)h[g][1].onTimeout(e);b=!1;d()
},f=function(a,e)
{16|55;var f=(new Date).getTime()+a,g=0;while(c[g]&&f>c[g][0])g++;c.splice(g,0,[f,e]);!g&&!b&&d()
},g=function(a)
{16|66;for(var b=0;b<c.length;b++)if(c[b][1]===a){c.splice(b,1);b--}
},h={defaultInterval:40};h.start=function()
{16|89;var a=this.delay||0;this.startTime=(new Date).getTime()+a;a?this.sched(a):this.onTimeout(this.startTime);return this
};h.onTimeout=function(a)
{16|99;if(!this.started){callback(this.onStart,!1,this);this.started=!0}if(this.duration&&this.duration>0){while(a-this.startTime>this.duration){var b=this.duration;if(callback(this.onUpdate,[1],this)===!1||callback(this.onReady,!1,this)!==!0)return;this.startTime+=b}a=(a-this.startTime)/this.duration}var c=callback(this.onUpdate,[a],this);if(c===!1)return;var d=this.defaultInterval;typeof c=="number"&&(d=c);this.sched(d)
};h.sched=function(a)
{16|127;this.scheduled&&g(this);if(typeof a=="number"){f(a,this);this.scheduled=!0}else this.scheduled=!1
};h.cancel=function(a)
{16|141;this.sched(!1);callback(this.onCancel,!1,this)
};h.init=function()
{16|175;typeof this.transform!="function"&&(this.transform=this[this.transform])
};h.set=function(a)
{16|180;this.started||callback(this.onStart(),!1,this);callback(this.onUpdate,[a],this)!==!1&&a>=1&&callback(this.onReady,[],this)
};var i=function(a)
{16|193;a.interval=function(b,c)
{16|194;return function(d)
{16|195;if(d<b)return a(0);if(d>=c)return a(1);return a((d-b)/(c-b))
}
};return a
},j={};j.sinsin=h.sinsin=i(function(a)
{16|207;return.5*Math.sin((a-.5)*Math.PI)+.5
});j.sin=h.sin=i(function(a)
{16|210;return Math.sin(a*Math.PI/2)
});j.linear=h.linear=i(function(a)
{16|212;return a
});j.elastic=h.elastic=i(function(a)
{16|215;return a>=1?1:1-Math.pow(2,10*-a)*Math.cos(20*a*Math.PI/3)
});var k=makeClass(h);k.T=j;return k
}();window.CssAnimation=function()
{16|223;var a={basics:["element","targetValues","unit","duration","originValues"],duration:1e3,transform:Animation.T.elastic,property:"style"};a.onStart=function()
{16|247;this.originValues||(this.originValues={});var a=this.element;if(!a||!a.parentNode){DBG("no parentNode");return}this.property&&(a=a[this.property]);for(var b in this.targetValues)this.originValues[b]===undefined&&(this.originValues[b]=parseFloat(a[b]));if(this.constantSpeed){var b=this.constantSpeed[0],c=this.constantSpeed[1];this.duration=Math.max(10,Math.abs(this.targetValues[b]-this.originValues[b])*c)}
};var b=/(^l|L)eft$|(^t|T)op$|(^r|R)ight$|(^b|B)ottom$|(^w|W)idth$|(^h|H)eight$|^margin$|^padding$/,c=/^zIndex$/;a.onUpdate=function(a)
{16|276;var d=this.element;if(!d||!d.parentNode){DBG("Canceling animation for seemingly removed element ",d);return!1}this.property&&(d=d[this.property]);for(var e in this.targetValues){var f=this.originValues[e]+(this.targetValues[e]-this.originValues[e])*this.transform(a);e.match(c)&&(f=Math.round(f));if(!isFinite(f))continue;(e.toLowerCase()=="width"||e.toLowerCase()=="height")&&f<0&&(f=0);this.unit===!1?f=Math.round(f):this.unit&&this.unit[e]?f=""+f+""+this.unit[e]+"":this.unit?f=""+f+""+this.unit+"":e.match(b)&&(f=""+Math.round(f)+"px");try{d[e]=f;dd.ie&&this.property=="style"&&e=="opacity"&&setOpacity(this.element,parseFloat(f))}catch(g){if(window.errReport){g.animate=this.property+"."+e+"="+f;errReport(g)}}}
};return makeClass(a,Animation)
}();window.WidgetAnimation=function()
{16|327;var a={};a.init=function()
{16|331;this.reset()
};a.reset=function()
{16|335;if(this.started){this.cancel();this.started=!1}this.cbs={onCancel:[],onReady:[],onDone:[]};this.frames=[[]];this.frame=0
};a.prependFrame=function()
{16|346;this.frames.unshift([]);this.frame=0
};a.appendFrame=function()
{16|351;this.frames.push([]);this.frame=this.frames.length-1
};a.push=function()
{16|356;var a=[];for(var b=0;b<arguments.length;b++)a.push(arguments[b]);this.frames[this.frame].push.apply(this.frames[this.frame],a)
};a.onStart=function()
{16|362;this.duration=0;for(var a=0;a<this.frames.length;a++)this.duration+=this.frames[a].duration||500;this.framePs={};var c=0;for(var a=0;a<this.frames.length;a++){this.framePs[a]=c/this.duration;c+=this.frames[a].duration||500}b.call(this,0)
};var b=function(a)
{16|379;a=this.frames[a];for(var b=0;b<a.length;b++){var c=a[b];c.type=="content"?c.from===undefined&&(c.from=parseFloat(c.el.innerHTML)||0):c.from===undefined&&(c.from=parseFloat(c.el.style[c.prop])||0)}
},c=function(a,b)
{16|392;a=this.frames[a];for(var c=0;c<a.length;c++){var d=a[c];if(d.type=="content"){var e=d.from+(d.to-d.from)*(d.tf||a.tf||this.sinsin)(b);d.el.innerHTML=Math.round(e)}else if(d.type=="rotate")d.el.style[d.prop]=d.values[Math.floor(b*(d.repeat||1)*d.values.length)%d.values.length];else{var e=d.from+(d.to-d.from)*(d.tf||a.tf||this.sinsin)(b);d.el.style[d.prop]=e+(d.unit||"px")}}
};a.onUpdate=function(a)
{16|413;if(!this.widget.root){DBG("canceling WidgetAnimation for undrawn widget");return!1}while(this.framePs[this.frame+1]!==undefined&&a>=this.framePs[this.frame+1]){c.call(this,this.frame,1);b.call(this,this.frame+1);this.frame++}if(a>=1){c.call(this,this.frame,1);return}c.call(this,this.frame,(a-this.framePs[this.frame])/((this.framePs[this.frame+1]||1)-this.framePs[this.frame]))
};a.onCancel=function()
{16|435;var a=this.cbs.onCancel.concat(this.cbs.onDone);for(var b=0;b<a.length;b++)callback(a[b],[],this)
};a.onReady=function()
{16|440;var a=this.cbs.onReady.concat(this.cbs.onDone);for(var b=0;b<a.length;b++)callback(a[b],[],this)
};return makeClass(a,Animation)
}();(function()
{17|1;var a={tag:"div",attrs:{style:"position: absolute; padding: 6px; background: #ffffff; border: solid 1px #000000; z-index: 20000; border-radius: 7px; display: block;","class":"tooltip"},width:250,align:"left",above:!0,force:!1,pointTo:24},b=0,c=function()
{17|30;this.timeout("showhide",function()
{17|31;if(b>0)return DBG("tooltips: not visibleCount tooltip; one visible already");if(this.root){this.root.style.display="block";this.update()}else{var a=$("allTooltips");if(!a){a=$(document.createElement("div"));a.id="allTooltips";a.style.position="absolute";a.style.left="0";a.style.top="0";a.style.height="0";a.style.width="100%";a.style.zIndex="20000";document.body.appendChild(a)}a.childNodes.length>=10&&a.firstChild._w.undraw();this.insert(a)}b++;document.ontooltip&&document.ontooltip(this)
},100)
},d=function()
{17|68;this.timeout("showhide",function()
{17|69;if(!this.root||this.root.style.display=="none")return;this.root.style.display="none";b--
},300)
};a.undraw=function()
{17|76;this.root&&this.root.style.display=="block"&&b--;this.sup("undraw")
};a.init=function()
{17|82;this.el.addCallbacks({onmouseover:[this,c],onmousemove:[this,c],onmouseout:[this,d]});this.width&&this.appendAttr("style","width: "+this.width+"px;");this.above?this.above=[!0,!1]:this.above=[!1,!0,!1];typeof this.align=="string"&&(this.align={left:["left","center","right","left"],right:["right","center","left","right"],center:["center","left","right","center"]}[this.align])
};a.deinit=function()
{17|102;this.timeout("showhide",!1);this.el.delCallbacks({onmouseover:[this,c],onmousemove:[this,c],onmouseout:[this,d]})
};a.ihtml=function()
{17|111;var a=this.content;if(typeof a!="string"){a=callback(a);typeof a=="object"&&(a=a.render())}var b=dd.ie6?"":'<div style="position: absolute; width: 0; height: 0; border-style: solid;" class="@borderE"></div><div style="position: absolute; width: 0; height: 0; border-style: solid;" class="@fillE"></div>';b+=a;return b
};a.finish=function()
{17|130;this.update();this.root.addCallbacks({onmouseover:[this,c],onmousemove:[this,c],onmouseout:[this,d]})
};a.unfinish=function()
{17|139;this.root.delCallbacks({onmouseover:[this,c],onmousemove:[this,c],onmouseout:[this,d]})
};a.update=function()
{17|147;var a=getOffsetXY(this.el),b=this.root.style,c=this.borderE?this.borderE.style:{},d=this.fillE?this.fillE.style:{};for(var e=0;e<this.above.length;e++){if(this.above[e]){b.top=c.top=d.top="";b.bottom=7-a[1]+"px";c.bottom="-7px";d.bottom="-5px";c.borderColor="#000000 transparent transparent";d.borderColor="#ffffff transparent transparent";c.borderWidth="7px 7px 0";d.borderWidth="5px 5px 0"}else{b.bottom=c.bottom=d.bottom="";b.top=a[1]+this.el.offsetHeight+7+"px";c.top="-7px";d.top="-5px";c.borderColor="transparent transparent #000000";d.borderColor="transparent transparent #ffffff";c.borderWidth="0 7px 7px";d.borderWidth="0 5px 5px"}if(this.force)break;var f=getOffsetXY(this.root)[1],g=getDocScroll()[1],h=viewportSize()[1];if(f>g+5&&f+this.root.offsetHeight<g+h-5)break}for(var e=0;e<this.align.length;e++){if(this.align[e]=="left"){b.right=c.right=d.right="";b.left=a[0]+this.pointTo-24+"px";c.left="16px";d.left="18px"}else if(this.align[e]=="right"){b.left=c.left=d.left="";b.right=document.body.scrollWidth-a[0]-this.el.offsetWidth+this.pointTo-24+"px";c.right="16px";d.right="18px"}else{b.right=c.right=d.right="";b.left=a[0]-this.root.offsetWidth/2+this.el.offsetWidth/2+"px";c.left=this.root.offsetWidth/2-7+"px";d.left=this.root.offsetWidth/2-5+"px"}if(this.force)break;var i=getOffsetXY(this.root)[0],j=getDocScroll()[0],k=viewportSize()[0];if(i>j+5&&i+this.root.offsetWidth<j+k-5)break}
};var e=makeWidget(a);window.addTooltip=function(a,b)
{17|228;var c;if(c=a._t){c.undraw();c.deinit&&c.deinit()}var d={el:a,content:b};for(var f=2;f<arguments.length;f++)extendObject(d,arguments[f]);a._t=new e(d)
}
})();window.Tooltip=makeWidget({basics:["content","tooltip","topts"],ihtml:function()
{11|1321;return this.content
},finish:function()
{11|1322;DBG("ttFinish",this.root);this.tooltip&&addTooltip(this.root,this.tooltip,this.topts)
}});window.Icon=makeWidget({basics:["image","tooltip","onclick","topts"],tag:"img",attrs:{style:"border: 0; margin: -4px 0 -4px 3px; position: relative; vertical-align: top; top: 4px;"},init:function()
{11|1337;this.attrs.src=this.image;this.onclick&&this.appendAttr("style","cursor: pointer;")
},finish:function()
{11|1342;this.tooltip&&addTooltip(this.root,this.tooltip,{align:"center",pointTo:6},this.topts);this.onclick&&this.root.addCallback("onclick",this.onclick)
}});window.HelpIcon=makeWidget({basics:["tooltip"],image:R+"1/i/icon-help-16.gif"},Icon);window.Emoticon=makeWidget({basics:["id"],tag:"img",attrs:{style:"height: 22px; margin: -6px 0 -3px;"},init:function()
{11|1376;this.attrs.src=""+R+"es/"+this.id+".gif"
}});(function()
{18|1;var a=0,b=0;window.offsetServerTime=function(c)
{18|5;a=c-Math.floor((new Date).getTime()/1e3);b=Math.round(a/3600)*3600
};window.getServerTime=function()
{18|18;return Math.floor((new Date).getTime()/1e3)+a
};var c={basics:["time","unavailable"],unavailable:"nooit/onbekend"},d=["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag","zondag"],e=["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"],f=function(a)
{18|36;var b=-a.getTimezoneOffset()/60;b>=0&&(b="+"+b);return'<span style="font-size: 85%; font-style: italic;">op '+d[a.getDay()]+" "+a.getDate()+" "+e[a.getMonth()]+" "+a.getFullYear()+" om "+a.getHours()+":"+(a.getMinutes()<10?"0":"")+""+a.getMinutes()+" GMT"+b+"</span>"
},g=function()
{18|43;var a=0|this.time;if(!a)return[0,this.unavailable];var c=getServerTime(),d=c-a,e=!1;if(d<0){d=-d;if(typeof this.futureMsg=="string")return[d+1,this.futureMsg];e=!0}else if(typeof this.pastMsg=="string")return[0,this.pastMsg];var f=0|d/60;d-=f*60;e||(d=60-d);d+=1;if(!f)return e?[d,"zodadelijk"]:[d,"zojuist"];var g=e?"over ":"",h=e?"":" geleden";if(f<60)return[d,g+f+" min"+h];var i=new Date((c-b)*1e3),j=new Date((a-b)*1e3),k=("0"+j.getHours()).slice(-2)+":"+("0"+j.getMinutes()).slice(-2);i.setHours(0);i.setMinutes(0);i.setSeconds(0);var l=3600*24-(c-Math.floor(i.getTime()/1e3));j.setHours(0);var m=Math.abs(Math.round((j.getTime()-i.getTime())/(1e3*3600*24)));if(m==2)return[l,e?"overmorgen":"eergisteren"];if(m<2){var n=m?e?"morgen":"gisteren":"vandaag";return[l,n+" om "+k]}if(m<20)return[l,g+m+" dagen"+h];if(m<95)return[0,g+Math.round(m/7)+" weken"+h];if(m<735)return[0,g+Math.round(m/30.5)+" maanden"+h];return[0,g+Math.round(m/365.25)+" jaar"+h]
},h=function()
{18|92;this.timeout=!1;this.redraw()
};c.ihtml=function()
{18|97;var a=g.call(this);a[0]&&(this.timeout=setCallbackTimeout([this,h],a[0]*1e3));0|this.time&&this.tooltip!==!1&&(this.tooltip=f(new Date(this.time*1e3)));return a[1]
};c.unfinish=function()
{18|106;if(this.timeout){clearTimeout(this.timeout);this.timeout=!1}this.sup("unfinish")
};c.topts={width:0};window.RelativeTime=makeWidget(c,Tooltip)
})();window.DynText=function()
{11|1394;var a={},b={},c={basics:["identifier"]};c.ihtml=function()
{11|1412;var b=a[this.identifier];return b===undefined?"?":b
};c.finish=function()
{11|1418;b[this.identifier]||(b[this.identifier]=[]);b[this.identifier].push(this)
};c.unfinish=function()
{11|1425;var a=b[this.identifier];if(!a)return;for(var c=0;c<a.length;c++)if(a[c]===this){a.splice(c,1);return}
};var d=makeWidget(c);d.setValue=function(c,d)
{11|1441;a[c]=d;var e=b[c];if(e)for(var f=0;f<e.length;f++)e[f].redraw()
};d.getValue=function(b)
{11|1450;return a[b]
};return d
}();var e=window.MatchScoreReport=makeWidget({tag:"div",basics:["report","text","isTooltip"],getBarHtml:function(a,b,c,d)
{11|1468;var e="";height=this.compactVersion?6:9;var f="#ef6b00",g="#f8c399",h="#af0000";if(c){if(c!==!0){f="#3e56e7";g="#ced4f9";h="#0000c3";e=c==1?"..voor hem":"..voor haar"}else e="..voor jou";e="<span style='color: "+h+"; font-size: "+(this.compactVersion?10:11)+"px; white-space: nowrap;'>&nbsp;"+e+"</span>";height=this.compactVersion?14:16}var i="<div style='margin-top: "+(this.compactVersion&&!c?1:3)+"px; height: "+height+"px; "+(e?"":"font-size: 1px;")+" width: "+a+"px; border: 1px solid "+f+"; background-color: white; float: left;'><div style='width: "+b+"%; height: "+height+"px; background-color: "+g+";'>"+e+"</div></div>";return d?(new Tooltip(i,d)).render():i
},ihtml:function()
{11|1496;if(!this.report)return this.compactVersion?"":(this.text||"")+"<br /><i>Informatie over de Paiq-score is helaas niet beschikbaar. Een oorzaak hiervoor kan zijn dat de leeftijd en/of voorkeuren teveel verschillen, of dat de ander niet alle hiervoor noodzakelijke vragen heeft beantwoord.</i><br /><br />";var a="#fbe1cc";this.isTooltip&&(a="white");var b,c,d=[],f=this.compactVersion?76:70,g=Math.round(this.report.Ma/2.55),h=Math.round(this.report.Mb/2.55),i=Math.min(this.report.Ma,this.report.Mb),j="<tr><td style='background-color: "+a+"; padding-left: 4px; padding-bottom: 4px;'>"+this.getBarHtml(this.compactVersion?60:75,g,!0,"Dit balkje geeft aan in hoeverre <i>de ander</i> een goede match is <i>voor jou</i>. Rechts zie je in meer detail op welke onderdelen <i>de ander</i> bij jou past.<br /><br />Het <i>minimum</i> van hoe goed de match voor jullie beide is bepaalt de uiteindelijke Paiq-score.")+"</td></tr>",k="<tr><td style='padding-left: 4px; padding-bottom: 4px;'>"+this.getBarHtml(this.compactVersion?60:75,h,this.report.G,"Dit balkje geeft aan in hoeverre <i>jij</i> een goede match bent voor <i>de ander</i>.<br /><br />Het <i>minimum</i> van hoe goed de match voor jullie beide is bepaalt de uiteindelijke Paiq-score.")+"</td></tr>",l="<table style='width: "+(this.compactVersion?70:85)+"px; float: left; border-collapse: collapse;'>"+(g>=h?j+k:k+j)+"<tr><td><img src="+(g>=h?R+"1/i/arrow_down_b.gif":R+"1/i/arrow_down_a.gif")+" style='position: relative; left: "+(this.compactVersion?22:28)+"px; top: -5px;' /><div style='padding-left: "+(this.compactVersion?7:13)+"px; position: relative; top: "+(this.compactVersion?-6:0)+"px;'>"+(new MatchScore({score:i,textOnly:this.isTooltip})).render()+"</div></td></tr></table>",m,n,o,p,q;for(var r=0;r<e.areas.length;r++){n=e.areas[r];o=n[0];p=n[1];q=n[2];if(typeof this.report[o]=="undefined")continue;m=this.report[o];if(m[1]<5)continue;b=Math.round(m[1]/255*f);c=Math.round(m[0]/2.55);d.push(this.compactVersion?"<td style='padding: 1px 5px 1px 5px;'><div style='color: #707070;'>"+(new Tooltip(p,q)).render()+"</div>"+this.getBarHtml(b,c,!1,q)+"</td>":"<td style='padding: 3px 5px 3px 5px;'>"+this.getBarHtml(b,c,!1,q)+"<div style='color: #707070; float: left; padding-left: 5px;'>"+(new Tooltip(p,q)).render()+"</div></td>")}var s="";!this.isTooltip&&!this.compactVersion&&(s='<div style="text-align: right;">'+(new Link({content:"match voorkeuren",tooltip:"Klik hier om in te stellen waar bij het maken van toekomstige matches op moet worden gelet.",onclick:[showModal,"MatchingControl"]})).render()+"</div>");return""+(this.text||"")+"<div style='margin: "+(this.isTooltip?5:0)+"px;'>"+l+"<div style='width: "+(this.compactVersion?84:180)+"px; float: left;'><table style='width: 100%; background-color: "+a+"; border-collapse: collapse; font-size: "+(this.compactVersion?"77":"90")+"%;'><tr>"+d.join("</tr><tr>")+"</tr>"+(this.compactVersion?'<tr><td style="height: 2px;"></td></tr>':"")+"</table>"+s+"</div><div style='clear: left;'></div></div>"
}});e.areas=[["d","dating basis","De basisvoorwaarden voor een geslaagde date: leeftijd, relatie-verwachtingen, seksualiteit, serieusheid, kinderwens, etc."],["p","persoonlijkheid","Passen jullie karaktereigenschappen bij elkaar? Denk: impulsiviteit, zelfverzekerdheid, zorgzaamheid, rationaliteit, spontaniteit, extraversie, etc."],["l","levensstijl","Passen jullie een beetje binnen elkaars leven, wat betreft opleidingsniveau, vrijetijdsbesteding, ambitie, dagritme, geloof en eten/drinken/roken? Ook Do's & Don'ts tellen hier mee."],["a","uiterlijkheden","Denk hierbij aan uiterlijke factoren zoals lengte, postuur, ijdelheid, modebewustheid en natuurlijk de foto beoordelingen."],["x","locatie","Woont de ander niet te ver weg? Balkje vol betekent heel dichtbij, balkje leeg is zo'n 200km verder op (of nog verder)!"],["c","criteria","In hoeverre wordt er voldaan aan de door jou ingestelde criteria?"]];e.criteria=[[0|128,"leeftijd",!1,[-2,2,"ouder dan ik"],[2,8,"4 jaar ouder"],[2,16,"8 jaar ouder"],[2,-2,"jonger dan ik"],[-2,-8,"4 jaar jonger"],[-2,-16,"8 jaar jonger"]],[1,"roken",!1,[3,1,"niet rokend"]],[2,"bezwaar tegen roken",!1,[6,2,"vindt roken geen bezwaar"]],[3,"vegetarisch",!1,[5,3,"niet vegetarisch"],[3,5,"wél vegetarisch"]],[4,"kinderen",!1,[1,0,"heeft geen kinderen"]],[5,"bezwaar tegen kinderen",!1,[6,2,"vindt kinderen geen bezwaar"]],[6,"kinderwens",!1,[1,0,"geen kinderwens"],[0,1,"wél kinderwens"]],[7|128,"lengte",!1,[10,20,"minimaal 20cm langer"],[-1,0,"niet kleiner"],[1,0,"niet langer"],[-10,-20,"minimaal 20cm kleiner"]],[8,"postuur",!0,[30,25,"niet te stevig"],[18,22,"niet te slank"]],[9,"bezwaar tegen volslank",!1,[6,2,"vindt volslank geen bezwaar"]],[10|128,"geloof",!1,[0,0,"zelfde geloof"]],[11,"streng gelovig",!1,[6,2,"niet te streng gelovig"]],[12,"opleidingsniveau",!1,[6,7,"hoogopgeleid"]],[13,"serieus",!1,[9,5,"niet serieus op zoek"],[5,9,"wél serieus op zoek"]],[14,"",!1,[]],[15,"",!1,[]],[16,"foto's",!1,[0,1,"minstens één foto"]],[17,"foto scores",!1,[50,75,"hoge foto-scores"]]];e.getCriterionString=function(a,b,c,d)
{11|1634;for(var f=0;f<e.criteria.length;f++){if(e.criteria[f][0]!=a)continue;if(!e.criteria[f][3].length)continue;var g=clone(e.criteria[f]),a=g.shift(),h=a&128?128:0,i=g.shift(),j=g.shift();if(j&&!d)return i;for(var k=0;k<g.length;k++){var l=g[k];if(b-h!=l[0]||c-h!=l[1])continue;return l[2]}return"onbekend criterium"}
};window.MatchScore=makeWidget({basics:["score","scoreReportOrCb"],ihtml:function()
{11|1666;isNaN(this.score)?this.score=-1:this.score>=0&&(this.score=this.score*9/255+1);if(this.textOnly)return"<div style='font-size: 28px; font-weight: bold; color: #444; padding-left: 10px;'>"+this.getScoreHtml(this.score)+"</div>";var a=new ImageWidget({data:{u:R+"1/i/match_score.png",w:54,h:58,l:1}});return"<div style='width: 54px; height: 58px; line-height: 1.4em;'>"+a.render()+'<div style="text-align: center; font-size: 20px; font-weight: bold; color: #444; width: 100%; position: relative; top: -22px; left: 1px;" class="@scoreE">'+this.getScoreHtml(this.score)+"</div></div>"
},getScoreHtml:function(a)
{11|1686;if(this.score<0){var b="n.v.t.";this.score==-2&&(b="...");return"<span style='position: relative; font-size: 11px; font-style: italic;'>"+b+"</span>"}var c=parseInt(Math.round(a*10)/10),d=Math.round(a*10)%10;return c.toString()+"<span style='font-size: 60%;'>."+d.toString()+"</span>"
},setScore:function(a)
{11|1702;this.scoreE.innerHTML=this.getScoreHtml(a)
},loadMatchScoreReportTooltip:function()
{11|1707;var a="De <em>Paiq-score</em> geeft aan hoe goed jullie bij elkaar passen volgens de artificiële intelligentie van Paiq.",b=" Hieronder zie je hoe deze score voor jullie is opgebouwd:";if(!this.scoreReportOrCb)return a+(this.score==-1?"<br /><br />Omdat leeftijd of voorkeuren te veel verschillen, kan er in dit geval géén Paiq-score worden berekend.":"");else if(typeof this.scoreReportOrCb!="string")return new MatchScoreReport(this.scoreReportOrCb,a+b,!0);var c=this.scoreReportOrCb;return new(makeWidget({init:function()
{11|1718;ev.send(c,[this,function(a)
{11|1719;this.report=a;this.redraw()
}])
},ihtml:function()
{11|1721;if(!this.report)return"Paiq-score informatie laden...";return(new MatchScoreReport(this.report,a+b,!0)).render()
}}))
},finish:function()
{11|1733;addTooltip(this.root,[this,this.loadMatchScoreReportTooltip],{width:300})
}});window.numberFormat=function(a)
{11|1745;var b=(Math.round(a*100)/100).toString().match(/^([^\.]*)(\.(.*))?$/);return b[1].split("").reverse().join("").replace(/(?=\d*\.?)(\d{3})/img,"$1.").split("").reverse().join("").replace(/^\./,"")+(b[3]?","+b[3]+"":"")
};(function()
{11|1756;var a=function()
{11|1758;if(this.isLoaded){if(this.root){var b=window[this.widgetName],c=b.prototype.newWithProto();b.apply(c,this.rawArgs);c.replace(this.root);callback(fetchProp(this,"onLoad"),[c],this)}}else if(this.shouldLoad){DBG("LoaderWidget: loading ",this.filename);loadCall(this.filename,[this,function()
{11|1776;this.isLoaded=!0;a.call(this)
}])}
},b={};window.getWidgetLoader=function(c,d,e)
{11|1785;if(isLoaded(c))return self[d];e||(e="init");var f=b[e+"|"+d];if(f)return f;var g={filename:c,widgetName:d};if(e=="noti"){g.notiPath=arguments[3];g.init=function()
{11|1802;this._watching=this.notiPath.concat([[this,this.load]]);DBG("widgetLoader[noti]::init _watching=",this._watching);window.notificationHandlers.addWatch.apply(window.notificationHandlers,this._watching)
};g.deinit=function()
{11|1807;if(this._watching){window.notificationHandlers.delWatch.apply(window.notificationHandlers,this._watching);delete this._watching}
};g.ihtml=function()
{11|1813;return""
};g.load=function()
{11|1816;DBG("widgetLoader[noti]::load");this.shouldLoad=!0;a.call(this);this.deinit()
};g.finish=a}else{g.ihtml=function()
{11|1827;return'<span style="font-style: italic;">Laden..</span>'
};g.shouldLoad=!0;g.init=g.finish=a}return b[e+"|"+d]=makeWidget(g,undefined,!1)
}
})();window.ImageWidget=function()
{11|1843;var a={basics:["u","w","h","l"]};a.ihtml=function()
{11|1853;if(this.data){extendObject(this,this.data);delete this.data}this.l=this.l&&dd.ie6;if(this.l){this.tag="span";var a=this.u.replace(/"/g,'""').replace(/\)/g,"%29");this.appendAttr("style",(this.w&&this.h?"width: "+this.w+"px; height: "+this.h+"px; ":"")+'display: inline-block; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+a+'");')}else{this.tag="img";this.attrs.src=this.u;this.appendAttr("style","border: 0;");this.w&&(this.attrs.width=this.w);this.h&&(this.attrs.height=this.h)}if(!this.l)return"";return this.w&&this.h?"":'<img src="'+escapeHtmlString(this.u)+'" style="border: 0px; visibility: hidden;" alt="" />'
};var b={};window.preloadImage=function(a)
{11|1887;if(b[a])return;try{var c=new Image;c.src=a;b[a]=!0}catch(d){DBG("preloadImage ",a," failed: ",d)}
};return makeWidget(a)
}();window.Columns=makeWidget({basics:["columns","columnWidths","justify"],tag:"table",attrs:{cellspacing:"0",cellpadding:"2"},init:function()
{11|1910;this.attrs.width=this.justify?"100%":undefined
},ihtml:function()
{11|1913;var a=[];for(var b in this.columns){var c=this.columnWidths&&this.columnWidths[b]!==undefined?' width="'+this.columnWidths[b]+'"':"";a.push('<td style="vertical-align: middle; '+(this.justify&&b==this.columns.length-1?"text-align: right;":"")+'"'+c+">"+this.columns[b]+"</td>")}return"<tr>"+a.join("")+"</tr>"
}});window.AbstractMenu=function()
{19|7;var a={attrs:{style:"position: absolute; z-index: 9999; cursor: default; webkit-user-select: none;","class":"menu"}};a.HelpWidget=makeWidget({tag:"div",attrs:{style:"height: 100px;"},ihtml:function()
{19|22;if(!this.moi)return"";var a=this.moi,b=a[0],c=a[1],d=a[2],e=a[3],f=a[4],g=a[5],h=a[6];h&&(f+=' <span style="font-style: italic;">(sneltoets: alt-shift-'+h+")</span>");return'<div style="color: #fadbc3; padding: 20px 8px; font-size: 110%;">'+f+"</div>"
}});a.optionHtml=function(a,b,c)
{19|44;if(!c){var d='<div style="height: 35px; padding: 10px 0 0 15px;">';a&&(d+=(new TitleFontWidget(a,"#ffffff","120%")).render());d+="</div>";return d}var e=a[0],d=a[1],f=a[2],g=a[3];return'<div menuId="'+e+'" class="@@optionEA @optionE-'+e+'" style="height: 32px; cursor: pointer;"><img src="'+escapeHtmlString(g||R+"1/i/empty.png")+'" height="20" width="20" alt="" style="float: left; margin: 6px 4px 3px 6px;" /><div style="padding: 7px 0 0 0; color: #fff; font-size: 110%;">'+d+"</div></div>"
};var b=function()
{19|68;if(this.keyIndex)return this.keyIndex;var a=this.keyIndex={},b=this.prop("menuOptions")||[];for(var c=0;c<b.length;c++)for(var d=0;d<b[c].length;d++){var e=b[c][d];e instanceof Array&&e[6]&&(this.keyIndex[e[6]]=e)}return a
};a.ihtml=function()
{19|84;if(!this.showing)return"";delete this.optionEA;var a=this.prop("menuOptions");this.idIndex={};this.posIndex=a;var b='<table cellspacing="0" cellpadding="0">';for(var c=0;c<a.length;c++){var d=this.columnWidth;d instanceof Array&&(d=d[c]);b+='<td width="'+d+'">';for(var e=0;e<a[c].length;e++){var f=a[c][e];f instanceof Array&&f[0]&&(this.idIndex[f[0]]=f);b+=this.optionHtml(f,c,e)}b+="</td>";c!=a.length-1&&(b+='<td width="0" style="border-left: solid 1px rgba(0,0,0,0.2); border-right: solid 1px rgba(255,255,255,0.2);"></td>')}this.helpW=new(this.prop("HelpWidget"))({menu:this});var d=this.columnWidth;if(d instanceof Array){var g=0;for(var h=0;h<d.length;h++)g+=d[h];d=g}else d*=a.length;b+="</table>";this.appendAttr("style","width: "+d+"px;");this.content=b+this.helpW.render();return this.sup("ihtml")
};a.onMouse=function(a,b)
{19|134;if(this.helpW){this.helpW.moi=b?a:null;this.helpW.redraw()}if(b&&this.cursor&&this.posIndex){var c=this.cursor;c&&this.optionEH[this.posIndex[c.col][c.row][0]].delClass("active")}
};var c=function(a,b)
{19|148;var c=this.cursor;c&&this.optionEH[this.posIndex[c.col][c.row][0]].delClass("active");if(a===!1)return delete this.cursor;c?a?c.col+=a:b&&(c.row+=b):c=this.cursor={col:0,row:1};c.col=Math.max(0,Math.min(this.posIndex.length-1,c.col));c.row=Math.max(1,Math.min(this.posIndex[c.col].length-1,c.row));var d=this.posIndex[c.col][c.row];this.optionEH[d[0]].addClass("active");if(this.helpW){this.helpW.moi=d;this.helpW.redraw()}
};a.handleKey=function(a,d)
{19|175;var e;if(a==27)this.showing?this.hide():this.show();else if(!d&&this.posIndex&&a==13){var f=this.cursor;this.hide();f&&(e=this.posIndex[f.col][f.row])&&callback(e[2])}else if(!d&&this.posIndex&&a>=37&&a<=40)c.call(this,{37:-1,39:1}[a]||0,{38:-1,40:1}[a]||0);else if(e=b.call(this)[String.fromCharCode(a).toLowerCase()]){this.hide();callback(e[2])}else return;return!0
};var d=function(a)
{19|205;if(this.handleKey(getKeyCode(a)))return killEvent(a)
},e=function(a,b)
{19|211;return a==b||a.parentNode&&e(a.parentNode,b)
},f=function(a)
{19|216;a=a||window.event;a=a.target||a.srcElement;!e(a,this.root)&&!(this.buttonW&&this.buttonW.root&&e(a,this.buttonW.root))&&this.hide()
};a.finish=function()
{19|229;if(!this.showing)return;this.optionEH={};for(var a=0;a<(this.optionEA||[]).length;a++){var b=this.optionEA[a],c=this.idIndex[b.getAttribute("menuId")];toggleMouse(b,!1,[this,this.onMouse,c]);b.addCallback("onclick",chainCb(chainCb(!0,c[2],[this,this.hide]),killEvent));this.optionEH[c[0]]=b}document.addCallback("onkeydown",[this,d],!0);setCallbackTimeout([this,function()
{19|245;document.addCallback("onmousedown",[this,f],!0)
}],0)
};a.unfinish=function()
{19|250;document.delCallback("onkeydown",[this,d]);document.delCallback("onmousedown",[this,f])
};a.show=function()
{19|256;if(this.showing)return;var a=this._oldFocus=window.focussed;try{a&&a.blur&&a.blur()}catch(b){}this.showing=!0;this.redraw()
};a.hide=function()
{19|265;if(!this.showing)return;this.showing=!1;this.redraw();restoreFocus(this._oldFocus)
};a.toggle=function()
{19|273;this.showing?this.hide():this.show()
};a.hint=function(a,b)
{19|279;this.showing||this.show();var c=function(a,d)
{19|283;a.hasClass("blink")||d==0?a.delClass("blink"):a.addClass("blink");d>0?setCallbackTimeout([c,a,d-1],300):b&&callback(b)
};c(this["optionE-"+a+""],6)
};return makeWidget(a,BoxWidget)
}();window.InputSender=function()
{11|1934;window.StaticInput=function(a)
{11|1935;this.getValue=function()
{11|1936;return a
}
};var a={empty:"Bovenstaande vraag is nog niet beantwoord."},b={tag:"div",attrs:{style:"clear: both; padding: 15px 0px 15px 0px; font-weight: bold; text-align: center; color: red;"}},c=function(a,b,c)
{11|1964;a.Class?a.root?a.root.innerHTML=b?b:"":DBG("Unable to write error message to unrendered setError widget: "+name+""):a.tagName?a.innerHTML=b:callback(a,[b],c)
},d=function(b,d)
{11|1997;this.noLoading||decrLoading();typeof d!="object"&&(d={success:d});var e=[],f;for(var g in this.form){var h=this.form[g];h.setError&&c.call(this,h.setError,null,h);h._showingInlineErrMsg&&h.root.nextSibling.remove()}if(typeof this.deferErr=="object"&&!this.deferErr.tagName)for(var g in this.deferErr)c.call(this,this.deferErr[g],null);for(var g in d){if(g=="success")continue;var i=d[g];if(typeof i=="object"){i.value&&h.setValue&&h.setValue(i.value);i=i.error}if(!i)continue;delete d[g];i=a[i]||i;var h=this.form[g],j=null;if(typeof h=="object"&&h.getValue&&h.root){if(h.setError){j=[h,h.setError];f=h.root}else if(!this.deferErr){f=h.root;h._showingInlineErrMsg&&h.root.nextSibling.remove();h._showingInlineErrMsg=!0;(new InlineWidget('<div style="margin-bottom: 10px; font-weight: bold; text-align: center; color: red;">'+i+"</div>")).insert(h.root.parentNode,h.root.nextSibling);j=!0}}else this.deferErr&&this.deferErr[g]&&(j=[undefined,this.deferErr[g]]);if(j===null)DBG("Nowhere to direct error message for key "+g+": "+i+"");else if(j!==!0){c.call(this,j[1],i,j[0]);j.root?f=j.root:j.tagName&&(f=j)}e.push(i)}f&&scrollToElement(f);DBG("onResult CB time ",e.length,this.onFailure);DBG("SUC",d.success,e.length);callback(d.success===!0||d.success!==!1&&!e.length?this.onSuccess:this.onFailure,[d.success,b],this)
};b.ihtml=function()
{11|2105;return""
};b.getValues=function()
{11|2111;var a={};for(var b in this.form){var c=this.form[b];typeof c=="object"&&c.getValue&&(c.root||!c.render)&&(a[b]=c.getValue())}return a
};b.save=function(a)
{11|2123;this.noLoading||incrLoading();var b=this.getValues(),c=this.preSave?callback(this.preSave,[b],this):undefined;if(typeof c=="object"&&!objectEmpty(c))d.call(this,b,c);else{a=a||this.rpc;var e=[b,[this,d,b]];if(typeof a=="object")for(var f=a.length-1;f>=0;f--)e.unshift(a[f]);else e.unshift(a);ev.send.apply(ev,e)}return!1
};b.basics=["rpc","form","onSuccess"];return makeWidget(b)
}();window.FlashWidget=makeWidget({basics:["url"],html:function(a)
{11|2181;var b=escapeHtml(this.url),c=this.width||2,d=this.height||1,e=escapeHtml(this.name=this.name||"flashName"+Math.floor(Math.random()*1e6));if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length)return"<embed "+a+'src="'+b+'"bgcolor="'+(this.bgcolor||"white")+'"width="'+c+'"height="'+d+'"flashvars="'+(this.flashvars||"")+'"quality="high"swLiveConnect="true"allowScriptAccess="always"type="application/x-shockwave-flash"pluginspage="http://www.macromedia.com/go/getflash"'+(c>5?'wmode="transparent" ':" ")+' id="'+e+'"/>';return"<object "+a+'classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="'+c+'" height="'+d+'" name="'+e+'"id="'+e+'"><param name="movie" value="'+b+'"/><param name="allowScriptAccess" value="always" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="flashvars" value="'+(this.flashvars||"")+'" /><param name="bgcolor" value="'+(this.bgcolor||"white")+'"/><param name="wmode" value="transparent"></object>'
}});(function()
{11|2225;var a=function(b,c)
{11|2226;DBG("loadFlashPoll");b.readyState==4||b.PercentLoaded()==100?scriptReady(c):setTimeout(function()
{11|2230;a(b,c)
},250)
};window.loadFlashObject=function(b,c,d,e,f,g,h)
{11|2236;e||(e=dd.ie?document.getElementsByTagName("head")[0]:document.body);var i=(new FlashWidget({url:b,flashvars:dd.ie?"":"objname="+(g||""),bgcolor:f,width:c,height:d,style:h,name:g})).insert(e);dd.ie&&a(i.root,i.name);return i.root
};window.callFlash=function(a,b,c)
{11|2248;if(!a)return"";try{a.SetVariable(b,c);return a.GetVariable(b)}catch(d){}
}
})()
})();window.TitleFontWidget=makeWidget({basics:["content","color","size"],ihtml:function()
{20|9;var a="";this.color&&(a+="color: "+this.color+";");this.size&&(a+="font-size: "+this.size+";");testFont("Arial Rounded MT Bold")||(a+="font-weight: bold;");this.appendAttr("style",a);this.appendAttr("class","titleFont");var b=this.content;this.allowHtml||(b=escapeHtml(b).replace(/ /g,"&nbsp;"));return b
},setColor:function(a)
{20|23;this.color=a;this.root&&(this.root.style.color=this.color)
},setSize:function(a)
{20|29;this.size=a;this.root&&(this.root.style.size=this.size)
}});window.SubTitleWidget=makeWidget({basics:["content"],tag:"div",attrs:{style:"font-weight: bold; margin-bottom: 3px; color: gray: font-size: 110%;"},ihtml:function()
{20|39;return this.content
}});window.fancyText=function(a,b)
{20|46;var c='<span style="font-weight: bold; font-size: 130%; line-height: 77%; color: #444; margin-left: 3px;">';b=b||"135%";return'<span style="line-height: '+b+';">'+(a||"").replace(/([.?!:;]\s+|>\s*|^\s*)([A-Z])/g,"$1"+c+"$2</span>")+"</span>"
};window.errorReload=function(a)
{4|263;if(window.errorReloading){DBG("ev: already reloading");return}window.errorReloading=!0;DBG("ev: reloading:",a);var b=[],c=location.href.split("#"),d=c[0].split("?");if(d[1]){var e=d[1].split("&");for(var f=0;f<e.length;f++){var g=e[f].split("=")[0];g!="msg"&&g!="rnd"&&b.push(e[f])}}a&&b.push("msg="+encodeURIComponent(a));b.push("rnd="+rnd());d=d[0]+"?"+b.join("&");c[1]&&(d+="#"+c[1]);location.href=d;location.href=d
};window.credits=0;(function()
{21|6;var a={basics:["emptyHtml"],attrs:{"class":"empty"}};a.init=function()
{21|25;this.list={}
};a.ihtml=function()
{21|35;return(new InlineWidget(this.emptyHtml||"")).render()
};a.finish=function()
{21|40;if(this.queue)for(var a=0;a<this.queue.length;a++)this.set.apply(this,this.queue[a]);this.queue=undefined
};var b=function(a,b)
{21|48;var c=a.firstChild.nextSibling;while(c&&b.order>c._listOrder)c=c.nextSibling;if(b.element)c?a.insertBefore(b.element,c):a.appendChild(b.element);else{var d=(new InlineWidget(b.content)).insert(a,c);b.element=d.root;delete b.content}b.element._listOrder=b.order
},c=function()
{21|69;this.root.delClass("empty");var a=this.root.firstChild.style;for(var b in this.list)if(this.list[b].length){a.display="none";return}this.root.addClass("empty");a.display="inline"
},d=function(a,d)
{21|83;var e=this.list[a];if(!e)return;for(var f=0;f<e.length;f++)if(e[f]===d){e.splice(f,1);if(f)d.element&&d.element.destruct();else{d.element.remove();e.length&&b(this.root,e[0])}}c.call(this)
};a.set=function(a,e,f,g,h)
{21|109;if(!this.root){this.queue||(this.queue=[]);this.queue.push(arguments);return}var i,j=this.list[a]=this.list[a]||[],k=0;while(k<j.length&&h<j[k].priority){if(!j[k].timeout)return;k++}e&&(i={priority:h||0,order:f||0,content:typeof e=="object"?e.render():e,timeout:!!g});g&&i&&setCallbackTimeout([this,d,a,i],g);!k&&j[0]&&j[0].element&&j[0].element.parentNode.removeChild(j[0].element);var l=g?0:j.length-k;for(var m=k;m<k+l;m++)j[m].element&&$(j[m].element).destruct();if(i){j.splice(k,l,i);k||b(this.root,i)}else{j.splice(k,l);j.length||delete this.list[a]}c.call(this)
};var e=window.DynamicList=makeWidget(a),f=window.notifyEventList=new e({className:"notifyList notifyEventList",emptyHtml:'<div style="font-style: italic; text-align: center;">geen meldingen</div>'});window.notifyBlink=function()
{};var g=window.notify=function(a,b,c,d,e,g)
{21|183;if(b){typeof b=="object"&&(b=b.render());!g&&g!==!1&&(g=R+(dd.png?"1/i/icon-info-16.png":"1/i/_w6.png"));g=g?'<div style="float: left; padding-right: 2px; text-align: center;"><img src="'+g+'" style="display: inline;" /></div>':"";b='<div style="margin: 0.25em 0 0.25em 0; clear: left;">'+g+"<div>"+b+"</div></div>"}f.set(a,b,e,c,d)
},h=window.notificationHandlers=watchExtensions.newWithProto(),i=function()
{21|207;var a="?",b=this.nextMatchValue;parseInt(b)?a=!1:b=="off"?a="n.v.t.":b=="noCandidates"?a="geen candidaten":b=="questions"?a=!1:b=="notAllowed"&&(a="niet toegestaan");this.setVar("nextMatchText",a)
};h.addWatch("nextMatchValue",function()
{21|218;this.nextMatchTimeStamp=(new Date).getTime()/1e3;this.nextMatchTimeout&&clearTimeout(this.nextMatchTimeout);i.call(this)
});h.addWatch("credits",function()
{21|224;window.credits=this.credits
});h.addWatch("selectStatus",function()
{21|228;var a,b=this.selectStatus;b=b>5?!1:b;if(b!==!1){a=b<=0?"verlopen!":b==1?"verloopt vandaag!":b==2?"verloopt morgen!":"verloopt over "+b+" dagen!";a="<span style='color: red; font-weight: bold;'>"+a+"</span>"}g("selectStatus",a?(new Link("Paiq select",[showModal,"SelectMembership"],"Klik hier om de status van je Paiq select lidmaatschap te bekijken en eventueel te verlengen.")).render()+": "+a:!1,!1,20,98)
});h.msg=function(a,b,c)
{21|267;g(b||"msg",a,c||5e3,90,0)
};h.addWatch("promos","*",function(a,b)
{21|272;var c=(new Link("Wake-up Light",showSweepstake)).render()+": "+this.promos[b]+" lot"+(this.promos[b]==1?"":"en")+"";g("promo_"+b,c,0,190,99,R+"1/i/bulb_small.gif")
});h.addWatch("contacts","*",function(a,b)
{21|278;var c=this.contacts[b],d=!1,e=!1;if(c&&c.name){var f=new Link(escapeHtml(c.name),window.toChat?[toChat,b,"focus"]:[link,"chat"]),h=0|c.msgs,i=0|c._msgs;if(this.initialized){if(h>i){var j=parseInt((new Date).getTime()/1e3);(!c.lastSound||c.lastSound<j-30)&&playSound("message");c.lastSound=j}if(h!=i){var k={};k["msg"+b+""]=h?""+c.name+" zegt...":null;DBG("tn1:",k);this.merge({titleNotis:k});DBG("tn2:",this.titleNotis)}}if(c.autoDel!=undefined&&c.autoDel!==!1){d=f.render()+(c.autoDel?": nog "+c.autoDel+" dag"+(c.autoDel==1?"":"en")+"":": vervalt vandaag");e=R+(dd.png?"1/i/icon-remove-16.png":"1/i/_w7.png")}else if(h){d=f.render()+": "+h+" bericht"+(h==1?"":"en")+"";e=R+(dd.png?"1/i/icon-msg-16.png":"1/i/_w8.png")}else if(c.qa){d=f.render()+": 1 q&a";e=R+(dd.png?"1/i/icon-qa-16.png":"1/i/_w9.png")}else if(c.ib){d=f.render()+": 1 antwoord";e=R+(dd.png?"1/i/icon-ib-16.png":"1/i/_wa.png")}c._msgs=h}g("user_"+b,d,0,5,5,e)
});h.addWatch("contacts","*","online",function(a,b)
{21|328;var c=this.contacts[b];if(!c||c.online===undefined||!c.name||!this.initialized||c.online=="iwn")return;var d=c.photoS&&c.photoS.indexOf("no_headshot")<0?'<img src="'+escapeHtmlString(c.photoS)+'" style="border: 2px solid white; float: right;" width="42" height="42" alt="" />':"",e=c.online?"<strong>"+escapeHtml(c.name)+"</strong> online":"<strong>"+escapeHtml(c.name)+"</strong> offline";g("user_"+b,d+e+"<br style='clear: both;' />",5e3,15,20,c.online?R+(dd.png?"1/i/icon-online-16.png":"1/i/_wb.png"):R+(dd.png?"1/i/icon-offline-16.png":"1/i/_wc.png"));c.online&&playSound("online")
});h.addWatch("contacts",function()
{21|337;var a=0,b=0,c=0,d=0,e=0;for(var f in this.contacts){var g=this.contacts[f];if(!g.name)continue;a+=g.msgs||0;b+=g.online&&g.online!="iwn"?1:0;c+=1;if(g.feedback&&!g.invisible){d++;e=f}}this.merge({totalNewMsgs:a,totalContacts:c,onlineContacts:b,feedback:{count:d,id:e}})
});h.addWatch("feedback",function()
{21|358;var a=this.feedback,b=a.count>0?(new Link("te beoordelen",window.toChat?[toChat,a.id,"focus"]:null)).render()+": "+a.count:!1;g("feedback",b,0,20,60,R+(dd.png?"1/i/icon-feedback-16.png":"1/i/_wd.png"))
});h.addWatch("topRatedCount",function()
{21|364;var a=this.topRatedCount,b=a>0?(new Link("foto-bewonderaars",[showModal,"TopRated"])).render()+": "+a+"":!1;g("topRated",b,0,20,80,R+(dd.png?"1/i/icon-rated-16.png":"1/i/_we.png"))
});var j=function()
{21|370;if(typeof this.blinkTitle=="string")document.title=this.blinkTitle;else{this.blinkTitle&&ev.send("log","blinkTitle: "+toSemiJson(this.blinkTitle));var a="Paiq: gratis datingsite met slimme matching voor leuke singles";this.modalTitle&&(a=this.modalTitle+" » "+a);this.modalSubTitle&&(a=this.modalSubTitle+" » "+a);document.title=a}
};h.addWatch("modalTitle",j);h.addWatch("modalSubTitle",j);h.addWatch("blinkTitle",j);var k=!1,l,m=function()
{21|390;this.windowFocused&&(this.titleNotis={});if(objectEmpty(this.titleNotis)){clearTimeout(l);this.merge({blinkTitle:null});return}var a=function()
{21|399;clearTimeout(l);var b=!1,c=!1;for(var d in this.titleNotis){if(b==k){c=d;break}b=d}k=c;this.merge({blinkTitle:k?this.titleNotis[c]:null});l=setCallbackTimeout([this,a],1500)
};this.titleNotis[k]||a.call(this)
};h.addWatch("titleNotis",m);h.addWatch("windowFocused",m);dd.ie?document.addCallbacks({onfocusin:[!1,h,"merge",{windowFocused:!0}],onfocusout:[!1,h,"merge",{windowFocused:!1}]}):window.addCallbacks({onfocus:[!1,h,"merge",{windowFocused:!0}],onblur:[!1,h,"merge",{windowFocused:!1}]});h.photoClick=function(a,b)
{21|443;g("photoClick","Foto "+a+" keer positief beoordeeld!",5e3,20,95,b)
};window.addCallback("onSemiLoad",function()
{21|471;window.urlMsg&&g("urlMsg",escapeHtml(window.urlMsg),15e3,0)
})
})();(function()
{21|480;var a={name:"hiddenflash",url:""+"/multimedia.swf",flash:!0,silent:!0,critical:!1};if(dd.saf&&!dd.iphone&&!dd.ipad&&!dd.audio){DBG("preloading sound-playing flash");window.addCallback("onSemiLoad",function()
{21|488;setCallbackTimeout([loadCall,a,!1],0)
})}var b=function(c,d)
{21|494;DBG("callHiddenFlash",c,d);if(!flashAvailable(6))return;if(!isLoaded(a)){DBG("load");var e=[b];for(var f=0;f<arguments.length;f++)e.push(arguments[f]);loadCall(a,e);return}callFlash($("hiddenflash"),c,d)
};window.playSound=function(a,c)
{21|513;c=c===!0;switch(a){case"online":if(!(window.userFlags&16))return;a=[R+"1/online.mp3",R+"1/online.ogg"];break;case"sd":if(!(window.userFlags&32))return;a=[R+"1/sd.mp3",R+"1/sd.ogg"];break;case"message":if(!(window.userFlags&64))return;case"test":a=[R+"1/message.mp3",R+"1/message.ogg"]}typeof a!="object"&&(a=[a]);DBG("playSound",a);var d;c||(dd.audio=="mp3"?d=new Audio(a[0]):a[1]&&dd.audio=="ogg"&&(d=new Audio(a[1])));if(d){d.play();DBG("html5 audio",dd.audio);setTimeout(function()
{21|545;if(d.error){DBG("html5 audio error detected; retrying flash fallback");ev.send("structLog","html5_audio_error",toJson(d.error));dd.audio=!1;b(c?"streamAudio":"playAudio",a[0])}
},150)}else setTimeout(function()
{21|557;b(c?"streamAudio":"playAudio",a[0])
},0)
}
})();window.MainMenu=function()
{22|5;var a={attrs:{"class":"action-menu"},columnWidth:175};extendObject(a,{top:181,textTop:5,bottom:17,textBottom:5,left:25,right:25,textLeft:5,textRight:5,inherit:AbstractMenu,borderLeft:25,borderRight:25,color:"#f07e22",cor:R+(dd.png?"1/i/_r.png":"1/i/_w0.png"),ver:R+(dd.png?"1/i/_t.png":"1/i/_w1.png")});a.init=function()
{22|24;this.keyIndex={};var a=this.prop("menuOptions");for(var b=0;b<a.length;b++)for(var c=1;c<a[b].length;c++){var d=a[b][c],e=d[6];e&&(this.keyIndex[e]=d)}
};a.columnWidth=[285,175,175];a.menuOptions=[["Ontmoet iemand die..",["nextMatch","..bij je past: match maken",[showModal,"NextMatch"],R+(dd.png?"1/i/icon-match-20.png":"1/i/_wf.png"),'Een <span style="font-weight: bold; color: white;">match</span> is een door Paiq geintroduceerd contact, gebaseerd op ons match-systeem van kunstmatige intelligentie. Matches krijg je automatisch periodiek, of direct door middel van een TimeCheat.',!1,"m"],["sd","..nú online is: SpeedDate of BattleDate",function()
{22|48;(!window.sd||!window.sd.focus())&&showModal("SpeedDate")
},R+(dd.png?"1/i/icon-sd-20.png":"1/i/_wg.png"),'Een <span style="font-weight: bold; color: white;">SpeedDate</span> is een 5 minuten durende chat met iemand die nú online is. Vervolgens krijgen jullie beiden de keuze om door te praten voor nog eens 10 minuten, en uiteindelijk ook om Paiq-contacten te worden. Bij een <span style="font-weight: bold; color: white;">BattleDate</span> vechten <i>twee</i> kandidaten om jouw gunst; na 5 minuten kun je met één van hen in een SpeedDate verder gaan.',!1,"s"],["photoQuestions","..er leuk uit ziet: foto's beoordelen",[showModal,"PhotoRater"],R+(dd.png?"1/i/icon-portrait-20.png":"1/i/_wh.png"),"Bij het <span style=\"font-weight: bold; color: white;\">foto's beoordelen</span> kies je telkens uit twee foto's diegene die jóú het meeste aanspreekt. De kunstmatige intelligentie leert hierdoor jouw voorkeuren kennen. Ook kun je, als je op slag verliefd wordt op één van de fotootjes, een OneLiner (kort berichtje) naar hem of haar sturen.",!1,"o"]],["Mijn profiel",["photos","Mijn foto's",[showModal,"Photos"],R+(dd.png?"1/i/icon-photos-20.png":"1/i/_w5.png"),"Upload hier nieuwe <span style=\"font-weight: bold; color: white;\">foto's</span>. Ook kun je hier zien hoe je foto's zijn beoordeeld, of oude foto's verwijderen.",!1,"f"],["questions","Matching-vragen",[showModal,"QuestionGroups"],R+(dd.png?"1/i/icon-questions-20.png":"1/i/_wi.png"),'Door de <span style="font-weight: bold; color: white;">matching-vragen</span> in te vullen (of door je eerdere antwoorden te herzien) geef je Paiq een duidelijker beeld van wie jij bent. Hoe vollediger en eerlijker de antwoorden, hoe beter je gematcht kan worden. Je antwoorden zijn niet zichtbaar voor anderen.',!1,"q"],["tagging","Do's &amp; don'ts",[showModal,"Tagging"],R+(dd.png?"1/i/icon-dd-20.png":"1/i/_wj.png"),"Met <span style=\"font-weight: bold; color: white;\">do's &amp; don'ts</span> laat je weten wat jij leuk, gaaf en hot vindt, en wat juist niet. Bij het matchen wordt hier rekening mee gehouden.",!1,"d"],["initialQa","Openingsvraag",[loadCall,R+"11/j/qa.js",[window,"showInitialQa",!0]],R+(dd.png?"1/i/icon-qa-20.png":"1/i/_wk.png"),'Jouw <span style="font-weight: bold; color: white;">openingsvraag</span> wordt automatisch voorgelegd aan je nieuwe matches, zodat je snel met diegenen in een leuk gesprek verzeild kan raken!'],["matchingControl","Match voorkeuren",[showModal,"MatchingControl"],R+(dd.png?"1/i/icon-control-20.png":"1/i/_zl.png"),"Niet 100% tevreden over hoe je gematcht wordt? We bieden je de mogelijkheid de matching bij te sturen. Ook kun je criteria opgeven waarmee je kunt aangeven waar toekomstige matches idealiter aan zouden moeten voldoen. Denk hierbij aan zaken als leeftijd, afstand, kinderwens, wel/niet rokend etc.",!1,""]],["Account",["select","Paiq Select",[showModal,"SelectMembership","mainMenu"],R+(dd.png?"2/i/icon-select-20.png":"2/i/_zm.png"),"Hier vind je informatie omtrent je <b>Paiq-select</b> lidmaatschap. Nog geen lid van Paiq-select? Al vanaf "+"€9,50"+" per maand krijg je elke dag een nieuwe match, meer controle over de matching én zijn foto's van nieuwe matches direct zichtbaar!",!1,""],["settings","Instellingen",[showModal,"Settings"],R+(dd.png?"1/i/icon-settings-20.png":"1/i/_wl.png"),'Is je chat-naam niet goed? Geluidjes irritant? Teveel emailtjes? Deze en andere <span style="font-weight: bold; color: white;">instellingen</span> vind je hier. Ook als je je wilt uitschrijven van Paiq moet je hier zijn.',!1,"t"],["credits","Credits kopen",[showModal,"BuyCredits"],R+(dd.png?"1/i/icon-credits-20.png":"1/i/_wm.png"),'<span style="font-weight: bold; color: white;">Credits</span> tekort? Vul ze hier aan (iDeal, creditcard of telefonisch). Je ondersteunt hiermee tevens de ontwikkeling van de site!',!1,"c"],["inviteFriends","Vrienden uitnodigen",[showModal,"InviteFriends"],R+(dd.png?"1/i/icon-invite-20.png":"1/i/_wn.png"),'Door single <span style="font-weight: bold; color: white;">vrienden uit te nodigen</span> help je Paiq met groeien, en verdien je ook nog eens credits! Wanneer je een uitnodiging stuurt naar iemand die al lid is, verschijn je in elkaar\'s contactenlijstje.',!1,"u"],["about","Over Paiq",[linkContent,"about"],R+(dd.png?"1/i/icon-help-20.png":"1/i/_wo.png"),'Lees hier van alles <span style="font-weight: bold; color: white;">over Paiq</span>: hoe de site is ontstaan, openstaande vacatures en hoe je met ons in contact kunt komen.'],["logout","Uitloggen",[link,"logout"],R+(dd.png?"1/i/icon-offline-20.png":"1/i/_wp.png"),'<span style="font-weight: bold; color: white;">Uitloggen</span> van Paiq. Als je de volgende keer niet opnieuw wilt hoeven inloggen kan je ook gewoon je browser afsluiten, of naar een andere pagina navigeren om <i>offline</i> te gaan.',!1,"x"]]];for(var b=0;b<a.menuOptions.length;b++){var c=a.menuOptions[b];for(var d=0;d<c.length;d++)c[d]===!1&&c.splice(d,1)}a.HelpWidget=makeWidget({ihtml:function()
{22|147;if(!this.moi){var a=new Link({content:"help",onclick:chainCb([this.menu,"hide"],[linkContent,"help"]),style:"text-decoration: none; color: #fff; font-weight: bold;"});return'<div style="font-size: 120%; color: #fadbc3; text-align: center; margin: 0 auto; padding: 32px 0 0; width: 300px;">Maak een keuze uit de opties hierboven. Vragen? Kijk eens in de '+a.render()+"</div>"}else return this.sup("ihtml")
}},AbstractMenu.prototype.HelpWidget);a.optionHtml=function(a,b,c)
{22|166;if(!b&&c){var d=a[0],e=a[1],f=a[2],g=a[3],h="";d=="nextMatch"?h=(new NotiStatWidget("weekUserCount")).render()+" paiqers afgelopen week ingelogd":d=="sd"?h=(new NotiStatWidget("onlineUserCount")).render()+" paiqers nu online":d=="photoQuestions"&&(h=(new NotiStatWidget("weekPhotoCount")).render()+" nieuwe foto's afgelopen week");return'<div menuId="'+d+'" class="@@optionEA @optionE-'+d+'" style="height: 48px; cursor: pointer;"><img src="'+escapeHtmlString(g||R+"1/i/empty.png")+'" height="20" width="20" alt="" style="float: left; margin: 5px 4px 3px 6px;" /><div style="padding: 7px 0 0 0; color: #fff; font-size: 110%;">'+e+'</div><div style="padding: 2px 0 0 30px; color: #fff; font-size: 85%; opacity: 0.7;">'+h+"</div></div>"}else return this.sup("optionHtml",a,b,c)
};a.addColumn=function(a)
{22|192;this.menuOptions.push(a);this.columnWidth.push(175);this.redraw()
};a.show=function()
{22|222;if(this.showing)return;this.sup("show");setForegroundRoot(this.root)
};a.hide=function()
{22|229;if(!this.showing)return;this.sup("hide");setForegroundRoot(null)
};return makeWidget(a,AbstractMenu)
}();(function()
{23|10;var a={tag:"div",attrs:{style:"zoom: 1;"}},b=window.notificationHandlers;window.HeadshotWidget=makeWidget({basics:["imgStyle"],init:function()
{24|6;b.addWatch("bestHeadshot",[this,this.redraw])
},deinit:function()
{24|11;b.delWatch("bestHeadshot",[this,this.redraw])
},ihtml:function()
{24|16;if(!b.bestHeadshot||!b.bestHeadshot[42])return"";return'<img style="'+(this.imgStyle||"")+'" width="42" height="42" alt="" src="'+escapeHtmlString(b.bestHeadshot[42]||"")+'" />'
},finish:function()
{24|25;this.root.addCallback("onclick",[showModal,"Photos"])
}});window.MotdInput=function()
{24|31;var a=function()
{24|33;this.skipUpdate||this.redraw()
},c=function(a)
{24|38;a=a||window.event;var b=a.keyCode||a.which||a.charCode;if(b==13&&!(window.Event?a.modifiers&Event.SHIFT_MASK:a.shiftKey)){this.taE.blur();return!1}return!0
},d=function()
{24|49;this.contE.style.height=""+(this.height-2)+"px";this.taE.style.height=""+(this.height-4)+"px";this.taE.style.overflow="hidden";this.taE.scrollTop=0;var a=this.taE.value;a||(this.phE.style.display="inline");if(a==this.curMotd)return;ev.send("User.setMotd",a);!this.taE;this.skipUpdate=!0;b.merge({motd:a,motdOld:!1});this.skipUpdate=!1
},e=function()
{24|71;this.phE.style.display="none";this.contE.style.height=""+(this.height+40)+"px";this.taE.style.height=""+(this.height+38)+"px";this.taE.style.overflow=dd.ie?"auto":"";this.taE.select()
};return makeWidget({tag:"div",attrs:{style:"position: relative; z-index: 2;"},init:function()
{24|85;b.addWatch("motd",[this,a]);b.addWatch("motdOld",[this,a]);this.appendAttr("style","height: "+this.height+"px; width: "+this.width+"px;")
},deinit:function()
{24|90;b.delWatch("motd",[this,a]);b.delWatch("motdOld",[this,a])
},ihtml:function()
{24|94;this.curMotd=walkTree(b,["motd"],"");var a=dd.ie6?"":'<div style="position: absolute; width: 0; height: 0; border-style: solid; left: -5px; border-color: transparent #a8a8a8 transparent transparent; border-width: 5px 5px 5px 0; top: 5px;"></div><div style="position: absolute; width: 0; height: 0; border-style: solid; left: -3px; border-color: transparent #fff transparent transparent; border-width: 3px 3px 3px 0; top: 7px;"></div>';return'<div class="@contE" style="position: absolute; top: 0; left: 0; width: '+(this.width-2)+"px; height: "+(this.height-2)+"px; border: solid 1px #a8a8a8; z-index: 3; text-align: center; line-height: "+(this.height-2)+'px;"><textarea style="color: #444; border: 0; margin: 0; font-size: 85%; padding: 0 2px; position: absolute; top: 1px; height: '+(this.height-4)+"px; left: 0px; width: "+(this.width-6)+'px; line-height: 12px; font-weight: normal; overflow: hidden; z-index: 4;" class="@taE">'+escapeHtml(this.curMotd)+'</textarea><span class="@phE" style="color: #aaa; position: relative; z-index: 5; cursor: default; '+(this.curMotd?"display: none;":"")+"\">What's up?</span>"+a+"</div>"
},finish:function()
{24|112;!!walkTree(b,["motdOld"],!0);this.taE.addCallbacks({onkeypress:[this,c],onfocus:[this,e],onblur:[this,d]});this.phE.addCallback("onclick",[this,e]);addTooltip(this.root,"Hier kun je aangeven wat jou op dit moment bezighoudt. Dit komt vervolgens voor je contacten onder je naam te staan. Je contacten kunnen de laatste 5 ingestelde meldingen zien. Bijvoorbeeld:<br /><br />- <i>uit geweest in Utrecht, topstad!</i><br />- <i>griep te pakken, ziek in bed :(</i><br />- <i>studeren voor m'n tentamen vrijdag!</i>",{above:!0,align:"left",force:!0})
}})
}();var c=makeWidget({measure:"username",formatter:function(a)
{24|133;return(new TitleFontWidget({color:"#ef6b00",size:"13pt",content:a?escapeHtml(a):"..."})).render()
}},NotiStatWidget),d=makeWidget({measure:"nextMatchValue",formatter:function(a)
{24|148;a=="off"&&(a=!1);return(new Icon({image:a?R+"1/i/icon-match-20.png":R+"1/i/icon-match-disabled-20.png",style:"margin: -4px 3px 0 0; height: 20px; width: 20px; cursor: pointer;",topts:{align:"left",pointTo:10},tooltip:a?"De automatische <i>matching</i> is ingeschakeld. Klik om te bekijken wanneer je een nieuwe match kunt verwachten.":"De automatische <i>matching</i> is uitgeschakeld. Klik om je match-instellingen te wijzigen.",onclick:[!1,showModal,"NextMatch"]})).render()
}},NotiStatWidget),e=makeWidget({measure:"selectInvites",formatter:function(a)
{24|163;if(!a||!a.length)return"";var b=[];for(var c=0;c<a.length;c++){var d=a[c];b.push((new Icon({image:R+"2/i/icon-select-20.png",style:"margin: -4px 3px 0 0; float: left; height: 20px; cursor: pointer;",topts:{align:"left",pointTo:10},tooltip:'Gratis weg te geven: één week Paiq <span class="selectStyle">Select</span>!',onclick:[!1,showModal,"InviteSelect",d]})).render())}return b.join("")
}},NotiStatWidget),f=makeWidget({measure:"iwn",formatter:function(a)
{24|181;return(new Icon({image:a?R+"1/i/icon-iwn-20.png":R+"1/i/icon-iwn-offline-20.png",style:"margin: -4px 3px 0 0; height: 20px; width: 20px; cursor: pointer;",topts:{align:"left",pointTo:10},tooltip:"De Paiq Web Notifier is een kleine applicatie waarmee je direct op de hoogte wordt gesteld van berichten en contacten die online komen, ook wanneer je niet bent ingelogd op de site.<br /><br />"+(a?"De notifier is <i>online</i>.":"De notifier is <i>offline</i>. Klik hier op de notifier te downloaden."),onclick:[!1,showModal,"NotifierDownload"]})).render()
}},NotiStatWidget),g=makeWidget({tag:"span",style:"cursor: pointer;",measure:"credits",formatter:function(a)
{24|196;return(new Icon({image:R+"1/i/icon-credits-20.png",style:"margin: -4px 3px 0 0; height: 20px; width: 20px; cursor: pointer;"})).render()+'<span style="position: relative; top: 2px; text-decoration: none;" class="link">'+numberFormat(a)+"</span>"
},finish:function()
{24|202;this.root.addCallback("onclick",[!1,showModal,"BuyCredits"]);addTooltip(this.root,"Credits zijn in te zetten voor het gebruik van allerlei extra functionaliteit op de site. Klik om credits bij te kopen.",{align:"center"})
}},NotiStatWidget),h=makeWidget({tag:"div",attrs:{style:"width: 180px; margin: 0 8px;"},ihtml:function()
{24|214;var a=new c,b=new HeadshotWidget({tag:"div",style:"cursor: pointer;",size:42}),h=new MotdInput({height:42,width:114});this.content=window.uid?'<div style="padding: 0 0 6px;">'+a.render()+'</div><table style="width: 100%;" cellpadding="0" cellspacing="0"><tr><td width="50" colspan="2" style="height: 42px; padding: 0 0 6px;">'+b.render()+'</td><td width="*">'+h.render()+'</td></tr><tr><td width="24" style="text-align: left;">'+(new d).render()+'</td><td width="27" style="text-align: left;">'+(new f).render()+'</td><td width="*" style="text-align: right; text-decoration: none;">'+(new e).render()+""+(new g).render()+"</td></tr></table>":"";return this.sup("ihtml")
}},makeWidget({ihtml:function()
{24|243;return"<div style='padding: 0 8px;'>"+this.content+"</div>"
}})),i=makeWidget({attrs:{style:"width: 180px; color: #444;"},ihtml:function()
{24|248;this.content=window.notifyEventList.render();return this.sup("ihtml")
}},makeWidget({transformContent:boxHelpers.t.contentBox,color:"#ffffff",right:8,top:62,left:8,bottom:0,textLeft:8,textTop:8,textRight:8,textBottom:10,borderLeft:0,borderRight:0,borderColor:"#ffffff",inherit:BoxWidget,cor:R+(dd.png?"1/i/_z5.png":"1/i/_z6.png")})),j=function()
{24|254;var a,c=function()
{24|257;if(a)return;var b=function()
{24|260;try{FB.init({appId:"213621012275",xfbml:!0,cookie:!0,channelUrl:"http://paiq.nl"+"/fb_channel.html"});FB.UIServer.setLoadedNode=function(a,b)
{24|268;FB.UIServer._loadedNodes[a.id]=b
};FB.Event.subscribe("edge.create",function()
{24|269;a.liked&&a.liked(!0)
});FB.Event.subscribe("edge.remove",function()
{24|270;a.liked&&a.liked(!1)
});a.fireCallback("ready")}catch(b){}
},c=document.getElementsByTagName("html");c[0].setAttribute("xmlns:fb","http://www.facebook.com/2008/fbml");window.fbAsyncInit=mkcb([this,b]);var d=document.createElement("div");d.id="fb-root";document.getElementsByTagName("body").item(0).appendChild(d);var e=document.createElement("script");e.async=!0;e.src="https://connect.facebook.net/nl_NL/all.js";document.getElementsByTagName("head").item(0).appendChild(e);a=domElementExtensions.newWithProto()
},d=makeWidget({init:c,ihtml:function()
{24|294;var a="<fb:like href='http://paiq.nl' ref='test' send='false' layout='button_count' show_faces='false' font='arial'></fb:like>";return"<div class='@likeDiv' style='display: "+(window.FB?"block":"none")+";'>Blij met Paiq? Laat het weten, krijg 25 credits!<br /><div class='@div' style='padding: 8px 6px 2px 0;'>"+a+"</div></div>"
},checkFrame:function()
{24|299;var a=document.getElementsByTagName("iframe"),b=!1;for(var c=0;c<a.length;c++)a[c].src.indexOf("comment_widget_shell")!=-1&&a[c].parentElement&&a[c].parentElement.parentElement&&a[c].parentElement.parentElement.style.display!="none"&&(b=!0);DBG("commentBox: "+(b?"visible":"not visible"));b?this.frameTimer=setCallbackTimeout([this,this.checkFrame],500):this.rewardTimer=setTimeout(function()
{24|311;window.userFlags=window.userFlags|4;ev.send("promo.facebookLiked",!0)
},1e3)
},finish:function()
{24|313;a.addCallback("liked",[this,this.almostDone]);a.addCallback("ready",[this,this.parseAndShow])
},unfinish:function()
{24|318;a.delCallback("liked",[this,this.almostDone])
},parseAndShow:function()
{24|322;FB.XFBML.parse();this.likeDiv.style.display="block"
},almostDone:function(a)
{24|327;if(a)this.frameTimer=setCallbackTimeout([this,this.checkFrame],1e3);else{clearTimeout(this.frameTimer);clearTimeout(this.rewardTimer);if(window.userFlags&4){window.userFlags=window.userFlags&~4;ev.send("promo.facebookLiked",!1)}}
}}),e={attrs:{style:"width: 180px;"},tag:"div"},f=[[2,"html",function()
{24|423;return window.userFlags&4||dd.ie6?"":new d
},!1,3e4],[3,!1,!1,!1,3e4]],g=[];for(var h=0;h<f.length;h++)for(var i=0;i<f[h][0];i++)g.push(h);var j=function(a)
{24|434;var c=null,d=-1;for(var e in b.tips)if(b.tips[e][0]>d){d=b.tips[e][0];c=b.tips[e].slice(1)}this.merge({tip:c})
};e.init=function()
{24|445;b.addWatch("tips","*",[this,j]);j.call(this);this.addWatch([this,this.redraw]);this.loading="delay"
};e.deinit=function()
{24|455;b.delWatch("tips","*",[this,j])
};e.ihtml=function()
{24|460;if(this.loading)return"";this.tip||(this.tip=f[g[Math.floor(Math.random()*g.length)]].slice(1));var a=this.tip[0],b=this.tip[1];if(!a)return"";typeof b=="function"&&(b=b().render());if(a=="thanks"){var c=b[0],d=b[1],e=b[2],h=new HelpIcon({style:"top: 2px;",tooltip:function()
{24|480;return"Onlangs is er iemand actief lid geworden van Paiq via een verwijzing naar onze site door "+e+". We tonen daarom als dank een linkje terug.<br /><br />Ook backlinks naar <i>jouw</i> site? "+(new Link("Kijk hier.",[!1,showModal,"BacklinkSettings"])).render()+""
}}),i=new Link(escapeHtml(e),function()
{24|490;ev.send("Backlink.linkClicked",c);window.open(d)
});b='<span style="font-weight: bold; color: #596eea;">Paiq bedankt '+i.render()+"! "+h.render()+"</span>"}else if(a=="news")return'<div style="font-weight: bold; text-align: center; padding: 0 8px;">'+b+"</div>";else if(a!="html")return(new(makeWidget({transformContent:boxHelpers.t.contentBox,color:"#ffffff",right:8,top:62,left:8,bottom:0,textLeft:8,textTop:8,textRight:8,textBottom:10,borderLeft:0,borderRight:0,borderColor:"#ffffff",inherit:BoxWidget,cor:R+(dd.png?"1/i/_z7.png":"1/i/_z8.png")}))('<span style="color: #444;"><b>Tip:</b> '+b+"</span>")).render();return'<div style="padding: 0 8px;">'+b+"</div>"
};var k=function()
{24|511;this.timeout("schedNext",[this,function()
{24|512;this.tip=this.loading=!1;this.redraw()
}],(this.tip||{})[3]||18e4)
},l=function()
{24|518;this.timeout("schedNext",!1)
},m=e.loadTip=function(a,c)
{24|527;this.loading="tip";this.timeout("delayed",!1);ev.send("tips.fetch",[this,function(a)
{24|531;b.merge({tips:{pulled:a?[20].concat(a):null}});this.merge({loading:!1})
}],a,c)
};e.finish=function()
{24|537;this.root.addCallbacks({onmouseover:[this,l],onmouseout:[this,k]});this.tip&&this.tip[2]&&addTooltip(this.root,this.tip[2]);this.loading=="delay"&&this.timeout("delay",[this,m,!1,!1],3e3);k.call(this)
};e.unfinish=function()
{24|553;l();this.timeout("delay",!1)
};return makeWidget(e)
}();a.ihtml=function()
{23|22;var a=window.userType=="select",b=["help",[linkContent,"help"],"over Paiq",[linkContent,"about"],"uitloggen",[link,"logout"]];window.userType=="select"&&b.unshift("feedback",[!1,ev,ev.send,"addSupportChat"]);var c=[];for(var d=0;d<b.length;d+=2)c.push((new Link({content:b[d],style:"font-weight: bold;",onclick:b[d+1]})).render());c=c.join(" | ");var e="";if(this.mainMenuEnabled){var f=window.menu=new MainMenu({style:"left: 0; top: 0;"}),g=new(makeWidget({transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_iq.png":"1/i/_ir.png"),ver:R+(dd.png?"1/i/_is.png":"1/i/_it.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_iu.png":"1/i/_iv.png"),ver:R+(dd.png?"1/i/_iw.png":"1/i/_ix.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_iu.png":"1/i/_iv.png"),ver:R+(dd.png?"1/i/_iw.png":"1/i/_ix.png")},inverseHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_lu.png":"1/i/_lv.png"),ver:R+(dd.png?"1/i/_lw.png":"1/i/_lx.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_ly.png":"1/i/_lz.png"),ver:R+(dd.png?"1/i/_m0.png":"1/i/_m1.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_iu.png":"1/i/_iv.png"),ver:R+(dd.png?"1/i/_iw.png":"1/i/_ix.png")}}}},inverseHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_lu.png":"1/i/_lv.png"),ver:R+(dd.png?"1/i/_lw.png":"1/i/_lx.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_ly.png":"1/i/_lz.png"),ver:R+(dd.png?"1/i/_m0.png":"1/i/_m1.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_iu.png":"1/i/_iv.png"),ver:R+(dd.png?"1/i/_iw.png":"1/i/_ix.png")}}}}))({onclick:[f,f.toggle],content:"   menu",textSize:"24px",style:"width: 184px; -webkit-user-select: none;"});f.buttonW=g;e=""+g.render()+'<div style="position: relative; top: -48px; left: 200px; z-index: 9999;">'+f.render()+"</div>"}else e=(new(makeWidget({transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_iy.png":"1/i/_iz.png"),ver:R+(dd.png?"1/i/_j0.png":"1/i/_j1.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_j2.png":"1/i/_j3.png"),ver:R+(dd.png?"1/i/_j4.png":"1/i/_j5.png"),highlightHash:{transformContent:boxHelpers.t.basicButton,inherit:Button,left:40,right:40,top:48,bottom:0,textTop:0,textBottom:0,textRight:52,textLeft:21,content:"Doorgaan",borderLeft:40,borderRight:40,cor:R+(dd.png?"1/i/_iu.png":"1/i/_iv.png"),ver:R+(dd.png?"1/i/_iw.png":"1/i/_ix.png")}}}))({onclick:[link,!1],content:"   terug",textSize:"24px",style:"width: 184px; margin: 0 0 0 -3px; display: table;"})).render();return'<table style="width: 100%; background: url('+R+'1/i/top-bg.png) repeat-x scroll 0 90px;" cellpadding="0" cellspacing="0"><tr> <td width="200"><a href="/" style="display: block; width: 150px; height: 137px; background: '+(a?"url("+R+(dd.png?"2/i/logo-select.png":"2/i/_zn.png")+")":"url("+R+(dd.png?"1/i/logo-fun.png":"1/i/_12a.png")+")")+' no-repeat scroll 0 0; margin: 7px auto 2px auto;"></a><div class="@leftColE" style="padding: 10px;">'+e+""+(new h({style:"margin: 20px 0 0;"})).render()+""+(new i({style:"margin: 20px 0 0;"})).render()+""+(new j({style:"margin: 12px 0 0;"})).render()+'</div></td> <td width="35"></td> <td width="*" style="padding: 90px 0 0;"><div class=\'@mainColE\'>'+(typeof this.content=="object"?this.child("content"):this.content)+'</div></td></tr></table><div style=\'height: 33px;\'><div><div class="@footerE footerList" style="height: 25px; position: absolute; bottom: 0; left: 0; width: 100%; padding: 8px 0 0 0; background: url('+R+"1/i/footerbg.png) repeat-x; color: #965c00;\"><div><div style='float: left; padding-left: 16px; color: white;'><b>"+(new NotiStatWidget("onlineUserCount","-")).render()+"</b> nu online, waaronder <b>"+(new NotiStatWidget("onlineContacts","-")).render()+"</b> van jouw <b>"+(new NotiStatWidget("totalContacts","-")).render()+"</b> contacten</div><div style='float: right;'>"+c+'<span style="margin: 0 10px 0 10px;">&copy; Copyright '+(new TitleFontWidget("Implicit Link","#965c00","115%")).render()+"</span></div><br style='clear: left;' /></div></div>"
};var k=function(a)
{23|123;a=a||window.event||{};var b=getKeyCode(a);if(b==27||a.altKey&&a.shiftKey&&b!=16&&b!=18)if(window.menu&&window.menu.handleKey(b,!0))return killEvent(a)
};a.finish=function()
{23|133;fixViewportY(this.leftColE,this.mainColE);document.addCallback("onkeydown",[this,k])
};a.unfinish=function()
{23|139;document.delCallback("onkeydown",[this,k])
};window.SiteTemplate=makeWidget(a)
})();window.oldAlert=window.alert;window.alert=function(a)
{6|3;(new Modal(0,a,"Let op!")).show()
};window.userTestFeature=function(a,b)
{6|32;var c=(window.euid||window.uid)+a*12345;c+=c<<12;c^=c>>22;c+=c<<4;c^=c>>9;c+=c<<10;c^=c>>2;c+=c<<7;c^=c>>12;return c%(b||2)
};window.addCallback("onInit",function()
{6|46;setTimeout(function()
{6|49;window._gaq=window._gaq||[];var a=["UA-7752822-1"];for(var b=0;b<a.length;b++){var c=String.fromCharCode(65+b)+".";_gaq.push([c+"_setAccount",a[b]]);_gaq.push([c+"_setCustomVar",1,"userType",window.userType,2]);_gaq.push([c+"_trackPageview"]);DBG("analytics: userType "+window.userType+", "+c+"_setAccount "+a[b]+"")}(function()
{6|60;try{var a=document.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"==location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}catch(c){}
})()
},500)
});window.gaTrackPageview=function(a)
{6|71;var b=["UA-7752822-1"];a&&setTimeout(function()
{6|76;try{if(window._gaq)for(var c=0;c<b.length;c++){var d=String.fromCharCode(65+c)+".";_gaq.push([d+"_trackPageview",a]);DBG(d+"_trackPageview: "+a)}}catch(e){}
},500)
};window.gaTrackEvent=function(a)
{6|90;var b=["UA-7752822-1"];a&&setTimeout(function()
{6|95;try{if(window._gaq)for(var c=0;c<b.length;c++){var d=String.fromCharCode(65+c)+".";_gaq.push([d+"_trackEvent"].concat(a));DBG(d+"_trackEvent: "+toJson(a))}}catch(f){}
},500)
};window.gaSetCustomVar=function(a,b,c,d)
{6|109;var e=["UA-7752822-1"];d||(d=2);a&&b&&c!==undefined&&setTimeout(function()
{6|115;try{if(window._gaq)for(var f=0;f<e.length;f++){var g=String.fromCharCode(65+f)+".";_gaq.push([g+"_setCustomVar"].concat([a,b,c,d]));DBG(g+"_setCustomVar: "+b+", value: "+c)}}catch(h){}
},500)
};window.toChat=function()
{};window.SitePage=makeClass({type:0,init:function()
{25|25;this.cookie=getCookie("a");window.ev=new EventConnection("/ilcs");ev.send("User.client",this.cookie,navigator.userAgent,[this,objDispatch],this.type&1?0:32,document.referrer,location.href);window.addCallback("onSemiLoad",[this,this.start])
},start:function()
{25|36;DBG("SitePage start (page=",window.page,", uid=",window.uid,")");if(this.type&1){incrLoading();var a=window.notificationHandlers;ev.send("init",window.page,[a,a.setVarList],window.uid)}else window.fireCallback("onInit");setTimeout(function()
{25|49;dd.iphone&&window.scrollTo(0,1);ev.start()
},dd.android?351:10)
},getAuthCookie:function(a)
{25|60;this.cookie?callback(a,[this.cookie]):this.onAuth.push(a)
},auth:function(a,b)
{25|65;b=parseInt(b);DBG("auth: c=",a,"u=",b);if(a){this.cookie=a;var c=new Date;c.setTime(c.getTime()+90*24*60*60*1e3);var d="; path=/; expires="+c.toGMTString()+"; domain="+domain;if(location.protocol=="https:"&&b){document.cookie="https=y"+d;d+="; secure"}document.cookie="a="+a+d;DBG("setcookie: "+"a="+a+d)}callback(this.onAuth);b&&(this.onAuth=link)
},eval:function(a)
{25|87;xEval(a)
},reload:link});(function()
{25|95;var a,b=function()
{25|106;a=!1;setTimeout(function()
{25|110;a=!0
},6e4)
};window.adEvent=function()
{25|114;if(!a)return;var c="/event/msg/ad_invisible";if(window.topAdVisible()){c="/event/msg/ad_visible";window.changeTopAd();b()}gaTrackPageview(c)
};b()
})();;if(typeof scriptReady=='function')scriptReady('default');
