var pjQ = pjQ || {}, ContactForm_1; (function () { "use strict"; var isSafari = /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor); 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); }, getSessionId = function () { return sessionStorage.getItem("session_id") == null ? "" : sessionStorage.getItem("session_id"); }, createSessionId = function () { if(getSessionId()=="") { sessionStorage.setItem("session_id", "79a9113e51e8f9884dbaa14b169b0e89"); } }, loadScript = function (url, callback) { loadRemote(url, "js", callback); }, loadCss = function (url, callback) { loadRemote(url, "css", callback); }; var CFObj = { server: "https://gemxit.au/email_script/", folder: "https://gemxit.au/email_script/", fid: 1, form: "pjCF_form_1", week_start: 1, jq_date_format: "dd-mm-yy", date_format: "d-m-Y", confirm_option: "message", thankyou_page: "http://", confirm_message: "Thank you for contacting us, we will reply to you shortly.", banned_words: "Viagra|Cialis|Replica|Rolex|Nigerian |Prince|Lottery|Free|Cash|Million|Guarantee|Discount|Click |Limited |Time |Offer|Congratulations|Urgent|Act |Money |Enhancement|Investment |Opportunity|Ancient |Romans|Doctors|Social|Media|Youtube|Partners|Looking|Subscribers|Traffic|Bank|Boost|Cosmetic|Clinical|SMM|Rare|Deals|Popping|Imagine|To|Take|Your|Game|To|The|Next|Level|100%|Potential|African|Changer|Hi|Hello|How|are|you|today|We |have |Found|This|Greetings|Morning|-|", error_message: {"url":"Please note that including links or URLs in our form fields is not permitted. ","word":"Message blocked due to banned words used.","redirect":"You will be redirected in few seconds...","form_inactive":"Form is inactive","captcha":"Invalid captcha"}, 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 32M. 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 32M. Please, upload smaller file.", is_reject: true, recaptcha_sitekey: "6Lek81wpAAAAAB-FIm8UgJtBa3sUzX8ZgAa6TlYU", field_rules:{ pjCF_field_1: {required: true}, pjCF_field_2: {required: true}, pjCF_field_3: {required: true}, pjCF_field_4: {required: true}}, field_messages:{ pjCF_field_1: {required: "This field is required."}, pjCF_field_2: {required: "This field is required."}, pjCF_field_3: {required: "This field is required."}, pjCF_field_4: {required: "This field is required."}} }; loadScript("https://gemxit.au/email_script/core/third-party/storage_polyfill/1.0.0/storagePolyfill.min.js", function () { if (isSafari) { createSessionId(); CFObj.session_id = getSessionId(); }else{ CFObj.session_id = ""; } loadScript("https://www.google.com/recaptcha/api.js?render=6Lek81wpAAAAAB-FIm8UgJtBa3sUzX8ZgAa6TlYU", function () { loadScript("https://gemxit.au/email_script/core/third-party/pj_jquery/1.11.2/pjQuery.min.js", function () { loadScript("https://gemxit.au/email_script/core/third-party/pj_validate/1.10.0/pjQuery.validate.min.js", function () { loadScript("https://gemxit.au/email_script/core/third-party/pj_validate/1.10.0/pjQuery.additional-methods.min.js", function () { loadScript("https://gemxit.au/email_script/core/third-party/pj_bootstrap/3.3.2/pjQuery.bootstrap.min.js", function () { loadScript("https://gemxit.au/email_script/core/third-party/pj_jquery_ui/1.9.2/js/pjQuery-ui.custom.min.js", function () { loadScript("https://gemxit.au/email_script/core/third-party/pj_form/1.0.0/pjQuery.form.min.js", function () { loadScript("https://gemxit.au/email_script/app/web/js/pjLoad.js", function () { ContactForm_1 = new ContactForm(CFObj); }); }); }); }); }); }); }); }); }); })();