/* Copyright 2007, 2008, 2009 OLIVER SEIDEL (email : oliver.seidel @ deliciousdays.com) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . */ // ONLY in case AJAX DOESN'T work you may want to double-check this path: // If you do change this setting: CLEAR your BROWSER CACHE & RESTART you BROWSER! var sajax_uri = 'http://www.braine-le-chateau.be/wp-content/plugins/cforms/lib_ajax.php'; // No need to change anything here: var sajax_debug_mode = false; var sajax_request_type = 'POST'; var sajax_target_id = ''; var sajax_failure_redirect = ''; /******* *custom script *********************/ //set :: inline field $(function(){ $('.reqtxt').remove(); $('ol.cf-ol li.inline').each(function(){ $(this).children('label').css({'width': 'auto', 'padding': '0 5px 0 3px'}); $(this).children('select.cformselect, input.single, select.cfselectmulti, input.cf_upload, input.cf_date').css({width: '80px', float: 'left'}); //current li var label_w = 0; $(this).children('label').evenIfHidden( function(element) { label_w = element.width(); }) var input_w = 0; $(this).children('select.cformselect, input.single, select.cfselectmulti, input.cf_upload').evenIfHidden( function(element) { input_w = element.width(); }) li_w = label_w + input_w; $(this).css({'width': li_w + 'px' }); input_w_2 = input_w - 13; $(this).children('select.cformselect, input.single, select.cfselectmulti, input.cf_upload').css({'width': input_w_2 + 'px' }); //previous li var li_prev_w = 0; $(this).prev('li').evenIfHidden( function(element) { li_prev_w = element.width(); }) var li_prev_label_w = 0; $(this).prev('li').children('label').evenIfHidden( function(element) { li_prev_label_w = element.width(); }) li_prev_w_2 = li_prev_w - li_w; li_prev_input_w_2 = li_prev_w_2 - li_prev_label_w - 2; //alert($(this).prev('li').html); $(this).prev('li').css({width: li_prev_w_2 + 'px' }); $(this).prev('li').children('label').css({width: li_prev_label_w +'px'}); $(this).prev('li').children('select.cformselect, input.single, select.cfselectmulti, input.cf_upload').css({width: li_prev_input_w_2 +'px'}); }) //action :: double asterix type of field $('ol.cf-ol li label.optionalField').each(function(){ var field = $(this).parent('li').children('select.cformselect, input.single, select.cfselectmulti, input.cf_upload'); $(field).addClass('fldrequired'); $(field).bind('change', function(){ var has_valid = false; $('ol.cf-ol li label.optionalField').each(function(){ var field2 = $(this).parent('li').children('select.cformselect, input.single, select.cfselectmulti, input.cf_upload'); if($(field2).val() != '') has_valid = true; }) var the_optional_field = $('ol.cf-ol li label.optionalField').parent('li').children('select.cformselect, input.single, select.cfselectmulti, input.cf_upload'); if(has_valid) { $(the_optional_field).removeClass('fldrequired'); } else{ $(the_optional_field).addClass('fldrequired'); } }) }) }) //--------------- eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[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}('D 1w(5b){f(5i)2p(5b)}D 3B(){1w("3B() 87..");l A;l 3I=1f 1z(\'3O.2X.6.0\',\'3O.2X.3.0\',\'3O.2X\',\'5l.2X\');Q(l i=0;i<3I.E;i++){2Z{A=1f 7k(3I[i])}2W(e){A=2g}}f(!A&&3d 56!="4D")A=1f 56();f(!A)1w("59 4a 8b 5q 3e.");B A}l 2w=1f 1z();D 5r(){Q(l i=0;i<2w.E;i++)2w[i].77()}D 33(2f,1e){l i,x,n;l 1i;l 1v;l 34;1w("5t 33().."+1u+"/"+36);34=36;f(3d(1u)=="4D"||1u=="")1u="40";1i=5u;f(1u=="40"){f(1i.2C("?")==-1)1i+="?3u="+1S(2f);v 1i+="&3u="+1S(2f);1i+="&41="+1S(36);1i+="&4o="+1f 42().4M();Q(i=0;i<1e.E-1;i++)1i+="&4m[]="+1S(1e[i]);1v=2g}v f(1u=="3k"){1v="3u="+1S(2f);1v+="&41="+1S(36);1v+="&4o="+1f 42().4M();Q(i=0;i<1e.E-1;i++)1v=1v+"&4m[]="+1S(1e[i])}v{2p("5x 5y 2e: "+1u)}x=3B();f(x==2g){f(4q!=""){37.2a=4q;B J}v{1w("5B 6j 3e Q 48 5C:\\n"+67.5E);B J}}v{x.5F(1u,1i,1a);2w[2w.E]=x;f(1u=="3k"){x.46("5G","3k "+1i+" 5H/1.1");x.46("5J-5K","5L/x-8a-1t-89")}x.88=D(){f(x.5N!=4)B;1w("86 "+x.5e);l 35;l 1b;l 2G=x.5e.N(/^\\s*|\\s*$/g,"");l 1N=(2G.49(0)>5Q)?1:0;35=2G.1H(0+1N);1b=2G.1o(2+1N);f(35==""){}v f(35=="-"){2p("5S: "+1b)}v{f(34!=""){h.u(34).1W=3R(1b)}v{2Z{l 2z;l 31=J;f(3d 1e[1e.E-1]=="3e"){2z=1e[1e.E-1].2z;31=1e[1e.E-1].31}v{2z=1e[1e.E-1]}2z(3R(1b),31)}2W(e){1w("7U 7T "+e+": 59 4a 3R "+1b)}}}}}1w(2f+" 1i = "+1i+"*/5Z = "+1v);x.62(1v);1w(2f+" 1O..");65 x;B 1a}D 3U(){33("39",3U.5h)}D 3N(){33("4c",3N.5h)}D 4c(o){3N(o,4d)}D 4d(53){o=53.2h(\'|\');h.u(\'68\'+o[1]).7A=o[2]+\'&6a=\'+4f.6b(4f.7w()*6d)}D 3h(o,U,M,4g){h.u(\'1A\'+o).1U.2K="3Z";h.u(\'1A\'+o).2S=J;f(M!=\'\')M=\'<57>\'+M+\'\';U=3n(4X(U.F))+M;W=U.N(/(\\r\\n)/g,\'<4l />\');1g=\'1G\'+o;2d=(4b(o)>1)?\' 30\'+o:\'\';f(h.u(1g+\'a\'))h.u(1g+\'a\').G="28 30"+2d;f(h.u(1g+\'b\'))h.u(1g+\'b\').G="28 30"+2d;2D(1g,W.N(/\\\\/g,""),\'\');U=U.N(/\\\\/g,"");f(h.u(\'6e\'+o).F.1H(4g)==\'y\'){U=U.N(//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v B M+\'\'+1E+\'\'}v B M}D 4O(K,3D){1p=h.u(K.1D(0,K.E-5));f(3A==\'y\'){1p.G="1k-1j-3g 3C"}f(1Z[3D]&&(1E=1Z[3D])!=\'\'){f(2P==\'y\'){1V[2v]=1p.K;1B=h.2u(\'4P\');V=h.2u(\'4Q\');U=h.4R(\'\');V.1W=3J(1E);26=h.4S(\'3a\');26.4T=\'4V\';1B.3c(V);1B.4W(26);2Y[2v++]=1B}f(1p.K!=\'\')B M+\'\'+1E+\' &3H;\';v B M+\'\'+1E+\'\'}v B M}D 4Z(){Q(n=0;n<1V.E;n++){f(h.u(1V[n]))h.u(1V[n]).7n(2Y[n],h.u(1V[n]).7p)}}}D 3J(L){L=L.N(/\\\\\'/g,\'\\\'\');L=L.N(/\\\\"/g,\'"\');L=L.N(/\\\\\\\\/g,\'\\\\\');L=L.N(/\\\\0/g,\'\\0\');B L}D 2D(2q,W,7r){2Z{f(h.u(2q+\'a\'))h.u(2q+\'a\').1W=W;f(h.u(2q+\'b\'))h.u(2q+\'b\').1W=W;B 1a}2W(52){B J}}D 39(o){l 1s=1f 2E(\'[$][#][$]\',[\'g\']);l 1y=\'$#$\';f(o==\'\')H=\'1\';v H=o;k=h.u(\'1I\'+o+\'1t\').2U(\'*\');Q(l i=0,j=k.E;i1)H=H+1y+18.1o(0,18.E-1);v H=H+1y+"-"}v H=H+1y+(k[i].1X?((k[i].F!="")?k[i].F:"X"):"-")}v f(19=="2A"){18=k[i].1X?((k[i].F!="")?k[i].F:"X"):\'\';24(i=0;i--){l 2M=h.u(2i).1Y[i];f(2M.5z!=\'3\'&&2M.4h.1l()==\'V\'){f(2M.G.C(/1P/))1P=\'1P\';i=-1}}f(1P==\'1P\')2B=2B.N(\'3a="1P"\',\'\');h.u(2i).1W=h.u(2i).1W+2B;f(5M.5g)5g.5P()}l 2y=2B.C(/5T-5U-(48|5V)-5X(s|-)[^" ]+/);f(2y!=2g&&2y[0]!=\'\'&&h.u(2y[0])){h.u(2y[0]).1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O)<<(i%32);B 29}D 3i(29){l L="";l 2O=(1<<1h)-1;Q(l i=0;i<29.E*32;i+=1h)L+=6f.6p((29[i>>5]>>>(i%32))&2O);B L}D 3o(1r){l 3y=4w?"6P":"6U";l L="";Q(l i=0;i<1r.E*4;i++){L+=3y.1H((1r[i>>2]>>((i%4)*8+4))&4L)+3y.1H((1r[i>>2]>>((i%4)*8))&4L)}B L}D 3E(1r){l 45="7g+/";l L="";Q(l i=0;i<1r.E*4;i+=3){l 47=(((1r[i>>2]>>8*(i%4))&3K)<<16)|(((1r[i+1>>2]>>8*((i+1)%4))&3K)<<8)|((1r[i+2>>2]>>8*((i+2)%4))&3K);Q(l j=0;j<4;j++){f(i*8+j*6>1r.E*32)L+=5f;v L+=45.1H((47>>6*(3-j))&6u)}}B L}D 4F(o){l 3S="76"+o+"=";l 3f=h.7D.2h(\';\');Q(l i=0;i<3f.E;i++){l c=3f[i];24(c.1H(0)==\' \')c=c.1o(1,c.E);f(c.2C(3S)==0)B 3n(c.1o(3S.E,c.E))}B\'\'}',62,508,'|||||||||||||||if||document|||objColl|var|||no||||||getElementById|else||||||return|match|function|length|value|className|params|newclass|false|id|str|custom_error|replace|temp|last_one|for|md5_hh|md5_ff|md5_gg|err|li|stringXHTML||md5_ii|message|||||||||group|typ|true|data|all_valid|parentNode|args|new|msgbox|chrsz|uri|box|cf|toLowerCase|name|el|substring|parent_el|strValue|binarray|regexp|form|sajax_request_type|post_data|sajax_debug|key|prefix|Array|sendbutton|ul|safe_add|substr|gotone|check_for_customerr|usermessage|charAt|cforms|fld|thefield|result|cf_error|offset|waiting|alt|core_md5|nodeName|encodeURIComponent|hidden|style|insert_err_p|innerHTML|checked|childNodes|all_custom_error|||||while|cf_errortxt|cl|obj_regexp|cf_info|bin|href|str2binl|bkey|ucm|type|func_name|null|split|commentParent|newSENDBUTTON|end|md5_cmn|cforms_q|temp_i|error_container|alert|elementId|cforms_captcha|len|strCssRule|createElement|insert_err_count|sajax_requests|all_child_obj|dEl|callback|radio|newcommentText|indexOf|doInnerXHTML|RegExp|core_hmac_md5|txt|hide|cf_customerr|code_err|cursor|hex_md5|elLi|oElm|mask|show_err_ins|label|INPval|disabled|secinput|getElementsByTagName|newcomment|catch|XMLHTTP|insert_err|try|failure|extra_data||sajax_do_call|target_id|status|sajax_target_id|location|input|cforms_submitcomment|class|num|appendChild|typeof|object|ca|title|call_err|binl2str|cnt|POST|fldrequired|ig|unescape|binl2hex|cformselect|0xFFFF|required|radio_valid|single|rs|cookie_part|col|upload|hex_tab|keyvalue|show_err_li|sajax_init_object|cf_li_err|cerr|binl2b64|lsw|defaultView|raquo|msxmlhttp|stripslashes|0xFF|ipad|isA|x_reset_captcha|Msxml2|select|opad|eval|nameEQ|_|x_cforms_submitcomment|isParentChkBoxGroup|display|cforms_setsuccessmessage|msw|auto|GET|rst|Date|allLi|bit_rol|tab|setRequestHeader|triplet|user|charCodeAt|not|parseInt|reset_captcha|reset_captcha_done|cf_working|Math|popFlag|tagName|p1|none|currentStyle|br|rsargs|strong|rsrnd|rest|sajax_failure_redirect|area|cfselectmulti|olda|errortxt|oldb|hexcase|search|email|oldc|regexp_e|oldd|_regexp|undefined|cf_date|readcookie|read_cookie|jump_to_err|colStyle|progress|getStyle|0xF|getTime|sameParentBG|check_for_customerr_radio|UL|LI|createTextNode|createAttribute|nodeValue|pop|cf_li_text_err|setAttributeNode|decodeURI|defaultValue|write_customerr|success|getComputedStyle|ee|newimage|textarea|checkbox|XMLHttpRequest|ol|concat|Could|hash|text|submit|512|responseText|b64pad|AjaxEditComments|arguments|sajax_debug_mode|358537222|mailerr|Microsoft|722521979|cfnoreset|reset|76029189|connection|sajax_cancel|640364487|in|sajax_uri|421815835|530742520|Illegal|request|nodeType|995338651|NULL|agent|198630844|userAgent|open|Method|HTTP|1126891415|Content|Type|application|window|readyState|1416354905|init|255|57434055|Error|edit|comment|admin|1700485571|link|1894986606|post|block|1051523|send|2054922799||delete|1873313359|navigator|cf_captcha_img|30611744|rnd|round|1560198380|999999|cf_popup|String|clearField|setField|1309151649|sajax|cforms_validate|ll|145523070|getPropertyValue|strMatch|fromCharCode|toUpperCase|px|em|1120210379|0x3F|background|color|html|decodeURIComponent|718787259|regexp_field_id|field_|removeChild|cf_upload|343485551|nextSibling|previousSibling|b64_md5|str_md5|hex_hmac_md5|b64_hmac_md5|fldemail|str_hmac_md5|md5_vm_test|abc|0123456789ABCDEF|900150983cd24fb0d6963f7d28e17f72|0x80|cforms_a|encodeURI|0123456789abcdef|1732584193|271733879|1732584194|focus|271733878|680876936|389564586|cf_failure|606105819|cf_codeerr|1044525330|turing_string_|abort|176418897|1200080426|1473231341|45705983|1770035416|1958414417|42063|1990404162|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789|1804603682|40341101|1502002290|ActiveXObject|0x36363636|1236535329|insertBefore|165796510|firstChild|1069501632|stringDOM|643717713|373897302|0x5C5C5C5C|701558691|random|38016083|660478335|405537848|src|568446438|1019803690|cookie|187363961|multiple|1163531501|option|selected|1444681467|51403784|comment_parent|comment_post_ID|1735328473|cforms_pl|cfhidden|1926607734|378558|2022574463|error|Caught|1839030562|128|action|35309556|lib_WPcomment|php|1530992060|1272893353|155497632|1094730640|681279174|received|called|onreadystatechange|urlencoded|www|create'.split('|'),0,{}))