{"id":886,"date":"2022-04-25T19:04:01","date_gmt":"2022-04-25T17:04:01","guid":{"rendered":"https:\/\/zavod-tri.org\/?page_id=886"},"modified":"2022-10-24T22:42:45","modified_gmt":"2022-10-24T20:42:45","slug":"stopite-v-stik-z-nami","status":"publish","type":"page","link":"https:\/\/zavod-tri.org\/en\/domov\/grozd-nvo-gorenjske\/stopite-v-stik-z-nami\/","title":{"rendered":"Get in touch"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\" data-block-type=\"core\">        <script type=\"text\/javascript\">\n         function cp_contactformtoemail_pform_doValidate_1(form)\n         {\n            document.cp_contactformtoemail_pform_1.cp_ref_page.value = document.location;\n            $dexQuery = jQuery.noConflict();            {\n                var cpefb_error = 0;\n                $dexQuery(\"#cp_contactformtoemail_pform_1\").find(\".cpefb_error\").each(function(index){\n                    if ($dexQuery(this).css(\"display\")!=\"none\")\n                        cpefb_error++;\n                    });\n                if (cpefb_error) return false;\n                if (document.cp_contactformtoemail_pform_1.cp_contactformtoemail_pform_status.value != '0')\n                           return false;\n                document.getElementById(\"refpage_1\").value = document.location;\n                cfte_blink(\".pbSubmit\");\n                document.cp_contactformtoemail_pform_1.cp_contactformtoemail_pform_status.value = '2';document.cp_contactformtoemail_pform_1.cp_contactformtoemail_pform_status.value = '1';\n                       (function cfteDoAjaxSubmit(retried) {\n                         var $form = $dexQuery(\"#cp_contactformtoemail_pform_1\");\n                         $form.find(\".cfte_submit_error\").remove();\n                         function resetSubmitUi() {\n                             document.cp_contactformtoemail_pform_1.cp_contactformtoemail_pform_status.value = '0';\n                             $form.find(\".pbSubmit\").stop(true, true).css('opacity', 1).show();\n                         }\n                         function showSubmitError(errText) {\n                             resetSubmitUi();\n                             var $err = $dexQuery(document.createElement('div'))\n                                 .addClass('cfte_submit_error')\n                                 .attr('role', 'alert')\n                                 .text(errText);\n                             $form.prepend($err);\n                         }\n                         $dexQuery.ajax({\n                           type: \"POST\",\n                           url: '',\n                           data: $form.serialize(),\n                           success: function(data)\n                           {\n                               var resp = (typeof data === 'string') ? $dexQuery.trim(data.replace(\/^\\uFEFF\/, '')) : '';\n                               var isOk = false;\n                               if (resp === 'OK')\n                               {\n                                   isOk = true;\n                               }\n                               else if (Math.floor(resp.length \/ 1500) === 0)\n                               {\n                                   if (!\/\\x3chtml|\\x3c!doctype\/i.test(resp))\n                                   {\n                                       if (\/(?:\\r?\\n|\\x3cbr\\s*\\\/?\\x3e|\\s)OK$\/.test(resp))\n                                       {\n                                           isOk = true;\n                                       }\n                                   }\n                               }\n                               if (isOk)\n                               {\n                                   resetSubmitUi();\n                                                                          document.getElementById('cp_contactformtoemail_pform_1').innerHTML ='<a id=\"cftejump\"><\/a>Thank you for getting in touch with us! nWe will try to reach back as soon as possible. nnZavod Tri ';\n                                       var tag = $dexQuery(\"#cftejump\");\n                                       $dexQuery('html,body').animate({scrollTop: tag.offset().top-60},'fast');\n                                                                    }\n                               else if (resp === 'captchafailed')\n                               {\n                                   resetSubmitUi();\n                                   var $cimg = $dexQuery(\"#captchaimg_1\");\n                                   if ($cimg.length) {\n                                       $cimg.attr('src', $cimg.attr('src') + '\\x26' + Math.floor((Math.random() * 99999) + 1));\n                                   }\n                                   setTimeout(\"cp_contactformtoemail_cerror_1()\", 100);\n                               }\n                               else if (resp.indexOf('Nonce not detected') !== -1)\n                               {\n                                   if (!retried)\n                                   {\n                                       $dexQuery.ajax({\n                                           type: \"POST\",\n                                           url: 'https:\/\/zavod-tri.org\/wp-admin\/admin-ajax.php',\n                                           data: { action: 'cfte_get_nonce' },\n                                           dataType: 'json',\n                                           success: function(nresp) {\n                                               var freshNonce = '';\n                                               if (nresp) {\n                                                   if (nresp.success) {\n                                                       if (nresp.data) {\n                                                           if (nresp.data.nonce) {\n                                                               freshNonce = nresp.data.nonce;\n                                                           }\n                                                       }\n                                                   }\n                                               }\n                                               if (freshNonce !== '') {\n                                                   var $nonceInput = $form.find('input[name=\"anonce\"]');\n                                                   if ($nonceInput.length) {\n                                                       $nonceInput.val(freshNonce);\n                                                       cfteDoAjaxSubmit(true);\n                                                       return;\n                                                   }\n                                               }\n                                               showSubmitError('Your session has expired. Please reload the page and try again.');\n                                           },\n                                           error: function() {\n                                               showSubmitError('Your session has expired. Please reload the page and try again.');\n                                           }\n                                       });\n                                   }\n                                   else\n                                   {\n                                       showSubmitError('Your session has expired. Please reload the page and try again.');\n                                   }\n                               }\n                               else\n                               {\n                                   var fallbackErr = 'There was an error sending your message. Please reload the page and try again.';\n                                   var isHtml = (resp === '' || Math.floor(resp.length \/ 401) !== 0 || \/\\x3c[a-z][\\s\\S]*\\x3e\/i.test(resp));\n                                   showSubmitError(isHtml ? fallbackErr : resp);\n                               }\n                           },\n                           error: function()\n                           {\n                               showSubmitError('Could not submit the form due to a server or network error. Please try again.');\n                           }\n                         });\n                       })(false);\n                       return false;\n                                }\n         }\n         function cfte_blink(selector){\n                 try {\n                     $dexQuery = jQuery.noConflict();\n                     $dexQuery(selector).fadeOut(700, function(){\n                         $dexQuery(this).fadeIn(700, function(){\n                             try {\n                                 if (document.cp_contactformtoemail_pform_1.cp_contactformtoemail_pform_status.value != '0')\n                                     cfte_blink(this);\n                             } catch (e) {}\n                         });\n                     });\n                 } catch (e) {}\n         }\n         function cp_contactformtoemail_cerror_1(){$dexQuery = jQuery.noConflict();$dexQuery(\"#hdcaptcha_error_1\").css('top',$dexQuery(\"#hdcaptcha_cp_contactformtoemail_post_1\").outerHeight());$dexQuery(\"#hdcaptcha_error_1\").css(\"display\",\"inline\");}\n        <\/script>\n        <div id=\"cftedialog\" style=\"display:none;\">Thank you for getting in touch with us! \r\nWe will try to reach back as soon as possible. \r\n\r\nZavod Tri <\/div>\n        <form class=\"cpp_form no-prefetch\" name=\"cp_contactformtoemail_pform_1\" id=\"cp_contactformtoemail_pform_1\" action=\"\/en\/domov\/grozd-nvo-gorenjske\/stopite-v-stik-z-nami\/?ahbnocache=116527\" method=\"post\" enctype=\"multipart\/form-data\" onsubmit=\"return cp_contactformtoemail_pform_doValidate_1(this);\"><input type=\"hidden\" name=\"cp_pform_psequence\" value=\"_1\" \/><input type=\"hidden\" name=\"cp_contactformtoemail_pform_process\" value=\"1\" \/><input type=\"hidden\" name=\"cp_contactformtoemail_id\" value=\"2\" \/><input type=\"hidden\" name=\"cp_ref_page\" value=\"\" \/><input type=\"hidden\" name=\"form_structure_1\" id=\"form_structure_1\" size=\"180\" value=\"[[{&quot;name&quot;:&quot;fieldname1&quot;,&quot;index&quot;:0,&quot;title&quot;:&quot;First and last name&quot;,&quot;shortlabel&quot;:&quot;Name\\\/Surname&quot;,&quot;required&quot;:true,&quot;userhelp&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:&quot;1&quot;,&quot;ftype&quot;:&quot;ftext&quot;,&quot;csslayout&quot;:&quot;&quot;,&quot;predefined&quot;:&quot;&quot;,&quot;predefinedClick&quot;:false,&quot;size&quot;:&quot;medium&quot;,&quot;minlength&quot;:&quot;&quot;,&quot;maxlength&quot;:&quot;&quot;,&quot;equalTo&quot;:&quot;&quot;},{&quot;name&quot;:&quot;email&quot;,&quot;index&quot;:1,&quot;title&quot;:&quot;Email&quot;,&quot;ftype&quot;:&quot;femail&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;csslayout&quot;:&quot;&quot;,&quot;required&quot;:true,&quot;predefined&quot;:&quot;&quot;,&quot;size&quot;:&quot;medium&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:&quot;1&quot;,&quot;predefinedClick&quot;:false,&quot;equalTo&quot;:&quot;&quot;},{&quot;name&quot;:&quot;subject&quot;,&quot;index&quot;:2,&quot;title&quot;:&quot;Topic&quot;,&quot;required&quot;:false,&quot;ftype&quot;:&quot;ftext&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;csslayout&quot;:&quot;&quot;,&quot;predefined&quot;:&quot;&quot;,&quot;size&quot;:&quot;medium&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:&quot;&quot;,&quot;predefinedClick&quot;:false,&quot;minlength&quot;:&quot;&quot;,&quot;maxlength&quot;:&quot;&quot;,&quot;equalTo&quot;:&quot;&quot;},{&quot;name&quot;:&quot;message&quot;,&quot;index&quot;:3,&quot;size&quot;:&quot;large&quot;,&quot;required&quot;:true,&quot;title&quot;:&quot;Your message&quot;,&quot;ftype&quot;:&quot;ftextarea&quot;,&quot;userhelp&quot;:&quot;&quot;,&quot;csslayout&quot;:&quot;&quot;,&quot;predefined&quot;:&quot;&quot;,&quot;shortlabel&quot;:&quot;&quot;,&quot;userhelpTooltip&quot;:&quot;&quot;,&quot;predefinedClick&quot;:false,&quot;minlength&quot;:&quot;&quot;,&quot;maxlength&quot;:&quot;&quot;}],[{&quot;title&quot;:&quot;Get in touch with us&quot;,&quot;description&quot;:&quot;&quot;,&quot;formlayout&quot;:&quot;top_aligned&quot;}]]\" \/><input type=\"hidden\" name=\"refpage_1\" id=\"refpage_1\" value=\"\"><input type=\"hidden\" name=\"cp_contactformtoemail_pform_status\" value=\"0\" \/><input name=\"anonce\" type=\"hidden\" value=\"338c1d87f3\"\/><input name=\"cftehp\" id=\"cftehp_1\" type=\"hidden\" value=\"1\"\/>\n<div id=\"fbuilder\">    \n    <div id=\"fbuilder_1\">\n        <div id=\"formheader_1\"><\/div>\n        <div id=\"fieldlist_1\"><\/div>\n    <\/div>\n<\/div>    \n<div style=\"display:none\">\n<input name=\"cftecontrolmessage\" type=\"text\" value=\"\"\/> \n<div id=\"cpcaptchalayer_1\" class=\"cpcaptchalayer\">\n<\/div>\n<\/div>\n<div id=\"cp_subbtn_1\" class=\"cp_subbtn\">Submit<\/div>\n<\/form>\n<script>\ntry{document.getElementById(\"cftehp_1\").value=\"25\";}catch(e){}\n<\/script>\n<\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":779,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-886","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/zavod-tri.org\/en\/wp-json\/wp\/v2\/pages\/886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zavod-tri.org\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/zavod-tri.org\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/zavod-tri.org\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/zavod-tri.org\/en\/wp-json\/wp\/v2\/comments?post=886"}],"version-history":[{"count":2,"href":"https:\/\/zavod-tri.org\/en\/wp-json\/wp\/v2\/pages\/886\/revisions"}],"predecessor-version":[{"id":895,"href":"https:\/\/zavod-tri.org\/en\/wp-json\/wp\/v2\/pages\/886\/revisions\/895"}],"up":[{"embeddable":true,"href":"https:\/\/zavod-tri.org\/en\/wp-json\/wp\/v2\/pages\/779"}],"wp:attachment":[{"href":"https:\/\/zavod-tri.org\/en\/wp-json\/wp\/v2\/media?parent=886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}