var pjQ = pjQ || {}, ContactForm_3; (function () { "use strict"; var loadRemote = function(url, type, callback) { var _element, _type, _attr, scr, s, element; switch (type) { case 'css': _element = "link"; _type = "text/css"; _attr = "href"; break; case 'js': _element = "script"; _type = "text/javascript"; _attr = "src"; break; } scr = document.getElementsByTagName(_element); s = scr[scr.length - 1]; element = document.createElement(_element); element.type = _type; if (type == "css") { element.rel = "stylesheet"; } if (element.readyState) { element.onreadystatechange = function () { if (element.readyState == "loaded" || element.readyState == "complete") { element.onreadystatechange = null; callback(); } }; } else { element.onload = function () { callback(); }; } element[_attr] = url; s.parentNode.insertBefore(element, s.nextSibling); }, loadScript = function (url, callback) { loadRemote(url, "js", callback); }, loadCss = function (url, callback) { loadRemote(url, "css", callback); }; var CFObj = { server: "https://f-all.gr/inc/scripts/contactform/", folder: "https://f-all.gr/inc/scripts/contactform/", fid: 3, form: "pjCF_form_3", week_start: 1, jq_date_format: "dd-mm-yy", date_format: "d-m-Y", confirm_option: "message", thankyou_page: "http://", confirm_message: "Ευχαριστούμε για την επικοινωνία. Σύντομα ένας συνεργάτης μας θα επικοινωνήσει μαζί σας!", banned_words: "", error_message: {"url":"Link or url is not allowed in form fields.","word":"Message blocked due to banned words used.","redirect":"You will be redirected in few seconds..."}, error_post_max_size: "The form could not be uploaded because file size is too large and your server cannot upload it. Maximum allowed size is 200M. Please, upload smaller file.", error_upload_max_size: "The file size is too large and your server cannot upload it. Upload max file size is 200M. Please, upload smaller file.", is_reject: false, field_rules:{ pjCF_field_22: {required: true}, pjCF_field_23: {required: true}, pjCF_field_25: {required: true, email: true}, pjCF_field_26: {required: true, number: true}, pjCF_field_27: {required: false}}, field_messages:{ pjCF_field_22: {required: "Υποχρεωτικό πεδίο"}, pjCF_field_23: {required: "Υποχρεωτικό πεδίο"}, pjCF_field_25: {required: "Υποχρεωτικό πεδίο", email: "Μη έγκυρο email"}, pjCF_field_26: {required: "Υποχρεωτικό πεδίο", number: "Μη έγκυρο τηλέφωνο"}, pjCF_field_27: {required: "This field is required."}} }; loadScript("https://f-all.gr/inc/scripts/contactform/core/third-party/pj_jquery/1.11.2/pjQuery.min.js", function () { loadScript("https://f-all.gr/inc/scripts/contactform/core/third-party/pj_validate/1.10.0/pjQuery.validate.min.js", function () { loadScript("https://f-all.gr/inc/scripts/contactform/core/third-party/pj_validate/1.10.0/pjQuery.additional-methods.min.js", function () { loadScript("https://f-all.gr/inc/scripts/contactform/core/third-party/pj_bootstrap/3.3.2/pjQuery.bootstrap.min.js", function () { loadScript("https://f-all.gr/inc/scripts/contactform/core/third-party/pj_jquery_ui/1.9.2/js/pjQuery-ui.custom.min.js", function () { loadScript("https://f-all.gr/inc/scripts/contactform/core/third-party/pj_form/1.0.0/pjQuery.form.min.js", function () { loadScript("https://f-all.gr/inc/scripts/contactform/app/web/js/pjLoad.js", function () { ContactForm_3 = new ContactForm(CFObj); }); }); }); }); }); }); }); })();