tickets.tefaf.com Open in urlscan Pro
87.233.226.146  Public Scan

Submitted URL: http://tickets.tefaf.com/tefaf/
Effective URL: https://tickets.tefaf.com/tefaf/
Submission: On May 20 via manual from NL — Scanned from NL

Form analysis 1 forms found in the DOM

POST /tefaf/

<form method="post" action="/tefaf/" onsubmit="javascript:return WebForm_OnSubmit();" id="Form" enctype="multipart/form-data">
  <div class="aspNetHidden">
    <input type="hidden" name="dnn_ctr665_RegisterTEF_picPhoto_popupPictureTrimmer1_dhf" id="dnn_ctr665_RegisterTEF_picPhoto_popupPictureTrimmer1_dhf" value="dnn_ctr665_RegisterTEF_picPhoto_popupPictureTrimmer1">
    <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="">
    <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="">
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
      value="QF5HyKLLb6vCkqiPoNeJ2IIAwr75XnZtlX8RRkxjbDy+DLvYFUx3/lLnKvIhh5Vl8YAs6clpFUNFglN27lobEzfpEkMTYT5nNYTa31QO+OQgg+Tf334NtfnLUHNbUNAcu8aUK0dLBx0KDj1xyGErITSw2691h8vRb8mS26tzznThtltdqH70VIMM3XieGuko9JozX4dkW9sE036EpxEDd2xsEMjyPsUswFKQLT7klH/8WrZNIlhqKv9cyiTJs6Jkd8T9hYAOBEhbCaEkZNvscpXZf6TnP0ajKh5b/4fbmulkSeR1q8RJgZxZyVQz86BA0xTppb11b6RYX+7gexL4PgvIlzW+vFSwXFHyJkB5SYXugGbhKyFXDNN6YPqnACfy0bdn+9FgWFHY2EVjwcnloJOsd+lBfPado8mViLpg3Cx3Vuzst+yfFfIk6ke+18dB4SE2zug2UeHYEO5y2q+yPmB8+MmrzYwDpp27z/SNTi3R1BqopONGfCOPkLTZp3Bm2kJyWIbaBhQpPkWzSNeHGnQFRjQPdzccwE+FWt7DCd4MSZi7EB1qFmvnzj/NwvXuuVvrMWMw/T8XJdzTjsx89y/J+JA11CzJpb5bwjemljo3xIGpe/jfrHLI6UGg6Xwb4zRiSY6NBnA8mANKyNUxpAxL2/LK4Sv2y+DBHIg1VMlJ/8pwihsdz38HiO3QmAbD8oA+xspHb6F/8nU/fQL51TFBU4/bzEV4LB3oPxyTKmJtA1vCkW7vF7hI+Aeoy5rOnD6zCBbjG1AnV3KPhC1iUdoh9Fht6TpKm/uBrFAW3qR/oXvdZjn4GjdSRkz/FnHj7XsOawFx/W4bJeHNp9FNA2Djk0YI0tBWlIJagNHn8jHJMHmwWJxX8QeZRgaEY3tltKIdVrrmiUk2z+Opo2rA4Ld7yYd4YScQ5ooY0pvxgbzpfGTwzQjgloXReUfP1R+SQNC5D+3q4Z5Ep42xGq3Zmnp3A1aRWod2lRsud5hz3jVYo2fCsu6QfGLjwpfEP36zYA7HUs6ypLkjIw4s5iKLxYn3AqzfzOl9A8tCMv+w0AoxvmN95IHj08upF/4/EAiFnVphU8lMY2zfotBj8mLNG0BvnZ3gyKFT7bXWTfhyOfx1MBnTLLx2RhBCu+rW0Aiftcm2T5b8ugM38iPn1S1r+c8Kn/baEbbSCNgNW8pO8BSemSlJV76obgQE3OqVGhi5Q0J37krKY6ABerDDWPlurE0v6CaLNeWUrW1OCD36o+8KHx4o2yDSkGEjxHW531+fqLvUalKHdliT2oTZCfcd9XBvgXh3+kc8euceslsa32w8+QJmuWLH4uhCgQUp67ObatCNfY5zxzLaOwVmqFjIZtspRh9LPZtsl4aRCL2GF49WU3evMOU0G0jYnFHcHvDkbxlR0ZgJghqb4MU2gW+KO0HgYDdcScU/Ty1U69tvX7JjQo3KqTjzg/MpzkyaefVHja1B/+77znj4dm8rr/AwjCcL107aSCbuHlDeM49Mg95NTMlQBLck1DyoMOiFC/YmsFkdHi48fm5S6lHWNi0gyBc248l7PLisErybJZ5tLAMedpjDT+hzhAmxog3/Ap/wljtBKnBz1waF4cp5uKaJ6c7h9awNylb2RPXzpVjQtyqHAbgA1bBGn322mX5suTk5+lxpVDzlbOdg4A2DwkqjG838wD27PKfdxuHjXAg9u++31NPzzC8gUVBJcjK5y6rntjjy2sPJoF91qO6ZOIJAi/bIUFqy+mz6DOGzT6Qs0KZ/360GyiJiDRQlc33WHGDDURBgWDIzyDDDVq+/jczVqzTyVp066z5rt0aMgc6ji2xO1GJjXS70Q3hbXspd63uOYfoBADbtIqYwvZ5C9Pjru75VFf33J+t2+069tHwmKTcSGfV5KrIOPjhwSPPMBx+nj0Xx3flDQuHGe15XOvvyfB3cZOFd5Q01Tz1CmUHcS7n62K5qYZBGKr6hQ2hVWsq4JvTkCDIGlC0VJt/GsIv6M4XIlzR5Y8lNRkWXJgUCX9kNNZP9AdQMJeydQqt0V+tk7VfKJyrJMmOAJ5WLANM/ijhgR0NczhD0ldMy8SeDs0DqYIMB41lFEAgXmqs=">
    <input id="dnn_ctr665_RegisterTEF_picPhoto_popupPictureTrimmer1_core" type="hidden" name="dnn$ctr665$RegisterTEF$picPhoto$popupPictureTrimmer1_core"
      value="{&quot;settings&quot;:{&quot;mode&quot;:2,&quot;canvasColor&quot;:{&quot;value&quot;:{&quot;a&quot;:255,&quot;r&quot;:255,&quot;g&quot;:255,&quot;b&quot;:255},&quot;autoUseTransparentColor&quot;:true},&quot;imageBackColor&quot;:{&quot;value&quot;:{&quot;a&quot;:255,&quot;r&quot;:255,&quot;g&quot;:255,&quot;b&quot;:255},&quot;autoUseTransparentColor&quot;:true},&quot;imageBackColorApplyMode&quot;:1,&quot;uiUnit&quot;:1,&quot;showDetailsPanel&quot;:true,&quot;showZoomPanel&quot;:true,&quot;showResizePanel&quot;:true,&quot;showRotatePanel&quot;:true,&quot;showFlipPanel&quot;:true,&quot;showImageAdjustmentsPanel&quot;:true,&quot;showRulers&quot;:true,&quot;allowResize&quot;:true,&quot;autoZoomMode&quot;:4,&quot;enableAutoCenterView&quot;:true,&quot;flashWMode&quot;:8,&quot;enableSnapping&quot;:true,&quot;showCropAlignmentLines&quot;:true,&quot;cropShadowMode&quot;:1,&quot;autoFreezeOnFormSubmit&quot;:true,&quot;onClientControlLoadFunction&quot;:&quot;&quot;,&quot;onClientUserStateChangedFunction&quot;:&quot;&quot;,&quot;lightBoxCssClass&quot;:&quot;&quot;,&quot;autoPostBackOnPopupCloseMode&quot;:0,&quot;onClientBeforePopupOpenFunction&quot;:&quot;CodeCarvings.Wcs.Piczard.Upload.SimpleImageUpload.onImageEditBeforePopupOpen&quot;,&quot;onClientAfterPopupOpenFunction&quot;:&quot;&quot;,&quot;onClientBeforePopupCloseFunction&quot;:&quot;&quot;,&quot;onClientAfterPopupCloseFunction&quot;:&quot;CodeCarvings.Wcs.Piczard.Upload.SimpleImageUpload.onImageEditAfterPopupClose&quot;},&quot;loadImageParams&quot;:null,&quot;lips&quot;:null,&quot;userState&quot;:null}"><input
      id="dnn_ctr665_RegisterTEF_picPhoto_popupPictureTrimmer1_userState" type="hidden" name="dnn$ctr665$RegisterTEF$picPhoto$popupPictureTrimmer1_userState" value="">
  </div>
  <script type="text/javascript">
    //<![CDATA[
    var theForm = document.forms['Form'];
    if (!theForm) {
      theForm = document.Form;
    }

    function __doPostBack(eventTarget, eventArgument) {
      if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
      }
    }
    //]]>
  </script>
  <script src="/WebResource.axd?d=pynGkmcFUV3I4WCP3lGwbKG3DCbbrHAh1DKE_F4odmhSVd_JyA5GEeZP9TA1&amp;t=637823401705833095" type="text/javascript"></script>
  <script src="/DesktopModules/EP.RegisterTEF/piczardUserControls/simpleImageUploadUserControl/simpleImageUpload.js?v=5" type="text/javascript"></script>
  <script src="../piczardWebResource.axd?_k=_ip_s_wcs&amp;_ai=eabca34165b2404f94affb85eed43e65" type="text/javascript"></script>
  <script type="text/javascript">
    //<![CDATA[
    if (typeof(window.__ccpz_wcs_lt) === "undefined") {
      if ((typeof(window.__ccpz_wcs_lt_ea) === "undefined") || (!window.__ccpz_wcs_lt_ea)) {
        window.__ccpz_wcs_lt_ea = true;
        alert("Piczard client-side library failed to load.");
      }
    }
    //]]>
  </script>
  <script src="/ScriptResource.axd?d=NJmAwtEo3IrCgSDTLUchJWhlj45ueMMuBOtEnb76BtSZ2qObPYFPX3D1Jhuylm9exH0Ye3-HaEP7Slapx2IErTBVvURgG5itJnIKyM9bXMdflyeERPhUUf-FnvpAAsv4-NjqFA2&amp;t=ffffffffaa493ab8" type="text/javascript"></script>
  <script src="/ScriptResource.axd?d=dwY9oWetJoLNl2w-IqQR4HokQSaO56zL78WH2zB-rRr0bqU9VBpgRJ1TOT9cAuzPx2NaffmRPr2OzKu1GkB0Y_83x84uwQ7xTE4mVBCWZY7l9MLmX9YleGYWi2rEyFcuhr0ODBss_0LJDLRN0&amp;t=ffffffffaa493ab8" type="text/javascript"></script>
  <script type="text/javascript">
    //<![CDATA[
    function WebForm_OnSubmit() {
      if (typeof(window.__ccpz_wcs_lt) !== 'undefined') {
        CodeCarvings.Wcs.Piczard.PictureTrimmer.on_form_submit("dnn_ctr665_RegisterTEF_picPhoto_popupPictureTrimmer1");
      };
      return true;
    }
    //]]>
  </script>
  <div class="aspNetHidden">
    <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="CA0B0334">
    <input type="hidden" name="__VIEWSTATEENCRYPTED" id="__VIEWSTATEENCRYPTED" value="">
    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION"
      value="RaGNt/+JhDlv1zvJl0f86HajNovrBocAqj4YDj3sjYnTcRL5rInuTE2LvAUI8IqrNhjSXT4xovsRaM86UZ5f8YLgbG08Yg6/YV6fV/QOhqDUm5nRT6TMi6NasYKYdj1QsD9lC0rfPfDcE1MuRt9Mq+qkwoAjuMuzGAxA9qrsaD818ThpMsM5tpYbtjts04fHVR8pRnvm+kVQcQ7wCCoCDPFFpVfzOnqF9nztmZIcEQwr3Db1lEqbVIzy5voAlGzFuF/8kQ==">
  </div>
  <script src="/js/dnn.modalpopup.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/jquery.cycle.min.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/DNNStandard/StandardMenu.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/scripts/jquery.easing.1.3.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/scripts/jquery.accordion.js?cdv=360" type="text/javascript"></script>
  <script src="/Resources/Shared/Scripts/jquery/jquery.hoverIntent.min.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/scripts/jquery.cookie.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/scripts/bootstrap.min.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/scripts/jquery.carouFredSel-6.2.0-packed.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/scripts/jquery.mousewheel.min.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/scripts/jquery.touchSwipe.min.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/scripts/jquery.transit.min.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/scripts/jquery.flexslider-min.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/scripts/jquery.isotope.min.js?cdv=360" type="text/javascript"></script>
  <script src="/Portals/_default/skins/eventpartners_skin/scripts/jquery.scrolltop.js?cdv=360" type="text/javascript"></script>
  <script src="/js/dnncore.js?cdv=360" type="text/javascript"></script>
  <script type="text/javascript">
    //<![CDATA[
    Sys.WebForms.PageRequestManager._initialize('ScriptManager', 'Form', [], [], [], 90, '');
    //]]>
  </script>
  <script type="text/javascript" src="/Portals/_default/skins/eventpartners_skin/ptdnnscript.js"></script>
  <link href="/Portals/_default/skins/eventpartners_skin/homepage.css" rel="stylesheet" type="text/css">
  <link href="/Portals/_default/skins/eventpartners_skin/css/bootstrap.css" rel="stylesheet" type="text/css">
  <link href="/Portals/_default/skins/eventpartners_skin/css/bootstrap-theme.css" rel="stylesheet" type="text/css">
  <div class="jmainwidth">
    <div id="jlogomenu" style="min-height: 1px;">
      <div id="jlogo"><a id="dnn_dnnLOGO_hypLogo" title="TEFAF Maastricht" aria-label="TEFAF Maastricht" href="https://tickets.tefaf.com/tefaf/"></a></div>
      <div id="dnn_BannerPane" class="DNNEmptyPane"></div>
    </div>
  </div>
  <div id="jbanner">
    <div id="dnn_FullBannerPane" class="bannerpane DNNEmptyPane"></div>
  </div>
  <div class="jmainwidth">
    <div id="jmenuarea">
      <div id="jmega">
        <div id="dnnMenu">
          <ul class="topLevel clearafter"></ul>
        </div>
      </div>
    </div>
    <div id="jmainbox">
      <div class="row">
        <div id="dnn_TopPane" class="DNNEmptyPane"></div>
      </div>
      <div class="row">
        <div id="dnn_TCLeftPane" class="col-sm-8 col-xs-12 DNNEmptyPane"></div>
        <div id="dnn_TCRightPane" class="col-sm-4 col-xs-12 DNNEmptyPane"></div>
      </div>
      <div class="row">
        <div id="dnn_BCLeftPane" class="col-sm-4 col-xs-12 DNNEmptyPane"></div>
        <div id="dnn_BCRightPane" class="col-sm-8 col-xs-12 DNNEmptyPane"></div>
      </div>
      <div class="row">
        <div id="dnn_ContentPane">
          <div class="DnnModule DnnModule-EPRegisterTEF DnnModule-665"><a name="665"></a>
            <div id="dnn_ctr665_ContentPane"><!-- Start_Module_665 -->
              <div id="dnn_ctr665_ModuleContent" class="DNNModuleContent ModEPRegisterTEFC">
                <script type="text/javascript" src="/DesktopModules/EP.RegisterTEF/js/jquery.plugin.min.js?v1"></script>
                <script type="text/javascript" src="/DesktopModules/EP.RegisterTEF/js/jquery.timeentry.min.js?v3"></script>
                <link rel="stylesheet" href="/DesktopModules/EP.RegisterTEF/ui.css?v3" media="screen">
                <link rel="stylesheet" href="/DesktopModules/EP.RegisterTEF/css/jquery.fileupload.css">
                <style type="text/css">
                  #module .prod-header {}

                  #module .prod-header td {
                    font-weight: bold;
                    padding-bottom: 8px;
                    padding-top: 10px;
                    position: relative;
                    left: -45px;
                  }

                  #module .prod-header.first td {
                    padding-top: 0px;
                  }

                  .load-graphic {
                    display: none;
                  }

                  #module .btn.photobooth {
                    width: 100%;
                    text-align: center;
                  }

                  #module .btn.photobooth.loading {
                    background: url('/DesktopModules/EP.RegisterTEF/ui-img/modal_loading.gif') center 10px no-repeat;
                    color: #000;
                    padding-top: 30px;
                  }

                  #module .form-control.input-lg,
                  #module .label-lg {
                    font-size: 18px;
                  }

                  #module .label-lg {
                    top: 5px;
                  }

                  #module .form-group.is-large .form-control-feedback {
                    top: 5px;
                    right: 12px;
                  }

                  #module .form-group.is-large .form-control-feedback.validator {
                    top: 2px;
                    right: 9px;
                  }
                </style>
                <!--[if IE 9]><div id="ie9" class="ie"><![endif]-->
                <!--[if IE 8]><div id="ie8" class="ie"><![endif]-->
                <!--[if LTE IE 7]><div id="ie7" class="ie"><![endif]-->
                <input type="hidden" name="dnn$ctr665$RegisterTEF$hidEventID" id="dnn_ctr665_RegisterTEF_hidEventID">
                <input type="hidden" name="dnn$ctr665$RegisterTEF$hidHashkey" id="dnn_ctr665_RegisterTEF_hidHashkey">
                <input type="hidden" name="dnn$ctr665$RegisterTEF$hidInviteCode" id="dnn_ctr665_RegisterTEF_hidInviteCode">
                <input type="hidden" name="dnn$ctr665$RegisterTEF$hidDisabledValidators" id="dnn_ctr665_RegisterTEF_hidDisabledValidators">
                <input type="hidden" name="dnn$ctr665$RegisterTEF$hidAgentExtraText" id="dnn_ctr665_RegisterTEF_hidAgentExtraText">
                <div id="module" class="normalCheckBox normalRadioButton">
                  <div id="dnn_ctr665_RegisterTEF_pnlHeader" class="header-panel">
                  </div>
                  <div id="dnn_ctr665_RegisterTEF_pnlMessage" class="msg-panel">
                    <div class="col-sm-offset-2 col-sm-8 controls" style="padding-left:5px;"> Unfortunately, this is not a correct event URL. </div>
                  </div>
                </div>
                <!--[if LTE IE 7]></div><![endif]-->
                <!--[if IE 8]></div><![endif]-->
                <!--[if IE 9]></div><![endif]-->
                <script type="text/javascript">
                  //Constants
                  var TAB = 9; //Keycode
                  var SHIFT = 16; //Keycode
                  var BACKSPACE = 8;
                  var PLACEHOLDER = 'Wordt automatisch ingevuld';
                  var NOTFOUND = 'Adres kon niet gevonden worden';
                  var DBO_DEFAULT = '< kies een straat >';
                  var TYPE_DELAY = 1000; //ms
                  var MAX_LEN = 500; //Characters
                  var HOLLAND = '158'; //Country ID
                  //Global vars
                  var typecount = 0,
                    typecount2 = 0;
                  //Store whether server think lookup should be enabled
                  var dolookup = ('' == '1');
                  //Store AJAX URL generated by server
                  var AJAX_URL = '';
                  //Store upload URL generated by server
                  var UPLOAD_URL = '';
                  //Store AJAX URL generated by server
                  var LOOKUP_URL = '';
                  //Store tokens generated by server
                  var token = '';
                  //Store event name
                  var event_name = '';
                  //Store postback status
                  var is_postback = '0';
                  //Store value for delayed title change here
                  var newtitle = '';
                  //Wrapper functions to simplify posting JSON-based AJAX-requests
                  $.postJSON = function(url, data, callback) {
                    if (url && data && callback) $.post(url, data, callback, 'json');
                  }
                  $.postJSONSync = function(url, data, callback) {
                    if (url && data && callback) {
                      $.ajax({
                        url: url,
                        type: 'POST',
                        dataType: 'json',
                        data: data,
                        async: false,
                        success: callback
                      });
                    }
                  }

                  function timestamp() {
                    return (new Date()).getTime();
                  }

                  function getParameterByName(name) {
                    var match = RegExp('[\/]' + name + '\/([^\/\?]*)').exec(window.location);
                    if (!match) match = RegExp('[\&]' + name + '\=([^\&]*)').exec(window.location);
                    return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
                  }
                  //We want to build in a slight delay before making an AJAX call; at least until the user stops typing
                  function delayLookup(curcount) {
                    /**
                     * Wait until delayed counter has caught up to the live one, indicating
                     * that the user has stopped typing for the duration of TYPEDELAY
                     */
                    if (curcount == typecount) {
                      typecount = 0;
                      lookup();
                    }
                  }
                  //The main lookup function
                  function lookup() {
                    //Check all prerequisites
                    if (dolookup && //Is lookup feature enabled?
                      !$('.city,.street').parent('TD').hasClass('loading') && //Are we not already loading?
                      $('.country').val() == HOLLAND && //Are they in Holland?
                      $('.zipcode').val().match(/^[1-9][0-9]{3}[\s\-]*[a-zA-z]{2}$/) && //Did they enter a correct Dutch zipcode?
                      $('.streetno').val() != '') //&& //Did they enter a street number?
                    //$('input[id$="hidIncorrect"]').val() == '') //Make sure they aren't correcting a previous suggestion
                    {
                      //Show that we're loading data
                      $('.city,.street').parent('TD').addClass('loading');
                      //Query for data with this input
                      $.postJSON(LOOKUP_URL, {
                        z: $('.zipcode').val().replace(/[[\W\_]/, ''),
                        nr: ($('.streetno').val() != '') ? $('.streetno').val() : 0,
                        t: token
                      }, function(json) {
                        //Stop loading
                        $('.city,.street').parent('TD').removeClass('loading');
                        if (json.data) {
                          //Store passed token for next request
                          if (json.data.token) token = json.data.token;
                          //Check if matches were found
                          if (json.data.matches && json.data.matches.length > 0) {
                            //Was there a single match?
                            if (json.data.matches.length == 1) {
                              //Populate form with data found
                              if ($('.street').val() == '') $('.street').val(json.data.matches[0].street);
                              if ($('.city').val() == '') $('.city').val(json.data.matches[0].city);
                              //Clear cache
                              //$('input[id$="hidStreetCache"]').val('');
                              //Remove flag
                              //$('input[id$="hidStreetSelect"]').val('');
                              //Clear and hide street dropdown
                              //clearOptions($('.streetdrop').hide().get(0));
                              //Make sure street field is showing
                              //$('.street').show();
                            } else {
                              //Populate form with data found
                              if ($('.street').val() == '') $('.street').val(json.data.matches[0].street);
                              if ($('.city').val() == '') $('.city').val(json.data.matches[0].city);
                              ////Loop through matches and populate street dropdown
                              //var dbo = $('.streetdrop').get(0);
                              //clearOptions(dbo);
                              //dbo.options[0] = new Option(DBO_DEFAULT, '');
                              //$.each(json.data.matches, function () {
                              //  dbo.options[dbo.options.length] = new Option(this.street);
                              //});
                              ////Cache the data we've obtained 
                              //$('input[id$="hidStreetCache"]').val($.map(json.data.matches, function (o) { return o.street; }).join(';'));
                              ////Show the dropdown instead of the simple input
                              //$('.street').hide(); $(dbo).show();
                              ////Populate city data
                              //$('.city').val(json.data.matches[0].city);
                            }
                            ////Indicate that data was fetched in hidden field
                            //$('input[id$="hidDataFetched"]').val('1');
                            //Show escape clause
                            //$('#lookupexplain:hidden').show(400);
                            //} else {
                            //  //Cancel temporary dropdown if it is being used
                            //  if ($('input[id$="hidStreetCache"]').val() != '') {
                            //    clearOptions($('.streetdrop').get(0));
                            //    $('.streetdrop').hide();
                            //  }
                            //  //Show that address wasn't found
                            //  //$('.street').val('(' + NOTFOUND + ')').show();
                            //  //$('.city').val('(' + NOTFOUND + ')').show();
                            //  //Clear cached values
                            //  $('input[id$="hidDataFetched"]').val('');
                            //  $('input[id$="hidStreetCache"]').val('');
                            //  //Show escape clause
                            //  //$('#lookupexplain:hidden').show(400);
                          }
                        }
                      });
                    }
                  }
                  /** 
                   * Client validation functions
                   ***********************************************************************************************************************************/
                  function checkEmailClient(sender, args) {
                    $this = $('input[id$="txtEmailCheck"]');
                    $email = $('input[id$="txtEmail"]');
                    args.IsValid = ($this.val().toLowerCase().replace(' ', '') == $email.val().toLowerCase().replace(' ', ''));
                  }

                  function checkTextBoxClient(sender, args) {
                    var val_id = $(sender).attr('id').split('_').pop();
                    if (val_id.indexOf('val') < 0) val_id = $(sender).attr('id').split('_').slice(-2, -1)[0] + '_' + $(sender).attr('id').split('_').pop();
                    $txt = $('input[id$="' + val_id.replace('val', 'txt') + '"]');
                    if ($txt.length == 0) $txt = $('textarea[id$="' + val_id.replace('val', 'txt') + '"]');
                    args.IsValid = ($txt.attr('disabled') || $txt.val() != '');
                  }

                  function checkDropdownClient(sender, args) {
                    var val_id = $(sender).attr('id').split('_').pop();
                    if (val_id.indexOf('val') < 0) val_id = $(sender).attr('id').split('_').slice(-2, -1)[0] + '_' + $(sender).attr('id').split('_').pop();
                    $dbo = $('select[id$="' + val_id.replace('val', 'dbo') + '"]');
                    if ($dbo.val() != '%free%') {
                      args.IsValid = ($dbo.attr('disabled') || $dbo.val() != '');
                    } else {
                      $txt = $('.free', $dbo.parents('.controls'));
                      args.IsValid = $txt.val() != '';
                    }
                  }

                  function checkRBLClient(sender, args) {
                    var val_id = $(sender).attr('id').split('_').pop();
                    if (val_id.indexOf('val') < 0) val_id = $(sender).attr('id').split('_').slice(-2, -1)[0] + '_' + $(sender).attr('id').split('_').pop();
                    $rbl = $('table[id$="' + val_id.replace('val', 'rbl') + '"]');
                    if ($rbl.find('input[type="radio"]:checked').val() != '%free%') {
                      args.IsValid = ($rbl.hasClass('disabled') || $rbl.find('input[type="radio"]:checked').length > 0);
                    } else {
                      $txt = $('.other', $rbl.parents('.controls'));
                      args.IsValid = $txt.val() != '';
                    }
                  }

                  function checkCBLClient(sender, args) {
                    var val_id = $(sender).attr('id').split('_').pop();
                    if (val_id.indexOf('val') < 0) val_id = $(sender).attr('id').split('_').slice(-2, -1)[0] + '_' + $(sender).attr('id').split('_').pop();
                    $cbl = $('table[id$="' + val_id.replace('val', 'cbl') + '"]');
                    if ($cbl.find('input[type="checkbox"]:checked').val() != '%free%') {
                      args.IsValid = ($cbl.hasClass('disabled') || $cbl.find('input[type="checkbox"]:checked').length > 0);
                    } else {
                      $txt = $('.other', $cbl.parents('.controls'));
                      args.IsValid = $txt.val() != '';
                    }
                  }

                  function checkDateClient(sender, args) {
                    var $date = $('input[id$="' + $(sender).attr('id').replace('val', 'txt') + '"]');
                    if ($date.val().match(/[0-9]{2}\/[0-9]{2}\/[0-9]{4}/)) {
                      var y = $date.val().split('/')[2];
                      var m = $date.val().split('/')[0];
                      var d = $date.val().split('/')[1];
                      $.postJSONSync(AJAX_URL, {
                        action: 'checkDate',
                        year: y,
                        month: m,
                        day: d,
                        t: timestamp()
                      }, function(json, status, xhr) {
                        if (!json.ErrorMessage || json.ErrorMessage == '') {
                          args.IsValid = (json.valid == '1');
                        } else {
                          args.IsValid = false;
                        }
                      });
                    } else {
                      args.IsValid = false;
                    }
                  }

                  function checkTimeClient(sender, args) {
                    var $time = $('input[id$="' + $(sender).attr('id').replace('val', 'txt') + '"]');
                    if ($time.val().match(/[0-9]{2}\:[0-9]{2}/)) {
                      var hh = $time.val().split(':')[0];
                      var mm = $time.val().split(':')[1];
                      if (parseInt(hh) < 24 && parseInt(mm) < 60) {
                        args.IsValid = true;
                      } else {
                        args.IsValid = false;
                      }
                    } else {
                      args.IsValid = false;
                    }
                  }

                  function checkLoginCodeClient(sender, args) {
                    //var max = 3;
                    var code = $('input[id$="txtLoginCode"]').val();
                    //if ($('table[id$="rblHasCode"] input:eq(1)').is(':checked')) {
                    if (code != '') {
                      $.postJSONSync(AJAX_URL, {
                        action: 'checkLoginCode',
                        code: code,
                        t: timestamp()
                      }, function(json, status, xhr) {
                        if (!json.ErrorMessage || json.ErrorMessage == '') {
                          //Was it valid?
                          args.IsValid = (json.correct == '1');
                          //if (json.max) max = json.max;
                        } else {
                          args.IsValid = false;
                        }
                      });
                    } else {
                      args.IsValid = true;
                    }
                    //} else {
                    //  args.IsValid = true;
                    //}
                    // recalculateTotal();
                    ////Limit number of tickets
                    //$options = $('select[id*="dboAmount"].tickets option');
                    //if ($options.length > max) {
                    //  $options.each(function () {
                    //    if ($(this).val().match(/[0-9]+/) && parseInt($(this).val()) > max) {
                    //      $(this).remove();
                    //    }
                    //  });
                    //} else if ($options.length < max) {
                    //  for (i = $options.length + 1; i <= max; i++) {
                    //    $('select[id*="dboAmount"].tickets').append('<option value=' + i.toString() + '>' + i.toString() + '</option>');
                    //  }
                    //}
                    //toggleTickets();
                    ////Show or hide the payment method selection when needed
                    //if ($('div[id$="pnlPaymentMethod"]').length > 0) {
                    //  if (code != '' && args.IsValid) {
                    //    //Hide payment method
                    //    if (!$('div[id$="pnlPaymentMethod"]').hasClass('hide')) $('div[id$="pnlPaymentMethod"]').addClass('hide');
                    //    //Hide cost overview
                    //    $('span[id$="plCost"]').addClass('super-hide');
                    //    $('span[id$="plCost"]').next('.load-graphic').addClass('super-hide');
                    //    //Hide cost labels
                    //    $('table[id$="dgProducts"] .cost-label').addClass('invisible');
                    //    //Disable validators
                    //    if (typeof (Page_Validators) != "undefined") {
                    //      $.each(Page_Validators, function () {
                    //        if ($(this).attr('id').split('_').pop().indexOf('valPaymentMethod') > -1) {
                    //          ServerValidatorEnable(this, false);
                    //        }
                    //      });
                    //    }
                    //  } else {
                    //    //Show payment method
                    //    $('div[id$="pnlPaymentMethod"]').removeClass('hide');
                    //    //Show cost overview
                    //    $('span[id$="plCost"]').removeClass('super-hide');
                    //    $('span[id$="plCost"]').next('.load-graphic').removeClass('super-hide');
                    //    //Show cost labels
                    //    $('table[id$="dgProducts"] .cost-label').removeClass('invisible');
                    //    //Enable validators
                    //    if (typeof (Page_Validators) != "undefined") {
                    //      $.each(Page_Validators, function () {
                    //        if ($(this).attr('id').split('_').pop().indexOf('valPaymentMethod') > -1) {
                    //          ServerValidatorEnable(this, true);
                    //          $(this).hide().parents('.form-group').removeClass('has-error');
                    //        }
                    //      });
                    //    }
                    //  }
                    //}
                  }

                  function checkEmailUniqueClient(sender, args) {
                    //var max = 3;
                    var code = $('input[id$="txtLoginCode"]').val();
                    var email = $('input[id$="txtEmail"]').val();
                    //var prods = $('table[id$="dgProducts"] select[value!="0"]').map(function () { return $(this).attr('class').replace(' tickets', '') + '=' + $(this).val(); }).get().join(';');
                    if (code != '' && email != '') {
                      $.postJSONSync(AJAX_URL, {
                        action: 'checkEmailUnique',
                        code: code,
                        email: email,
                        t: timestamp()
                      }, function(json, status, xhr) {
                        if (!json.ErrorMessage || json.ErrorMessage == '') {
                          //Was it valid?
                          args.IsValid = (json.correct == '1');
                        } else {
                          args.IsValid = false;
                        }
                      });
                    } else {
                      args.IsValid = true;
                    }
                  }

                  function checkProgramClient(sender, args) {
                    //Get the corresponding panel based on validator id
                    var val_id = $(sender).attr('id').split('_').pop();
                    $pnl = $('.session-panel[id$="' + val_id.replace('val', 'pnl') + '"]');
                    //Should we be checking this?
                    if (!$pnl.hasClass('hide')) {
                      //Get the corresponding cbl
                      $cbl = $('table[id$="' + val_id.replace('val', 'cbl') + '"]');
                      //Validate it
                      args.IsValid = ($cbl.hasClass('disabled') || $cbl.find('input[type="checkbox"]:checked').length > 0);
                    }
                  }

                  function checkProgramFullClient(sender, args) {
                    ////Get the corresponding cbl based on validator id
                    //var val_id = $(sender).attr('id').split('_').pop();
                    //$cbl = $('table[id$="' + val_id.replace('val', 'cbl').replace('Full','') + '"]');
                    ////Get the selected item
                    //$chk = $cbl.find('input:checked');
                    //if ($chk.length > 0) {
                    //  $chk.each(function () {
                    //    $this = $(this);
                    //    $.postJSONSync(AJAX_URL, { action: 'checkMax', prog_id: $this.val(), t: timestamp() }, function (json) {
                    //      if (!json.ErrorMessage || json.ErrorMessage == '') {
                    //        if (json.full == '1') {
                    //          //Disable checkbox
                    //          $this.prop('disabled', true).prop('checked', false);
                    //          //Add text to label
                    //          $lbl = $this.next('label');
                    //          $lbl.text($lbl.text() + ' (vol)');
                    //          //Wrap in span with special class
                    //          $('<span class="aspNetDisabled"></span>').appendTo($this.parent()).append($this).append($lbl);
                    //        }
                    //        args.IsValid = json.full == '0'
                    //      } else {
                    //        args.IsValid = false;
                    //      }
                    //    });
                    //  });
                    //} else {
                    args.IsValid = true;
                    //}
                  }

                  function checkCheckboxClient(sender, args) {
                    $chk = $('input[type="checkbox"][id$="' + $(sender).attr('id').split('_').pop().replace('val', 'chk') + '"]');
                    args.IsValid = ($chk.attr('disabled') || $chk.is(':checked'));
                  }

                  function checkPhotoClient(sender, args) {
                    args.IsValid = CodeCarvings.Wcs.Piczard.Upload.SimpleImageUpload.get_hasImage("dnn_ctr665_RegisterTEF_picPhoto") || $('input[id$="hidWebcamURI"]').val() != '';
                  }

                  function checkInviteCaptchaClient(sender, args) {
                    args.IsValid = ($('input[id$="txtInviteCaptchaDummy"]').val() == 'Verified');
                  }

                  function checkCaptchaClient(sender, args) {
                    args.IsValid = ($('input[id$="txtCaptchaDummy"]').val() == 'Verified');
                  }

                  function ServerValidatorEnable(validator, enable) {
                    //Call normal handler
                    ValidatorEnable(validator, enable);
                    //Update hidden list with disabled validators
                    var $hidDisabledValidators = $('input[id$="hidDisabledValidators"]');
                    var val_id = $(validator).attr('id').split('_').pop();
                    var disabled_validators = $hidDisabledValidators.val().split(';');
                    if (enable) {
                      //Remove it from the list
                      if (disabled_validators.length > 0 && $.inArray(val_id, disabled_validators) > -1) disabled_validators = jQuery.grep(disabled_validators, function(dv) {
                        return dv != val_id;
                      });
                    } else {
                      //Add it to the list
                      if ($.inArray(val_id, disabled_validators) < 0) disabled_validators.push(val_id);
                    }
                    //Store modified list in form field
                    $hidDisabledValidators.val(disabled_validators.join(';'));
                  }
                  /**********************************************************************************************************************************/
                  function redirect(url) {
                    if (url != '') location.href = url;
                  }
                  jQuery.fn.autogrow = function(options) {
                    this.filter("textarea").each(function() {
                      var $this = $(this),
                        minHeight = $this.height(),
                        lineHeight = $this.css("lineHeight");
                      var shadow = $("<div></div>").css({
                        position: "absolute",
                        top: -10000,
                        left: -10000,
                        width: $(this).width() - parseInt($this.css("paddingLeft")) - parseInt($this.css("paddingRight")),
                        fontSize: $this.css("fontSize"),
                        fontFamily: $this.css("fontFamily"),
                        lineHeight: $this.css("lineHeight"),
                        resize: "none"
                      }).appendTo(document.body);
                      var update = function() {
                        var times = function(string, number) {
                          for (var i = 0, r = ""; i < number; i++) {
                            r += string
                          }
                          return r
                        };
                        var val = this.value.replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/&/g, "&amp;").replace(/\n$/, "<br/>&nbsp;").replace(/\n/g, "<br/>").replace(/ {2,}/g, function(space) {
                          return times("&nbsp;", space.length - 1) + " "
                        });
                        shadow.html(val);
                        $(this).css("height", Math.max(shadow.height() + 20, minHeight))
                      };
                      $(this).change(update).keyup(update).keydown(update);
                      update.apply(this)
                    });
                    return this
                  };

                  function recalculateTotal() {
                    $cost = $('span[id$="plCost"]');
                    if ($cost.length > 0) {
                      //if ($cost.text() == '') $cost.html('');
                      var prods = $('table[id$="dgProducts"] select[value!="0"]').map(function() {
                        return $(this).attr('class').replace(' tickets', '') + '=' + $(this).val();
                      }).get().join(';');
                      //if (prods != '' && $('table[id$="rblPaymentMethod"] input[type="radio"]:checked').length > 0) {
                      $cost.next('.load-graphic').css('display', 'inline-block');
                      $.postJSON(AJAX_URL, {
                        action: 'getTotal',
                        promo_id: $('input[id$="hidPromoID"]').val(),
                        products: prods,
                        method: $('table[id$="rblPaymentMethod"] input[type="radio"]:checked').val(),
                        country: $('select[id$="dboCountry"]').val(),
                        event_id: $('input[id$="hidEventID"]').val(),
                        k: $('input[id$="hidHashkey"]').val(),
                        t: timestamp()
                      }, function(json) {
                        $cost.next('.load-graphic').css('display', 'none');
                        if (json && json.cost) {
                          $cost.html(json.cost);
                          if (!json.total > 0) {
                            $('div[id$="pnlPaymentMethod"]').addClass('hide');
                            $('table[id$="rblPaymentMethod"] input[type="radio"]').prop('checked', false);
                            if (typeof(Page_Validators) != "undefined") {
                              $.each(Page_Validators, function() {
                                if ($.inArray($(this).attr('id').split('_').pop(), ["valPaymentMethod"]) > -1) {
                                  ServerValidatorEnable(this, false);
                                  $(this).hide().parents('.form-group').removeClass('has-success');
                                  return false;
                                }
                              });
                            }
                          } else {
                            $('div[id$="pnlPaymentMethod"]').removeClass('hide');
                            if (typeof(Page_Validators) != "undefined") {
                              $.each(Page_Validators, function() {
                                if ($.inArray($(this).attr('id').split('_').pop(), ["valPaymentMethod"]) > -1) {
                                  ServerValidatorEnable(this, true);
                                  $(this).hide().parents('.form-group').removeClass('has-error').removeClass('has-success');
                                  return false;
                                }
                              });
                            }
                          }
                        }
                        if (json && json.shipping) {
                          $('#shipping-cost').html(json.shipping).removeClass('hide');
                        } else {
                          $('#shipping-cost').html('').addClass('hide');
                        }
                      });
                      //} else {
                      //  $cost.html('');
                      //}
                    }
                  }

                  function toggleTickets() {
                    var tickets = $('table[id$="dgProducts"] select.P5').val();
                    var max_tickets = $('table[id$="dgProducts"] select.P5').find('option').last().val();
                    for (t = 1; t <= max_tickets; t++) {
                      if (t <= tickets) {
                        //Show panels
                        $('.form-group.sub-' + t.toString()).removeClass('hide');
                        //Enable validators
                        if (typeof(Page_Validators) != "undefined") {
                          $.each(Page_Validators, function() {
                            var id = $(this).attr('id').split('_').slice(-2, -1)[0];
                            if (id.indexOf('valSub') > -1 && !$(this).hasClass('always-disabled') && $(this).attr('id').split('_').pop() == (t - 1).toString()) {
                              ServerValidatorEnable(this, true);
                              $(this).hide().parents('.form-group').removeClass('has-error').removeClass('has-success');
                            }
                          });
                        }
                      } else {
                        //Hide panels
                        $('.form-group.sub-' + t.toString()).addClass('hide');
                        //Disable validators
                        if (typeof(Page_Validators) != "undefined") {
                          $.each(Page_Validators, function() {
                            var id = $(this).attr('id').split('_').slice(-2, -1)[0];
                            if (id.indexOf('valSub') > -1 && !$(this).hasClass('always-disabled') && $(this).attr('id').split('_').pop() == (t - 1).toString()) {
                              ServerValidatorEnable(this, false);
                              $(this).hide().parents('.form-group').removeClass('has-error').removeClass('has-success');
                            }
                          });
                        }
                      }
                    }
                  }

                  function toggleCrew() {
                    if ($('select[id$="dboCustom5"]').length > 0) {
                      var tickets = ($('select[id$="dboCustom5"]').val().match(/[0-9]/)) ? $('select[id$="dboCustom5"]').val().replace(/[^0-9]/g, '') : 0;
                      var max_tickets = 20;
                      for (t = 1; t <= max_tickets; t++) {
                        if (t <= tickets) {
                          //Show panels
                          $('.form-group.sub-' + t.toString()).removeClass('hide');
                          //Enable validators
                          if (typeof(Page_Validators) != "undefined") {
                            $.each(Page_Validators, function() {
                              var id = $(this).attr('id').split('_').slice(-2, -1)[0];
                              if (id.indexOf('valSub') > -1 && !$(this).hasClass('always-disabled') && $(this).attr('id').split('_').pop() == (t - 1).toString()) {
                                ServerValidatorEnable(this, true);
                                $(this).hide().parents('.form-group').removeClass('has-error').removeClass('has-success');
                              }
                            });
                          }
                        } else {
                          //Hide panels
                          $('.form-group.sub-' + t.toString()).addClass('hide');
                          //Disable validators
                          if (typeof(Page_Validators) != "undefined") {
                            $.each(Page_Validators, function() {
                              var id = $(this).attr('id').split('_').slice(-2, -1)[0];
                              if (id.indexOf('valSub') > -1 && !$(this).hasClass('always-disabled') && $(this).attr('id').split('_').pop() == (t - 1).toString()) {
                                ServerValidatorEnable(this, false);
                                $(this).hide().parents('.form-group').removeClass('has-error').removeClass('has-success');
                              }
                            });
                          }
                        }
                      }
                    }
                  }

                  function toggleRequestDesc() {
                    if ($('table[id$="cblCustom8"] input[type="checkbox"]').filter(':checked').length > 0) {
                      //Enable validator
                      $('span[id$="plCustom14"]').addClass('required');
                      if (typeof(Page_Validators) != "undefined") {
                        $.each(Page_Validators, function() {
                          if ($.inArray($(this).attr('id').split('_').pop(), ["valCustom14"]) > -1) {
                            ServerValidatorEnable(this, true);
                            $(this).hide().parents('.form-group').removeClass('has-error').removeClass('has-success');
                            return false;
                          }
                        });
                      }
                    } else {
                      //Disable validator
                      $('span[id$="plCustom14"]').removeClass('required');
                      if (typeof(Page_Validators) != "undefined") {
                        $.each(Page_Validators, function() {
                          if ($.inArray($(this).attr('id').split('_').pop(), ["valCustom14"]) > -1) {
                            ServerValidatorEnable(this, false);
                            $(this).hide().parents('.form-group').removeClass('has-error').removeClass('has-success');
                            return false;
                          }
                        });
                      }
                    }
                  }

                  function toggleVouchers() {
                    if ($('table[id$="dgProducts"] select.P1.tickets').val() + $('table[id$="dgProducts"] select.P5.tickets').val() + $('table[id$="dgProducts"] select.P11.tickets').val() + ($('table[id$="dgProducts"] select.P39').length > 0 ? $(
                        'table[id$="dgProducts"] select.P39').val() : 0) > 0) {
                      $('table[id$="dgProducts"] select.P2').prop('disabled', false).removeClass('aspNetDisabled');
                    } else {
                      $('table[id$="dgProducts"] select.P2').val('0').prop('disabled', true).addClass('aspNetDisabled');
                    }
                  }

                  function saveExtraText() {
                    //Show that we're loading
                    $('#extra-text-saving').show();
                    //Send updated remarks to server
                    $.postJSON(AJAX_URL, {
                      action: 'saveExtraText',
                      hashkey: $('input[id$="hidHashkey"]').val(),
                      content: encodeURIComponent($('textarea[id$="txtAgentExtraText"]').val()),
                      t: timestamp()
                    }, function(json) {
                      //Stop loading
                      setTimeout(function() {
                        $('#extra-text-saving').hide();
                      }, 1000);
                      if (!json.ErrorMessage || json.ErrorMessage == '') {
                        //Refresh preview
                        $preview = $('iframe[id$="ifrmMailPreview"]');
                        $preview.get(0).contentWindow.location.reload(true);
                      } else {
                        //Show error
                        alert(json.ErrorMessage);
                      }
                    });
                  }
                  //We want to build in a slight delay before making an AJAX call; at least until the user stops typing
                  function delaySave(curcount) {
                    /**
                     * Wait until delayed counter has caught up to the live one, indicating
                     * that the user has stopped typing for the duration of TYPEDELAY
                     */
                    if (curcount == typecount2) {
                      typecount2 = 0;
                      saveExtraText();
                    }
                  }
                  //Store redirect URL generated by server
                  var url = '';
                  //Redirect in a few second if it is set
                  if (url != '') setTimeout('redirect("' + url + '")', 15000);
                  $(function() {
                    //Set correct page header
                    //if (event_name != '') $('#rtl-header').append(event_name);
                    //Sort form rows
                    var $form = $('#register-form')
                    var rows = $.makeArray($('.sortable', $form));
                    if (rows.length > 0) {
                      rows.sort(function(a, b) {
                        var keyA = parseInt($(a).attr('class').split(' ')[0]);
                        var keyB = parseInt($(b).attr('class').split(' ')[0]);
                        if (keyA < keyB) return -1;
                        if (keyA > keyB) return 1;
                        return 0;
                      });
                      $.each(rows, function(index, row) {
                        $form.append(row);
                      });
                    }
                    $('.ccpz_siu_container1').children('div').last().remove();
                    //Hack validation script to add css class to control group
                    if (typeof ValidatorUpdateDisplay != 'undefined') {
                      var originalValidatorUpdateDisplay = ValidatorUpdateDisplay;
                      ValidatorUpdateDisplay = function(val) {
                        var $grp = $("#" + val.controltovalidate).closest(".form-group");
                        originalValidatorUpdateDisplay(val);
                        if (!val.isvalid) {
                          $grp.removeClass("has-success");
                          if (!$grp.hasClass("has-error")) $grp.addClass("has-error");
                        } else {
                          if ($grp.find('.validator').length <= 1 || $grp.find('.validator').filter(':visible').length == 0) $grp.removeClass("has-error");
                          if (!$grp.hasClass("has-success") && !$grp.hasClass("has-error")) $grp.addClass("has-success");
                        }
                      }
                    }
                    ////Set up date inputs in the form
                    //$('.date').dateinput({ format: 'mm/dd/yyyy', lang: 'en', trigger: true, selectors: true, yearRange: [0, 2] });
                    //if ($('input[id$="txtCustom11"]').length > 0 && $('input[id$="txtCustom11"]').data('dateinput')) $('input[id$="txtCustom11"]').data('dateinput').setMin('2019-02-01').setMax('2019-03-31');
                    //if ($('input[id$="txtCustom12"]').length > 0 && $('input[id$="txtCustom12"]').data('dateinput')) $('input[id$="txtCustom12"]').data('dateinput').setMin('2019-02-01').setMax('2019-03-31');
                    ////if ($('input[id$="txtCustom18"]').length > 0 && $('input[id$="txtCustom18"]').data('dateinput')) $('input[id$="txtCustom18"]').data('dateinput').setMin('2017-02-01').setMax('2017-03-31');
                    ////if ($('input[id$="txtCustom24"]').length > 0 && $('input[id$="txtCustom24"]').data('dateinput')) $('input[id$="txtCustom24"]').data('dateinput').setMin('2017-02-01').setMax('2017-03-31');
                    ////if ($('input[id$="txtCustom36"]').length > 0 && $('input[id$="txtCustom36"]').data('dateinput')) $('input[id$="txtCustom36"]').data('dateinput').setMin('2017-02-01').setMax('2017-03-31');
                    ////if ($('input[id$="txtCustom37"]').length > 0 && $('input[id$="txtCustom37"]').data('dateinput')) $('input[id$="txtCustom37"]').data('dateinput').setMin('2017-02-01').setMax('2017-03-31');
                    //$('input[id$="txtCustom11"]').change(function (event, date) { $('input[id$="txtCustom11"]').val($.datepicker.formatDate('mm/dd/yy', date)); });
                    //$('input[id$="txtCustom12"]').change(function (event, date) { $('input[id$="txtCustom12"]').val($.datepicker.formatDate('mm/dd/yy', date)); });
                    ////$('input[id$="txtCustom18"]').change(function (event, date) { $('input[id$="txtCustom18"]').val($.datepicker.formatDate('mm/dd/yy', date)); });
                    ////$('input[id$="txtCustom24"]').change(function (event, date) { $('input[id$="txtCustom24"]').val($.datepicker.formatDate('mm/dd/yy', date)); });
                    ////$('input[id$="txtCustom36"]').change(function (event, date) { $('input[id$="txtCustom36"]').val($.datepicker.formatDate('mm/dd/yy', date)); });
                    ////$('input[id$="txtCustom37"]').change(function (event, date) { $('input[id$="txtCustom37"]').val($.datepicker.formatDate('mm/dd/yy', date)); });
                    ////Localize time inputs
                    //$.timeEntry.regional['en'] = {
                    //  show24Hours: true, separator: ':',
                    //  ampmPrefix: '', ampmNames: ['AM', 'PM'],
                    //  spinnerTexts: ['Now', 'Previous', 'Next', 'Higher', 'Lower']
                    //};
                    //$.timeEntry.setDefaults($.timeEntry.regional['en']);
                    ////Set up time inputs in forms
                    //$('.time').timeEntry({ spinnerImage: '' });
                    //Set up date inputs in the form
                    $('.date').datepicker({
                      dateFormat: 'mm/dd/yy'
                    });
                    //Set up time inputs
                    $('.time').timeEntry({
                      show24Hours: true,
                      defaultTime: '00:00'
                    });
                    //Fire validator when checkbox in cbl is checked
                    $('.checkbox.cbl input[type="checkbox"]').click(function(e) {
                      $(this).parents('.controls').find('.cbl-dummy').change();
                    });
                    //Fire validator when individual checkbox is checked
                    $('.checkbox.required').click(function(e) {
                      $(this).parents('.controls').find('.chk-dummy').change();
                    });
                    //Move validation icons into labels for the sessions
                    $('.session-panel .validator,.session-panel .glyphicon-ok').each(function(n, i) {
                      $(this).appendTo($(this).prev('.session-header'));
                    });
                    //Preinputted fields are set to success immediately
                    $('.form-group').has('.preinput').addClass('has-success');
                    //Prevent copy/pasting
                    $('INPUT[id$="txtEmailCheck"]').bind('cut copy paste', function(e) {
                      return false;
                    });
                    //Enable auto-growing textboxes
                    $('textarea.autogrow').autogrow();
                    //Show open fields when certain options in dropdowns are selected
                    $('.dropdown').change(function() {
                      if ($(this).val() == '%free%') {
                        var txt;
                        if ((txt = $('.free', $(this).parents('.controls')))) {
                          $(this).hide();
                          txt.show().focus();
                        }
                      }
                    });
                    //Make sure the open fields are toggled after postback
                    $('.controls:visible').each(function(i) {
                      var dbo, rbl, txt, lst;
                      if ((dbo = $('.dropdown', $(this))) && dbo.val() == '%free%') {
                        dbo.hide();
                        if ((txt = $('.free', $(this)))) {
                          txt.show();
                        }
                      }
                    });
                    //When they change free text, make sure the dropdown validation triggers
                    $('.free').change(function() {
                      $('.dropdown', $(this).parents('.controls')).change();
                    });
                    //Enable open field when certain options in open cbls or rbls are selected
                    $('INPUT:radio,INPUT:checkbox', '.open').change(function(e) {
                      var val = (this.type.toLowerCase() == 'checkbox') ? $(this).parent('SPAN').attr('class') : $(this).val();
                      if (val == '%free%') {
                        var txt;
                        if (txt = $('.other', $(this).parents('.controls'))) {
                          if (this.checked) txt.prop('disabled', false).removeClass('aspNetDisabled').focus();
                          else txt.val('').prop('disabled', true).addClass('aspNetDisabled');
                          txt.parents('.form-group').removeClass('has-error').find('.form-control-feedback').hide();
                        }
                      }
                    });
                    //Make sure the open fields are toggled after postback
                    $('INPUT:radio:checked,INPUT:checkbox:checked', '.open').each(function(i) {
                      var val = (this.type.toLowerCase() == 'checkbox') ? $(this).parent('SPAN').attr('class') : $(this).val();
                      if (val == '%free%') {
                        var txt;
                        if (txt = $('.other', $(this).parents('.controls'))) {
                          txt.prop('disabled', false).removeClass('aspNetDisabled');
                        }
                      }
                    });
                    //Disable open field when other radio-item is checked
                    $('INPUT:radio', '.open').change(function(e) {
                      if ($(this).val() != '%free%' && this.checked) {
                        var txt;
                        if (txt = $('.other', $(this).parents('.controls'))) {
                          txt.val('').prop('disabled', true).addClass('aspNetDisabled');
                        }
                      }
                    });
                    //When they change free text, make sure the radiolist or checkboxlist validation triggers
                    $('.other').change(function() {
                      $('table.radio.open', $(this).parents('.controls')).find('input[type="radio"][value="%free%"]').click();
                      $('table.cbl.open', $(this).parents('.controls')).find('input[type="checkbox"]:eq(0)').click().click();
                    });
                    //When they change their country, update country code before phone numbers
                    $('select[id$="dboCountry"]').change(function() {
                      //  if ($(this).val() != '') {
                      //    $.postJSON(AJAX_URL, { action: 'getCountryCode', country_id: $(this).val(), t: timestamp() }, function (json) {
                      //      if (json && json.country_code) {
                      //        $('.country-code').html(json.country_code);
                      //      }
                      //    });
                      //  } else {
                      //    $('.country-code').html('');
                      //  }
                      recalculateTotal();
                    });
                    //$('select[id$="dboCountry"]').change();
                    //Show input field for logincode when they indicate they have one
                    $('table[id$="rblHasCode"] input').change(function() {
                      if ($('table[id$="rblHasCode"] input:eq(0)').is(':checked')) {
                        //Hide code panel
                        $pnl = $('div[id$="pnlLoginCode"]');
                        if (!$pnl.hasClass('hide')) $pnl.addClass('hide');
                        //Clear code
                        $('input[id$="txtLoginCode"]').val('');
                        //Show payment method
                        $('div[id$="pnlPaymentMethod"]').removeClass('hide');
                        //Show cost
                        $('span[id$="plCost"]').removeClass('super-hide');
                        $('span[id$="plCost"]').next('.load-graphic').removeClass('super-hide');
                        ////Restore amount options
                        //$options = $('select[id*="dboAmount"].tickets option');
                        //if ($options.length < 3) {
                        //  for (i = $options.length + 1 ; i <= 3; i++) {
                        //    $('select[id*="dboAmount"].tickets').append('<option value=' + i.toString() + '>' + i.toString() + '</option>');
                        //  }
                        //}
                        //Toggle validators
                        if (typeof(Page_Validators) != "undefined") {
                          $.each(Page_Validators, function() {
                            if ($(this).attr('id').split('_').pop().indexOf('valLoginCode') > -1) {
                              ServerValidatorEnable(this, false);
                            }
                            if ($(this).attr('id').split('_').pop().indexOf('valPaymentMethod') > -1) {
                              ServerValidatorEnable(this, true);
                              $(this).hide().parents('.form-group').removeClass('has-error');
                            }
                          });
                        }
                        //Recalculate total
                        recalculateTotal();
                      } else if ($('table[id$="rblHasCode"] input:eq(1)').is(':checked')) {
                        //Show panel
                        $('div[id$="pnlLoginCode"]').removeClass('hide');
                        //Enable validators
                        if (typeof(Page_Validators) != "undefined") {
                          $.each(Page_Validators, function() {
                            if ($(this).attr('id').split('_').pop().indexOf('valLoginCode') > -1) {
                              ServerValidatorEnable(this, true);
                              $(this).hide().parents('.form-group').removeClass('has-error');
                            }
                          });
                        }
                      } else {
                        //Hide panel
                        $pnl = $('div[id$="pnlLoginCode"]');
                        if (!$pnl.hasClass('hide')) $pnl.addClass('hide');
                        //Clear code
                        $('input[id$="txtLoginCode"]').val('');
                        //Recalculate total
                        recalculateTotal();
                      }
                    });
                    //Make sure the field shows after postback
                    if ($('table[id$="rblHasCode"] input:eq(1)').is(':checked')) {
                      //Show panel
                      $('div[id$="pnlLoginCode"]').removeClass('hide');
                      //Enable validators
                      if (typeof(Page_Validators) != "undefined") {
                        $.each(Page_Validators, function() {
                          if ($(this).attr('id').split('_').pop().indexOf('valLoginCode') > -1) {
                            ValidatorEnable(this, true);
                            $(this).hide().parents('.form-group').removeClass('has-error');
                          }
                        });
                      }
                    }
                    $('table[id$="dgProducts"] select').change(function() {
                      ////If this is a ticket in general, enable vouchers
                      //if ($(this).hasClass('tickets')) {
                      //  toggleVouchers();
                      //}
                      recalculateTotal();
                      //If this is for the season tickets, toggle sub-registrations
                      if ($(this).hasClass('P5')) {
                        toggleTickets();
                      }
                    });
                    $('table[id$="dgProducts"] .product-minus').click(function() {
                      $select = $(this).parents('TD.product-dropdown-col').find('select');
                      if (!$select.attr('disabled')) {
                        var amount = parseInt($select.val());
                        if (amount > 0) {
                          $select.val((--amount).toString());
                          $select.change();
                        }
                      }
                    });
                    $('table[id$="dgProducts"] .product-plus').click(function() {
                      $select = $(this).parents('TD.product-dropdown-col').find('select');
                      if (!$select.attr('disabled')) {
                        var amount = parseInt($select.val());
                        if (amount < parseInt($('option', $select).last().attr('value'))) {
                          $select.val((++amount).toString());
                          $select.change();
                        }
                      }
                    });
                    toggleTickets();
                    //toggleVouchers();
                    recalculateTotal();
                    $('select[id$="dboCustom5"]').change(function() {
                      toggleCrew();
                    });
                    toggleCrew();
                    $('table[id$="cblCustom8"] input[type="checkbox"]').change(function() {
                      toggleRequestDesc();
                    });
                    toggleRequestDesc();
                    //Recalculate costs when payment method changes
                    $('table[id$="rblPaymentMethod"] input[type="radio"]').change(function() {
                      //Recalculate total
                      recalculateTotal();
                    });
                    //Limit choices in program blocks
                    $('.checkbox.cbl.program').not('.multiple').find('input[type="checkbox"]').click(function(e) {
                      $chk = $(this);
                      $cbl = $chk.parents('.checkbox.cbl.program');
                      $('input[type="checkbox"]', $cbl).filter(':checked').not($chk).prop('checked', false);
                    });
                    //Modify form when they indicate if they'll be present or not
                    /*$('table[id$="rblPresent"] input').change(function () {
                      if ($('table[id$="rblPresent"] input[value="Ja"]').is(':checked')) {
                        $('.session-panel').show();
                        $('.remark-panel').hide();

                        //Enable validators
                        if (typeof (Page_Validators) != "undefined") {
                          $.each(Page_Validators, function () {
                            if ($(this).attr('id').split('_').pop().indexOf('valSession') > -1) {
                              ValidatorEnable(this, true);
                              $(this).hide().parents('.session-panel').removeClass('has-error');
                            }
                          });
                        }
                      } else if ($('table[id$="rblPresent"] input[value="Nee"]').is(':checked')) {
                        //Hide session choices
                        $('.session-panel').hide();
                        $('.remark-panel').removeClass('hide').show();

                        //Disable validators
                        if (typeof (Page_Validators) != "undefined") {
                          $.each(Page_Validators, function () {
                            if ($(this).attr('id').split('_').pop().indexOf('valSession') > -1) {
                              ValidatorEnable(this, false);
                            }
                          });
                        }
                      } else {
                        //Show session choices
                        $('.session-panel').show();
                        $('.remark-panel').hide();
                      }
                    });*/
                    //Set the title for the print plugin with some delay
                    if (newtitle != '') setTimeout(function() {
                      document.title = newtitle;
                    }, 1000);
                    ////Scroll down a bit each time a form-field is focused on
                    //if (getParameterByName('mode') == 'onsite') {
                    //  $('.form-control').on('focus', function (e) {
                    //    var $target = $(this).parents('.form-group');
                    //    if ($target.length > 0) {
                    //      $('html, body').animate({
                    //        scrollTop: $target.offset().top - 100
                    //      }, 1000);
                    //    }
                    //  });
                    //}
                    //Keep an eye on changes to inputs involved in zipcode lookup
                    $('.zipcode,.streetno').keyup(function(e) {
                      //Don't fire when there's already data
                      if ($('.city').val() == '' && $('.street').val() == '') {
                        //We don't want this event to fire for the tab and shift keys
                        if (dolookup && e.keyCode != TAB && e.keyCode != SHIFT) {
                          typecount++;
                          setTimeout('delayLookup(' + typecount + ')', TYPE_DELAY);
                        }
                      }
                    });
                    $('.country').change(function(e) {
                      if (dolookup) {
                        switch ($('.country').val()) {
                          case '158':
                            //Perform lookup, just in case there's usable data already filled out
                            if ($('.city').val() == '' && $('.street').val() == '') lookup();
                            break;
                          default:
                            break;
                        }
                      }
                    });
                    //Copy input from main form into the first sub-reg
                    $('input.form-control.copy-to-sub').change(function() {
                      var sub_id = $(this).attr('id').split('_').pop().replace('txt', 'txtSub');
                      $sub = $('.sub-1 input.form-control[id*="' + sub_id + '"]');
                      if ($sub.length > 0 && $sub.val() == '') {
                        $sub.val($(this).val());
                        $sub.parents('.form-group').removeClass('has-error').find('.form-control-feedback').hide();;
                      }
                    });
                    $('select.form-control.copy-to-sub').change(function() {
                      var sub_id = $(this).attr('id').split('_').pop().replace('dbo', 'dboSub');
                      $sub = $('.sub-1 select.form-control[id*="' + sub_id + '"]');
                      if ($sub.length > 0 && $sub.val() == '') {
                        $sub.val($(this).val());
                        $sub.parents('.form-group').removeClass('has-error').find('.form-control-feedback').hide();;
                      }
                    });
                    $('table[id$="rblStatus"] input').change(function() {
                      if ($(this).val() == 'Voeg persoon toe en stuur factuur') {
                        $('div[id$="pnlSubRegs"]').removeClass('hide');
                      } else {
                        $('div[id$="pnlSubRegs"]').addClass('hide');
                      }
                    });
                    if ($('table[id$="rblStatus"]').length > 0) {
                      if ($('table[id$="rblStatus"] input[value="Voeg persoon toe en stuur factuur"]').is(':checked')) {
                        $('div[id$="pnlSubRegs"]').removeClass('hide');
                      } else {
                        $('div[id$="pnlSubRegs"]').addClass('hide');
                      }
                    }
                    if (getParameterByName('correct') == '1') {
                      //Fire validators
                      if ($('select[id$="dboEvent"]').val() == '') $('select[id$="dboEvent"]').change();
                      if ($('input[id$="txtEmail"]').val() == '' || !$('input[id$="txtEmail"]').val().match(/^.*@.*\..*$/g)) $('input[id$="txtEmail"]').change();
                    }
                    $('input[id$="txtStandholderSearch"]').autocomplete({
                      source: AJAX_URL + '&action=completeStandholderSearch',
                      minLength: 2,
                      delay: 500,
                      select: function(event, ui) {
                        //Was something selected?
                        if (ui.item) {
                          //Set the dropdown
                          $('select[id$="dboStandholder"] option[value="' + ui.item.id + '"]').attr('selected', 'selected');
                          //Empty the field
                          $('input[id$="txtStandholderSearch"]').val('');
                          return false;
                        }
                      }
                    }).keypress(function(e) {
                      if (e.keyCode == 13) {
                        if ($(this).val() != '') {
                          $('div[id$="pnlStandholder"] .input-group-addon.search').click();
                        }
                        e.preventDefault();
                        e.stopPropagation();
                      }
                    });
                    $('div[id$="pnlStandholder"] .input-group-addon.search').click(function() {
                      $dbo = $('select[id$="dboStandholder"]');
                      var r = new RegExp($('input[id$="txtStandholderSearch"]').val(), 'i');
                      var $result = $dbo.find('option').filter(function() {
                        return $(this).text().match(r)
                      })
                      if ($result.length != 0) {
                        //Set the dropdown
                        $result.first().attr('selected', 'selected');
                        //Empty the field
                        $('input[id$="txtStandholderSearch"]').autocomplete('close').val('');
                      }
                    });
                    $('input[id$="txtAssignCodeSearch"]').autocomplete({
                      source: AJAX_URL + '&action=completeAssignCodeSearch',
                      minLength: 3,
                      delay: 500,
                      select: function(event, ui) {
                        //Was something selected?
                        if (ui.item) {
                          //Empty the field
                          $('input[id$="txtAssignCodeSearch"]').val(ui.item.value);
                          return false;
                        }
                      }
                    });
                    $('#evp-agent-modal').dialog({
                      autoOpen: false,
                      draggable: false,
                      resizable: false,
                      bgiframe: true,
                      dialogClass: 'dnnFormPopup',
                      modal: true,
                      width: 600,
                      height: 630,
                      buttons: {
                        Cancel: function() {
                          $(this).dialog("close");
                        },
                        "Send mail": function() {
                          $('input[id$="hidExtraTextEntered"]').val('1');
                          $('input[id$="hidAgentExtraText"]').val($('textarea[id$="txtAgentExtraText"]').val());
                          if ($('input[id$="cmdAddPressPerson"]').length > 0) {
                            $('input[id$="cmdAddPressPerson"]').click();
                          } else {
                            $('input[id$="cmdAgentUpdateMail"]').click();
                          }
                        }
                      }
                    });
                    $('div[id$="divAgentUpdateMail"]').click(function() {
                      if (Page_ClientValidate() && $('input[id$="hidExtraTextEntered"]').val() == '') {
                        $('#evp-agent-modal').dialog('open');
                      }
                    });
                    //Keep an eye on changes to extra text
                    if ($('textarea[id$="txtAgentExtraText"]').length > 0) {
                      $('textarea[id$="txtAgentExtraText"]').keyup(function(e) {
                        //Don't fire when there's already data
                        //We don't want this event to fire for the tab and shift keys
                        if (e.keyCode != TAB && e.keyCode != SHIFT) {
                          typecount2++;
                          setTimeout('delaySave(' + typecount2 + ')', TYPE_DELAY);
                        }
                      });
                    }
                  });
                </script>
              </div><!-- End_Module_665 -->
            </div>
          </div>
        </div>
      </div>
      <div class="row">
        <div id="dnn_TopAPane" class="col-sm-3 col-xs-12 DNNEmptyPane"></div>
        <div id="dnn_TopBPane" class="col-sm-3 col-xs-12 DNNEmptyPane"></div>
        <div id="dnn_TopCPane" class="col-sm-3 col-xs-12 DNNEmptyPane"></div>
        <div id="dnn_TopDPane" class="col-sm-3 col-xs-12 DNNEmptyPane"></div>
      </div>
      <div class="row">
        <div id="dnn_BottomAPane" class="col-sm-4 col-xs-12 DNNEmptyPane"></div>
        <div id="dnn_BottomBPane" class="col-sm-4 col-xs-12 DNNEmptyPane"></div>
        <div id="dnn_BottomCPane" class="col-sm-4 col-xs-12 DNNEmptyPane"></div>
      </div>
    </div><!--jmainbox end-->
  </div>
  <div class="row">
    <div id="dnn_FullFooterPane" class="DNNEmptyPane"></div>
  </div>
  <div id="jfootpanes">
    <div class="jmainwidth">
      <div class="row">
        <div id="dnn_FooterPane" class="footerpane DNNEmptyPane"></div>
      </div>
    </div>
  </div>
  <div id="jfooter">
    <div class="jmainwidth">
      <div class="row">
        <div class="col-sm-4 col-xs-12">
          <div class="jcopy1"></div>
        </div>
        <div class="col-sm-4 col-xs-12">
          <div class="jcopy"><span id="dnn_dnnCOPYRIGHT_lblCopyright" class="Footer">Copyright 2022 by TEFAF</span>
          </div>
        </div>
        <div class="col-sm-4 col-xs-12">
          <div class="jcopy2"><a href="http://www.eventpartners.nl" target="_blank">eventpartners event software</a></div>
        </div>
      </div>
    </div>
  </div>
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/jquery.cycle.min.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/DNNStandard/StandardMenu.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/scripts/jquery.easing.1.3.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/scripts/jquery.accordion.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Resources/Shared/Scripts/jquery/jquery.hoverIntent.min.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Css|/Portals/_default/skins/eventpartners_skin/DNNStandard/StandardMenu.css?cdv=360|DnnPageHeaderProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/scripts/jquery.cookie.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/scripts/bootstrap.min.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/scripts/jquery.carouFredSel-6.2.0-packed.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/scripts/jquery.mousewheel.min.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/scripts/jquery.touchSwipe.min.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/scripts/jquery.transit.min.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/scripts/jquery.flexslider-min.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/scripts/jquery.isotope.min.js?cdv=360|DnnBodyProvider|100)-->
  <!--CDF(Javascript|/Portals/_default/skins/eventpartners_skin/scripts/jquery.scrolltop.js?cdv=360|DnnBodyProvider|100)-->
  <input name="ScrollTop" type="hidden" id="ScrollTop">
  <input name="__dnnVariable" type="hidden" id="__dnnVariable" autocomplete="off">
  <script type="text/javascript">
    //<![CDATA[
    function __ccpz_wcs_init_r075736362CF() {
      if (window.__ccpz_wcs_init_r075736362CF_done == true) {
        return false;
      }
      window.__ccpz_wcs_init_r075736362CF_done = true;
      var ptad = {
        "attachDataMode": 1,
        "clientControlData": {
          "uniqueId": "dnn$ctr665$RegisterTEF$picPhoto$popupPictureTrimmer1",
          "visible": false,
          "enabled": true,
          "backColor": {
            "a": 255,
            "r": 230,
            "g": 230,
            "b": 230
          },
          "foreColor": {
            "a": 255,
            "r": 0,
            "g": 0,
            "b": 0
          },
          "mainUIUrl": "\/WebResource.axd?d=O6TrCQUnrIO_QND4I0bKwDK2aaVQhBA_iq9wnpAC-dajQGj6pnDtdtUj5aVBP2yZt6UudpaiMRbmyaDBBQnSRdtr2SWGGPDqGjmBf7b90_NzkuOSoJwWYNOxJ0A7CTELnV_14C0t4RpV4AByV7KC2Qu9hJeHffxLenn6RA2&t=637115918124420968",
          "expressInstallUrl": "\/WebResource.axd?d=92-P4GXhmL1MR7yYc-AukR1mU3NNdzktVjW5BYUPuGpn8zIOkvdhhoQM_cv4ByxkeHBgzoKw0gLk6FNvLWs7Jr5jXKp7LK1OJp_Frl2I2sWtuMjoXKpGuA9GwhyA2SjjFtxCXq5T2h_-sZ-61ZkTgwlbJY9920nO9RJUjg2&t=637115918124420968",
          "maxImageSize": {
            "width": 5000,
            "height": 5000
          },
          "postBackEvntReference": "__doPostBack(\'dnn$ctr665$RegisterTEF$picPhoto$popupPictureTrimmer1\',\'PTPBEAPH\')",
          "mainUITexts": ["Details", "Resize image", "Zoom view", "Original:", "Resized:", "Cursor:", "Reset", "Reset", "Loading image...", "Original image size\n(Width and Height) in pixel.",
            "Current image size\n(Width and Height) in pixel,\nusing \"Resize\" factor: {1}%.", "Actual cursor location\n(from Top-Left corner) in pixel.", "Actual selection location\n(from Top-Left corner) in pixel.",
            "Actual selection size\n(Width and Height) in pixel.", "Dragging the cursor, the image will be resized.", "Dragging the cursor,\nthe view will change\n(without changing any of the original parameters).", "", "W", "H", "",
            "Rotate \/ flip image", "Reset the current image zoom factor.", "Reset the current image resize factor.", "Current image zoom factor.", "Current image resize factor.", "Flip image horizontally.", "Flip image vertically.",
            "Rotate image: 0°, 90°, 180°, 270°.", "Image adjustments", "Brightness", "Contrast", "Hue", "Saturation", "Reset", "Current brightness.", "Current contrast.", "Current hue.", "Current saturation.",
            "Dragging the cursor, the brightness of the image will change.", "Dragging the cursor, the contrast of the image will change.", "Dragging the cursor, the hue of the image will change.",
            "Dragging the cursor, the saturation of the image will change.", "Reset every image adjustments parameter.", "No image loaded"
          ],
          "showCancelButton": true
        },
        "clientCoreData": {
          "onClientControlLoad_performOpenPopup": false,
          "onClientControlLoad_PerformOpenPopup_windowSize": null
        },
        "core": {
          "settings": {
            "mode": 2,
            "canvasColor": {
              "value": {
                "a": 255,
                "r": 255,
                "g": 255,
                "b": 255
              },
              "autoUseTransparentColor": true
            },
            "imageBackColor": {
              "value": {
                "a": 255,
                "r": 255,
                "g": 255,
                "b": 255
              },
              "autoUseTransparentColor": true
            },
            "imageBackColorApplyMode": 1,
            "uiUnit": 1,
            "showDetailsPanel": true,
            "showZoomPanel": true,
            "showResizePanel": true,
            "showRotatePanel": true,
            "showFlipPanel": true,
            "showImageAdjustmentsPanel": true,
            "showRulers": true,
            "allowResize": true,
            "autoZoomMode": 4,
            "enableAutoCenterView": true,
            "flashWMode": 8,
            "enableSnapping": true,
            "showCropAlignmentLines": true,
            "cropShadowMode": 1,
            "autoFreezeOnFormSubmit": true,
            "onClientControlLoadFunction": "",
            "onClientUserStateChangedFunction": "",
            "lightBoxCssClass": "",
            "autoPostBackOnPopupCloseMode": 0,
            "onClientBeforePopupOpenFunction": "CodeCarvings.Wcs.Piczard.Upload.SimpleImageUpload.onImageEditBeforePopupOpen",
            "onClientAfterPopupOpenFunction": "",
            "onClientBeforePopupCloseFunction": "",
            "onClientAfterPopupCloseFunction": "CodeCarvings.Wcs.Piczard.Upload.SimpleImageUpload.onImageEditAfterPopupClose"
          },
          "loadImageParams": null,
          "lips": null,
          "userState": null
        }
      };
      CodeCarvings.Wcs.Piczard.PictureTrimmer.loadControl("dnn_ctr665_RegisterTEF_picPhoto_popupPictureTrimmer1", ptad, "dnn$ctr665$RegisterTEF$picPhoto$popupPictureTrimmer1", 2);
    }
    if (!window.__ccpz_wcs_dl_fns) {
      window.__ccpz_wcs_dl_fns = [];
      window.__ccpz_wcs_dl_state = 0;
      window.__ccpz_wcs_dl_process = function() {
        if (typeof(window.__ccpz_wcs_lt) === "undefined") {
          if ((typeof(window.__ccpz_wcs_lt_ea) === "undefined") || (!window.__ccpz_wcs_lt_ea)) {
            window.__ccpz_wcs_lt_ea = true;
            alert("Piczard client-side library failed to load.");
          }
          window.__ccpz_wcs_dl_state = 0;
          return;
        }
        window.__ccpz_wcs_dl_state = 2;
        var i = 0;
        var sw = true;
        if (i >= window.__ccpz_wcs_dl_fns.length) {
          sw = false;
        }
        while (sw) {
          eval(window.__ccpz_wcs_dl_fns[i]);
          i++;
          if (i >= window.__ccpz_wcs_dl_fns.length) {
            sw = false;
          }
        }
        window.__ccpz_wcs_dl_fns.length = 0;
      }
    }
    window.__ccpz_wcs_dl_fns[window.__ccpz_wcs_dl_fns.length] = "__ccpz_wcs_init_r075736362CF();";
    if (typeof(window.__ccpz_wcs_lt) !== "undefined") {
      window.__ccpz_wcs_dl_state = 2;
    }
    if (window.__ccpz_wcs_dl_state == 0) {
      var __ccpz_wcs_dl_r075736362CF = document.createElement("scr" + "ipt");
      __ccpz_wcs_dl_r075736362CF.setAttribute("type", "text/javascript");
      __ccpz_wcs_dl_r075736362CF.src = "..\/piczardWebResource.axd?_k=_ip_s_wcs&_ai=eabca34165b2404f94affb85eed43e65";
      __ccpz_wcs_dl_r075736362CF.onload = function() {
        window.__ccpz_wcs_dl_process();
      };
      __ccpz_wcs_dl_r075736362CF.onreadystatechange = function() {
        if ((__ccpz_wcs_dl_r075736362CF.readyState == "complete") || (__ccpz_wcs_dl_r075736362CF.readyState == "loaded")) {
          window.__ccpz_wcs_dl_process();
        }
      };
      var __ccpz_wcs_dl_r075736362CF_te = document.getElementsByTagName("head");
      if (__ccpz_wcs_dl_r075736362CF_te.length > 0) {
        __ccpz_wcs_dl_r075736362CF_te[0].appendChild(__ccpz_wcs_dl_r075736362CF);
      } else {
        document.body.appendChild(__ccpz_wcs_dl_r075736362CF);
      }
      window.__ccpz_wcs_dl_state = 1;
    }
    if (window.__ccpz_wcs_dl_state == 2) {
      window.__ccpz_wcs_dl_process();
    }
    //]]>
  </script>
</form>

Text Content

Unfortunately, this is not a correct event URL.




Copyright 2022 by TEFAF
eventpartners event software


Extra text

Do you want to e-mail extra text?  


CancelSend mail