/* * Cross-browser event handling doc */ function addEvent(element, eventType, lamdaFunction, useCapture) { if (element.addEventListener) { element.addEventListener(eventType, lamdaFunction, useCapture); return true; } else if (element.attachEvent) { var r = element.attachEvent('on' + eventType, lamdaFunction); return r; } else { return false; } } /* * Kills an event's propagation and default action */ function knackerEvent(eventObject) { if (eventObject && eventObject.stopPropagation) { eventObject.stopPropagation(); } if (window.event && window.event.cancelBubble ) { window.event.cancelBubble = true; } if (eventObject && eventObject.preventDefault) { eventObject.preventDefault(); } if (window.event) { window.event.returnValue = false; } } /* * Safari doesn't support canceling events in the standard way, so we must * hard-code a return of false for it to work. */ function cancelEventSafari() { return false; } /* * Clear Default Text: functions for clearing and replacing default text in * elements. */ addEvent(window, 'load', init, false); function init() { var formInputs = document.getElementsByTagName('input'); for (var i = 0; i < formInputs.length; i++) { var theInput = formInputs[i]; if ((theInput.type == 'text' || theInput.type == 'password') && theInput.className.match(/\bcleardefault\b/)) { /* Add event handlers */ addEvent(theInput, 'focus', clearDefaultText, false); addEvent(theInput, 'blur', replaceDefaultText, false); /* Save the current value */ if (theInput.value != '') { theInput.defaultText = theInput.value; } } } } function clearDefaultText(e) { var target = window.event ? window.event.srcElement : e ? e.target : null; if (!target) return; if (target.value == target.defaultText) { target.value = ''; } } function replaceDefaultText(e) { var target = window.event ? window.event.srcElement : e ? e.target : null; if (!target) return; if (target.value == '' && target.defaultText) { target.value = target.defaultText; } };function noError(b,a){if(b==1){a.src="/images/errors/team-logo.gif"}}function loadUrl(a){parent.location.href=a}function Str_Right(b,a){return b.substring(b.length-a)}function bgLoading(a){document.getElementById(a).innerHTML='

Momentje geduld aub...
'}tempWaarde="";function switchBlockDiv(a){if(a!=""){if(tempWaarde==""){document.getElementById(a).style.display="block";tempWaarde=a}else{if(a==tempWaarde){document.getElementById(a).style.display="none";tempWaarde=""}else{if(tempWaarde!=""){document.getElementById(tempWaarde).style.display="none"}document.getElementById(a).style.display="block";tempWaarde=a}}}}function setVars(){tempTab="";tmpaid="";tempWaarde=""}function setVarsVullen(a){tempTab="tab"+a;tmpaid="a"+a;tempWaarde="compopt_"+a}var tempTab="";var tmpaid="";setVars();function switchTabDiv(b,a){if(tempTab==""){document.getElementById(a).className+=" active";document.getElementById(b).style.display="block";tempTab=b;tmpaid=a}else{if(b==tempTab){document.getElementById(b).style.display="none";tempTab="";document.getElementById(a).className="tab cursor";tmpaid=""}else{document.getElementById(tempTab).style.display="none";document.getElementById(tmpaid).className="tab cursor";document.getElementById(b).style.display="block";document.getElementById(a).className+=" active";tempTab=b;tmpaid=a}}}function SearchAndReplace(b,a,f){var i=b;var d=new String();var g=new String();var h=new String();var e=0;var c=0;if(a.length==0){return}while(i.toUpperCase().indexOf(a.toUpperCase())>-1){e=i.toUpperCase().indexOf(a.toUpperCase());d=i.substring(0,e);h=h+d;h=h+f;c=i.length-a.length+1;i=i.substring(e+a.length)}return h+i}function MultiDimensionalArray(e,f){var d;var c;var b=new Array(e);for(d=0;d String(str).length) return str; else return String(str).substring(0,n); } customerId = "Voetbalzone"; customerKey = "wkcdy3bsikgt4";/* * jQuery JavaScript Library v1.3.2 * http://jquery.com/ * * Copyright (c) 2009 John Resig * Dual licensed under the MIT and GPL licenses. * http://docs.jquery.com/License * * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) * Revision: 6246 */ (function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("",""]||!O.indexOf("",""]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!O.indexOf("",""]||(!O.indexOf("",""]||!O.indexOf("",""]||!o.support.htmlSerialize&&[1,"div
","
"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}}); /* * Sizzle CSS Selector Engine - v0.9.3 * Copyright 2009, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ (function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return UT[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="

";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="
";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("
").append(M.responseText.replace(//g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='
';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})();// Delay Plugin for jQuery // - http://www.evanbot.com // - ? 2008 Evan Byrne jQuery.fn.delay = function(time,func){ this.each(function(){ tmpTimer = setTimeout(func,time); }); return this; };/** * hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+ * * * @param f onMouseOver function || An object with configuration options * @param g onMouseOut function || Nothing (use configuration options object) * @author Brian Cherne */ (function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))li").tsort(); * $("ul#people>li").tsort("span.surname"); * $("ul#people>li").tsort("span.surname",{order:"desc"}); * $("ul#people>li").tsort({place:"end"}); * * Change default like so: * $.tinysort.defaults.order = "desc"; * * Changes in 1.0.2 * - matching numerics did not work for trailing zero's, replaced with regexp (which should now work for + and - signs as well) * * Todos * - fix mixed literal/numeral values * - determine if I have to use setArray or pushStack * */ ;(function($) { // default settings $.tinysort = { id: "TinySort" ,version: "1.0.2" ,defaults: { order: "asc" // order: asc, desc or rand ,attr: "" // order by attribute value ,place: "start" // place ordered elements at position: start, end, org (original position), first ,returns: false // return all elements or only the sorted ones (true/false) } }; $.fn.extend({ tinysort: function(_find,_settings) { if (_find&&typeof(_find)!="string") { _settings = _find; _find = null; } var oSettings = $.extend({}, $.tinysort.defaults, _settings); var oElements = {}; // contains sortable- and non-sortable list per parent this.each(function(i) { // element or sub selection var mElm = (!_find||_find=="")?$(this):$(this).find(_find); // text or attribute value var sSort = oSettings.order=="rand"?""+Math.random():(oSettings.attr==""?mElm.text():mElm.attr(oSettings.attr)); // to sort or not to sort var mParent = $(this).parent(); if (!oElements[mParent]) oElements[mParent] = {s:[],n:[]}; // s: sort, n: not sort if (mElm.length>0) oElements[mParent].s.push({s:sSort,e:$(this),n:i}); // s:string, e:element, n:number else oElements[mParent].n.push({e:$(this),n:i}); }); // // sort for (var sParent in oElements) { var oParent = oElements[sParent]; oParent.s.sort( function zeSort(a,b) { var x = a.s.toLowerCase?a.s.toLowerCase():a.s; var y = b.s.toLowerCase?b.s.toLowerCase():b.s; if (isNum(a.s)&&isNum(b.s)) { x = parseFloat(a.s); y = parseFloat(b.s); } return (oSettings.order=="asc"?1:-1)*(xy?1:0)); } ); } // // order elements and fill new order var aNewOrder = []; for (var sParent in oElements) { var oParent = oElements[sParent]; var aOrg = []; // list for original position var iLow = $(this).length; switch (oSettings.place) { case "first": $.each(oParent.s,function(i,obj) { iLow = Math.min(iLow,obj.n) }); break; case "org": $.each(oParent.s,function(i,obj) { aOrg.push(obj.n) }); break; case "end": iLow = oParent.n.length; break; default: iLow = 0; } var aCnt = [0,0]; // count how much we've sorted for retreival from either the sort list or the non-sort list (oParent.s/oParent.n) for (var i=0;i<$(this).length;i++) { var bSList = i>=iLow&&i35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'([3-9a-zB-Z]|1\\w)'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(6($){6 Z(f,3){4 7=n;f=b(f);4 5=b(document.createElement(\'div\')).B(3.10).B((3.p)?3.11:\'\').B((3.C)?3.12:\'\').13(3.q).appendTo(f);a(!3.14)5.t();o 5.r();a(!3.C){f.hover(6(c){7.t(c)},6(){7.r()});a(!3.p){f.mousemove(6(c){a(5.D(\'N\')!==\'u\')7.E(c)})}}o{f.click(6(c){a(c.15===f.16(0)){a(5.D(\'N\')!==\'u\')7.r();o 7.t()}});b(v).mousedown(6(c){a(5.D(\'N\')!==\'u\'){4 17=(3.O)?b(c.15).parents(\'.5\').andSelf().filter(6(){d n===5.16(0)}).length:0;a(17===0)7.r()}})};b.18(7,{getVersion:6(){d[1,2,0]},getParent:6(){d f},getTooltip:6(){d 5},getPos:6(){d 5.i()},19:6(8,9){4 e=f.i();a(s 8==\'F\')8=G(8)+e.k;a(s 9==\'F\')9=G(9)+e.l;5.D({k:8,l:9});d 7},t:6(c){3.1a.m(7);7.E((3.p)?P:c);Q(3.1b){g\'H\':5.fadeIn(3.I);h;g\'1c\':5.slideDown(3.I,7.E);h;g\'1d\':3.1e.m(5,3.I);h;w:g\'u\':5.t();h};5.B(3.R);3.1f.m(7);d 7},r:6(){3.1g.m(7);Q(3.1h){g\'H\':5.fadeOut(3.J);h;g\'1c\':5.slideUp(3.J);h;g\'1d\':3.1i.m(5,3.J);h;w:g\'u\':5.r();h};5.removeClass(3.R);3.1j.m(7);d 7},update:6(q){5.13(q);3.q=q;d 7},1k:6(1l,K){3.1m.m(7);5.1k(1l,K,6(){3.1n.m(7)});d 7},L:6(8,9){4 1o=8+5.S();4 1p=9+5.T();4 1q=b(v).width()+b(v).scrollLeft();4 1r=b(v).height()+b(v).scrollTop();d[(1o>=1q),(1p>=1r)]},E:6(c){4 x=5.S();4 y=5.T();a(!c&&3.p){a(3.j.constructor==Array){8=G(3.j[0]);9=G(3.j[1])}o a(b(3.j).attr(\'nodeType\')===1){4 i=b(3.j).i();8=i.k;9=i.l}o{4 e=f.i();4 z=f.S();4 M=f.T();Q(3.j){g\'l\':4 8=e.k-(x/2)+(z/2);4 9=e.l-y;h;g\'bottom\':4 8=e.k-(x/2)+(z/2);4 9=e.l+M;h;g\'k\':4 8=e.k-x;4 9=e.l-(y/2)+(M/2);h;g\'right\':4 8=e.k+z;4 9=e.l-(y/2)+(M/2);h;w:g\'w\':4 8=(z/2)+e.k+20;4 9=e.l;h}}}o{4 8=c.pageX;4 9=c.pageY};a(s 3.j!=\'object\'){8=8+3.i[0];9=9+3.i[1];a(3.L){4 U=7.L(8,9);a(U[0])8=8-(x/2)-(2*3.i[0]);a(U[1])9=9-(y/2)-(2*3.i[1])}}o{a(s 3.j[0]=="F")8=1s(8);a(s 3.j[1]=="F")9=1s(9)};7.19(8,9);d 7}})};b.fn.V=6(3){4 W=b(n).eq(s 3==\'number\'?3:0).K("V");a(W)d W;4 X={q:\'A simple 5\',C:1t,O:1t,14:Y,j:\'w\',i:[0,0],L:Y,p:Y,1b:\'H\',I:1u,1e:P,1h:\'H\',J:1u,1i:P,10:\'5\',R:\'active\',11:\'p\',12:\'C\',focusClass:\'O\',1a:6(){},1f:6(){},1g:6(){},1j:6(){},1m:6(){},1n:6(){}};b.18(X,3);n.each(6(){4 el=new Z(b(n),X);b(n).K("V",el)});d n}})();',[],93,'|||conf|var|tooltip|function|self|posX|posY|if|jQuery|event|return|elemPos|elem|case|break|offset|position|left|top|call|this|else|fixed|content|hide|typeof|show|none|window|default|tooltipWidth|tooltipHeight|elemWidth||addClass|persistent|css|updatePos|string|parseInt|fade|showTime|hideTime|data|boundryCheck|elemHeight|display|focus|null|switch|activeClass|outerWidth|outerHeight|overflow|simpletip|api|defaultConf|true|Simpletip|baseClass|fixedClass|persistentClass|html|hidden|target|get|check|extend|setPos|onBeforeShow|showEffect|slide|custom|showCustom|onShow|onBeforeHide|hideEffect|hideCustom|onHide|load|uri|beforeContentLoad|onContentLoad|newX|newY|windowWidth|windowHeight|String|false|150'.split('|'),0,{}));jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.1",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery); ;/** * @author trixta */ (function($){ $.bind = function(object, method){ var args = Array.prototype.slice.call(arguments, 2); if(args.length){ return function() { var args2 = [this].concat(args, $.makeArray( arguments )); return method.apply(object, args2); }; } else { return function() { var args2 = [this].concat($.makeArray( arguments )); return method.apply(object, args2); }; } }; })(jQuery); ;(function(a){a.widget("ui.checkBox",{_init:function(){var d=this,c=this.options,b=function(f){if(this.disabledStatus){return false}d.hover=(f.type=="focus"||f.type=="mouseenter");d._changeStateClassChain()};if(!this.element.is(":radio,:checkbox")){return false}this.labels=a([]);this.checkedStatus=false;this.disabledStatus=false;this.hoverStatus=false;this.radio=(this.element.is(":radio"));this.visualElement=a("").addClass(this.radio?"ui-radio":"ui-checkbox").bind("mouseenter.checkBox mouseleave.checkBox",b).bind("click.checkBox",function(f){d.element[0].click();return false});if(c.replaceInput){this.element.addClass("ui-helper-hidden-accessible").after(this.visualElement[0]).bind("usermode",function(f){(f.enabled&&d.destroy.call(d,true))})}this.element.bind("click.checkBox",a.bind(this,this.reflectUI)).bind("focus.checkBox blur.checkBox",b);if(c.addLabel){this.labels=a("label[for="+this.element.attr("id")+"]").bind("mouseenter.checkBox mouseleave.checkBox",b)}this.reflectUI({type:"initialReflect"})},_changeStateClassChain:function(){var d=(this.checkedStatus)?"-checked":"",c="ui-"+((this.radio)?"radio":"checkbox")+"-state";d+=(this.disabledStatus)?"-disabled":"";d+=(this.hover)?"-hover":"";if(d){d=c+d}function b(){var e=this.className.split(" "),f=false;a.each(e,function(g,h){if(h.indexOf(c)===0){f=true;e[g]=d;return false}});if(!f){e.push(d)}this.className=e.join(" ")}this.labels.each(b);this.visualElement.each(b)},destroy:function(b){this.element.removeClass("ui-helper-hidden-accessible");this.visualElement.addClass("ui-helper-hidden");if(!b){var c=this.options;this.element.unbind(".checkBox");this.visualElement.remove();this.labels.unbind(".checkBox").removeClass("ui-state-hover ui-state-checked ui-state-disabled")}},disable:function(){this.element[0].disabled=true;this.reflectUI({type:"manuallyDisabled"})},enable:function(){this.element[0].disabled=false;this.reflectUI({type:"manuallyenabled"})},toggle:function(b){this.changeCheckStatus((this.element.is(":checked"))?false:true,b)},changeCheckStatus:function(b,c){if(c&&c.type=="click"&&this.element[0].disabled){return false}this.element.attr({checked:b});this.reflectUI(c||{type:"changeCheckStatus"})},propagate:function(d,c,b){if(!c||c.type!="initialReflect"){if(this.radio&&!b){a(document.getElementsByName(this.element.attr("name"))).checkBox("reflectUI",c,true)}return this._trigger(d,c,{options:this.options,checked:this.checkedStatus,labels:this.labels,disabled:this.disabledStatus})}},reflectUI:function(f,d){var b=this.checkedStatus,c=this.disabledStatus;d=d||f;this.disabledStatus=this.element.is(":disabled");this.checkedStatus=this.element.is(":checked");if(this.disabledStatus!=c||this.checkedStatus!==b){this._changeStateClassChain();(this.disabledStatus!=c&&this.propagate("disabledChange",d));(this.checkedStatus!==b&&this.propagate("change",d))}}});a.ui.checkBox.defaults={replaceInput:true,addLabel:true}})(jQuery); ;var timerlen = 5; var slideAniLen = 250; var timerID = new Array(); var startTime = new Array(); var obj = new Array(); var endHeight = new Array(); var moving = new Array(); var dir = new Array(); function slidedown(objname){ if(moving[objname]) return; if(document.getElementById(objname).style.display != "none") return; // cannot slide down something that is already visible moving[objname] = true; dir[objname] = "down"; startslide(objname); } function slideup(objname){ if(moving[objname]) return; if(document.getElementById(objname).style.display == "none") return; // cannot slide up something that is already hidden moving[objname] = true; dir[objname] = "up"; startslide(objname); } function startslide(objname){ obj[objname] = document.getElementById(objname); endHeight[objname] = parseInt(obj[objname].style.height); startTime[objname] = (new Date()).getTime(); if(dir[objname] == "down"){ obj[objname].style.height = "1px"; } obj[objname].style.display = "block"; timerID[objname] = setInterval('slidetick(\'' + objname + '\');',timerlen); } function slidetick(objname){ var elapsed = (new Date()).getTime() - startTime[objname]; if (elapsed > slideAniLen) endSlide(objname) else { var d =Math.round(elapsed / slideAniLen * endHeight[objname]); if(dir[objname] == "up") d = endHeight[objname] - d; obj[objname].style.height = d + "px"; } return; } function endSlide(objname){ clearInterval(timerID[objname]); if(dir[objname] == "up") obj[objname].style.display = "none"; obj[objname].style.height = endHeight[objname] + "px"; delete(moving[objname]); delete(timerID[objname]); delete(startTime[objname]); delete(endHeight[objname]); delete(obj[objname]); delete(dir[objname]); return; } opensubobj = ""; function toggleSlide(objname,subobj){ if(document.getElementById(objname).style.display == "none" && subobj != "" ){ // div is hidden, so let's slide down slidedown(objname); opensubobj = subobj; }else{ // div is not hidden, so slide up if (opensubobj == subobj || subobj == "") { slideup(objname); if (subobj == "") { switchBlockDiv(opensubobj); } opensubobj = ""; } else { opensubobj = subobj; } } } function setDiv(objname){ if(document.getElementById(objname).style.display == "none"){ document.getElementById('mydiv1').style.display = "none"; document.getElementById('mydiv2').style.display = "none"; document.getElementById('mydiv3').style.display = "none"; document.getElementById('mydiv4').style.display = "none"; document.getElementById('mydiv5').style.display = "none"; document.getElementById(objname).style.display = "block"; } } ;soortDocument = "" wedstrijdUid = 0; function getElementsByClassName(oElm, strTagName, oClassNames){ var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName); var arrReturnElements = new Array(); var arrRegExpClassNames = new Array(); if(typeof oClassNames == "object"){ for(var i=0; i"; nodeSelect = getElementsByClassName(document.getElementById('reactieDiv_' + nr), "div", div); //nodeSelect[0].innerHTML = "TEST !@#" // for (i=0; i'; makeTekst += 'Door: '+eigenNaam+'
'; makeTekst += 'Ongedaan maken'; makeTekst += '

'; nodeSelect[0].innerHTML = makeTekst; nodeSelect[0].style.display="block"; openpopup = ""; //} //} } else { nodeSelect[0].style.filter=""; nodeSelect[0].style.MozOpacity=""; } alphaOpen = div; //} //} //nodeSelect.style.filter="alpha(opacity=50,style=0)"; } } function annuleerDel(getdiv){ document.getElementById(getdiv).innerHTML = ""; document.getElementById(getdiv).style.display="none"; openpopup = ""; } var rElement = ""; function inOut(waarde, randomWaarde, span) { //alert("" + waarde + randomWaarde + span); if (rElement != randomWaarde) { document.getElementById(waarde).style.height="300px"; document.getElementById(span).innerHTML = 'Tekstveld verkleinen'; rElement = randomWaarde; } else if (randomWaarde == rElement) { document.getElementById(waarde).style.height="100px"; document.getElementById(span).innerHTML = 'Tekstveld vergroten'; rElement = ""; } } var smilies = ""; function openSmilies(span) { //alert("" + waarde + randomWaarde + span); if (smilies != span) { document.getElementById(span).style.display="block"; smilies = span; } else if (smilies == span) { document.getElementById(span).style.display="none"; smilies = ""; } } var openYTfilmpjes = ""; function Zoekfilmpje(span, user_uid, savedir) { //alert("" + waarde + randomWaarde + span); if (openYTfilmpjes != span) { document.getElementById(span).style.display="block"; openFilmpje(span, user_uid, savedir); openYTfilmpjes = span; } else if (openYTfilmpjes == span) { document.getElementById(span).style.display="none"; openYTfilmpjes = ""; } } function switchSoort(waarde){ document.getElementsByName('selectedSoort')[0].value = waarde; } function openFilmpje(div, user_uid, savedir,laag){ document.getElementById(div).style.display="block"; makeTekst = ''; breedte = "186"; if (laag == 99) { breedte = "186"; } if (laag == 0) { breedte = "142"; } if (laag == 1) { breedte = "98"; } if (laag == 2) { breedte = "54"; } makeTekst += '
'; makeTekst += '
'; makeTekst += '
'; makeTekst += '
'; makeTekst += '
'; makeTekst += '
Zoek een YouTube-filmpje
'; makeTekst += '
Sluiten
'; makeTekst += '
'; makeTekst += '
'; makeTekst += '
'; makeTekst += '
'; makeTekst += '

'; makeTekst += 'Eigen filmpjes '; makeTekst += 'Van iedereen '; makeTekst += ''; makeTekst += 'Zoek: Zoeken

'; makeTekst += '

'; makeTekst += '
'; document.getElementById(div).innerHTML = makeTekst; } function sluitFilmpje(div){ document.getElementById(div).style.display="none"; openYTfilmpjes = ""; } function sluitOpstelling(div){ document.getElementById(div).style.display="none"; openOpstelling = ""; } function sluitDirectReageren(div) { document.getElementById(div).innerHTML = ""; document.getElementById(div).style.display="none"; openV = ""; } var openV = ""; var zelfAangezet = 0; function openDirectReageren(div,username,laag, reactieOpNr, docid, guid, profielfoto, jaar, maand, dag, balkje, naam, eigen_uid, laagNR, reactieUid) { //if (document.getElementById('reden'+reactieOpNr).value != ""){ if ($('.reden'+reactieUid).val() != ""){ alert("Deze reactie is reeds verwijderd."); } else { if (openV != "") { document.getElementById(openV).innerHTML = ""; document.getElementById(openV).style.display="none"; } if (openV == div) { openV = ""; } else { //VERVERSEN UITZETTEN, ALS DEZE AANSTAAN! if (soortDocument == "wedstrijd" && status == 0) { status = 1; zelfAangezet = 1; tmpStr = "Automatisch verversen: Uit"; $(".liveKnop").html(tmpStr); } if (laag == "0") { //alert("laag 0"); txtAreaBreete = "530"; formToevoeging = ''; } else if (laag == "1" || laag == "2") { //alert("laag 1 of 2"); formToevoeging = ''; txtAreaBreete = "484"; if (laag == "2") { txtAreaBreete = "439"; } } var ran_number = Math.round(100*Math.random()); tekst = "
"; tekst += '
'; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; if (soortDocument == "wedstrijd") { tekst += ''; } if (soortDocument == "video") { tekst += ''; } tekst += formToevoeging; tekst += '

 

'; tekst += '
'; tekst += '
'; tekst += '
'; tekst += '
'; tekst += '
'; tekst += ''; tekst += '
'; tekst += 'Reageer'; tekst += '
'; tekst += '
'; tekst += ''; tekst += ''; document.getElementById(div).innerHTML = tekst; document.getElementById(div).style.display="block"; openV = div; divToevoeging = ""; } } } //function setMouseXY(e) { //var IE = document.all?true:false; //var tempX = 0; //var tempY = 0; //if (IE) { // grab the x-y pos.s if browser is IE //tempX = event.clientX + document.body.scrollLeft; //tempY = event.clientY + document.body.scrollTop; //} //else { // grab the x-y pos.s if browser is NS //tempX = e.pageX; //tempY = e.pageY; //} //if (tempX < 0){tempX = 0;} //if (tempY < 0){tempY = 0;} //} delReden = ""; function vulVariabelen(tekst) { tekst = tekst.replace(/\n/g, '
'); tekst = waarde4getSave(tekst) //document.getElementById('getVerwijderen').name = tekst; delReden = tekst; } delStandaardTxt = ""; Setstandaardreden = "1"; function setStandaard(waarde){ Setstandaardreden = waarde; } openpopup = ""; delStandaard = ""; aantalRd = 0; gpStatus = 0; function changeGP(){ if ($('input.checkboxje').is(':checked')) { gpStatus = 1; }else{ gpStatus = 0; } console.log(gpStatus); } console.log(" TEST !!"); $('.checkboxje').change(function(){ if ($('input.checkboxje').is(':checked')) { gpStatus = 1; }else{ gpStatus = 0; } console.log(gpStatus); }); function setreden(getdiv, nrdiv, ophaalDiv, getjaar, getmaand, getdag, docid, nr, guid, userid, eigenNaam,laag, uid){ //ALS guid = GEVULD, DAN GAAT HET OM EEN GEBRUIKERSPROFIEL! DUS... REACTIES IN PROFIEL. gpStatus = 0; if ($('input.checkboxje').is(':checked')) { gpStatus = 1; }else{ gpStatus = 0; } console.log(gpStatus); $('.checkboxje').change(function(){ if ($('input.checkboxje').is(':checked')) { gpStatus = 1; }else{ gpStatus = 0; } console.log(gpStatus); }); //alert(document.getElementById(getdiv).value); if ($('.' + getdiv).val() != ""){ alert("Deze reactie is al verwijderd."); } else { //if (getdiv != openpopup) { if (openpopup != ""){ document.getElementById(openpopup).innerHTML = ""; document.getElementById(openpopup).style.display="none"; openpopup = ""; } else { //alert(nr); //instellen:::::::::: makeNrDiv = "dr"+nr+""; maketekst = ""; breedte = "186"; if (laag == 99) { breedte = "186"; } if (laag == 0) { breedte = "142"; } if (laag == 1) { breedte = "98"; } if (laag == 2) { breedte = "54"; } maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
Reactie verwijderen
'; maketekst += '
Sluiten
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '

'; delReden = ""; if (guid == "") { maketekst += "Wat is de reden van het verwijderen?
"; maketekst += ''; maketekst += '
Eventuele toelichting
'; if (delOnthoudReden != "") { delReden = delOnthoudReden; } maketekst += '
'; if (Setstandaardreden != "" && aantalRd != 0) { delOnthCheck = " checked"; //alert("A"); } else { //alert("B"); delOnthCheck = ""; //delReden = ""; Setstandaardreden = "1"; } maketekst += '

Reden onthouden
'; maketekst += '
GEEN punt aftrekken
'; maketekst += '
Vink deze optie aan als er geen punt afgetrokken hoeft te worden bij het verwijderen van deze reactie.
'; } else { maketekst += 'Weet je zeker dat je deze reactie wilt verwijderen?
'; } //alert(guid); if (soortDocument == "wedstrijd" || soortDocument == "video") { maketekst += 'Verwijderen'; } else { maketekst += 'Verwijderen'; } maketekst += 'Annuleren

'; maketekst += '
'; maketekst += '

'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; document.getElementById(getdiv).style.display="block"; document.getElementById(getdiv).innerHTML = maketekst; openpopup = getdiv; } } //} } function aantalDel(){ aantalRd = aantalRd + 1; } function encodeTekst4Edit(tekst) { tekst = SearchAndReplace(tekst, '', '8-|') tekst = SearchAndReplace(tekst, '', '8-|') tekst = SearchAndReplace(tekst, '', '8-|') tekst = SearchAndReplace(tekst, '', ':-/') tekst = SearchAndReplace(tekst, '', ':-/') tekst = SearchAndReplace(tekst, '', ':-/') tekst = SearchAndReplace(tekst, '', ':(') tekst = SearchAndReplace(tekst, '', ':(') tekst = SearchAndReplace(tekst, '', ':(') tekst = SearchAndReplace(tekst, '', ':8') tekst = SearchAndReplace(tekst, '', ':8') tekst = SearchAndReplace(tekst, '', ':8') tekst = SearchAndReplace(tekst, '', ':d') tekst = SearchAndReplace(tekst, '', ':d') tekst = SearchAndReplace(tekst, '', ':d') tekst = SearchAndReplace(tekst, '', ';(') tekst = SearchAndReplace(tekst, '', ';(') tekst = SearchAndReplace(tekst, '', ';(') tekst = SearchAndReplace(tekst, '', ':vld') tekst = SearchAndReplace(tekst, '', ':vld') tekst = SearchAndReplace(tekst, '', ':vld') tekst = SearchAndReplace(tekst, '', ':o') tekst = SearchAndReplace(tekst, '', ':o') tekst = SearchAndReplace(tekst, '', ':o') tekst = SearchAndReplace(tekst, '', '|)') tekst = SearchAndReplace(tekst, '', '|)') tekst = SearchAndReplace(tekst, '', '|)') tekst = SearchAndReplace(tekst, '', '/)') tekst = SearchAndReplace(tekst, '', '/)') tekst = SearchAndReplace(tekst, '', '/)') tekst = SearchAndReplace(tekst, '', ':*') tekst = SearchAndReplace(tekst, '', ':*') tekst = SearchAndReplace(tekst, '', ':*') tekst = SearchAndReplace(tekst, '', ':a') tekst = SearchAndReplace(tekst, '', ':a') tekst = SearchAndReplace(tekst, '', ':a') tekst = SearchAndReplace(tekst, '', ':lve') tekst = SearchAndReplace(tekst, '', ':lve') tekst = SearchAndReplace(tekst, '', ':lve') tekst = SearchAndReplace(tekst, '', ':><') tekst = SearchAndReplace(tekst, '', ':><') tekst = SearchAndReplace(tekst, '', ':><') tekst = SearchAndReplace(tekst, '', ':|') tekst = SearchAndReplace(tekst, '', ':|') tekst = SearchAndReplace(tekst, '', ':|') tekst = SearchAndReplace(tekst, '', '=]') tekst = SearchAndReplace(tekst, '', '=]') tekst = SearchAndReplace(tekst, '', '=]') tekst = SearchAndReplace(tekst, '', ':zzz') tekst = SearchAndReplace(tekst, '', ':zzz') tekst = SearchAndReplace(tekst, '', ':zzz') tekst = SearchAndReplace(tekst, '', ':)') tekst = SearchAndReplace(tekst, '', ':)') tekst = SearchAndReplace(tekst, '', ':)') tekst = SearchAndReplace(tekst, '', ':?:') tekst = SearchAndReplace(tekst, '', ':?:') tekst = SearchAndReplace(tekst, '', ':?:') tekst = SearchAndReplace(tekst, '', '/:') tekst = SearchAndReplace(tekst, '', '/:') tekst = SearchAndReplace(tekst, '', '/:') tekst = SearchAndReplace(tekst, '', ':p') tekst = SearchAndReplace(tekst, '', ':p') tekst = SearchAndReplace(tekst, '', ':p') tekst = SearchAndReplace(tekst, '', ':f') tekst = SearchAndReplace(tekst, '', ':f') tekst = SearchAndReplace(tekst, '', ':f') tekst = SearchAndReplace(tekst, '', ';)') tekst = SearchAndReplace(tekst, '', ';)') tekst = SearchAndReplace(tekst, '', ';)') tekst = tekst.replace(/"/g, ''); tekst = tekst.replace(/'/g, ''); return tekst; } function encodeTekst4EditShow(tekst) { tekst = SearchAndReplace(tekst, '', '8-|') tekst = SearchAndReplace(tekst, '', '8-|') tekst = SearchAndReplace(tekst, '', '8-|') tekst = SearchAndReplace(tekst, '', ':-/') tekst = SearchAndReplace(tekst, '', ':-/') tekst = SearchAndReplace(tekst, '', ':-/') tekst = SearchAndReplace(tekst, '', ':(') tekst = SearchAndReplace(tekst, '', ':(') tekst = SearchAndReplace(tekst, '', ':(') tekst = SearchAndReplace(tekst, '', ':8') tekst = SearchAndReplace(tekst, '', ':8') tekst = SearchAndReplace(tekst, '', ':8') tekst = SearchAndReplace(tekst, '', ':d') tekst = SearchAndReplace(tekst, '', ':d') tekst = SearchAndReplace(tekst, '', ':d') tekst = SearchAndReplace(tekst, '', ';(') tekst = SearchAndReplace(tekst, '', ';(') tekst = SearchAndReplace(tekst, '', ';(') tekst = SearchAndReplace(tekst, '', ':vld') tekst = SearchAndReplace(tekst, '', ':vld') tekst = SearchAndReplace(tekst, '', ':vld') tekst = SearchAndReplace(tekst, '', ':o') tekst = SearchAndReplace(tekst, '', ':o') tekst = SearchAndReplace(tekst, '', ':o') tekst = SearchAndReplace(tekst, '', '|)') tekst = SearchAndReplace(tekst, '', '|)') tekst = SearchAndReplace(tekst, '', '|)') tekst = SearchAndReplace(tekst, '', '/)') tekst = SearchAndReplace(tekst, '', '/)') tekst = SearchAndReplace(tekst, '', '/)') tekst = SearchAndReplace(tekst, '', ':*') tekst = SearchAndReplace(tekst, '', ':*') tekst = SearchAndReplace(tekst, '', ':*') tekst = SearchAndReplace(tekst, '', ':a') tekst = SearchAndReplace(tekst, '', ':a') tekst = SearchAndReplace(tekst, '', ':a') tekst = SearchAndReplace(tekst, '', ':lve') tekst = SearchAndReplace(tekst, '', ':lve') tekst = SearchAndReplace(tekst, '', ':lve') tekst = SearchAndReplace(tekst, '', ':><') tekst = SearchAndReplace(tekst, '', ':><') tekst = SearchAndReplace(tekst, '', ':><') tekst = SearchAndReplace(tekst, '', ':|') tekst = SearchAndReplace(tekst, '', ':|') tekst = SearchAndReplace(tekst, '', ':|') tekst = SearchAndReplace(tekst, '', '=]') tekst = SearchAndReplace(tekst, '', '=]') tekst = SearchAndReplace(tekst, '', '=]') tekst = SearchAndReplace(tekst, '', ':zzz') tekst = SearchAndReplace(tekst, '', ':zzz') tekst = SearchAndReplace(tekst, '', ':zzz') tekst = SearchAndReplace(tekst, '', ':)') tekst = SearchAndReplace(tekst, '', ':)') tekst = SearchAndReplace(tekst, '', ':)') tekst = SearchAndReplace(tekst, '', ':?:') tekst = SearchAndReplace(tekst, '', ':?:') tekst = SearchAndReplace(tekst, '', ':?:') tekst = SearchAndReplace(tekst, '', '/:') tekst = SearchAndReplace(tekst, '', '/:') tekst = SearchAndReplace(tekst, '', '/:') tekst = SearchAndReplace(tekst, '', ':p') tekst = SearchAndReplace(tekst, '', ':p') tekst = SearchAndReplace(tekst, '', ':p') tekst = SearchAndReplace(tekst, '', ':f') tekst = SearchAndReplace(tekst, '', ':f') tekst = SearchAndReplace(tekst, '', ':f') tekst = SearchAndReplace(tekst, '', ';)') tekst = SearchAndReplace(tekst, '', ';)') tekst = SearchAndReplace(tekst, '', ';)') tekst = tekst.replace(/"/g, '"'); tekst = tekst.replace(/'/g, '`'); tekst = tekst.replace(/
/g, '\n'); tekst = tekst.replace(/
/g, '\n'); tekst = SearchAndReplace(tekst, '', '') tekst = SearchAndReplace(tekst, '', '') tekst = SearchAndReplace(tekst, '*br*', '\n'); //tekst = removeHTMLTags(tekst); return tekst; } function removeHTMLTags(tekst){ if(tekst){ var strInputCode = tekst; /* This line is optional, it replaces escaped brackets with real ones, i.e. < is replaced with < and > is replaced with > */ strInputCode = strInputCode.replace(/&(lt|gt);/g, function (strMatch, p1){ return (p1 == "lt")? "<" : ">"; }); var strTagStrippedText = strInputCode.replace(/<\/?[^>]+(>|$)/g, ""); } tekst = strTagStrippedText; return tekst; } function decodeTekst4Save(tekst) { tekst = tekst.replace(/\n/g, '
'); tekst = tekst.replace(/"/g, '"'); tekst = tekst.replace(/'/g, '`'); return tekst; } function decodeSave4Tekst(tekst) { tekst = tekst.replace(/
/g, '\n'); tekst = tekst.replace(/
/g, '\n'); return tekst; } function decodeTekst4Presentation(tekst) { tekst = SearchAndReplace(tekst, '8-|', '') tekst = SearchAndReplace(tekst, ':-/', '') tekst = SearchAndReplace(tekst, ':(', '') tekst = SearchAndReplace(tekst, ':8', '') tekst = SearchAndReplace(tekst, ':d', '') tekst = SearchAndReplace(tekst, ';(', '') tekst = SearchAndReplace(tekst, ':vld', '') tekst = SearchAndReplace(tekst, ':o', '') tekst = SearchAndReplace(tekst, '|)', '') tekst = SearchAndReplace(tekst, '/)', '') tekst = SearchAndReplace(tekst, ':*', '') tekst = SearchAndReplace(tekst, ':a', '') tekst = SearchAndReplace(tekst, ':lve', '') tekst = SearchAndReplace(tekst, ':><', '') tekst = SearchAndReplace(tekst, ':|', '') tekst = SearchAndReplace(tekst, '=]', '') tekst = SearchAndReplace(tekst, ':zzz', '') tekst = SearchAndReplace(tekst, ':)', '') tekst = SearchAndReplace(tekst, ':?:', '') tekst = SearchAndReplace(tekst, '/:', '') tekst = SearchAndReplace(tekst, ':p', '') tekst = SearchAndReplace(tekst, ':f', '') tekst = SearchAndReplace(tekst, ';)', '') tekst = tekst.replace(/\r/g, ''); tekst = tekst.replace(/\n/g, '
'); tekst = tekst.replace(/"/g, '"'); tekst = tekst.replace(/'/g, '`'); return tekst; } openReactieDiv = ""; function sluitBewerkReactie(div,inhoud){ if (div != "") { document.getElementById(div).innerHTML = inhoud; openReactieDiv = ""; openReactieInhoud = ""; } } function bewerkReactie(bewerkDiv, laag, userid, jaar, maand, dag, docid, reactienr, ophaalDiv, naam, rbewDiv, modnaam, ytExist, osExist, guid, uid, checkDiv){ getdiv = checkDiv; if ($('.' + getdiv).val() != ""){ alert("Deze reactie is reeds verwijderd."); } else { //alert(document.getElementById(bewerkDiv).value + " --- " + document.getElementById(bewerkDiv).innerHTML); reactie = document.getElementById(bewerkDiv).value; if (reactie == undefined) { reactie = document.getElementById(bewerkDiv).innerHTML; } // ALS direct reageren open staat, ff afsluiten AUB if (openV != "") { document.getElementById(openV).innerHTML = ""; document.getElementById(openV).style.display="none"; } if (openReactieDiv != "") { document.getElementById(openReactieDiv).innerHTML = openReactieInhoud; } if (openReactieDiv != bewerkDiv) { // Openstaande DIV met inhoud openReactieDiv = bewerkDiv; openReactieInhoud = reactie; reactie = encodeTekst4EditShow(reactie); var ran_number = Math.round(100*Math.random()); smileyAdd = "130"; maketekst = ''; maketekst += '
'; maketekst += 'Reactie bewerken:
'; waarde = encodeTekst4EditShow(reactie); txtAreaBreete = "400px"; if (laag == "0") { txtAreaBreete = "450px"; } if (laag == "1") { txtAreaBreete = "406px"; } if (laag == "2") { txtAreaBreete = "362px"; } maketekst += '
'; maketekst += ''; maketekst += ''; maketekst += ''; maketekst += ''; //''bestaat er een YTfimpje of opstelling? ytGevuld = ""; otGevuld = ""; //alert("inhoud: " + document.getElementById('ytfilmpje'+reactienr).innerHTML); tempString = document.getElementById('ytfilmpje'+reactienr).innerHTML; if (tempString.length > 20){ maketekst += "
"; } tempString = document.getElementById('os'+reactienr).innerHTML; if (tempString.length > 20){ maketekst += "
"; } //alert(document.getElementById(\'venster2\').value); maketekst += 'Aanpassing opslaan'; maketekst += 'Herstellen'; maketekst += '
'; document.getElementById(bewerkDiv).innerHTML = maketekst; maketekst = ""; } else { openReactieDiv = ""; openReactieInhoud = ""; } } } function delBewerkItem(divTemp, div, soort, live){ if (soort == 1){ tmptitel = "Weet je zeker dat je de opstelling wilt verwijderen?"; } else { tmptitel = "Weet je zeker dat je het filmpje wilt verwijderen?"; } if (confirm(tmptitel)){ //sluitDiv(divTemp); sluitDiv(div); if (live != "") { delOpstelling(); } if (soort == 1) { otGevuld = "1"; //osExist = ""; } else { ytGevuld = "1"; //ytExist = ""; } } else { } } function vulBewerken(tekst,div,naam) { arr_tmp = div.split("upd"); openReactieDiv = ""; // for (i=0; i"; //alert(div); getDatumVZ(); nodeSelect[0].innerHTML = makedTekst; // } // } } openControleDivNr = ""; function vulControle(tekst, nr, vulControle, naam) { if (openControleDivNr == "") { openControleDivNr = vulControle; } controleDiv = "co"+nr; //'' als er eentje openstaat, eerst afsluiten if (openControleDivNr != "") { TEMPdiv = "co"+openControleDivNr; //for (i=0; i
"; miTekst += "Document gecontroleerd door "+naam+"
"; miTekst += "Document gecontroleerd tot reactie #"+(nr*1+1)+""; document.getElementById("modInfo").innerHTML = miTekst; //} //} } function aanpassingOpslaan(getDiv,tekst,test4value){ //decodeTekst4Save //tekst = "kadokaadada ad ad "; document.getElementById(getDiv).innerHTML = tekst; document.getElementById(getDiv).value = test4value; } function getDatumVZ(soort){ var d=new Date(); var month = d.getMonth() + 1; var day = d.getDate(); var year = d.getFullYear(); Hours = d.getHours(); Mins = d.getMinutes(); var weekday=new Array(7); weekday[0]="Zondag"; weekday[1]="Maandag"; weekday[2]="Dinsdag"; weekday[3]="Woensdag"; weekday[4]="Donderdag"; weekday[5]="Vrijdag"; weekday[6]="Zaterdag"; var maand=new Array(11); maand[0]="januari"; maand[1]="februari"; maand[2]="maart"; maand[3]="april"; maand[4]="mei"; maand[5]="juni"; maand[6]="juli"; maand[7]="augustus"; maand[8]="september"; maand[9]="oktober"; maand[10]="november"; maand[11]="december"; if (soort == "dagschrijf"){ return weekday[d.getDay()]; } if (soort == "daggetal"){ return day; } if (soort == "maand"){ return maand[d.getMonth()]; } if (soort == "tijd"){ return Hours + ":" + Mins; } } waarde = ""; function waardeVullen(inhoud) { inhoud = SearchAndReplace(inhoud, '&', 'en'); //inhoud = SearchAndReplace(inhoud, '*en*', 'xx'); waarde = decodeTekst4Presentation(inhoud); waarde4Save = waarde4getSave(inhoud); //alert(waarde4Save); } function filterSpecialChars(inhoud){ inhoud = inhoud.replace(/\n/g, '
'); return inhoud; //alert(inhoud); } function waarde4getSave(inhoud) { inhoud = inhoud.replace(/\n/g, '
'); return inhoud; } function waarde4getPres(inhoud) { if (1==2) { inhoud = SearchAndReplace(inhoud, '*en*', '&') inhoud = SearchAndReplace(inhoud, '*39*', '\'') inhoud = SearchAndReplace(inhoud, '*34*', '\"') inhoud = SearchAndReplace(inhoud, '*vt*', '?') inhoud = SearchAndReplace(inhoud, '*pl*', '+') inhoud = SearchAndReplace(inhoud, '*br*', '
') } return inhoud; } function compliment(getdiv, nrdiv, ophaalDiv, getjaar, getmaand, getdag, docid, nr, naam, userid, eigenid, guid, laag){ if ($('.' + getdiv).val() != ""){ alert("Deze reactie is reeds verwijderd."); } else { if (openpopup != ""){ document.getElementById(openpopup).innerHTML = ""; document.getElementById(openpopup).style.display="none"; openpopup = ""; } else { breedte = "186"; if (laag == 99) { breedte = "186"; } if (laag == 0) { breedte = "142"; } if (laag == 1) { breedte = "98"; } if (laag == 2) { breedte = "54"; } //alert(nr); //instellen:::::::::: makeNrDiv = "dr"+nr+""; maketekst = ''; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
Compliment geven
'; maketekst += '
Sluiten
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '

'; maketekst += "

Geef "+naam+" een compliment voor deze reactie *.
"; maketekst += ""; maketekst += 'Eventuele toelichting:
'; maketekst += '
'; maketekst += ''; maketekst += ''; maketekst += "
* Uitleg: Heeft deze reactie van "+naam+" een meerwaarde of is het van een hoog niveau? Geef dan een compliment aan dit lid. "+naam+" krijgt er vervolgens 1 punt bij en zo stijgt het niveau van dit lid. Je kunt 1 x per 15 minuten een compliment geven.

"; maketekst += ''; document.getElementById(getdiv).style.display="block"; document.getElementById(getdiv).innerHTML = maketekst; openpopup = getdiv; } } } function opmerking(getdiv, getjaar, getmaand, getdag, docid, nr, naam, userid, laag){ if ($('.' + getdiv).val() != ""){ alert("Deze reactie is reeds verwijderd."); } else { if (openpopup != ""){ document.getElementById(openpopup).innerHTML = ""; document.getElementById(openpopup).style.display="none"; openpopup = ""; } else { breedte = "186"; if (laag == 99) { breedte = "186"; } if (laag == 0) { breedte = "142"; } if (laag == 1) { breedte = "98"; } if (laag == 2) { breedte = "54"; } //alert(nr); //instellen:::::::::: makeNrDiv = "dr"+nr+""; maketekst = ''; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; if (soortDocument == "wedstrijd" || soortDocument == "video") { maketekst += '
'; } else { maketekst += '
'; } maketekst += '
Opmerking versturen
'; maketekst += '
Sluiten
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '

'; maketekst += "

Verstuur "+naam+" een opmerking n.a.v. deze reactie.
"; maketekst += ""; maketekst += ''; maketekst += '
'; if (soortDocument == "wedstrijd" || soortDocument == "video") { maketekst += 'Verstuur opmerking'; } else { maketekst += 'Verstuur opmerking'; } maketekst += 'Annuleren'; maketekst += "

"; maketekst += ''; document.getElementById(getdiv).style.display="block"; document.getElementById(getdiv).innerHTML = maketekst; openpopup = getdiv; } } } function melding(getdiv,laag,meldingdiv){ if ($('.' + getdiv).val() != ""){ alert("Deze reactie is reeds verwijderd."); } else { if (openpopup != ""){ document.getElementById(openpopup).innerHTML = ""; document.getElementById(openpopup).style.display="none"; openpopup = ""; } else { //alert(nr); //instellen:::::::::: breedte = "186"; if (laag == 99) { breedte = "186"; } if (laag == 0) { breedte = "142"; } if (laag == 1) { breedte = "98"; } if (laag == 2) { breedte = "54"; } maketekst = ''; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
Melding maken
'; maketekst += '
Sluiten
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '

'; maketekst += '

'; document.getElementById(getdiv).innerHTML = maketekst; document.getElementById(getdiv).style.display="block"; openpopup = getdiv; } } } function afvinken(getdiv, nrdiv, ophaalDiv, getjaar, getmaand, getdag, docid, nr, naam, userid, eigenid, gecontroleerdTot, eigenNaam, guid){ //if ($('.' + getdiv).val() != ""){ // alert("Deze reactie is reeds verwijderd."); //} else { if (confirm('Wil je dit document afvinken tot deze reactie?')){ //tekst = ''; vulControle("", nr, gecontroleerdTot, eigenNaam); setTimeout('AJAXcheckVeld(\''+ophaalDiv+'\', Array(\'jaar\',\'maand\',\'dag\', \'doc\', \'nr\', \'user\', \'guid\', \'loading\', \'soortDoc\'), Array(\''+getjaar+'\', \''+getmaand+'\',\''+getdag+'\', \''+docid+'\',\''+nr+'\',\''+eigenid+'\',\''+guid+'\', \'
\', \''+soortDocument+'\'), \'/actions/doc_gecontroleerd.asp\')', 100); if (openpopup != ""){ document.getElementById(openpopup).innerHTML = ""; document.getElementById(openpopup).style.display="none"; openpopup = ""; } //alert(nr); //instellen:::::::::: getNR = nr * 1 + 1; makeNrDiv = "dr"+nr+""; maketekst = ""; maketekst += "Afvinken
Gecontroleerd en afgevinkt tot: "+getNR+"e reactie.
"; maketekst += 'Sluit venster'; maketekst += ''; document.getElementById(getdiv).style.display="block"; //document.getElementById(getdiv).innerHTML = "
" + maketekst + "
"; annuleerDel(getdiv); //openpopup = getdiv; } //} } // OPSTELLING MAKEN EN KOPPELEN AAN BERICHT! EXTRA FOEFJE OP VOETBALZONE! var selectie = ""; openOpstelling = ""; opentct = ""; function maakOpstelling(div, tct, nieuw, putt) { if (openOpstelling != "" && nieuw == "1") { document.getElementById(openOpstelling).style.display="none"; document.getElementById(openOpstelling).innerHTML = ""; openOpstelling = ""; opentct = ""; } else { if (opentct != "" && nieuw != "") { tct = opentct; } document.getElementById(div).style.display="block"; plustekst = ""; selected442s = ""; selected343s = ""; selected41212s = ""; selected532s = ""; selected4411s = ""; selected4312s = ""; selected4132s = ""; selected433s = ""; selected4231s = ""; selected352s = ""; selected4321s = ""; switch (tct) { case "442": selected442s = "selected"; plustekst += '
'; break; case "343": selected343s = "selected"; plustekst += '
'; break; case "41212": selected41212s = "selected"; plustekst += '
'; break; case "532": selected532s = "selected"; plustekst += '
'; break; case "4411": selected4411s = "selected"; plustekst += '
'; break; case "4312": selected4312s = "selected"; plustekst += '
'; break; case "4132": selected4132s = "selected"; plustekst += '
'; break; case "4231": selected4231s = "selected"; plustekst += '
'; break; case "352": selected352s = "selected"; plustekst += '
'; break; case "4321": selected4321s = "selected"; plustekst += '
'; break; default: selected433s = "selected"; plustekst += '
'; } maketekst = ''; maketekst += ''; maketekst += '
'; maketekst += ''; maketekst += ''; maketekst += ''; maketekst += ''; maketekst += '
'; if (opentct != "" && nieuw == "1"){ tct = opentct; } maketekst += plustekst; if (selectie == "") { vulArray = new Array(""); for (i=1; i<12; i++){ vulArray.push(""); } selectie = vulArray; } for (i=1; i<12; i++){ waarde = selectie[i]; maketekst += '
'; maketekst += ''; maketekst += '
'; } maketekst += ''; maketekst += '
'; maketekst += ''; maketekst += '
'; maketekst += '
'; maketekst += '
'; document.getElementById(div).innerHTML = maketekst; openOpstelling = div; opentct = tct; } } function delOpstelling(){ selectie = null; selectie = ""; openOpstelling = ""; opentct = ""; } function controleerOpstelling(div, putt){ //'' EERST CONTROLEREN OF ALLE VELDEN ZIJN INGEVULD! veldenNietGevuld = ""; for (i=1; i<12; i++){ if (selectie[i] == ""){ veldenNietGevuld = "1"; } } if (veldenNietGevuld == "1"){ document.getElementById(putt).innerHTML = ""; document.getElementById(putt).style.display="none"; document.getElementById("opstInfo").innerHTML = "
Je hebt niet alle velden ingevuld.
"; } else { // ALLE VELDEN ZIJN INGEVULD document.getElementById(putt).style.display="block"; document.getElementById(putt).innerHTML = ''; sluitOpstelling(div); } } function sluitDiv(div){ document.getElementById(div).innerHTML = ""; document.getElementById(div).style.display="none"; } function vulSpelers(){ vulArray = new Array(""); for (i=1; i<12; i++){ //getSpeler = document.getElementsByName('speler_'+i)[0].value; vulArray.push(decodeTekst4Save(document.getElementsByName('speler_'+i)[0].value)); } selectie = vulArray; } opstellingOpen = ""; function showOpstelling(divnaam){ if (opstellingOpen != "" || opstellingOpen == divnaam) { document.getElementById(opstellingOpen).style.display="none"; opstellingOpen = ""; } else { document.getElementById(divnaam).style.display="block"; opstellingOpen = divnaam; } } sTeller = 0; Tchanged = ""; function addSeizoen(nTeller){ if (nTeller != "0") { if (Tchanged == "") { sTeller = nTeller; Tchanged = "1"; } } if (document.getElementsByName('c_seizoen')[0].value == "" || document.getElementsByName('c_team')[0].value == "") { alert("Je dient tenminste een seizoen en een team op te geven."); } else { c_seizoen = " " + document.getElementsByName('c_seizoen')[0].value + ""; c_team = " " + document.getElementsByName('c_team')[0].value + ""; c_divisie = " " + document.getElementsByName('c_divisie')[0].value + ""; c_selectie = " " + document.getElementsByName('c_selectie')[0].value + ""; c_wed = " " + document.getElementsByName('c_wed')[0].value + ""; c_dpt = " " + document.getElementsByName('c_dpt')[0].value + ""; c_ast = " " + document.getElementsByName('c_ast')[0].value + ""; c_velden = ""; c_velden += ''; c_velden += ''; c_velden += ''; c_velden += ''; c_velden += ''; c_velden += ''; c_velden += ''; inhoud = ""; inhoud += ""; inhoud += "" + c_seizoen + c_team + c_divisie + c_selectie + c_wed + c_dpt + c_ast + c_velden + ""; inhoud += " "; inhoud += "
"; huidige_inhoud = document.getElementById("getCarriere").innerHTML; document.getElementById("getCarriere").innerHTML = huidige_inhoud + inhoud; sTeller = sTeller + 1; } } function delSeizoen(i){ document.getElementById("sz"+i).style.display="none"; document.getElementById("hid"+i).innerHTML = ""; } function delClub(waarde, id){ i = 0; while(i < clubs.length) { if (id == clubs[i]) { clubs[i] = ""; } i++; } document.getElementById(waarde).style.display="none"; document.getElementById(waarde).innerHTML = ""; } function addClub(div,tekst,id) { bestaat = ""; i = 0; while(i < clubs.length) { if (id == clubs[i]) { alert("Deze club heb je al toegevoegd"); bestaat = "ja"; } i++; } if (bestaat != "ja") { clubs.push(id); document.getElementById(div).innerHTML = document.getElementById(div).innerHTML + tekst; } } function delGadget(waarde, code){ i = 0; while(i < gadgets.length) { if (code == gadgets[i]) { gadgets[i] = ""; } i++; } document.getElementById(waarde).style.display="none"; document.getElementById(waarde).innerHTML = ""; } function searchYTcode(waarde){ getWaarde = ""; arr_waarde = waarde.split("v="); if (arr_waarde.length > 1) { // URL IS OPGENOMEN getWaarde = arr_waarde[1]; getWaarde = getWaarde.split("&"); } else { // EMBED-CODE IS OPGENOMEN arr_waarde = waarde.split("/v/"); if (arr_waarde.length > 1) { getWaardeTemp = arr_waarde[1]; getWaarde = getWaardeTemp.split("&"); } } if (getWaarde.length > 0) { return getWaarde[0]; } else { return ""; } } function searchYTpic(codeYT){ codeYT = "http://img.youtube.com/vi/" + codeYT + "/2.jpg"; return codeYT; } function addGadget(div,tekst,code,titel) { //ALLEEN DE CODE OPVRAGEN VAN DE VIDEO! getCode = searchYTcode(code); if (getCode == "") { alert("Geen geldige code opgegeven."); } else { bestaat = ""; i = 0; while(i < gadgets.length) { if (getCode == gadgets[i]) { alert("Dit filmpje heb je al toegevoegd"); bestaat = "ja"; } i++; } if (bestaat != "ja") { gadgets.push(getCode); getPic = searchYTpic(getCode); addObj = ''; addObj += ''; addObj += '
'; addObj += '
'; addObj += ''+titel+'
'; addObj += ''; addObj += '
'; addObj += '
'; document.getElementById(div).innerHTML = document.getElementById(div).innerHTML + addObj; } } } function divToevoegen(div,tekst) { document.getElementById(div).innerHTML = document.getElementById(div).innerHTML + tekst; } function leegMaken(waarde){ document.getElementById(waarde).innerHTML = ""; } function divReplace(div,tekst) { document.getElementById(div).innerHTML = tekst; } function divVullen(div, inhoud){ document.getElementById(div).innerHTML = inhoud; } users = new Array(""); function addUser(div,tekst,uid) { //eerst kijken of de user al is toegevoegd! gevonden = ""; i = 0; while(i < users.length) { if (uid == users[i]) { gevonden = "ja"; } i++; } if (gevonden == "ja") { alert("Je hebt deze gebruiker al toegevoegd."); } else { if (users.length == 1) { document.getElementById(div).innerHTML = tekst; users.push(uid); } else { users.push(uid); document.getElementById(div).innerHTML = document.getElementById(div).innerHTML + " " + tekst; } } } function delUser(tekst, uid) { document.getElementById(tekst).innerHTML = ""; document.getElementById(tekst).style.display="none"; i = 0; while(i < users.length) { if (uid == users[i]) { users[i] = ""; } i++; } } function blockDiv(div,waarde){ document.getElementById(div).style.display=waarde; } function changeBGcolor(obj,kleur){ obj.style.background=kleur; } function groepVerwijderen(groep_id, code){ if (confirm('Weet je zeker dat je deze groep wilt verwijderen?')){ loadUrl("/actions/del_groep.asp?code=" + code + "&groep_id=" + groep_id); } else { }; } berekend = 0; function berekenWaarde(waarde,richting,span,mogelijkheid){ if (mogelijkheid == "") { if (richting == "plus"){ waarde = waarde + 1; } else { waarde = waarde - 1; } if (berekend < 2) { document.getElementById(span).innerHTML = waarde; berekend = berekend + 1; } } } function valueLegen(getNaam){ document.getElementsByName(getNaam)[0].value = ""; } function diableButton(getElement){ // getElement.disabled = true; } function sluitVensters(uitzondering, buitenDirect){ if (uitzondering != "openYTfilmpjes" && openYTfilmpjes) { //sluiten document.getElementById(openYTfilmpjes).style.display="none"; openYTfilmpjes = ""; } if (uitzondering != "openOpstelling" && openOpstelling) { //sluiten document.getElementById(openOpstelling).style.display="none"; openOpstelling = ""; } if (uitzondering != "smilies" && smilies) { //sluiten document.getElementById(smilies).style.display="none"; smilies = ""; } if (buitenDirect){ if (openV) { //open sluiten document.getElementById(openV).style.display="none"; openV = ""; } } } //////////NIEUWE FUNCTIES//////////////////////////////////////////////////////////// //////////NIEUWE FUNCTIES//////////////////////////////////////////////////////////// //////////NIEUWE FUNCTIES//////////////////////////////////////////////////////////// //////////NIEUWE FUNCTIES//////////////////////////////////////////////////////////// //////////NIEUWE FUNCTIES//////////////////////////////////////////////////////////// //////////NIEUWE FUNCTIES//////////////////////////////////////////////////////////// //////////NIEUWE FUNCTIES//////////////////////////////////////////////////////////// //////////NIEUWE FUNCTIES//////////////////////////////////////////////////////////// //////////NIEUWE FUNCTIES//////////////////////////////////////////////////////////// //////////NIEUWE FUNCTIES//////////////////////////////////////////////////////////// function getSmilies(div,formulier,areaname,laag){ document.getElementById(div).style.display="block"; tekst = ''; breedte = "186"; if (laag == 99) { breedte = "186"; } if (laag == 0) { breedte = "142"; } if (laag == 1) { breedte = "98"; } if (laag == 2) { breedte = "54"; } tekst += '
'; tekst += '
'; tekst += '
'; tekst += '
'; tekst += '
'; tekst += '
Selecteer een smilie
'; tekst += '
Sluiten
'; tekst += '
'; tekst += '
'; tekst += '
'; tekst += '
'; tekst += '

'; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += ''; tekst += '

'; tekst += '
'; tekst += '
'; tekst += '
'; tekst += '
'; tekst += '
'; document.getElementById(div).innerHTML = tekst; } var selectie = ""; openOpstelling = ""; opentct = ""; function getOpstelling(div,laag,tct,nieuw,putt){ if (openOpstelling != "" && nieuw == "1") { document.getElementById(openOpstelling).style.display="none"; document.getElementById(openOpstelling).innerHTML = ""; openOpstelling = ""; opentct = ""; } else { if (opentct != "" && nieuw != "") { tct = opentct; } document.getElementById(div).style.display="block"; plustekst = ""; selected442s = ""; selected343s = ""; selected41212s = ""; selected532s = ""; selected4411s = ""; selected4312s = ""; selected4132s = ""; selected433s = ""; selected4231s = ""; selected352s = ""; selected4321s = ""; switch (tct) { case "442": selected442s = "selected"; plustekst += '
'; break; case "343": selected343s = "selected"; plustekst += '
'; break; case "41212": selected41212s = "selected"; plustekst += '
'; break; case "532": selected532s = "selected"; plustekst += '
'; break; case "4411": selected4411s = "selected"; plustekst += '
'; break; case "4312": selected4312s = "selected"; plustekst += '
'; break; case "4132": selected4132s = "selected"; plustekst += '
'; break; case "4231": selected4231s = "selected"; plustekst += '
'; break; case "352": selected352s = "selected"; plustekst += '
'; break; case "4321": selected4321s = "selected"; plustekst += '
'; break; default: selected433s = "selected"; plustekst += '
'; } tekst = ''; breedte = "186"; if (laag == 99) { breedte = "186"; } if (laag == 0) { breedte = "142"; } if (laag == 1) { breedte = "98"; } if (laag == 2) { breedte = "54"; } maketekst = ''; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
Maak een opstelling
'; maketekst += '
Sluiten
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '

'; maketekst += '
'; maketekst += '

'; maketekst += ''; maketekst += ''; maketekst += ''; maketekst += ''; maketekst += '
'; if (opentct != "" && nieuw == "1"){ tct = opentct; } maketekst += plustekst; if (selectie == "") { vulArray = new Array(""); for (i=1; i<12; i++){ vulArray.push(""); } selectie = vulArray; } for (i=1; i<12; i++){ waarde = selectie[i]; maketekst += '
'; maketekst += ''; maketekst += '
'; } maketekst += '
'; maketekst += ''; maketekst += '
Klaar! Annuleren
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; maketekst += '
'; document.getElementById(div).innerHTML = maketekst; openOpstelling = div; opentct = tct; } } function closeDiv(div,leeg){ document.getElementById(div).style.display="none"; if (leeg == 1) { document.getElementById(div).innerHTML = ""; } } function insertAtCursor(myValue, myField) { switch(myValue){ case "[VET]": if (insertBold == 1) { myValue = "[/VET]"; insertBold = 0; } else { insertBold = 1; } break case "[SCHUIN]": if (insertItalic == 1) { myValue = "[/SCHUIN]"; insertItalic = 0; } else { insertItalic = 1; } break case "[ONDERLIJN]": if (insertUnderline == 1) { myValue = "[/ONDERLIJN]"; insertUnderline = 0; } else { insertUnderline = 1; } break } //IE support if (document.selection) { myField.focus(); sel = document.selection.createRange(); sel.text = myValue; } //MOZILLA/NETSCAPE support else if (myField.selectionStart || myField.selectionStart == '0') { var startPos = myField.selectionStart; var endPos = myField.selectionEnd; myField.value = myField.value.substring(0, startPos) + myValue + myField.value.substring(endPos, myField.value.length); } else { myField.value += myValue; } } ;/* ### jQuery Star Rating Plugin v3.12 - 2009-04-16 ### * Home: http://www.fyneworks.com/jquery/star-rating/ * Code: http://code.google.com/p/jquery-star-rating-plugin/ * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html ### */ /*# AVOID COLLISIONS #*/ ;if(window.jQuery) (function($){ /*# AVOID COLLISIONS #*/ // IE6 Background Image Fix if ($.browser.msie) try { document.execCommand("BackgroundImageCache", false, true)} catch(e) { }; // Thanks to http://www.visualjquery.com/rating/rating_redux.html // plugin initialization $.fn.rating = function(options){ if(this.length==0) return this; // quick fail // Handle API methods if(typeof arguments[0]=='string'){ // Perform API methods on individual elements if(this.length>1){ var args = arguments; return this.each(function(){ $.fn.rating.apply($(this), args); }); }; // Invoke API method handler $.fn.rating[arguments[0]].apply(this, $.makeArray(arguments).slice(1) || []); // Quick exit... return this; }; // Initialize options for this call var options = $.extend( {}/* new object */, $.fn.rating.options/* default options */, options || {} /* just-in-time options */ ); // Allow multiple controls with the same name by making each call unique $.fn.rating.calls++; // loop through each matched element this .not('.star-rating-applied') .addClass('star-rating-applied') .each(function(){ // Load control parameters / find context / etc var control, input = $(this); var eid = (this.name || 'unnamed-rating').replace(/\[|\]/g, '_').replace(/^\_+|\_+$/g,''); var context = $(this.form || document.body); // FIX: http://code.google.com/p/jquery-star-rating-plugin/issues/detail?id=23 var raters = context.data('rating'); if(!raters || raters.call!=$.fn.rating.calls) raters = { count:0, call:$.fn.rating.calls }; var rater = raters[eid]; // if rater is available, verify that the control still exists if(rater) control = rater.data('rating'); if(rater && control)//{// save a byte! // add star to control if rater is available and the same control still exists control.count++; //}// save a byte! else{ // create new control if first star or control element was removed/replaced // Initialize options for this raters control = $.extend( {}/* new object */, options || {} /* current call options */, ($.metadata? input.metadata(): ($.meta?input.data():null)) || {}, /* metadata options */ { count:0, stars: [], inputs: [] } ); // increment number of rating controls control.serial = raters.count++; // create rating element rater = $(''); input.before(rater); // Mark element for initialization (once all stars are ready) rater.addClass('rating-to-be-drawn'); // Accept readOnly setting from 'disabled' property if(input.attr('disabled')) control.readOnly = true; // Create 'cancel' button rater.append( control.cancel = $('') .mouseover(function(){ $(this).rating('drain'); $(this).addClass('star-rating-hover'); //$(this).rating('focus'); }) .mouseout(function(){ $(this).rating('draw'); $(this).removeClass('star-rating-hover'); //$(this).rating('blur'); }) .click(function(){ $(this).rating('select'); }) .data('rating', control) ); }; // first element of group // insert rating star var star = $(''); rater.append(star); // inherit attributes from input element if(this.id) star.attr('id', this.id); if(this.className) star.addClass(this.className); // Half-stars? if(control.half) control.split = 2; // Prepare division control if(typeof control.split=='number' && control.split>0){ var stw = ($.fn.width ? star.width() : 0) || control.starWidth; var spi = (control.count % control.split), spw = Math.floor(stw/control.split); star // restrict star's width and hide overflow (already in CSS) .width(spw) // move the star left by using a negative margin // this is work-around to IE's stupid box model (position:relative doesn't work) .find('a').css({ 'margin-left':'-'+ (spi*spw) +'px' }) }; // readOnly? if(control.readOnly)//{ //save a byte! // Mark star as readOnly so user can customize display star.addClass('star-rating-readonly'); //} //save a byte! else//{ //save a byte! // Enable hover css effects star.addClass('star-rating-live') // Attach mouse events .mouseover(function(){ $(this).rating('fill'); $(this).rating('focus'); }) .mouseout(function(){ $(this).rating('draw'); $(this).rating('blur'); }) .click(function(){ $(this).rating('select'); }) ; //}; //save a byte! // set current selection if(this.checked) control.current = star; // hide input element input.hide(); // backward compatibility, form element to plugin input.change(function(){ $(this).rating('select'); }); // attach reference to star to input element and vice-versa star.data('rating.input', input.data('rating.star', star)); // store control information in form (or body when form not available) control.stars[control.stars.length] = star[0]; control.inputs[control.inputs.length] = input[0]; control.rater = raters[eid] = rater; control.context = context; input.data('rating', control); rater.data('rating', control); star.data('rating', control); context.data('rating', raters); }); // each element // Initialize ratings (first draw) $('.rating-to-be-drawn').rating('draw').removeClass('rating-to-be-drawn'); return this; // don't break the chain... }; /*--------------------------------------------------------*/ /* ### Core functionality and API ### */ $.extend($.fn.rating, { // Used to append a unique serial number to internal control ID // each time the plugin is invoked so same name controls can co-exist calls: 0, focus: function(){ var control = this.data('rating'); if(!control) return this; if(!control.focus) return this; // quick fail if not required // find data for event var input = $(this).data('rating.input') || $( this.tagName=='INPUT' ? this : null ); // focus handler, as requested by focusdigital.co.uk if(control.focus) control.focus.apply(input[0], [input.val(), $('a', input.data('rating.star'))[0]]); }, // $.fn.rating.focus blur: function(){ var control = this.data('rating'); if(!control) return this; if(!control.blur) return this; // quick fail if not required // find data for event var input = $(this).data('rating.input') || $( this.tagName=='INPUT' ? this : null ); // blur handler, as requested by focusdigital.co.uk if(control.blur) control.blur.apply(input[0], [input.val(), $('a', input.data('rating.star'))[0]]); }, // $.fn.rating.blur fill: function(){ // fill to the current mouse position. var control = this.data('rating'); if(!control) return this; // do not execute when control is in read-only mode if(control.readOnly) return; // Reset all stars and highlight them up to this element this.rating('drain'); this.prevAll().andSelf().filter('.rater-'+ control.serial).addClass('star-rating-hover'); },// $.fn.rating.fill drain: function() { // drain all the stars. var control = this.data('rating'); if(!control) return this; // do not execute when control is in read-only mode if(control.readOnly) return; // Reset all stars control.rater.children().filter('.rater-'+ control.serial).removeClass('star-rating-on').removeClass('star-rating-hover'); },// $.fn.rating.drain draw: function(){ // set value and stars to reflect current selection var control = this.data('rating'); if(!control) return this; // Clear all stars this.rating('drain'); // Set control value if(control.current){ control.current.data('rating.input').attr('checked','checked'); control.current.prevAll().andSelf().filter('.rater-'+ control.serial).addClass('star-rating-on'); } else $(control.inputs).removeAttr('checked'); // Show/hide 'cancel' button control.cancel[control.readOnly || control.required?'hide':'show'](); // Add/remove read-only classes to remove hand pointer this.siblings()[control.readOnly?'addClass':'removeClass']('star-rating-readonly'); },// $.fn.rating.draw select: function(value){ // select a value var control = this.data('rating'); if(!control) return this; // do not execute when control is in read-only mode if(control.readOnly) return; // clear selection control.current = null; // programmatically (based on user input) if(typeof value!='undefined'){ // select by index (0 based) if(typeof value=='number') return $(control.stars[value]).rating('select'); // select by literal value (must be passed as a string if(typeof value=='string') //return $.each(control.stars, function(){ if($(this).data('rating.input').val()==value) $(this).rating('select'); }); } else control.current = this[0].tagName=='INPUT' ? this.data('rating.star') : (this.is('.rater-'+ control.serial) ? this : null); // Update rating control state this.data('rating', control); // Update display this.rating('draw'); // find data for event var input = $( control.current ? control.current.data('rating.input') : null ); // click callback, as requested here: http://plugins.jquery.com/node/1655 if(control.callback) control.callback.apply(input[0], [input.val(), $('a', control.current)[0]]);// callback event },// $.fn.rating.select readOnly: function(toggle, disable){ // make the control read-only (still submits value) var control = this.data('rating'); if(!control) return this; // setread-only status control.readOnly = toggle || toggle==undefined ? true : false; // enable/disable control value submission if(disable) $(control.inputs).attr("disabled", "disabled"); else $(control.inputs).removeAttr("disabled"); // Update rating control state this.data('rating', control); // Update display this.rating('draw'); },// $.fn.rating.readOnly disable: function(){ // make read-only and never submit value this.rating('readOnly', true, true); },// $.fn.rating.disable enable: function(){ // make read/write and submit value this.rating('readOnly', false, false); }// $.fn.rating.select }); /*--------------------------------------------------------*/ /* ### Default Settings ### eg.: You can override default control like this: $.fn.rating.options.cancel = 'Clear'; */ $.fn.rating.options = { //$.extend($.fn.rating, { options: { cancel: 'Cancel Rating', // advisory title for the 'cancel' link cancelValue: '', // value to submit when user click the 'cancel' link split: 0, // split the star into how many parts? // Width of star image in case the plugin can't work it out. This can happen if // the jQuery.dimensions plugin is not available OR the image is hidden at installation starWidth: 16//, //NB.: These don't need to be pre-defined (can be undefined/null) so let's save some code! //half: false, // just a shortcut to control.split = 2 //required: false, // disables the 'cancel' button so user can only select one of the specified values //readOnly: false, // disable rating plugin interaction/ values cannot be changed //focus: function(){}, // executed when stars are focused //blur: function(){}, // executed when stars are focused //callback: function(){}, // executed when a star is clicked }; //} }); /*--------------------------------------------------------*/ /* ### Default implementation ### The plugin will attach itself to file inputs with the class 'multi' when the page loads */ $(function(){ $('input[type=radio].star').rating(); }); /*# AVOID COLLISIONS #*/ })(jQuery); /*# AVOID COLLISIONS #*/ ;/* * Metadata - jQuery plugin for parsing metadata from elements * * Copyright (c) 2006 John Resig, Yehuda Katz, J?Zaefferer, Paul McLanahan * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id$ * */ /** * Sets the type of metadata to use. Metadata is encoded in JSON, and each property * in the JSON will become a property of the element itself. * * There are three supported types of metadata storage: * * attr: Inside an attribute. The name parameter indicates *which* attribute. * * class: Inside the class attribute, wrapped in curly braces: { } * * elem: Inside a child element (e.g. a script tag). The * name parameter indicates *which* element. * * The metadata for an element is loaded the first time the element is accessed via jQuery. * * As a result, you can define the metadata type, use $(expr) to load the metadata into the elements * matched by expr, then redefine the metadata type and run another $(expr) for other elements. * * @name $.metadata.setType * * @example

This is a p

* @before $.metadata.setType("class") * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label" * @desc Reads metadata from the class attribute * * @example

This is a p

* @before $.metadata.setType("attr", "data") * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label" * @desc Reads metadata from a "data" attribute * * @example

This is a p

* @before $.metadata.setType("elem", "script") * @after $("#one").metadata().item_id == 1; $("#one").metadata().item_label == "Label" * @desc Reads metadata from a nested script element * * @param String type The encoding type * @param String name The name of the attribute to be used to get metadata (optional) * @cat Plugins/Metadata * @descr Sets the type of encoding to be used when loading metadata for the first time * @type undefined * @see metadata() */ (function($) { $.extend({ metadata : { defaults : { type: 'class', name: 'metadata', cre: /({.*})/, single: 'metadata' }, setType: function( type, name ){ this.defaults.type = type; this.defaults.name = name; }, get: function( elem, opts ){ var settings = $.extend({},this.defaults,opts); // check for empty string in single property if ( !settings.single.length ) settings.single = 'metadata'; var data = $.data(elem, settings.single); // returned cached data if it already exists if ( data ) return data; data = "{}"; if ( settings.type == "class" ) { var m = settings.cre.exec( elem.className ); if ( m ) data = m[1]; } else if ( settings.type == "elem" ) { if( !elem.getElementsByTagName ) return; var e = elem.getElementsByTagName(settings.name); if ( e.length ) data = $.trim(e[0].innerHTML); } else if ( elem.getAttribute != undefined ) { var attr = elem.getAttribute( settings.name ); if ( attr ) data = attr; } if ( data.indexOf( '{' ) <0 ) data = "{" + data + "}"; data = eval("(" + data + ")"); $.data( elem, settings.single, data ); return data; } } }); /** * Returns the metadata object for the first member of the jQuery object. * * @name metadata * @descr Returns element's metadata object * @param Object opts An object contianing settings to override the defaults * @type jQuery * @cat Plugins/Metadata */ $.fn.metadata = function( opts ){ return $.metadata.get( this[0], opts ); }; })(jQuery);/** * jQuery lightBox plugin * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/) * and adapted to me for use like a plugin from jQuery. * @name jquery-lightbox-0.5.js * @author Leandro Vieira Pinho - http://leandrovieira.com * @version 0.5 * @date April 11, 2008 * @category jQuery plugin * @copyright (c) 2008 Leandro Vieira Pinho (leandrovieira.com) * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin */ eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(6($){$.2N.3g=6(4){4=23.2H({2B:\'#34\',2g:0.8,1d:F,1M:\'18/5-33-Y.16\',1v:\'18/5-1u-2Q.16\',1E:\'18/5-1u-2L.16\',1W:\'18/5-1u-2I.16\',19:\'18/5-2F.16\',1f:10,2A:3d,2s:\'1j\',2o:\'32\',2j:\'c\',2f:\'p\',2d:\'n\',h:[],9:0},4);f I=N;6 20(){1X(N,I);u F}6 1X(1e,I){$(\'1U, 1S, 1R\').l({\'1Q\':\'2E\'});1O();4.h.B=0;4.9=0;7(I.B==1){4.h.1J(v 1m(1e.17(\'J\'),1e.17(\'2v\')))}j{36(f i=0;i<1w g="5-b"><1w W="\'+4.1M+\'"><1i g="5-b-A-1t"><1i g="5-b-A-1g"><1w W="\'+4.1W+\'">\');f z=1D();$(\'#q-13\').l({2K:4.2B,2J:4.2g,S:z[0],P:z[1]}).1V();f R=1p();$(\'#q-5\').l({1T:R[1]+(z[3]/10),1c:R[0]}).E();$(\'#q-13,#q-5\').C(6(){1a()});$(\'#5-Y-29,#5-1s-22\').C(6(){1a();u F});$(G).2G(6(){f z=1D();$(\'#q-13\').l({S:z[0],P:z[1]});f R=1p();$(\'#q-5\').l({1T:R[1]+(z[3]/10),1c:R[0]})})}6 D(){$(\'#5-Y\').E();7(4.1d){$(\'#5-b,#5-s-b-T-w,#5-b-A-1g\').1b()}j{$(\'#5-b,#5-k,#5-k-V,#5-k-X,#5-s-b-T-w,#5-b-A-1g\').1b()}f Q=v 1j();Q.1P=6(){$(\'#5-b\').2D(\'W\',4.h[4.9][0]);1N(Q.S,Q.P);Q.1P=6(){}};Q.W=4.h[4.9][0]};6 1N(1o,1r){f 1L=$(\'#5-s-b-w\').S();f 1K=$(\'#5-s-b-w\').P();f 1n=(1o+(4.1f*2));f 1y=(1r+(4.1f*2));f 1I=1L-1n;f 2z=1K-1y;$(\'#5-s-b-w\').3f({S:1n,P:1y},4.2A,6(){2y()});7((1I==0)&&(2z==0)){7($.3e.3c){1H(3b)}j{1H(3a)}}$(\'#5-s-b-T-w\').l({S:1o});$(\'#5-k-V,#5-k-X\').l({P:1r+(4.1f*2)})};6 2y(){$(\'#5-Y\').1b();$(\'#5-b\').1V(6(){2u();2t()});2r()};6 2u(){$(\'#5-s-b-T-w\').38(\'35\');$(\'#5-b-A-1t\').1b();7(4.h[4.9][1]){$(\'#5-b-A-1t\').2p(4.h[4.9][1]).E()}7(4.h.B>1){$(\'#5-b-A-1g\').2p(4.2s+\' \'+(4.9+1)+\' \'+4.2o+\' \'+4.h.B).E()}}6 2t(){$(\'#5-k\').E();$(\'#5-k-V,#5-k-X\').l({\'K\':\'1C M(\'+4.19+\') L-O\'});7(4.9!=0){7(4.1d){$(\'#5-k-V\').l({\'K\':\'M(\'+4.1v+\') 1c 15% L-O\'}).11().1k(\'C\',6(){4.9=4.9-1;D();u F})}j{$(\'#5-k-V\').11().2m(6(){$(N).l({\'K\':\'M(\'+4.1v+\') 1c 15% L-O\'})},6(){$(N).l({\'K\':\'1C M(\'+4.19+\') L-O\'})}).E().1k(\'C\',6(){4.9=4.9-1;D();u F})}}7(4.9!=(4.h.B-1)){7(4.1d){$(\'#5-k-X\').l({\'K\':\'M(\'+4.1E+\') 2l 15% L-O\'}).11().1k(\'C\',6(){4.9=4.9+1;D();u F})}j{$(\'#5-k-X\').11().2m(6(){$(N).l({\'K\':\'M(\'+4.1E+\') 2l 15% L-O\'})},6(){$(N).l({\'K\':\'1C M(\'+4.19+\') L-O\'})}).E().1k(\'C\',6(){4.9=4.9+1;D();u F})}}2k()}6 2k(){$(d).30(6(12){2i(12)})}6 1G(){$(d).11()}6 2i(12){7(12==2h){U=2Z.2e;1x=27}j{U=12.2e;1x=12.2Y}14=2X.2W(U).2U();7((14==4.2j)||(14==\'x\')||(U==1x)){1a()}7((14==4.2f)||(U==37)){7(4.9!=0){4.9=4.9-1;D();1G()}}7((14==4.2d)||(U==39)){7(4.9!=(4.h.B-1)){4.9=4.9+1;D();1G()}}}6 2r(){7((4.h.B-1)>4.9){2c=v 1j();2c.W=4.h[4.9+1][0]}7(4.9>0){2b=v 1j();2b.W=4.h[4.9-1][0]}}6 1a(){$(\'#q-5\').2a();$(\'#q-13\').2T(6(){$(\'#q-13\').2a()});$(\'1U, 1S, 1R\').l({\'1Q\':\'2S\'})}6 1D(){f o,r;7(G.1h&&G.28){o=G.26+G.2R;r=G.1h+G.28}j 7(d.m.25>d.m.24){o=d.m.2P;r=d.m.25}j{o=d.m.2O;r=d.m.24}f y,H;7(Z.1h){7(d.t.1l){y=d.t.1l}j{y=Z.26}H=Z.1h}j 7(d.t&&d.t.1A){y=d.t.1l;H=d.t.1A}j 7(d.m){y=d.m.1l;H=d.m.1A}7(r settings.endNumber + 1) { $(this).css('fontSize',settings.startFontSize).text(to - 1).countDown(settings,to - 1); } else { settings.callBack(this); } }); }); }; /* sample usage $('#countdown').countDown({ startNumber: 10, callBack: function(me) { $(me).text('All done! This is where you give the reward!').css('color','#090'); } }); */ ;var ajaxdestination="";var rnd_nr=Math.random()*1234567;var status;function noCache(a){return a.concat(/\?/.test(a)?"&":"?","noCache=",rnd_nr)}function getdata(c,a){try{xmlhttp=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP")}catch(b){}document.getElementById(a).innerHTML="



";ajaxdestination=a;xmlhttp.open("GET",c);xmlhttp.onreadystatechange=triggered;xmlhttp.send(null);return false}function triggered(){if(xmlhttp.readyState==4){if(xmlhttp.status==200){document.getElementById(ajaxdestination).innerHTML=xmlhttp.responseText;return true}}return false}function createRequestObject(){var a;if(window.XMLHttpRequest){a=new XMLHttpRequest()}else{if(window.ActiveXObject){a=new ActiveXObject("Microsoft.XMLHTTP")}else{a=NULL;alert("Probleem met het aanmaken van hetXMLHttpRequest object")}}return a}var http=createRequestObject();var aDiv=new aDiv();function setDiv(a){this.theDiv=a}function getCurrentDiv(){if(this.theDiv!=""){return this.theDiv}else{alert("Geen div geset")}}function aDiv(a){this.theDiv=a||"";this.set=setDiv;this.getCurrent=getCurrentDiv}andersx=0;loadTekst="";function AJAXcheckVeld(c,g,a,b,e){andersx=e;if(b==""){var f="AJAXcheckVeld.php"}else{f=b}if(g.length!=a.length){alert("sendRequest: arg3 and arg4 != length")}else{var d=Math.random()*5;var h="noCache="+d+"&";aDiv.set(c);for(i=0;i is released under the MIT License */ var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y0){for(var af=0;af0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad'}}aa.outerHTML='"+af+"";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'[3-9q-suw-zA-Y]'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';(6(h){h.w.L=6(){5 j=6(a,f,c,g){5 d=document.createElement("S");d.r=f,d.G=c;5 b=a.C;5 e=b.s;3(!a.z){a.z={};y(5 i=0;i=2){3(9(k[1])=="M")l=k[1];q 3(9(k[2])=="M")l=k[2];3(!m){o=k[0];p=k[1]}}4.x(6(){3(4.E.B()!="F")7;3(m){y(5 a in n){j(4,a,n[a],l)}}q{j(4,o,p,l)}});7 4};h.w.ajaxAddOption=6(c,g,d,b,e){3(9(c)!="I")7 4;3(9(g)!="D")g={};3(9(d)!="M")d=8;4.x(6(){5 f=4;h.getJSON(c,g,6(a){h(f).L(a,d);3(9 b=="6"){3(9 e=="D"){b.apply(f,e)}q{b.N(f)}}})});7 4};h.w.V=6(){5 d=U;3(d.s==0)7 4;5 b=9(d[0]);5 e,i;3(b=="I"||b=="D"||b=="6"){e=d[0];3(e.H==W){5 j=e.s;y(5 k=0;k=0;g--){3(e.H==O){3(f[g].r.P(e)){a=8}}q 3(f[g].r==e){a=8}3(a&&d[1]===8)a=f[g].u;3(a){f[g]=X}a=A}}q{3(d[1]===8){a=f[i].u}q{a=8}3(a){4.remove(i)}}});7 4};h.w.sortOptions=6(e){5 i=h(4).Y();5 j=9(e)=="T"?8:!!e;4.x(6(){3(4.E.B()!="F")7;5 c=4.C;5 g=c.s;5 d=[];y(5 b=0;bK?-1:1}});y(5 b=0;bB&&W30){X='30'}if(B>=12){U='PM';B=B-12};if(B==0){B=12};if(D==6" + "||D==0){A='Weekend'}W=B+':'+X+U;if(y&&y!=Y){return'Data Not Availab" + "le'}else{if(t){if(t=='h'){return W}if(t=='d'){return Z}if(t=='w'){r" + "eturn A}}else{return Z+', '+W}}}"); /* * Plugin: getQueryParam 2.3 */ s.getQueryParam = new Function("p", "d", "u", "" + "var s=this,v='',i,t;d=d?d:'';u=u?u:(s.pageURL?s.pageURL:s.wd.locati" + "on);if(u=='f')u=s.gtfs().location;while(p){i=p.indexOf(',');i=i<0?p" + ".length:i;t=s.p_gpv(p.substring(0,i),u+'');if(t){t=t.indexOf('#')>-" + "1?t.substring(0,t.indexOf('#')):t;}if(t)v+=v?d+t:t;p=p.substring(i=" + "=p.length?i:i+1)}return v"); s.p_gpv = new Function("k", "u", "" + "var s=this,v='',i=u.indexOf('?'),q;if(k&&i>-1){q=u.substring(i+1);v" + "=s.pt(q,'&','p_gvf',k)}return v"); s.p_gvf = new Function("t", "k", "" + "if(t){var s=this,i=t.indexOf('='),p=i<0?t:t.substring(0,i),v=i<0?'T" + "rue':t.substring(i+1);if(p.toLowerCase()==k.toLowerCase())return s." + "epa(v)}return ''"); /* * Plugin: getValOnce 0.2 - get a value once per session or number of days */ s.getValOnce = new Function("v", "c", "e", "" + "var s=this,k=s.c_r(c),a=new Date;e=e?e:0;if(v){a.setTime(a.getTime(" + ")+e*86400000);s.c_w(c,v,e?a:0);}return v==k?'':v"); /* * Plugin: getPreviousValue_v1.0 - return previous value of designated * variable (requires split utility) */ s.getPreviousValue = new Function("v", "c", "el", "" + "var s=this,t=new Date,i,j,r='';t.setTime(t.getTime()+1800000);if(el" + "){if(s.events){i=s.split(el,',');j=s.split(s.events,',');for(x in i" + "){for(y in j){if(i[x]==j[y]){if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t)" + ":s.c_w(c,'no value',t);return r}}}}}else{if(s.c_r(c)) r=s.c_r(c);v?" + "s.c_w(c,v,t):s.c_w(c,'no value',t);return r}"); /* * Plugin: getAndPersistValue 0.3 - get a value on every page */ s.getAndPersistValue = new Function("v", "c", "e", "" + "var s=this,a=new Date;e=e?e:0;a.setTime(a.getTime()+e*86400000);if(" + "v)s.c_w(c,v,e?a:0);return s.c_r(c);"); /* * s.join: 1.0 - Joins an array into a string */ s.join = new Function("v", "p", "" + "var s = this;var f,b,d,w;if(p){f=p.front?p.front:'';b=p.back?p.back" + ":'';d=p.delim?p.delim:'';w=p.wrap?p.wrap:'';}var str='';for(var x=0" + ";x-1?i:l.length;a[x" + "++]=l.substring(0,i);l=l.substring(i+d.length);}return a"); /* * Plugin Utility: Replace v1.0 */ s.repl=new Function("x","o","n","" +"var i=x.indexOf(o),l=n.length;while(x&&i>=0){x=x.substring(0,i)+n+x." +"substring(i+o.length);i=x.indexOf(o,i+l)}return x"); /* * Plugin: getPercentPageViewed v1.4 */ s.handlePPVevents=new Function("","" +"if(!s.getPPVid)return;var dh=Math.max(Math.max(s.d.body.scrollHeigh" +"t,s.d.documentElement.scrollHeight),Math.max(s.d.body.offsetHeight," +"s.d.documentElement.offsetHeight),Math.max(s.d.body.clientHeight,s." +"d.documentElement.clientHeight)),vph=s.wd.innerHeight||(s.d.documen" +"tElement.clientHeight||s.d.body.clientHeight),st=s.wd.pageYOffset||" +"(s.wd.document.documentElement.scrollTop||s.wd.document.body.scroll" +"Top),vh=st+vph,pv=Math.min(Math.round(vh/dh*100),100),c=s.c_r('s_pp" +"v'),a=(c.indexOf(',')>-1)?c.split(',',4):[],id=(a.length>0)?(a[0]):" +"escape(s.getPPVid),cv=(a.length>1)?parseInt(a[1]):(0),p0=(a.length>" +"2)?parseInt(a[2]):(pv),cy=(a.length>3)?parseInt(a[3]):(0),cn=(pv>0)" +"?(id+','+((pv>cv)?pv:cv)+','+p0+','+((vh>cy)?vh:cy)):'';s.c_w('s_pp" +"v',cn);"); s.getPercentPageViewed=new Function("pid","" +"pid=pid?pid:'-';var s=this,ist=!s.getPPVid?true:false;if(typeof(s.l" +"inkType)!='undefined'&&s.linkType!='e')return'';var v=s.c_r('s_ppv'" +"),a=(v.indexOf(',')>-1)?v.split(',',4):[];if(a.length<4){for(var i=" +"3;i>0;i--){a[i]=(i=0)y+=n}retur" +"n y};s.fl=function(x,l){return x?(''+x).substring(0,l):x};s.co=function(o){return o};s.num=function(x){x=''+x;for(var p=0;p=0)x=s.rep(x,n,\"%\"+n.charCodeAt(0).toString(16).toUpperCase())}}else if(c=='AUTO'&&('').charCodeAt){for(i=0;i127){l=0;e='';while(n||l<4){e=h.substring(n%16,n%16+1)+e;n=(n-n%16)/16;l++}y+='%u'+e}else if(c=='+')y+='%2B';else y+=escape(c)}x=y}else x=s.rep(escape(''+x),'+" +"','%2B');if(c&&c!='AUTO'&&s.em==1&&x.indexOf('%u')<0&&x.indexOf('%U')<0){i=x.indexOf('%');while(i>=0){i++;if(h.substring(8).indexOf(x.substring(i,i+1).toUpperCase())>=0)return x.substring(0,i)+'u00" +"'+x.substring(i);i=x.indexOf('%',i)}}}return x};s.epa=function(x){var s=this,y,tcf;if(x){x=s.rep(''+x,'+',' ');if(s.em==3){tcf=new Function('x','var y,e;try{y=decodeURIComponent(x)}catch(e){y=unesc" +"ape(x)}return y');return tcf(x)}else return unescape(x)}return y};s.pt=function(x,d,f,a){var s=this,t=x,z=0,y,r;while(t){y=t.indexOf(d);y=y<0?t.length:y;t=t.substring(0,y);r=s[f](t,a);if(r)return r" +";z+=y+d.length;t=x.substring(z,x.length);t=z=0)a=a.substring(0,c);c=a.indexOf('=');if(c>=0)a=a.substring(0,c);if(t.substring(" +"0,2)=='s_')t=t.substring(2);return (t!=''&&t==a)};s.fsf=function(t,a){var s=this;if(s.pt(a,',','isf',t))s.fsg+=(s.fsg!=''?',':'')+t;return 0};s.fs=function(x,f){var s=this;s.fsg='';s.pt(x,',','fsf'" +",f);return s.fsg};s.mpc=function(m,a){var s=this,c,l,n,v;v=s.d.visibilityState;if(!v)v=s.d.webkitVisibilityState;if(v&&v=='prerender'){if(!s.mpq){s.mpq=new Array;l=s.sp('webkitvisibilitychange,visi" +"bilitychange',',');for(n=0;n0){c=s.mpq.shift();s[c.m].apply(s,c.a)}s.mpq=0}'),false)}}c=new Object;c.m=m;c.a=a;s.mpq.push(c);return 1}return 0};s.si=function(){var s=this,i,k,v,c=s_gi+'var s=s_gi(\"'+s.oun+'\")" +";s.sa(\"'+s.un+'\");';for(i=0;i2?n:2;p=d.lastIndexOf('.');if(p>=0){while(p>=0&&n>1){p=d.lastIndexOf('.',p-1);n--}s.c_d=p>0&&s.pt(d,'" +".','c_gdf',0)?d.substring(p):d}}return s.c_d};s.c_r=function(k){var s=this;k=s.ape(k);var c=' '+s.d.cookie,i=c.indexOf(' '+k+'='),e=i<0?i:c.indexOf(';',i),v=i<0?'':s.epa(c.substring(i+2+k.length,e<" +"0?c.length:e));return v!='[[B]]'?v:''};s.c_w=function(k,v,e){var s=this,d=s.c_gd(),l=s.cookieLifetime,t;v=''+v;l=l?(''+l).toUpperCase():'';if(e&&l!='SESSION'&&l!='NONE'){t=(v!=''?parseInt(l?l:0):-6" +"0);if(t){e=new Date;e.setTime(e.getTime()+(t*1000))}}if(k&&l!='NONE'){s.d.cookie=k+'='+s.ape(v!=''?v:'[[B]]')+'; path=/;'+(e&&l!='SESSION'?' expires='+e.toGMTString()+';':'')+(d?' domain='+d+';':''" +");return s.c_r(k)==v}return 0};s.eh=function(o,e,r,f){var s=this,b='s_'+e+'_'+s._in,n=-1,l,i,x;if(!s.ehl)s.ehl=new Array;l=s.ehl;for(i=0;i=5&&(!s.isopera||s.apv>=7)){tc" +"f=new Function('s','f','a','t','var e,r;try{r=s[f](a)}catch(e){r=s[t](e)}return r');r=tcf(s,f,a,t)}else{if(s.ismac&&s.u.indexOf('MSIE 4')>=0)r=s[b](a);else{s.eh(s.wd,'onerror',0,o);r=s[f](a);s.eh(s" +".wd,'onerror',1)}}return r};s.gtfset=function(e){var s=this;return s.tfs};s.gtfsoe=new Function('e','var s=s_c_il['+s._in+'],c;s.eh(window,\"onerror\",1);s.etfs=1;c=s.t();if(c)s.d.write(c);s.etfs=0" +";return true');s.gtfsfb=function(a){return window};s.gtfsf=function(w){var s=this,p=w.parent,l=w.location;s.tfs=w;if(p&&p.location!=l&&p.location.host==l.host){s.tfs=p;return s.gtfsf(s.tfs)}return " +"s.tfs};s.gtfs=function(){var s=this;if(!s.tfs){s.tfs=s.wd;if(!s.etfs)s.tfs=s.cet('gtfsf',s.tfs,'gtfset',s.gtfsoe,'gtfsfb')}return s.tfs};s.mrq=function(u){var s=this,l=s.rl[u],n,r;s.rl[u]=0;if(l)fo" +"r(n=0;n=3&&(!s.isopera||s.apv>=7)&&(s.ns6<0||s.apv>=6.1)){if(!s.rc)s.rc=new Object;if(!s.rc[u" +"n]){s.rc[un]=1;if(!s.rl)s.rl=new Object;s.rl[un]=new Array;setTimeout('if(window.s_c_il)window.s_c_il['+s._in+'].mrq(\"'+un+'\")',750)}else{l=s.rl[un];if(l){r.t=ta;r.u=un;r.r=rs;l[l.length]=r;retur" +"n ''}imn+='_'+s.rc[un];s.rc[un]++}if(s.debugTracking){var d='AppMeasurement Debug: '+rs,dl=s.sp(rs,'&'),dln;for(dln=0;dln'};s.gg=function(v){var s=this;if(!s.wd['s_'+v])s.wd['s_'+v]='';return s.wd['s_'+v]};s.glf=function(t,a){if(t.substring(0,2)==" +"'s_')t=t.substring(2);var s=this,v=s.gg(t);if(v)s[t]=v};s.gl=function(v){var s=this;if(s.pg)s.pt(v,',','glf',0)};s.rf=function(x){var s=this,y,i,j,h,p,l=0,q,a,b='',c='',t;if(x&&x.length>255){y=''+x" +";i=y.indexOf('?');if(i>0){q=y.substring(i+1);y=y.substring(0,i);h=y.toLowerCase();j=0;if(h.substring(0,7)=='http://')j+=7;else if(h.substring(0,8)=='https://')j+=8;i=h.indexOf(\"/\",j);if(i>0){h=h." +"substring(j,i);p=y.substring(i);y=y.substring(0,i);if(h.indexOf('google')>=0)l=',q,ie,start,search_key,word,kw,cd,';else if(h.indexOf('yahoo.co')>=0)l=',p,ei,';if(l&&q){a=s.sp(q,'&');if(a&&a.length" +">1){for(j=0;j0&&l.indexOf(','+t.substring(0,i)+',')>=0)b+=(b?'&':'')+t;else c+=(c?'&':'')+t}if(b&&c)q=b+'&'+c;else c=''}i=253-(q.length-c.length)-y.lengt" +"h;x=y+(i>0?p.substring(0,i):'')+'?'+q}}}}return x};s.s2q=function(k,v,vf,vfp,f){var s=this,qs='',sk,sv,sp,ss,nke,nk,nf,nfl=0,nfn,nfm;if(k==\"contextData\")k=\"c\";if(v){for(sk in v)if((!f||sk.subst" +"ring(0,f.length)==f)&&v[sk]&&(!vf||vf.indexOf(','+(vfp?vfp+'.':'')+sk+',')>=0)&&(!Object||!Object.prototype||!Object.prototype[sk])){nfm=0;if(nfl)for(nfn=0;nfn0){nke=sk.indexOf('.');if(nke>0){nk=sk.substring(0,nke);nf=(f?f:'')+nk+'.';if(!n" +"fl)nfl=new Array;nfl[nfl.length]=nf;qs+=s.s2q(nk,v,vf,vfp,nf)}else{if(typeof(sv)=='boolean'){if(sv)sv='true';else sv='false'}if(sv){if(vfp=='retrieveLightData'&&f.indexOf('.contextData.')<0){sp=sk." +"substring(0,4);ss=sk.substring(4);if(sk=='transactionID')sk='xact';else if(sk=='channel')sk='ch';else if(sk=='campaign')sk='v0';else if(s.num(ss)){if(sp=='prop')sk='c'+ss;else if(sp=='eVar')sk='v'+" +"ss;else if(sp=='list')sk='l'+ss;else if(sp=='hier'){sk='h'+ss;sv=sv.substring(0,255)}}}qs+='&'+s.ape(sk)+'='+s.ape(sv)}}}}}if(qs!='')qs+='&.'+k}return qs};s.hav=function(){var s=this,qs='',l,fv=''," +"fe='',mn,i,e;if(s.lightProfileID){l=s.va_m;fv=s.lightTrackVars;if(fv)fv=','+fv+','+s.vl_mr+','}else{l=s.va_t;if(s.pe||s.linkType){fv=s.linkTrackVars;fe=s.linkTrackEvents;if(s.pe){mn=s.pe.substring(" +"0,1).toUpperCase()+s.pe.substring(1);if(s[mn]){fv=s[mn].trackVars;fe=s[mn].trackEvents}}}if(fv)fv=','+fv+','+s.vl_l+','+s.vl_l2;if(fe){fe=','+fe+',';if(fv)fv+=',events,'}if (s.events2)e=(e?',':'')+" +"s.events2}for(i=0;i=0)&&k!='linkName'&&k!=" +"'linkType'){if(k=='timestamp')q='ts';else if(k=='dynamicVariablePrefix')q='D';else if(k=='visitorID')q='vid';else if(k=='pageURL'){q='g';if(v.length>255){s.pageURLRest=v.substring(255);v=v.substrin" +"g(0,255);}}else if(k=='pageURLRest')q='-g';else if(k=='referrer'){q='r';v=s.fl(s.rf(v),255)}else if(k=='vmk'||k=='visitorMigrationKey')q='vmt';else if(k=='visitorMigrationServer'){q='vmf';if(s.ssl&" +"&s.visitorMigrationServerSecure)v=''}else if(k=='visitorMigrationServerSecure'){q='vmf';if(!s.ssl&&s.visitorMigrationServer)v=''}else if(k=='charSet'){q='ce';if(v.toUpperCase()=='AUTO')v='ISO8859-1" +"';else if(s.em==2||s.em==3)v='UTF-8'}else if(k=='visitorNamespace')q='ns';else if(k=='cookieDomainPeriods')q='cdp';else if(k=='cookieLifetime')q='cl';else if(k=='variableProvider')q='vvp';else if(k" +"=='currencyCode')q='cc';else if(k=='channel')q='ch';else if(k=='transactionID')q='xact';else if(k=='campaign')q='v0';else if(k=='resolution')q='s';else if(k=='colorDepth')q='c';else if(k=='javascri" +"ptVersion')q='j';else if(k=='javaEnabled')q='v';else if(k=='cookiesEnabled')q='k';else if(k=='browserWidth')q='bw';else if(k=='browserHeight')q='bh';else if(k=='connectionType')q='ct';else if(k=='h" +"omepage')q='hp';else if(k=='plugins')q='p';else if(k=='events'){if(e)v+=(v?',':'')+e;if(fe)v=s.fs(v,fe)}else if(k=='events2')v='';else if(k=='contextData'){qs+=s.s2q('c',s[k],fv,k,0);v=''}else if(k" +"=='lightProfileID')q='mtp';else if(k=='lightStoreForSeconds'){q='mtss';if(!s.lightProfileID)v=''}else if(k=='lightIncrementBy'){q='mti';if(!s.lightProfileID)v=''}else if(k=='retrieveLightProfiles')" +"q='mtsr';else if(k=='deleteLightProfiles')q='mtsd';else if(k=='retrieveLightData'){if(s.retrieveLightProfiles)qs+=s.s2q('mts',s[k],fv,k,0);v=''}else if(s.num(x)){if(b=='prop')q='c'+n;else if(b=='eV" +"ar')q='v'+n;else if(b=='list')q='l'+n;else if(b=='hier'){q='h'+n;v=s.fl(v,255)}}if(v)qs+='&'+s.ape(q)+'='+(k.substring(0,3)!='pev'?s.ape(v):v)}}return qs};s.ltdf=function(t,h){t=t?t.toLowerCase():'" +"';h=h?h.toLowerCase():'';var qi=h.indexOf('?');h=qi>=0?h.substring(0,qi):h;if(t&&h.substring(h.length-(t.length+1))=='.'+t)return 1;return 0};s.ltef=function(t,h){t=t?t.toLowerCase():'';h=h?h.toLow" +"erCase():'';if(t&&h.indexOf(t)>=0)return 1;return 0};s.lt=function(h){var s=this,lft=s.linkDownloadFileTypes,lef=s.linkExternalFilters,lif=s.linkInternalFilters;lif=lif?lif:s.wd.location.hostname;h" +"=h.toLowerCase();if(s.trackDownloadLinks&&lft&&s.pt(lft,',','ltdf',h))return 'd';if(s.trackExternalLinks&&h.substring(0,1)!='#'&&(lef||lif)&&(!lef||s.pt(lef,',','ltef',h))&&(!lif||!s.pt(lif,',','lt" +"ef',h)))return 'e';return ''};s.lc=new Function('e','var s=s_c_il['+s._in+'],b=s.eh(this,\"onclick\");s.lnk=this;s.t();s.lnk=0;if(b)return this[b](e);return true');s.bcr=function(){var s=this;if(s." +"bct&&s.bce)s.bct.dispatchEvent(s.bce);if(s.bcf){if(typeof(s.bcf)=='function')s.bcf();else if(s.bct&&s.bct.href)s.d.location=s.bct.href}s.bct=s.bce=s.bcf=0};s.bc=new Function('e','if(e&&e.s_fe)retur" +"n;var s=s_c_il['+s._in+'],f,tcf,t,n,nrs;if(s.d&&s.d.all&&s.d.all.cppXYctnr)return;if(!s.bbc)s.useForcedLinkTracking=0;else if(!s.useForcedLinkTracking){s.b.removeEventListener(\"click\",s.bc,true);" +"s.bbc=s.useForcedLinkTracking=0;return}else s.b.removeEventListener(\"click\",s.bc,false);s.eo=e.srcElement?e.srcElement:e.target;nrs=s.nrs;s.t();s.eo=0;if(s.nrs>nrs&&s.useForcedLinkTracking&&e.tar" +"get){t=e.target.target;if(e.target.dispatchEvent&&(!t||t==\\'_self\\'||t==\\'_top\\'||(s.wd.name&&t==s.wd.name))){e.stopPropagation();e.stopImmediatePropagation();e.preventDefault();n=s.d.createEve" +"nt(\"MouseEvents\");n.initMouseEvent(\"click\",e.bubbles,e.cancelable,e.view,e.detail,e.screenX,e.screenY,e.clientX,e.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget);n.s_f" +"e=1;s.bct=e.target;s.bce=n;}}');s.oh=function(o){var s=this,l=s.wd.location,h=o.href?o.href:'',i,j,k,p;i=h.indexOf(':');j=h.indexOf('?');k=h.indexOf('/');if(h&&(i<0||(j>=0&&i>j)||(k>=0&&i>k))){p=o." +"protocol&&o.protocol.length>1?o.protocol:(l.protocol?l.protocol:'');i=l.pathname.lastIndexOf('/');h=(p?p+'//':'')+(o.host?o.host:(l.host?l.host:''))+(h.substring(0,1)!='/'?l.pathname.substring(0,i<" +"0?0:i)+'/':'')+h}return h};s.ot=function(o){var t=o.tagName;if(o.tagUrn||(o.scopeName&&o.scopeName.toUpperCase()!='HTML'))return '';t=t&&t.toUpperCase?t.toUpperCase():'';if(t=='SHAPE')t='';if(t){if" +"((t=='INPUT'||t=='BUTTON')&&o.type&&o.type.toUpperCase)t=o.type.toUpperCase();else if(!t&&o.href)t='A';}return t};s.oid=function(o){var s=this,t=s.ot(o),p,c,n='',x=0;if(t&&!o.s_oid){p=o.protocol;c=" +"o.onclick;if(o.href&&(t=='A'||t=='AREA')&&(!c||!p||p.toLowerCase().indexOf('javascript')<0))n=s.oh(o);else if(c){n=s.rep(s.rep(s.rep(s.rep(''+c,\"\\r\",''),\"\\n\",''),\"\\t\",''),' ','');x=2}else " +"if(t=='INPUT'||t=='SUBMIT'){if(o.value)n=o.value;else if(o.innerText)n=o.innerText;else if(o.textContent)n=o.textContent;x=3}else if(o.src&&t=='IMAGE')n=o.src;if(n){o.s_oid=s.fl(n,100);o.s_oidt=x}}" +"return o.s_oid};s.rqf=function(t,un){var s=this,e=t.indexOf('='),u=e>=0?t.substring(0,e):'',q=e>=0?s.epa(t.substring(e+1)):'';if(u&&q&&(','+u+',').indexOf(','+un+',')>=0){if(u!=s.un&&s.un.indexOf('" +",')>=0)q='&u='+u+q+'&u=0';return q}return ''};s.rq=function(un){if(!un)un=this.un;var s=this,c=un.indexOf(','),v=s.c_r('s_sq'),q='';if(c<0)return s.pt(v,'&','rqf',un);return s.pt(un,',','rq',0)};s." +"sqp=function(t,a){var s=this,e=t.indexOf('='),q=e<0?'':s.epa(t.substring(e+1));s.sqq[q]='';if(e>=0)s.pt(t.substring(0,e),',','sqs',q);return 0};s.sqs=function(un,q){var s=this;s.squ[un]=q;return 0}" +";s.sq=function(q){var s=this,k='s_sq',v=s.c_r(k),x,c=0;s.sqq=new Object;s.squ=new Object;s.sqq[q]='';s.pt(v,'&','sqp',0);s.pt(s.un,',','sqs',q);v='';for(x in s.squ)if(x&&(!Object||!Object.prototype" +"||!Object.prototype[x]))s.sqq[s.squ[x]]+=(s.sqq[s.squ[x]]?',':'')+x;for(x in s.sqq)if(x&&(!Object||!Object.prototype||!Object.prototype[x])&&s.sqq[x]&&(x==q||c<2)){v+=(v?'&':'')+s.sqq[x]+'='+s.ape(" +"x);c++}return s.c_w(k,v,0)};s.wdl=new Function('e','var s=s_c_il['+s._in+'],r=true,b=s.eh(s.wd,\"onload\"),i,o,oc;if(b)r=this[b](e);for(i=0;i=0)&&oc.indexOf(\".tl(\")<0)s.eh(o,\"onclick\",0,s.lc);}return r');s.wds=function(){var s=this;if(s.apv>3&&(!s.isie||!s.ismac||s.a" +"pv>=5)){if(s.b&&s.b.attachEvent)s.b.attachEvent('onclick',s.bc);else if(s.b&&s.b.addEventListener){if(s.n&&s.n.userAgent.indexOf('WebKit')>=0&&s.d.createEvent){s.bbc=1;s.useForcedLinkTracking=1;s.b" +".addEventListener('click',s.bc,true)}s.b.addEventListener('click',s.bc,false)}else s.eh(s.wd,'onload',0,s.wdl)}};s.vs=function(x){var s=this,v=s.visitorSampling,g=s.visitorSamplingGroup,k='s_vsn_'+" +"s.un+(g?'_'+g:''),n=s.c_r(k),e=new Date,y=e.getYear();e.setYear(y+10+(y<1900?1900:0));if(v){v*=100;if(!n){if(!s.c_w(k,x,e))return 0;n=x}if(n%10000>v)return 0}return 1};s.dyasmf=function(t,m){if(t&&" +"m&&m.indexOf(t)>=0)return 1;return 0};s.dyasf=function(t,m){var s=this,i=t?t.indexOf('='):-1,n,x;if(i>=0&&m){var n=t.substring(0,i),x=t.substring(i+1);if(s.pt(x,',','dyasmf',m))return n}return 0};s" +".uns=function(){var s=this,x=s.dynamicAccountSelection,l=s.dynamicAccountList,m=s.dynamicAccountMatch,n,i;s.un=s.un.toLowerCase();if(x&&l){if(!m)m=s.wd.location.host;if(!m.toLowerCase)m=''+m;l=l.to" +"LowerCase();m=m.toLowerCase();n=s.pt(l,';','dyasf',m);if(n)s.un=n}i=s.un.indexOf(',');s.fun=i<0?s.un:s.un.substring(0,i)};s.sa=function(un){var s=this;if(s.un&&s.mpc('sa',arguments))return;s.un=un;" +"if(!s.oun)s.oun=un;else if((','+s.oun+',').indexOf(','+un+',')<0)s.oun+=','+un;s.uns()};s.m_i=function(n,a){var s=this,m,f=n.substring(0,1),r,l,i;if(!s.m_l)s.m_l=new Object;if(!s.m_nl)s.m_nl=new Ar" +"ray;m=s.m_l[n];if(!a&&m&&m._e&&!m._i)s.m_a(n);if(!m){m=new Object,m._c='s_m';m._in=s.wd.s_c_in;m._il=s._il;m._il[m._in]=m;s.wd.s_c_in++;m.s=s;m._n=n;m._l=new Array('_c','_in','_il','_i','_e','_d','" +"_dl','s','n','_r','_g','_g1','_t','_t1','_x','_x1','_rs','_rr','_l');s.m_l[n]=m;s.m_nl[s.m_nl.length]=n}else if(m._r&&!m._m){r=m._r;r._m=m;l=m._l;for(i=0;i=0)x(s);else s.m_m(\"x\",n,x,e)}m=s.m_i(n,1);if(m._dl)m._dl=m._d=0;s.dlt();return f');s.m_m=function(t,n,d,e){t='_'+t;var s=this,i,x,m,f='_'+t,r=0,u;if(s.m_l&&s.m_nl)for(i=0;i=0){if(d&&e)u=m[t](d,e);else if(d)u=m[t](d);else u=m[t]()}}if(u)r=1;u=m[t+1];if(u&&!m[f]){if((''+u).indexOf(" +"'function')>=0){if(d&&e)u=m[t+1](d,e);else if(d)u=m[t+1](d);else u=m[t+1]()}}m[f]=1;if(u)r=1}}return r};s.m_ll=function(){var s=this,g=s.m_dl,i,o;if(g)for(i=0;i=0){g=n.substring(i+1);n=n.substring(0,i)}else g=" +"\"m_\"+n;m=s.m_i(n)}if((l||(n&&!s.m_a(n,g)))&&u&&s.d&&c&&s.d.createElement){if(d){m._d=1;m._dl=1}if(ln){if(s.ssl)u=s.rep(u,'http:','https:');i='s_s:'+s._in+':'+n+':'+g;b='var s=s_c_il['+s._in+'],o=" +"s.d.getElementById(\"'+i+'\");if(s&&o){if(!o.l&&s.wd.'+g+'){o.l=1;if(o.i)clearTimeout(o.i);o.i=0;s.m_a(\"'+n+'\",\"'+g+'\"'+(e?',\"'+e+'\"':'')+')}';f2=b+'o.c++;if(!s.maxDelay)s.maxDelay=250;if(!o." +"l&&o.c<(s.maxDelay*2)/100)o.i=setTimeout(o.f2,100)}';f1=new Function('e',b+'}');tcf=new Function('s','c','i','u','f1','f2','var e,o=0;try{o=s.d.createElement(\"script\");if(o){o.type=\"text/javascr" +"ipt\";'+(n?'o.id=i;o.defer=true;o.onload=o.onreadystatechange=f1;o.f2=f2;o.l=0;':'')+'o.src=u;c.appendChild(o);'+(n?'o.c=0;o.i=setTimeout(f2,100)':'')+'}}catch(e){o=0}return o');o=tcf(s,c,i,u,f1,f2" +")}else{o=new Object;o.n=n+':'+g;o.u=u;o.d=d;o.l=l;o.e=e;g=s.m_dl;if(!g)g=s.m_dl=new Array;i=0;while(i=s.maxDelay){s.dll[i]=0;s.t(vo)}else f=1}}if(s.dli)clearTimeout(s.dli);s.dli=0;if(f){if(!s.dli)s.dli=setTimeout(s.dlt,s.maxDelay)}else s.dll=0')" +";s.dl=function(vo){var s=this,d=new Date;if(!vo)vo=new Object;s.vob(vo);vo._t=d.getTime();if(!s.dll)s.dll=new Array;s.dll[s.dll.length]=vo;if(!s.maxDelay)s.maxDelay=250;s.dlt()};s.gfid=function(){v" +"ar s=this,d='0123456789ABCDEF',k='s_fid',fid=s.c_r(k),h='',l='',i,j,m=8,n=4,e=new Date,y;if(!fid||fid.indexOf('-')<0){for(i=0;i<16;i++){j=Math.floor(Math.random()*m);h+=d.substring(j,j+1);j=Math.fl" +"oor(Math.random()*n);l+=d.substring(j,j+1);m=n=16}fid=h+'-'+l;}y=e.getYear();e.setYear(y+2+(y<1900?1900:0));if(!s.c_w(k,fid,e))fid=0;return fid};s.applyADMS=function(){var s=this,vb=new Object;if(s" +".wd.ADMS&&!s.visitorID&&!s.admsc){if(!s.adms)s.adms=ADMS.getDefault();if(!s.admsq){s.visitorID=s.adms.getVisitorID(new Function('v','var s=s_c_il['+s._in+'],l=s.admsq,i;if(v==-1)v=0;if(v)s.visitorI" +"D=v;s.admsq=0;if(l){s.admsc=1;for(i=0;i=5)j='1.4';if(pn.toPrecision){j='1.5';a=new Array;" +"if(a.forEach){j='1.6';i=0;o=new Object;tcf=new Function('o','var e,i=0;try{i=new Iterator(o)}catch(e){}return i');i=tcf(o);if(i&&i.next){j='1.7';if(a.reduce){j='1.8';if(j.trim){j='1.8.1';if(Date.pa" +"rse){j='1.8.2';if(Object.create)j='1.8.5'}}}}}}}}}if(s.apv>=4)x=screen.width+'x'+screen.height;if(s.isns||s.isopera){if(s.apv>=3){v=s.n.javaEnabled()?'Y':'N';if(s.apv>=4){c=screen.pixelDepth;bw=s.w" +"d.innerWidth;bh=s.wd.innerHeight}}s.pl=s.n.plugins}else if(s.isie){if(s.apv>=4){v=s.n.javaEnabled()?'Y':'N';c=screen.colorDepth;if(s.apv>=5){bw=s.d.documentElement.offsetWidth;bh=s.d.documentElemen" +"t.offsetHeight;if(!s.ismac&&s.b){tcf=new Function('s','tl','var e,hp=0;try{s.b.addBehavior(\"#default#homePage\");hp=s.b.isHomePage(tl)?\"Y\":\"N\"}catch(e){}return hp');hp=tcf(s,tl);tcf=new Functi" +"on('s','var e,ct=0;try{s.b.addBehavior(\"#default#clientCaps\");ct=s.b.connectionType}catch(e){}return ct');ct=tcf(s)}}}else r=''}if(s.pl)while(pn=0&&oc.indexOf('.s_oc(')<0)||oc.indexOf('.tl(')>=0)o=0}}if(o){if(n)ta=o.target;h=s.oh(o);i=h.indexOf('?');h=s.linkLeaveQueryString||i<0?h:h.substring(0,i);l=s.linkName;t=s.li" +"nkType?s.linkType.toLowerCase():s.lt(h);if(t&&(h||l)){s.pe='lnk_'+(t=='d'||t=='e'?t:'o');s.pev1=(h?s.ape(h):'');s.pev2=(l?s.ape(l):'')}else trk=0;if(s.trackInlineStats){if(!p){p=s.pageURL;w=0}t=s.o" +"t(o);i=o.sourceIndex;if(o.dataset&&o.dataset.sObjectId){s.wd.s_objectID=o.dataset.sObjectId;}else if(o.getAttribute&&o.getAttribute('data-s-object-id')){s.wd.s_objectID=o.getAttribute('data-s-objec" +"t-id');}else if(s.useForcedLinkTracking){s.wd.s_objectID='';oc=o.onclick?''+o.onclick:'';if(oc){var ocb=oc.indexOf('s_objectID'),oce,ocq,ocx;if(ocb>=0){ocb+=10;while(ocb=0)ocb++;if(ocb=0);s.d=document;s.b=s.d.body;if(s.d.getElementsByTagName){s.h=s.d.getElementsByTagName('HEAD');if(s.h)s.h=s.h[0]}s.n=navigator;s.u=s." +"n.userAgent;s.ns6=s.u.indexOf('Netscape6/');var apn=s.n.appName,v=s.n.appVersion,ie=v.indexOf('MSIE '),o=s.u.indexOf('Opera '),i;if(v.indexOf('Opera')>=0||o>0)apn='Opera';s.isie=(apn=='Microsoft In" +"ternet Explorer');s.isns=(apn=='Netscape');s.isopera=(apn=='Opera');s.ismac=(s.u.indexOf('Mac')>=0);if(o>0)s.apv=parseFloat(s.u.substring(o+6));else if(ie>0){s.apv=parseInt(i=v.substring(ie+5));if(" +"s.apv>3)s.apv=parseFloat(i)}else if(s.ns6>0)s.apv=parseFloat(s.u.substring(s.ns6+10));else s.apv=parseFloat(v);s.em=0;if(s.em.toPrecision)s.em=3;else if(String.fromCharCode){i=escape(String.fromCha" +"rCode(256)).toUpperCase();s.em=(i=='%C4%80'?2:(i=='%U0100'?1:0))}if(s.oun)s.sa(s.oun);s.sa(un);s.vl_l='timestamp,dynamicVariablePrefix,visitorID,fid,vmk,visitorMigrationKey,visitorMigrationServer,v" +"isitorMigrationServerSecure,ppu,charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,pageName,pageURL,referrer,contextData,currencyCode,lightProfileID,lightStoreForSeconds,lightIncrementBy,r" +"etrieveLightProfiles,deleteLightProfiles,retrieveLightData';s.va_l=s.sp(s.vl_l,',');s.vl_mr=s.vl_m='timestamp,charSet,visitorNamespace,cookieDomainPeriods,cookieLifetime,contextData,lightProfileID," +"lightStoreForSeconds,lightIncrementBy';s.vl_t=s.vl_l+',variableProvider,channel,server,pageType,transactionID,purchaseID,campaign,state,zip,events,events2,products,linkName,linkType';var n;for(n=1;" +"n<=75;n++){s.vl_t+=',prop'+n+',eVar'+n;s.vl_m+=',prop'+n+',eVar'+n}for(n=1;n<=5;n++)s.vl_t+=',hier'+n;for(n=1;n<=3;n++)s.vl_t+=',list'+n;s.va_m=s.sp(s.vl_m,',');s.vl_l2=',tnt,pe,pev1,pev2,pev3,reso" +"lution,colorDepth,javascriptVersion,javaEnabled,cookiesEnabled,browserWidth,browserHeight,connectionType,homepage,pageURLRest,plugins';s.vl_t+=s.vl_l2;s.va_t=s.sp(s.vl_t,',');s.vl_g=s.vl_t+',tracki" +"ngServer,trackingServerSecure,trackingServerBase,fpCookieDomainPeriods,disableBufferedRequests,mobile,visitorSampling,visitorSamplingGroup,dynamicAccountSelection,dynamicAccountList,dynamicAccountM" +"atch,trackDownloadLinks,trackExternalLinks,trackInlineStats,linkLeaveQueryString,linkDownloadFileTypes,linkExternalFilters,linkInternalFilters,linkTrackVars,linkTrackEvents,linkNames,lnk,eo,lightTr" +"ackVars,_1_referrer,un';s.va_g=s.sp(s.vl_g,',');s.pg=pg;s.gl(s.vl_g);s.contextData=new Object;s.retrieveLightData=new Object;if(!ss)s.wds();if(pg){s.wd.s_co=function(o){return o};s.wd.s_gs=function" +"(un){s_gi(un,1,1).t()};s.wd.s_dc=function(un){s_gi(un,1).t()}}", w=window,l=w.s_c_il,n=navigator,u=n.userAgent,v=n.appVersion,e=v.indexOf('MSIE '),m=u.indexOf('Netscape6/'),a,i,j,x,s;if(un){un=un.toLowerCase();if(l)for(j=0;j<2;j++)for(i=0;i0&&x=='s_l'))&&(s.oun==un||(s.fs&&s.sa&&s.fs(s.oun,un)))){if(s.sa)s.sa(un);if(x=='s_c')return s}else s=0}}w.s_an='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'; w.s_sp=new Function("x","d","var a=new Array,i=0,j;if(x){if(x.split)a=x.split(d);else if(!d)for(i=0;i=0){j=x.indexOf(d,i);a[a.length]=x.subst" +"ring(i,j<0?x.length:j);i=j;if(i>=0)i+=d.length}}return a"); w.s_jn=new Function("a","d","var x='',i,j=a.length;if(a&&j>0){x=a[0];if(j>1){if(a.join)x=a.join(d);else for(i=1;i0){d=x.substring(0,i);x=x.substring(i+2);l=s_sp(l,'');for(i=0;i<62;i++)l2[l[i]]=i;t=s_sp(t,'');d" +"=s_sp(d,'~');i=0;while(i<5){v=0;if(x.indexOf(t[i])>=0) {x2=s_sp(x,t[i]);for(j=1;j=0)x=s_rep(x,w,t[i]);i++;b+=62}}}return x"); w.s_fe=new Function("c","return s_rep(s_rep(s_rep(c,'\\\\','\\\\\\\\'),'\"','\\\\\"'),\"\\n\",\"\\\\n\")"); w.s_fa=new Function("f","var s=f.indexOf('(')+1,e=f.indexOf(')'),a='',c;while(s>=0&&s=0){s++;d=1;q='';x=0;f=c.substring(s);a=s_fa(f);e=o=c.indexOf('{',s);e++;while(d>0){h=c.substring(e,e+1);if(q){i" +"f(h==q&&!x)q='';if(h=='\\\\')x=x?0:1;else x=0}else{if(h=='\"'||h==\"'\")q=h;if(h=='{')d++;if(h=='}')d--}if(d>0)e++}c=c.substring(0,s)+'new Function('+(a?a+',':'')+'\"'+s_fe(c.substring(o+1,e))+'\")" +"'+c.substring(e+1);s=c.indexOf('=function(')}return c;"); c=s_d(c);if(e>0){a=parseInt(i=v.substring(e+5));if(a>3)a=parseFloat(i)}else if(m>0)a=parseFloat(u.substring(m+10));else a=parseFloat(v);if(a<5||v.indexOf('Opera')>=0||u.indexOf('Opera')>=0)c=s_ft(c);if(!s){s=new Object;if(!w.s_c_in){w.s_c_il=new Array;w.s_c_in=0}s._il=w.s_c_il;s._in=w.s_c_in;s._il[s._in]=s;w.s_c_in++;}s._c='s_c';(new Function("s","un","pg","ss",c))(s,un,pg,ss);return s} function s_giqf(){var w=window,q=w.s_giq,i,t,s;if(q)for(i=0;i'); var adtechCCvals = ""; function processauds(adtechccauds) { if (typeof(adtechccauds) != 'undefined'){ for (var cci = 0; cci < adtechccauds.Profile.Audiences.Audience.length;cci++){ if (cci > 0) adtechCCvals += ":"; adtechCCvals +=adtechccauds.Profile.Audiences.Audience[cci].abbr; } } } ;