newsletter

"; $("#VideoPlayerModal-Content").html(BuildHTML); $('#VideoPlayerModal').modal({ keyboard: true }); }); $('#VideoPlayerModal').on('hidden.bs.modal', function (e) { $("#VideoPlayerModal-Content").html(""); }); // VFF Foras (Iraq) $(".TrackForas-Visitors").on("click", function () { var ClickType = $(this).attr("id").replace("Foras-Count-", ""); var TrackURL = window.location.origin + "/en/forasvisitorsupdate"; var TrackObj = new Object(); TrackObj.AppId = 103; TrackObj.ClickType = ClickType; TrackObj.Lang = 'en'; $.post(TrackURL, TrackObj).done(function (resp) { // Response Received Filter response var re = /\s\s+/g; resp = resp.replace(re, ' '); RespObject = JSON.parse(resp); }); }); // End VJF Foras (Iraq) // eFair Harcode things $("select[name='field_id_1237510']").on('change', function () { var getthis = $(this); if (getthis.val() != "") { getthis.closest(".ctrl-hdn-cstm").next(".ctrl-hdn-cstm").hide(); $("#field_id_1237512").parent().parent(".ctrl-hdn-cstm").hide(); } else { getthis.closest(".ctrl-hdn-cstm").next(".ctrl-hdn-cstm").show(); $("#field_id_1237512").parent().parent(".ctrl-hdn-cstm").show(); } }); $("select[name='field_id_1237511']").on('change', function () { var getthis = $(this); if (getthis.val() != "") { getthis.closest(".ctrl-hdn-cstm").prev(".ctrl-hdn-cstm").hide(); $("select[name='field_id_1237513']").parent().parent(".ctrl-hdn-cstm").hide(); } else { getthis.closest(".ctrl-hdn-cstm").prev(".ctrl-hdn-cstm").show(); $("select[name='field_id_1237513']").parent().parent(".ctrl-hdn-cstm").show(); } }); // $("#launch").hide(); // Hardcode for Are you Student ? eFair (78) $("input[name='field_id_1237508']").on('change', function () { var PrevJobField = $(this).parents().closest(".form-group").prev('.form-group'); var SelectedVal = $("input[name='field_id_1237508']:checked").val(); var ChildItems = $(this).parent().closest(".form-group").nextAll('.ctrl-hdn-cstm'); if (SelectedVal == '1') { PrevJobField.hide(); $("#field_id_43012").rules("add", { Student: true, messages: { Student: "Please enter a valid Abu Dhabi University student email!", } }); ChildItems.show(); } else { PrevJobField.show(); $("#field_id_43012").rules("remove", "Student"); ChildItems.hide(); } }); // Hardcode for Secondory City selection (MOH 107) $("select[name='field_id_1237503']").on('change', function () { var Select1 = ""; var Select2 = ""; var Select3 = ""; var Select4 = ""; var Select5 = ""; if ($(this).val() == '1') { $("select[name='field_id_1237507']").html(Select1); } else if ($(this).val() == '2') { $("select[name='field_id_1237507']").html(Select2); } else if ($(this).val() == '3') { $("select[name='field_id_1237507']").html(Select3); } else if ($(this).val() == '4') { $("select[name='field_id_1237507']").html(Select4); } else { $("select[name='field_id_1237507']").html(Select5); } $("select[name='field_id_1237507']").parent().parent().show(); }); // Hardcode for licence selection (MOH 107) $("select[name='field_id_1237504']").on('change', function () { if ($(this).val() == '1') { $(this).parent().parent().nextAll(':lt(2)').show(); } else { $(this).parent().parent().nextAll(':lt(2)').hide(); } }); $("select[name='field_id_1242077']").on("change",function(){ var myValues = $(this).val(); if(myValues==1){ $("#group-container-field_id_1242077 p.help-block").html(""); }else if(myValues==2){ $("#group-container-field_id_1242077 p.help-block").html(""); }else if(myValues==3){ $("#group-container-field_id_1242077 p.help-block").html(""); }else{ $("#group-container-field_id_1242077 p.help-block").html(""); } }); $("select[name='field_id_1242084']").on("change",function(){ var myValues = $(this).val(); if(myValues==1){ $("#group-container-field_id_1242084 p.help-block").html(""); }else if(myValues==2){ $("#group-container-field_id_1242084 p.help-block").html(""); }else{ $("#group-container-field_id_1242084 p.help-block").html(""); } }); // invite to vfairs form $("#invite_to_vfair_form").validate({ rules: { 'email[]': { require_from_group: [1, ".email-group"], email:true } }, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } }, submitHandler: function () { $(".invite-to-vfair-form-container .alert").remove(); var FeedBackURL = window.location.origin + "/en/invite_to_vfair"; var inviter_name = ""; var inviter_email = ""; if( $("#invite_to_vfair_form input[name='inviter_name']").length==0){ $("#invite_to_vfair_form").prepend(""); } if( $("#invite_to_vfair_form input[name='inviter_email']").length==0){ $("#invite_to_vfair_form").prepend(""); } $.post(FeedBackURL, $("#invite_to_vfair_form").serialize()).done(function (server_response) { var re = /\s\s+/g; var response = server_response.replace(re, ' '); var object = JSON.parse(response); if (object.status) { $(".invite-to-vfair-description").hide(); $(".invite-to-vfair-form-container").html("
" + object.message +"
"); } else { $(".invite-to-vfair-form-container").append("
" + object.message +"
"); } }); } }); // Script for Bayt.Careers $("#feedbackfrm").validate({ rules: { experience: { minlength: 50, maxlength: 400, required: true }, rate: { minlength: 50, maxlength: 400, required: true }, useful: { minlength: 50, maxlength: 400, required: true }, service: { minlength: 50, maxlength: 400, required: true } }, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } }, submitHandler: function () { var FeedBackURL = window.location.origin + "/en/feed_back_attend_win"; var FeedBack = new Object(); FeedBack.AppId = 108; FeedBack.Lang = 'en'; FeedBack.experience = $("#experience").val(); FeedBack.rate = $("#rate").val(); FeedBack.useful = $("#useful").val(); FeedBack.service = $("#service").val(); $.post(FeedBackURL, FeedBack).done(function (resp) { var re = /\s\s+/g; resp = resp.replace(re, ' '); RespObject = JSON.parse(resp); if (RespObject.Status) { $("#FeedBackResponseMsg").removeClass("FormResponseError").addClass("FormResponseSuccess").html(RespObject.Message); $('#feedbackfrm')[0].reset(); } else { if (RespObject.Message == "Please login first.") { $("#LoginBtn").trigger("click"); $("#ResponseBox").html(RespObject.Message).show(); } else { $("#FeedBackResponseMsg").removeClass("FormResponseSuccess").addClass("FormResponseError").html(RespObject.Message); } } }); } }); // End Script Bayt Careers // Participation form for crisil.vfairs.com (564) $("#participation-confirmation-form").validate({ rules: { participant_email: { required: true, email:true } }, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } }, submitHandler: function () { $("#error-box-participation-form").hide(); var ParticipationObj = new Object(); ParticipationObj.AppId = 564; ParticipationObj.Lang = 'en'; ParticipationObj.email = $("#participant_email").val(); $.post(window.location.origin + "/en/participation_confirmation", ParticipationObj).done(function (resp) { var re = /\s\s+/g; resp = resp.replace(re, ' '); RespObject = JSON.parse(resp); if (RespObject.status) { $("#participation-modal .modal-body").html(RespObject.message); } else { $("#error-box-participation-form").html(RespObject.message).show(); } }); } }); $("#call_for_proposal_form").validate({ rules: { what_kind_of_session:{required:true}, session_format:{required:true}, session_title:{required:true}, session_abstract:{required:true}, session_full_description:{required:true}, action_take_away_1:{required:true}, action_take_away_2:{required:true}, action_take_away_3:{required:true}, speaker_full_name:{required:true}, speaker_email_address:{required:true,email:true}, speaker_title:{required:true}, speaker_organization:{required:true}, speaker_phone:{required:true}, speaker_social:{required:true}, other_speakers_multiple:{required:true}, list_any_speaking_engagements:{required:true}, speaker_bios:{required:true}, link_speaker_headshots:{required:true}, }, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } }, submitHandler: function () { var CallForProp = new Object(); CallForProp.AppId = 549; CallForProp.what_kind_of_session = $("#what_kind_of_session").val(); CallForProp.session_format = $("#session_format").val(); CallForProp.session_title = $("#session_title").val(); CallForProp.session_abstract = $("#session_abstract").val(); CallForProp.session_full_description = $("#session_full_description").val(); CallForProp.action_take_away_1 = $("#action_take_away_1").val(); CallForProp.action_take_away_2 = $("#action_take_away_2").val(); CallForProp.action_take_away_3 = $("#action_take_away_3").val(); CallForProp.speaker_full_name = $("#speaker_full_name").val(); CallForProp.speaker_email_address = $("#speaker_email_address").val(); CallForProp.speaker_title = $("#speaker_title").val(); CallForProp.target_audience = $('#treeview-container').treeview('selectedValues').join(", "); CallForProp.speaker_organization = $("#speaker_organization").val(); CallForProp.speaker_phone = $("#speaker_phone").val(); CallForProp.speaker_social = $("#speaker_social").val(); CallForProp.other_speakers_multiple = $("#other_speakers_multiple").val(); CallForProp.list_any_speaking_engagements = $("#list_any_speaking_engagements").val(); CallForProp.speaker_bios = $("#speaker_bios").val(); CallForProp.link_speaker_headshots = $("#link_speaker_headshots").val(); CallForProp.type = "CALL_FOR_PROPOSAL"; $.post(window.location.origin + "/en/call_for_proposal_form", CallForProp).done(function (resp) { var re = /\s\s+/g; resp = resp.replace(re, ' '); RespObject = JSON.parse(resp); if (RespObject.status) { $("#call_for_proposal_form div.row").html("

Thank you for submission.

"); } else { $("#call_for_proposal_form div.row").html("

Can not submit your proposal, please try again.

").show(); } }); } }); $(".submitbtns").click(function () { $(".submitbtns").attr("name", "false"); $(this).attr("name", "true"); }); var regValidateRules = { firstname: {minlength: 3, maxlength: 15, required: true}, email: {required: true, email: true}, companyname: {minlength: 3, required: true}, category: {required: true}, Number: {minlength: 3, required: true, number: false}, industry: {required: true} } regValidateRules.CompanyURL = {required: false}; //regValidateRules.Location = {minlength: 3, required: true}; regValidateRules.Designation = {minlength: 3, required: true}; regValidateRules.classifyuser = {required: true}; $('#RegisterFrm').validate({ rules: regValidateRules, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } return false; // <<- returning false stops the page reload }, submitHandler: function (e) { $("#RegisterFrm button").prop("disabled",true).text("Please wait....."); var TrackURL = window.location.origin + "/en/update_employer_registration"; var TrackObj = new Object(); TrackObj.AppId = '9130'; TrackObj.Lang = 'en'; TrackObj.firstname = $("#firstname").val(); TrackObj.lastname = $("#lastname").val(); TrackObj.email = $("#email").val(); TrackObj.companyname = $("#companyname").val(); TrackObj.category = $("#category").val(); TrackObj.vendor = $("#vendor").val(); TrackObj.other_vendor = $("#other_vendor").val(); TrackObj.LearningOutcomes = $("#LearningOutcomes").val(); TrackObj.SessionTopic = $("#SessionTopic").val(); TrackObj.phone = $("#phone").val(); TrackObj.howdoyouhear = $("#howdoyouhear").val(); TrackObj.time_zone = $("#time_zone").val(); TrackObj.city = ($("#city").length > 0 ? $("#city").val() : ""); TrackObj.state = ($("#state").length > 0 ? $("#state").val() : ""); TrackObj.zipcode = ($("#zipcode").length > 0 ? $("#zipcode").val() : ""); TrackObj.CompanyURL = $("#CompanyURL").val(); TrackObj.Location = $("#Location").val(); TrackObj.Designation = $("#Designation").val(); TrackObj.Number = $("#Number").val(); TrackObj.classifyuser = $("#classifyuser").val(); TrackObj.Message = $("#Message").val(); TrackObj.industry = $("#industry").val(); TrackObj.RegisterType = ($("#RegisterBtn").attr("name") == 'true' ? true : false); $.post(TrackURL, TrackObj).done(function (resp) { var re = /\s\s+/g; resp = resp.replace(re, ' '); RespObject = JSON.parse(resp); if (RespObject.Status) { $('#RegisterFrm')[0].reset(); $(".form-area").hide(); if (TrackObj.AppId == 160) { $('').insertAfter("#ResponseMsg"); } if (TrackObj.AppId == 664) { $('
Thank you for showing interest. Our team will contact you soon.
').insertAfter("#response"); } $(".page-description-area").hide(); $("#ResponseMsg").removeClass("alert-danger").addClass("alert-success").html(RespObject.Message).show(); } else { $("#RegisterFrm button").prop("disabled",false); $("#ResponseMsg").removeClass("alert-success").addClass("alert-danger").html(RespObject.Message).show(); } return false; // <<- returning false stops the page reload }); $("#RegisterFrm button").prop("disabled",false); return false; // <<- returning false stops the page reload } }); }); /// Validation End // Forgot Password Section Start // Hide login modal on showing reset password modal $('#forgot-pwd-modal').on('shown.bs.modal', function (e) { $("#forgot-pwd-responseBox").html("").hide(); $('#LoginModal').modal('hide'); }); // Validate and reset call for forgot password var PassresetValidateRules = { resetemail: {required: true, email: true} }; $('#reset-pwd-frm').validate({ rules: PassresetValidateRules, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } }, submitHandler: function () { var PwdResetURL = location.protocol + '//' + location.host + "/en/reset_user_password"; var ResetPwdObj = new Object(); ResetPwdObj.AppId = '9130'; ResetPwdObj.Lang = 'en'; ResetPwdObj.Email = $("#resetemail").val(); ResetPwdObj.pwd = ($("#pwd").length > 0 ? $("#pwd").val() : ""); var csrfName = 'ci_csrf_token'; var csrfHash = ''; ResetPwdObj[csrfName] = csrfHash; $.post(PwdResetURL, ResetPwdObj).done(function (resp) { var re = /\s\s+/g; resp = resp.replace(re, ' '); RespObject = JSON.parse(resp); if (RespObject.Status) { $('#reset-pwd-frm')[0].reset(); $("#forgot-pwd-responseBox").removeClass("FormResponseError").addClass("FormResponseSuccess").html(RespObject.Message).show(); } else { $("#forgot-pwd-responseBox").removeClass("FormResponseSuccess").addClass("FormResponseError").html(RespObject.Message).show(); } if (typeof passwordResetCallBack !== 'undefined') { passwordResetCallBack(RespObject); } }); } }); // Forgot Password Section End // // update on login consent + password (768) $('#update_pwd_frm_update_consent').validate({ rules: { uLoginEmail: {required: true, email: true}, uPassword: {required: true, minlength: 5}, uConfirmPassword: {required: true, minlength: 5, equalTo: "#uPassword"}, uConsent: {required: true}, }, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } }, submitHandler: function () { var update_pwd_url = location.protocol + '//' + location.host + "/en/update_new_user_password_on_login"; var update_pwd = new Object(); update_pwd.AppId = '9130'; update_pwd.token = $("#pwd-reset-update-token-id").val(); update_pwd.newpassword = $("#uConfirmPassword").val(); update_pwd.Lang = 'en'; update_pwd.Email = $("#uLoginEmail").val(); update_pwd.consent = ($("#uConsent").is(":checked") ? 1 : 0); $.post(update_pwd_url, update_pwd).done(function (resp) { var re = /\s\s+/g; resp = resp.replace(re, ' '); RespObject = JSON.parse(resp); if (RespObject.Status) { if(update_pwd.AppId==564){ $('#update-pwd-window-body').html("

Password has been updated successfully, please wait logging you in.

"); $("input[name='LoginEmail']").val(update_pwd.Email); $("input[name='LoginEmail']").parents(".form-group:first").append(""); setTimeout(function(){ $("#Main-Login-Frm").submit(); },2000); }else{ $('#update-pwd-window-body').html("

" + RespObject.Message +"

"); } $('#update-pwd-window .modal-footer button:last').remove(); $('#update-pwd-window .modal-footer button:last').text("Close"); } else { $("#update-pwd-window-body .message-form-group").removeClass("FormResponseSuccess").addClass("FormResponseError").html(RespObject.Message).show(); } }); } }); // end update on login appid:(768) // update on login (262) $('#update-pwd-Frm_update').validate({ rules: { uLoginEmail: {required: true}, uPassword: {required: true, minlength: 5}, uConfirmPassword: {required: true, minlength: 5, equalTo: "#uPassword"} }, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } }, submitHandler: function () { var update_pwd_url = location.protocol + '//' + location.host + "/en/update_new_user_password_on_login"; var update_pwd = new Object(); update_pwd.AppId = '9130'; update_pwd.token = $("#pwd-reset-update-token-id").val(); update_pwd.newpassword = $("#uConfirmPassword").val(); update_pwd.Lang = 'en'; update_pwd.Email = $("#uLoginEmail").val(); var csrfName = 'ci_csrf_token'; var csrfHash = ''; update_pwd[csrfName] = csrfHash; $.post(update_pwd_url, update_pwd).done(function (resp) { var re = /\s\s+/g; resp = resp.replace(re, ' '); RespObject = JSON.parse(resp); if (RespObject.Status) { if(update_pwd.AppId==564){ $('#update-pwd-window-body').html("

Password has been updated successfully, please wait logging you in.

"); $("input[name='LoginEmail']").val(update_pwd.Email); $("input[name='LoginEmail']").parents(".form-group:first").append(""); setTimeout(function(){ $("#Main-Login-Frm").submit(); },2000); }else{ $('#update-pwd-window-body').html("

" + RespObject.Message +"

"); } $('#update-pwd-window .modal-footer button:last').remove(); $('#update-pwd-window .modal-footer button:last').text("Close"); } else { $("#update-pwd-window-body .message-form-group").removeClass("FormResponseSuccess").addClass("FormResponseError").html(RespObject.Message).show(); } }); } }); // end update on login appid:(262) // update on login (3568) $('#update-pwd-Frm_update_consent').validate({ rules: { uLoginEmail: {required: true, email: true}, uPassword: {required: true, minlength: 5}, uConfirmPassword: {required: true, minlength: 5, equalTo: "#uPassword"}, uConsent: {required: true}, field_id_1273574: {required: true}, }, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } }, submitHandler: function () { var update_pwd_url = location.protocol + '//' + location.host + "/en/update_new_user_password_on_login"; var update_pwd = new Object(); update_pwd.AppId = '9130'; update_pwd.token = $("#pwd-reset-update-token-id").val(); update_pwd.newpassword = $("#uConfirmPassword").val(); update_pwd.Lang = 'en'; update_pwd.Email = $("#uLoginEmail").val(); update_pwd.consent = ($("#uConsent").is(":checked") ? 1 : 0); update_pwd.field_id_1273574 = $("#field_id_1273574").val(); $.post(update_pwd_url, update_pwd).done(function (resp) { var re = /\s\s+/g; resp = resp.replace(re, ' '); RespObject = JSON.parse(resp); if (RespObject.Status) { $('#update-pwd-window-body').html("

" + RespObject.Message +"

"); $('#update-pwd-window .modal-footer button:last').remove(); $('#update-pwd-window .modal-footer button:last').text("Close"); } else { $("#update-pwd-window-body .message-form-group").removeClass("FormResponseSuccess").addClass("FormResponseError").html(RespObject.Message).show(); } }); } }); // end update on login appid:(3568) // update on login (4467) $('#update-pwd-Frm_update_extra_fields').validate({ rules: { uLoginEmail: {required: true, email: true}, uPassword: {required: true, minlength: 5, maxlength: 100}, uConfirmPassword: {required: true, minlength: 5, maxlength: 100,equalTo: "#uPassword"}, uConsent: {required: true}, field_id_1284014: {required: true}, field_id_1284015: {required: true}, field_id_1284016: {required: true}, field_id_1284018: {required: true}, field_id_1284019: {required: true}, }, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } }, submitHandler: function () { var update_pwd_url = location.protocol + '//' + location.host + "/en/update_new_user_password_on_login"; var update_pwd = new Object(); update_pwd.AppId = '9130'; update_pwd.token = $("#pwd-reset-update-token-id").val(); update_pwd.newpassword = $("#uConfirmPassword").val(); update_pwd.Lang = 'en'; update_pwd.Email = $("#uLoginEmail").val(); update_pwd.consent = ($("#uConsent").is(":checked") ? 1 : 0); update_pwd.field_id_1284014 = $("#field_id_1284014").val(); update_pwd.field_id_1284015 = $("#field_id_1284015").val(); update_pwd.field_id_1284016 = $("#field_id_1284016").val(); update_pwd.field_id_1284018 = $("#field_id_1284018").val(); update_pwd.field_id_1284019 = $("#field_id_1284019").val(); update_pwd.field_id_1284020 = $("#field_id_1284020").val(); $.post(update_pwd_url, update_pwd).done(function (resp) { var re = /\s\s+/g; resp = resp.replace(re, ' '); RespObject = JSON.parse(resp); if (RespObject.Status) { $('#update-pwd-window-body').html("

" + RespObject.Message +"

"); $('#update-pwd-window .modal-footer button:last').remove(); $('#update-pwd-window .modal-footer button:last').text("Close"); } else { $("#update-pwd-window-body .message-form-group").removeClass("FormResponseSuccess").addClass("FormResponseError").html(RespObject.Message).show(); } }); } }); // end update on login appid:(4467) // update on login (4827) $('#update-pwd-Frm_update_school_field').validate({ rules: { uLoginEmail: {required: true, email: true}, }, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } }, submitHandler: function () { var update_pwd_url = location.protocol + '//' + location.host + "/en/update_new_user_password_on_login"; var update_pwd = new Object(); update_pwd.AppId = '9130'; update_pwd.token = $("#pwd-reset-update-token-id").val(); update_pwd.Lang = 'en'; update_pwd.Email = $("#uLoginEmail").val(); update_pwd.field_id_1290124 = $("#field_id_1290124").val(); $.post(update_pwd_url, update_pwd).done(function (resp) { var re = /\s\s+/g; resp = resp.replace(re, ' '); RespObject = JSON.parse(resp); if (RespObject.Status) { $('#update-pwd-window-body').html("

" + RespObject.Message +"

"); $("input[name='LoginEmail']").val(update_pwd.Email); $("input[name='LoginEmail']").parents(".form-group:first").append(""); setTimeout(function(){ $("#Main-Login-Frm").submit(); },2000); } else { $("#update-pwd-window-body .message-form-group").removeClass("FormResponseSuccess").addClass("FormResponseError").html(RespObject.Message).show(); } }); } }); // end update on login appid:(4827) var password_reset_rules = { updatepwdemail: {required: true, email: true}, updatepwdnewpwd: {required: true, minlength: 5,maxlength:100}, updatepwdconfirm: {required: true, minlength: 5, maxlength:100,equalTo: "#updatepwdnewpwd"} }; if(app_id==1389){ $.validator.addMethod("checklower", function(value, element) { return /[a-z]/.test(value); },"Need atleast 1 lowercase alphabet"); $.validator.addMethod("checkupper", function(value, element) { return /[A-Z]/.test(value); },"Need atleast 1 uppercase alphabet"); $.validator.addMethod("checkdigit", function(value, element) { return /[0-9]/.test(value); },"Need atleast 1 digit"); // $.validator.addMethod("pwcheck", function(value) { // return /^[A-Za-z0-9\d=!\-@._*]*$/.test(value) && /[a-z]/.test(value) && /\d/.test(value) && /[A-Z]/.test(value); // },"Password is not strong enough"); password_reset_rules.updatepwdnewpwd = {required: true, minlength: 8, maxlength: 100, checklower: true,checkupper: true,checkdigit: true}, password_reset_rules.updatepwdconfirm = {required: true, minlength: 8, maxlength: 100, equalTo: "#updatepwdnewpwd"} } if(app_id==2952){ password_reset_rules.updatepwdnewpwd = {required: true, minlength: 8,maxlength: 100}; password_reset_rules.updatepwdconfirm = {required: true, minlength: 8, maxlength: 100, equalTo: "#updatepwdnewpwd"}; } password_reset_rules.updatepwdnewpwd['minlength'] = 6; password_reset_rules.updatepwdconfirm['minlength'] = 6; // Set new password $('#reset-update-pwd-frm').validate({ rules: password_reset_rules, highlight: function (element) { $(element).closest('.form-group').addClass('has-error'); }, unhighlight: function (element) { $(element).closest('.form-group').removeClass('has-error'); }, errorElement: 'span', errorClass: 'help-block', errorPlacement: function (error, element) { if (element.parent('.input-group').length) { error.insertAfter(element.parent()); } else { error.insertAfter(element); } }, submitHandler: function () { var update_pwd_url = location.protocol + '//' + location.host + "/en/update_new_user_password"; var update_pwd = new Object(); update_pwd.AppId = '9130'; update_pwd.token = $("#pwd-reset-update-token").val(); update_pwd.newpassword = $("#updatepwdconfirm").val(); update_pwd.Lang = 'en'; update_pwd.Email = $("#updatepwdemail").val(); var csrfName = 'ci_csrf_token'; var csrfHash = ''; update_pwd[csrfName] = csrfHash; $.post(update_pwd_url, update_pwd).done(function (resp) { var re = /\s\s+/g; resp = resp.replace(re, ' '); let RespObject = JSON.parse(resp); if (RespObject.Status) { $('#reset-update-pwd-frm')[0].reset(); $('#reset-update-pwd-frm .form-group:not(:last-child)').hide(); $('#reset-update-pwd-frm .modal-footer button:last').hide(); $("#reset-pwd-responseBox").removeClass("FormResponseError").addClass("FormResponseSuccess").html(RespObject.Message).show(); } else { $("#reset-pwd-responseBox").removeClass("FormResponseSuccess").addClass("FormResponseError").html(RespObject.Message).show(); } if (typeof passwordResetSuccessCallBack !== 'undefined') { passwordResetSuccessCallBack(RespObject); } }); } }); $('#LoginModal').on('hidden.bs.modal', function (e) { $("#ResponseBox").html("").hide(); }); if(document.location.hash!="" && (document.location.hash.indexOf("booth-")==1 || document.location.hash.indexOf("webinar-")==1 || document.location.hash.indexOf("Booth-")==1 || document.location.hash.indexOf("toyota")==1 || document.location.hash.indexOf("custom-cms-page")==1 || document.location.hash.indexOf("diversity-and-inclusion")==1)){ if(app_id==586){ $("input[name='login-red']").val("/en/hall" + document.location.hash); }else if(app_id==343){ $("input[name='login-red']").val("/en/hall" + document.location.hash); $("#LoginModal").modal("show"); }else if(app_id==690){ $("input[name='login-red']").val("/en/hall" + document.location.hash); setTimeout(function() { $(".two-btns .guest-login:first").trigger("click"); }, 1000); }else{ $("#LoginModal").modal("show"); $("input[name='login-red']").val("/en/hall" + document.location.hash); } } // dynamic password policies related // number check jQuery.validator.addMethod("policy_reset_arabic_num", function (value, element) { return /\d/.test(value); }, "Password must contain one numeric eg (0-9)"); // lowercase alphabet a-z jQuery.validator.addMethod("policy_reset_roman_lower", function (value, element) { return /[a-z]/.test(value); }, "Password must contain any of lower case letters (a...z)"); // upper case alphabet A-Z jQuery.validator.addMethod("policy_reset_roman_upper", function (value, element) { return /[A-Z]/.test(value); }, "Password must contain any of upper case letters (A...Z)"); // special characters (e.g. ~ ! @ # $ & -) jQuery.validator.addMethod("policy_reset_special_characters", function (value, element) { var special_characters = /[~!@#$&-]/; return special_characters.test(value); }, "Password must contain any of special characters eg (~ ! @ # $ & -)"); // dynamic password policies related jQuery.validator.addMethod("USJEmailEmp", function (value, element) { if (/@usj.edu.mo\s*$/.test(value) || /@ashfaqsolangi.com\s*$/.test(value)) { return true; }else{ return false; } }, "Please use your official email (eg @usj.edu.mo)."); jQuery.validator.addMethod("bscEmployeeID", function (value, element) { return (value!="" && value.length == 7 && $.isNumeric(value) ? true : false); }, "Enter your 7-digit Employee ID"); jQuery.validator.addMethod("allowed_arm_only", function (value, element) { if (/@arm.com\s*$/.test(value) || /@liveunion.co.uk\s*$/.test(value) || /@armchina.com\s*$/.test(value) || /@treasure-data.com\s*$/.test(value) || /@ashfaqsolangi.com\s*$/.test(value)) { return true; }else{ return false; } }, "Please use your official email, provided email address is not allowed."); jQuery.validator.addMethod("CRIAQOnly", function (value, element) { if (/@3m.com\s*$/.test(value) || /@a7integration.com\s*$/.test(value) || /@acsynam.com\s*$/.test(value) || /@advancedpowdercoatinginc.com\s*$/.test(value) || /@aeromontreal.ca\s*$/.test(value) || /@aeronyx.ca\s*$/.test(value) || /@admtl.com\s*$/.test(value) || /@aiac.ca\s*$/.test(value) || /@asiiweb.com\s*$/.test(value) || /@apnca.com\s*$/.test(value) || /@vyoo.ai\s*$/.test(value) || /@ara-uas.com\s*$/.test(value) || /@atem.com\s*$/.test(value) || /@athenatechno.tech\s*$/.test(value) || /@avr-global.com\s*$/.test(value) || /@l3commercialaviation.com\s*$/.test(value) || /@avior.ca\s*$/.test(value) || /@bmu.co\s*$/.test(value) || /@bellhelicopter.com\s*$/.test(value) || /@biexpertise.com\s*$/.test(value) || /@binarieslid.com\s*$/.test(value) || /@bombardier.com\s*$/.test(value) || /@cae.com\s*$/.test(value) || /@calogysolutions.com\s*$/.test(value) || /@asc-csa.gc.ca\s*$/.test(value) || /@carillon.ca\s*$/.test(value) || /@cgq.qc.ca\s*$/.test(value) || /@cmqtr.qc.ca\s*$/.test(value) || /@crvi.ca\s*$/.test(value) || /@ctmp.ca\s*$/.test(value) || /@cqrda.caglish\s*$/.test(value) || /@cegepmontpetit.ca\s*$/.test(value) || /@ciena.com\s*$/.test(value) || /@cmcelectronics.ca\s*$/.test(value) || /@cdcq.qc.ca\s*$/.test(value) || /@compositesvci.com\s*$/.test(value) || /@genikinc.com\s*$/.test(value) || /@concordia.ca\s*$/.test(value) || /@crim.ca\s*$/.test(value) || /@criq.qc.ca\s*$/.test(value) || /@cscanada.ca\s*$/.test(value) || /@deepsight.ca\s*$/.test(value) || /@delastek.com\s*$/.test(value) || /@deleaves-drone.com\s*$/.test(value) || /@demaspa.it\s*$/.test(value) || /@dronevolt.com\s*$/.test(value) || /@etsmtl.ca\s*$/.test(value) || /@polymtl.ca\s*$/.test(value) || /@elastoproxy.com\s*$/.test(value) || /@electro-kut.com\s*$/.test(value) || /@elementai.com\s*$/.test(value) || /@elisen-assoc.com\s*$/.test(value) || /@equispheres.com\s*$/.test(value) || /@castolin.com-CA\s*$/.test(value) || /@exonetik.com\s*$/.test(value) || /@exonetik.com\s*$/.test(value) || /@flying-whales.com\s*$/.test(value) || /@frqnt.gouv.qc.ca\s*$/.test(value) || /@fusia.fr\s*$/.test(value) || /@microsoft.com\s*$/.test(value) || /@fzengineering.com\s*$/.test(value) || /@gardn.org\s*$/.test(value) || /@globvision.com\s*$/.test(value) || /@economie.gouv.qc.ca\s*$/.test(value) || /@gcttg.com\s*$/.test(value) || /@hec.ca\s*$/.test(value) || /@herouxdevtek.com\s*$/.test(value) || /@humanitas.io\s*$/.test(value) || /@hutchinson.com\s*$/.test(value) || /@hydroquebec.com\s*$/.test(value) || /@idscorporation.com\s*$/.test(value) || /@visiooimage.com\s*$/.test(value) || /@ivisolutions.ca\s*$/.test(value) || /@ino.ca\s*$/.test(value) || /@inrs.caglish\s*$/.test(value) || /@keitas.com\s*$/.test(value) || /@kinovarobotics.com\s*$/.test(value) || /@biomaterials.kruger.com\s*$/.test(value) || /@l3t.com\s*$/.test(value) || /@laflamme-ing.com\s*$/.test(value) || /@latesys.com\s*$/.test(value) || /@libellulemonde.com\s*$/.test(value) || /@liburdi.com\s*$/.test(value) || /@socomore.com\s*$/.test(value) || /@magellan.aero\s*$/.test(value) || /@mss.ca\s*$/.test(value) || /@marinvent.com\s*$/.test(value) || /@mayahtt.com\s*$/.test(value) || /@mcgill.ca\s*$/.test(value) || /@mdacorporation.com\s*$/.test(value) || /@mecanum.com\s*$/.test(value) || /@melocheinc.com\s*$/.test(value) || /@messier-dowty.com\s*$/.test(value) || /@nachurs-alpine.com\s*$/.test(value) || /@nrc-cnrc.gc.cag\s*$/.test(value) || /@nergica.com\s*$/.test(value) || /@netur.ca\s*$/.test(value) || /@neuralvol.com\s*$/.test(value) || /@ngcaerospace.com\s*$/.test(value) || /@nordiasoft.com\s*$/.test(value) || /@notostechnologies.com\s*$/.test(value) || /@novika.ca\s*$/.test(value) || /@nrc-cnrc.gc.cag\s*$/.test(value) || /@theobjects.com\s*$/.test(value) || /@opal-rt.com\s*$/.test(value) || /@optonique.ca\s*$/.test(value) || /@ova.ai\s*$/.test(value) || /@parker.com\s*$/.test(value) || /@pwc.ca\s*$/.test(value) || /@precisionadm.com\s*$/.test(value) || /@presagis.com\s*$/.test(value) || /@prop-air.com\s*$/.test(value) || /@pultrusiontech.com\s*$/.test(value) || /@qohash.com\s*$/.test(value) || /@queensu.ca\s*$/.test(value) || /@reactiondynamics.space\s*$/.test(value) || /@rheagroup.com\s*$/.test(value) || /@rockwellcollins.com\s*$/.test(value) || /@rolls-royce.com\s*$/.test(value) || /@pmscada.ca\s*$/.test(value) || /@safran-helicopter-engines.com\s*$/.test(value) || /@savinte.com\s*$/.test(value) || /@seedai.ca\s*$/.test(value) || /@siicanada.com\s*$/.test(value) || /@dcm.aero\s*$/.test(value) || /@sita.aero\s*$/.test(value) || /@solaxis.ca\s*$/.test(value) || /@sonacamontreal.com\s*$/.test(value) || /@sphereco.ca\s*$/.test(value) || /@stelia-aerospace.com\s*$/.test(value) || /@tecnar.com\s*$/.test(value) || /@teijincarbon.com\s*$/.test(value) || /@tekna.com\s*$/.test(value) || /@thalesgroup.com\s*$/.test(value) || /@thalesgroup.com\s*$/.test(value) || /@trafinc.com\s*$/.test(value) || /@tristarmulticopters.com\s*$/.test(value) || /@cedalma.com\s*$/.test(value) || /@umontreal.ca\s*$/.test(value) || /@usherbrooke.ca\s*$/.test(value) || /@uqac.ca\s*$/.test(value) || /@uqam.caglish\s*$/.test(value) || /@uqtr.ca\s*$/.test(value) || /@ulaval.ca\s*$/.test(value) || /@uwindsor.ca\s*$/.test(value) || /@valqari.com\s*$/.test(value) || /@vigilantglobal.com\s*$/.test(value) || /@vozwin.com\s*$/.test(value) || /@lets-warp.com\s*$/.test(value) || /@xonaspace.com\s*$/.test(value)) { return true; }else{ return false; } }, "Please use your CRIAQ member organization email address."); jQuery.validator.addMethod("BlockedCadence", function (value, element) { if (/@126.com\s*$/.test(value) || /@163.com\s*$/.test(value) || /@adelphia.net\s*$/.test(value) || /@air.net\s*$/.test(value) || /@airmail.net\s*$/.test(value) || /@aliyun.com\s*$/.test(value) || /@aol.com\s*$/.test(value) || /@atlanticbb.net\s*$/.test(value) || /@att.net\s*$/.test(value) || /@att.yahoo.com\s*$/.test(value) || /@attbi.com\s*$/.test(value) || /@attglobal.net\s*$/.test(value) || /@autowb.com\s*$/.test(value) || /@basicisp.net\s*$/.test(value) || /@bcpl.net\s*$/.test(value) || /@bellatlantic.net\s*$/.test(value) || /@bellnet.ca\s*$/.test(value) || /@bellsouth.net\s*$/.test(value) || /@bestweb.net\s*$/.test(value) || /@bev.net\s*$/.test(value) || /@blacksburg.net\s*$/.test(value) || /@blazenet.net\s*$/.test(value) || /@cableone.net\s*$/.test(value) || /@cais.net\s*$/.test(value) || /@cantv.net\s*$/.test(value) || /@capu.net\s*$/.test(value) || /@ce.medione.net\s*$/.test(value) || /@central.cox.net\s*$/.test(value) || /@centurylink.com\s*$/.test(value) || /@charm.net\s*$/.test(value) || /@charter.net\s*$/.test(value) || /@comcast.net\s*$/.test(value) || /@compuserve.com\s*$/.test(value) || /@concentric.net\s*$/.test(value) || /@covad.net\s*$/.test(value) || /@cox.net\s*$/.test(value) || /@coxmail.com\s*$/.test(value) || /@crosslink.net\s*$/.test(value) || /@csi.com\s*$/.test(value) || /@daum.net\s*$/.test(value) || /@dca.net\s*$/.test(value) || /@deltanet.com\s*$/.test(value) || /@direcway.com \s*$/.test(value) || /@dmv.com\s*$/.test(value) || /@dslextreme.com\s*$/.test(value) || /@earthlink.net\s*$/.test(value) || /@east.cox.net\s*$/.test(value) || /@edge.net\s*$/.test(value) || /@email.com\s*$/.test(value) || /@emsn.com\s*$/.test(value) || /@enter.net\s*$/.test(value) || /@erols.com\s*$/.test(value) || /@excite.com\s*$/.test(value) || /@ezy.net\s*$/.test(value) || /@fastmail.fm\s*$/.test(value) || /@fcc.net\s*$/.test(value) || /@flashcom.net\s*$/.test(value) || /@forthnet.gr\s*$/.test(value) || /@frontier.com\s*$/.test(value) || /@frontline.net\s*$/.test(value) || /@fullchannel.net\s*$/.test(value) || /@Gateway.net\s*$/.test(value) || /@gl.centurytel.net\s*$/.test(value) || /@gl.umbc.edu\s*$/.test(value) || /@gmail.co.in\s*$/.test(value) || /@gmail.com\s*$/.test(value) || /@gmail.hu\s*$/.test(value) || /@gmail.it\s*$/.test(value) || /@gmail.ru\s*$/.test(value) || /@gtei.bellatlantic.net\s*$/.test(value) || /@gti.net\s*$/.test(value) || /@gw.dmv.com\s*$/.test(value) || /@hanmail.net\s*$/.test(value) || /@hotcom\s*$/.test(value) || /@hotmail.com\s*$/.test(value) || /@ibm.net \s*$/.test(value) || /@idx4.com\s*$/.test(value) || /@iearthlink.net\s*$/.test(value) || /@ihwy.com\s*$/.test(value) || /@integra.net\s*$/.test(value) || /@interaccess.com\s*$/.test(value) || /@internetmci.com\s*$/.test(value) || /@ionet.net\s*$/.test(value) || /@i-plus.net\s*$/.test(value) || /@ismtp.earthlink.net\s*$/.test(value) || /@isp.com\s*$/.test(value) || /@itol.com\s*$/.test(value) || /@ix.netcom.com\s*$/.test(value) || /@juno.com\s*$/.test(value) || /@kulmeo.com\s*$/.test(value) || /@live.com\s*$/.test(value) || /@mchsi.com\s*$/.test(value) || /@mciworldcom.net \s*$/.test(value) || /@mediacomcable.com\s*$/.test(value) || /@medione.net\s*$/.test(value) || /@megapathdsl.net\s*$/.test(value) || /@mindspring.com\s*$/.test(value) || /@msn.com\s*$/.test(value) || /@mw.centurytel.net\s*$/.test(value) || /@nauticom.net\s*$/.test(value) || /@naver.com\s*$/.test(value) || /@netaddress.usa.net\s*$/.test(value) || /@netcom.ca\s*$/.test(value) || /@netcom.com \s*$/.test(value) || /@netscape.com\s*$/.test(value) || /@netzero.net\s*$/.test(value) || /@njd.xo.com\s*$/.test(value) || /@ntegra.net\s*$/.test(value) || /@nw.centurytel.net\s*$/.test(value) || /@olg.com\s*$/.test(value) || /@optonline.net\s*$/.test(value) || /@oranek.com\s*$/.test(value) || /@outblaze.com\s*$/.test(value) || /@outlook.com\s*$/.test(value) || /@pacbell.net \s*$/.test(value) || /@patmedia.net\s*$/.test(value) || /@peoplepc.com\s*$/.test(value) || /@pipeline.com\s*$/.test(value) || /@prodigy.net\s*$/.test(value) || /@proptd.net\s*$/.test(value) || /@psi.net\s*$/.test(value) || /@ptd.net\s*$/.test(value) || /@qis.net\s*$/.test(value) || /@qq.com\s*$/.test(value) || /@qwest.net\s*$/.test(value) || /@rackspace.com\s*$/.test(value) || /@rcn.com\s*$/.test(value) || /@relay.psi.net\s*$/.test(value) || /@rogers.com\s*$/.test(value) || /@rr.com\s*$/.test(value) || /@rsvhr.com\s*$/.test(value) || /@rupayamail.com\s*$/.test(value) || /@sbcglobal.net\s*$/.test(value) || /@sbcglobal.yahoo.com\s*$/.test(value) || /@sk.sympatico.ca\s*$/.test(value) || /@smarthost.cox.com\s*$/.test(value) || /@snip.net\s*$/.test(value) || /@so.centurytel.net\s*$/.test(value) || /@sprint.com\s*$/.test(value) || /@sprintmail.com \s*$/.test(value) || /@sprynet.com\s*$/.test(value) || /@starpower.net\s*$/.test(value) || /@suddenlink.com\s*$/.test(value) || /@surewest.net\s*$/.test(value) || /@swva.net\s*$/.test(value) || /@sympatico.ca\s*$/.test(value) || /@synacor.com\s*$/.test(value) || /@telus.net\s*$/.test(value) || /@toto.net\s*$/.test(value) || /@tucows.com\s*$/.test(value) || /@usa.net\s*$/.test(value) || /@usit.net\s*$/.test(value) || /@uu.net\s*$/.test(value) || /@veanlo.com\s*$/.test(value) || /@verizon.net\s*$/.test(value) || /@videotron.ca\s*$/.test(value) || /@webstable.com\s*$/.test(value) || /@west.cox.net\s*$/.test(value) || /@wideopenwest.com\s*$/.test(value) || /@windstream.com\s*$/.test(value) || /@wockcy.com\s*$/.test(value) || /@worldnet.att.net \s*$/.test(value) || /@xo.com\s*$/.test(value) || /@yahoo.ca\s*$/.test(value) || /@yahoo.cn\s*$/.test(value) || /@yahoo.co.id\s*$/.test(value) || /@yahoo.co.in\s*$/.test(value) || /@yahoo.co.jp\s*$/.test(value) || /@yahoo.co.kr\s*$/.test(value) || /@yahoo.co.nz\s*$/.test(value) || /@yahoo.co.th\s*$/.test(value) || /@yahoo.co.uk\s*$/.test(value) || /@yahoo.com\s*$/.test(value) || /@yahoo.de\s*$/.test(value) || /@yahoo.dk\s*$/.test(value) || /@yahoo.es\s*$/.test(value) || /@yahoo.fr\s*$/.test(value) || /@yahoo.gr\s*$/.test(value) || /@yahoo.ie\s*$/.test(value) || /@yahoo.in\s*$/.test(value) || /@yahoo.it\s*$/.test(value) || /@yahoo.no\s*$/.test(value) || /@yahoo.pl\s*$/.test(value) || /@yahoo.ro\s*$/.test(value) || /@yahoo.se\s*$/.test(value) || /@yahoogroups.com\s*$/.test(value) || /@ymail.com\s*$/.test(value) || /@yopmail.com\s*$/.test(value) || /@ziplink.net\s*$/.test(value) || /@rediffmail.com\s*$/.test(value) || /@icloud.com\s*$/.test(value) || /@alessandroogheri.com\s*$/.test(value) || /@abelite-da.com\s*$/.test(value) || /@adiva.com\s*$/.test(value) || /@advantest-ard.com\s*$/.test(value) || /@alatek.com\s*$/.test(value) || /@aldec.com\s*$/.test(value) || /@awaveip.com\s*$/.test(value) || /@altium.com\s*$/.test(value) || /@altium.com.au\s*$/.test(value) || /@amiq.com\s*$/.test(value) || /@analogbits.com\s*$/.test(value) || /@analogix.com\s*$/.test(value) || /@anasift.com\s*$/.test(value) || /@andestech.com\s*$/.test(value) || /@ankasys.com\s*$/.test(value) || /@ansys.com\s*$/.test(value) || /@apsimtech.com\s*$/.test(value) || /@adapt-io.com\s*$/.test(value) || /@arcadiainnovation.com\s*$/.test(value) || /@archelon.com\s*$/.test(value) || /@arteris.com\s*$/.test(value) || /@ascinc.com\s*$/.test(value) || /@asicdepot.com\s*$/.test(value) || /@asic-world.com\s*$/.test(value) || /@astc-design.com\s*$/.test(value) || /@atoptech.com\s*$/.test(value) || /@aumraj.com\s*$/.test(value) || /@aurora.tech\s*$/.test(value) || /@ausdia.com\s*$/.test(value) || /@autodesk.com\s*$/.test(value) || /@broadcom.com\s*$/.test(value) || /@avatar-da.com\s*$/.test(value) || /@averant.com\s*$/.test(value) || /@avery-design.com\s*$/.test(value) || /@axiscorp.com\s*$/.test(value) || /@axisdesign.com\s*$/.test(value) || /@axissystems.com\s*$/.test(value) || /@beyondsemi.com\s*$/.test(value) || /@bluepearlsoftware.com\s*$/.test(value) || /@bluespec.com\s*$/.test(value) || /@brekersystems.com\s*$/.test(value) || /@cad-design.com\s*$/.test(value) || /@cast-inc.com\s*$/.test(value) || /@ceva-dsp.com\s*$/.test(value) || /@cfdrc.com\s*$/.test(value) || /@chipglobe.com\s*$/.test(value) || /@chipmd.com\s*$/.test(value) || /@codasip.com\s*$/.test(value) || /@cst.com\s*$/.test(value) || /@Comsol.com\s*$/.test(value) || /@correctdesigns.com\s*$/.test(value) || /@cortus.com\s*$/.test(value) || /@coseda-tech.com\s*$/.test(value) || /@cwseda.com\s*$/.test(value) || /@credosemi.com\s*$/.test(value) || /@alibaba.com\s*$/.test(value) || /@cvcblr.com\s*$/.test(value) || /@3ds.com\s*$/.test(value) || /@defactotech.com\s*$/.test(value) || /@designw.com\s*$/.test(value) || /@diakopto.com\s*$/.test(value) || /@digitalcircuitdesign.com\s*$/.test(value) || /@dcd.pl\s*$/.test(value) || /@dolphin-design.fr\s*$/.test(value) || /@dspg.com\s*$/.test(value) || /@dynalith.com\s*$/.test(value) || /@easyic.ro\s*$/.test(value) || /@edaptive.com\s*$/.test(value) || /@elcamino.de\s*$/.test(value) || /@elgris.com\s*$/.test(value) || /@elsys-eastern.com\s*$/.test(value) || /@esperanto.ai\s*$/.test(value) || /@etopus.com\s*$/.test(value) || /@eurekatech.com\s*$/.test(value) || /@excellicon.com\s*$/.test(value) || /@fintronic.com\s*$/.test(value) || /@fishtail-da.com\s*$/.test(value) || /@fract-tech.com\s*$/.test(value) || /@frobas.com\s*$/.test(value) || /@fsresult.com\s*$/.test(value) || /@ftlsystems.com\s*$/.test(value) || /@gaisler.com\s*$/.test(value) || /@gemdt.com\s*$/.test(value) || /@guc-asic.com\s*$/.test(value) || /@hdl-dh.com\s*$/.test(value) || /@hisilicon.com\s*$/.test(value) || /@empyrean.com.cn\s*$/.test(value) || /@empyrean-tech.com\s*$/.test(value) || /@huawei.com\s*$/.test(value) || /@hypersilicon.com\s*$/.test(value) || /@ibextech.jp\s*$/.test(value) || /@icmanage.com\s*$/.test(value) || /@imgtec.com\s*$/.test(value) || /@ime.cas.cn\s*$/.test(value) || /@incentia.com\s*$/.test(value) || /@incoresemi.com\s*$/.test(value) || /@infinisim.com\s*$/.test(value) || /@innosilicon.com\s*$/.test(value) || /@inno-logic.com\s*$/.test(value) || /@inphi.com\s*$/.test(value) || /@insighteda.com\s*$/.test(value) || /@Integratedsoft.com\s*$/.test(value) || /@intelliprop.com\s*$/.test(value) || /@interrasystems.com\s*$/.test(value) || /@intusoft.com\s*$/.test(value) || /@ip-maker.com\s*$/.test(value) || /@iroctech.com\s*$/.test(value) || /@javelin-da.com\s*$/.test(value) || /@Jcmwave.com\s*$/.test(value) || /@jedat.co.jp\s*$/.test(value) || /@jtag.com\s*$/.test(value) || /@kandou.com\s*$/.test(value) || /@keysight.com\s*$/.test(value) || /@lorentzsolution.com\s*$/.test(value) || /@lowrisc.org\s*$/.test(value) || /@lucedaphotonics.com\s*$/.test(value) || /@m31tech.com\s*$/.test(value) || /@Magillem.com\s*$/.test(value) || /@magma.com\s*$/.test(value) || /@maviss-design.com\s*$/.test(value) || /@mayahtt.com\s*$/.test(value) || /@memscap.com\s*$/.test(value) || /@mentor.com\s*$/.test(value) || /@mentorg.com\s*$/.test(value) || /@mentorgraphics.com\s*$/.test(value) || /@methods2business.com\s*$/.test(value) || /@microeda.com\s*$/.test(value) || /@mixel.com\s*$/.test(value) || /@morethanip.com\s*$/.test(value) || /@mosys.com\s*$/.test(value) || /@motivo.ai\s*$/.test(value) || /@msol.co.jp\s*$/.test(value) || /@mti.com\s*$/.test(value) || /@mycad.com\s*$/.test(value) || /@nangate.com\s*$/.test(value) || /@nimbic.com\s*$/.test(value) || /@nobug.ro\s*$/.test(value) || /@nptest.com\s*$/.test(value) || /@nsysinc.com\s*$/.test(value) || /@ntlab.com\s*$/.test(value) || /@numeritech.com\s*$/.test(value) || /@nwlogic.com\s*$/.test(value) || /@oasis-ds.com\s*$/.test(value) || /@obsidiansoft.com\s*$/.test(value) || /@oea.com\s*$/.test(value) || /@onespin-solutions.com\s*$/.test(value) || /@opshub.com\s*$/.test(value) || /@optem.com\s*$/.test(value) || /@optimalcorp.com\s*$/.test(value) || /@Optiwave.com\s*$/.test(value) || /@oskitechnology.com\s*$/.test(value) || /@paradigm-works.com\s*$/.test(value) || /@paragon-ic.com\s*$/.test(value) || /@perceptionsoftware.com\s*$/.test(value) || /@perfectvips.com\s*$/.test(value) || /@pgc.com\s*$/.test(value) || /@pgc.com.tw\s*$/.test(value) || /@phoenixsoftware.com\s*$/.test(value) || /@Photond.com\s*$/.test(value) || /@pitsim.com\s*$/.test(value) || /@plda.com\s*$/.test(value) || /@prodesigncad.de\s*$/.test(value) || /@prodesign-europe.com\s*$/.test(value) || /@prolificinc.com\s*$/.test(value) || /@prolific.com.tw\s*$/.test(value) || /@prosilog.com\s*$/.test(value) || /@prover.com\s*$/.test(value) || /@provino-tech.com\s*$/.test(value) || /@ptc.com\s*$/.test(value) || /@pulsic.com\s*$/.test(value) || /@qdai.com\s*$/.test(value) || /@rachip.com\s*$/.test(value) || /@randomlogiccorp.com\s*$/.test(value) || /@realintent.com\s*$/.test(value) || /@remicro.com\s*$/.test(value) || /@Remcom.com\s*$/.test(value) || /@reshape.com\s*$/.test(value) || /@roalogic.com\s*$/.test(value) || /@robustchip.com\s*$/.test(value) || /@runtimeinc.com\s*$/.test(value) || /@s2cinc.com\s*$/.test(value) || /@s3group.com\s*$/.test(value) || /@safelogic.se\s*$/.test(value) || /@sagantec.de\s*$/.test(value) || /@sagantec.nl\s*$/.test(value) || /@sagantec.com\s*$/.test(value) || /@sandwork.com\s*$/.test(value) || /@kavcak.com\s*$/.test(value) || /@scianalog.com\s*$/.test(value) || /@sd.com\s*$/.test(value) || /@semifore.com\s*$/.test(value) || /@semtech.com\s*$/.test(value) || /@sequencedesign.com\s*$/.test(value) || /@sfmtech.com\s*$/.test(value) || /@shearwater.com\s*$/.test(value) || /@sifive.com\s*$/.test(value) || /@sicanvas.com \s*$/.test(value) || /@siemens.com\s*$/.test(value) || /@sierra-da.com\s*$/.test(value) || /@sifr.com\s*$/.test(value) || /@sisoft.com\s*$/.test(value) || /@sii.co.jp\s*$/.test(value) || /@siliconcr.com\s*$/.test(value) || /@siliconds.com\s*$/.test(value) || /@silicontechnologiesinc.com\s*$/.test(value) || /@siliconcanvas.com\s*$/.test(value) || /@silexinsight.com\s*$/.test(value) || /@silvaco.com\s*$/.test(value) || /@simantis.com\s*$/.test(value) || /@snowbush.com\s*$/.test(value) || /@softmixedsignal.com\s*$/.test(value) || /@sonicsinc.com\s*$/.test(value) || /@sonnetsoftware.com\s*$/.test(value) || /@stellacorp.co.jp\s*$/.test(value) || /@stonepillar.com\s*$/.test(value) || /@sycon-design.com\s*$/.test(value) || /@syncad.com\s*$/.test(value) || /@synopsys.co.jp\s*$/.test(value) || /@synopsys.com\s*$/.test(value) || /@syntacore.com\s*$/.test(value) || /@syntest.com\s*$/.test(value) || /@syosil.com\s*$/.test(value) || /@takumi-solutions.com\s*$/.test(value) || /@tanner.com\s*$/.test(value) || /@tdasystems.com\s*$/.test(value) || /@txcorp.com\s*$/.test(value) || /@tekstart.com\s*$/.test(value) || /@tempusf.com\s*$/.test(value) || /@tension.com\s*$/.test(value) || /@terasystems.com\s*$/.test(value) || /@tessi.com\s*$/.test(value) || /@timingdesigner.com\s*$/.test(value) || /@tool.co.jp\s*$/.test(value) || /@tracto.da.com\s*$/.test(value) || /@transeda.com\s*$/.test(value) || /@truecircuits.com\s*$/.test(value) || /@trustic.eu\s*$/.test(value) || /@ubitechnology.com\s*$/.test(value) || /@uniquify.com\s*$/.test(value) || /@veriests.com\s*$/.test(value) || /@veriez.com\s*$/.test(value) || /@verific.com\s*$/.test(value) || /@vtech-inc.co.jp\s*$/.test(value) || /@verifore.jp\s*$/.test(value) || /@verilab.com\s*$/.test(value) || /@verisense.com\s*$/.test(value) || /@verisilicon.com\s*$/.test(value) || /@veritools.com\s*$/.test(value) || /@versysdesign.com\s*$/.test(value) || /@videantis.com\s*$/.test(value) || /@videantis.de\s*$/.test(value) || /@vivantecorp.com\s*$/.test(value) || /@voomtown.com\s*$/.test(value) || /@vpiphotonics.com\s*$/.test(value) || /@vworks.com\s*$/.test(value) || /@wavecomp.ai\s*$/.test(value) || /@wssi.com\s*$/.test(value) || /@xjtag.com\s*$/.test(value) || /@xpedion.com\s*$/.test(value) || /@xplm.com\s*$/.test(value) || /@xtreme-eda.com\s*$/.test(value) || /@yxi.com\s*$/.test(value) || /@zeland.com\s*$/.test(value) || /@zenasis.com\s*$/.test(value) || /@zsp.com\s*$/.test(value) || /@zuken.com\s*$/.test(value) || /@incusolution.com\s*$/.test(value) || /@atosolution.com\s*$/.test(value) || /@126.com\s*$/.test(value) || /@163.com\s*$/.test(value) || /@3ds.com\s*$/.test(value) || /@abelite-da.com\s*$/.test(value) || /@adapt-io.com\s*$/.test(value) || /@adelphia.net\s*$/.test(value) || /@adiva.com\s*$/.test(value) || /@advantest-ard.com\s*$/.test(value) || /@air.net\s*$/.test(value) || /@airmail.net\s*$/.test(value) || /@alatek.com\s*$/.test(value) || /@aldec.com\s*$/.test(value) || /@alessandroogheri.com\s*$/.test(value) || /@alibaba.com\s*$/.test(value) || /@aliyun.com\s*$/.test(value) || /@altium.com\s*$/.test(value) || /@altium.com.au\s*$/.test(value) || /@amiq.com\s*$/.test(value) || /@analogbits.com\s*$/.test(value) || /@analogix.com\s*$/.test(value) || /@anasift.com\s*$/.test(value) || /@andestech.com\s*$/.test(value) || /@ankasys.com\s*$/.test(value) || /@ansys.com\s*$/.test(value) || /@aol.com\s*$/.test(value) || /@apsimtech.com\s*$/.test(value) || /@arcadiainnovation.com\s*$/.test(value) || /@archelon.com\s*$/.test(value) || /@arteris.com\s*$/.test(value) || /@ascinc.com\s*$/.test(value) || /@asicdepot.com\s*$/.test(value) || /@asic-world.com\s*$/.test(value) || /@astc-design.com\s*$/.test(value) || /@atlanticbb.net\s*$/.test(value) || /@atoptech.com\s*$/.test(value) || /@att.net\s*$/.test(value) || /@att.yahoo.com\s*$/.test(value) || /@attbi.com\s*$/.test(value) || /@attglobal.net\s*$/.test(value) || /@aumraj.com\s*$/.test(value) || /@aurora.tech\s*$/.test(value) || /@ausdia.com\s*$/.test(value) || /@autodesk.com\s*$/.test(value) || /@autowb.com\s*$/.test(value) || /@avatar-da.com\s*$/.test(value) || /@averant.com\s*$/.test(value) || /@avery-design.com\s*$/.test(value) || /@awaveip.com\s*$/.test(value) || /@axiscorp.com\s*$/.test(value) || /@axisdesign.com\s*$/.test(value) || /@axissystems.com\s*$/.test(value) || /@basicisp.net\s*$/.test(value) || /@bcpl.net\s*$/.test(value) || /@bellatlantic.net\s*$/.test(value) || /@bellnet.ca\s*$/.test(value) || /@bellsouth.net\s*$/.test(value) || /@bestweb.net\s*$/.test(value) || /@bev.net\s*$/.test(value) || /@beyondsemi.com\s*$/.test(value) || /@blacksburg.net\s*$/.test(value) || /@blazenet.net\s*$/.test(value) || /@bluepearlsoftware.com\s*$/.test(value) || /@bluespec.com\s*$/.test(value) || /@brekersystems.com\s*$/.test(value) || /@broadcom.com\s*$/.test(value) || /@cableone.net\s*$/.test(value) || /@cad-design.com\s*$/.test(value) || /@cais.net\s*$/.test(value) || /@cantv.net\s*$/.test(value) || /@capu.net\s*$/.test(value) || /@cast-inc.com\s*$/.test(value) || /@ce.medione.net\s*$/.test(value) || /@central.cox.net\s*$/.test(value) || /@centurylink.com\s*$/.test(value) || /@ceva-dsp.com\s*$/.test(value) || /@cfdrc.com\s*$/.test(value) || /@charm.net\s*$/.test(value) || /@charter.net\s*$/.test(value) || /@chipglobe.com\s*$/.test(value) || /@chipmd.com\s*$/.test(value) || /@codasip.com\s*$/.test(value) || /@comcast.net\s*$/.test(value) || /@compuserve.com\s*$/.test(value) || /@Comsol.com\s*$/.test(value) || /@concentric.net\s*$/.test(value) || /@correctdesigns.com\s*$/.test(value) || /@cortus.com\s*$/.test(value) || /@coseda-tech.com\s*$/.test(value) || /@covad.net\s*$/.test(value) || /@cox.net\s*$/.test(value) || /@coxmail.com\s*$/.test(value) || /@credosemi.com\s*$/.test(value) || /@crosslink.net\s*$/.test(value) || /@csi.com\s*$/.test(value) || /@cst.com\s*$/.test(value) || /@cvcblr.com\s*$/.test(value) || /@cwseda.com\s*$/.test(value) || /@daum.net\s*$/.test(value) || /@dca.net\s*$/.test(value) || /@dcd.pl\s*$/.test(value) || /@defactotech.com\s*$/.test(value) || /@deltanet.com\s*$/.test(value) || /@designw.com\s*$/.test(value) || /@diakopto.com\s*$/.test(value) || /@digitalcircuitdesign.com\s*$/.test(value) || /@direcway.com \s*$/.test(value) || /@dmv.com\s*$/.test(value) || /@dolphin-design.fr\s*$/.test(value) || /@dslextreme.com\s*$/.test(value) || /@dspg.com\s*$/.test(value) || /@dynalith.com\s*$/.test(value) || /@earthlink.net\s*$/.test(value) || /@east.cox.net\s*$/.test(value) || /@easyic.ro\s*$/.test(value) || /@edaptive.com\s*$/.test(value) || /@edge.net\s*$/.test(value) || /@elcamino.de\s*$/.test(value) || /@elgris.com\s*$/.test(value) || /@elsys-eastern.com\s*$/.test(value) || /@email.com\s*$/.test(value) || /@empyrean.com.cn\s*$/.test(value) || /@empyrean-tech.com\s*$/.test(value) || /@emsn.com\s*$/.test(value) || /@enter.net\s*$/.test(value) || /@erols.com\s*$/.test(value) || /@esperanto.ai\s*$/.test(value) || /@etopus.com\s*$/.test(value) || /@eurekatech.com\s*$/.test(value) || /@excellicon.com\s*$/.test(value) || /@excite.com\s*$/.test(value) || /@ezy.net\s*$/.test(value) || /@fastmail.fm\s*$/.test(value) || /@fcc.net\s*$/.test(value) || /@fintronic.com\s*$/.test(value) || /@fishtail-da.com\s*$/.test(value) || /@flashcom.net\s*$/.test(value) || /@forthnet.gr\s*$/.test(value) || /@fract-tech.com\s*$/.test(value) || /@frobas.com\s*$/.test(value) || /@frontier.com\s*$/.test(value) || /@frontline.net\s*$/.test(value) || /@fsresult.com\s*$/.test(value) || /@ftlsystems.com\s*$/.test(value) || /@fullchannel.net\s*$/.test(value) || /@gaisler.com\s*$/.test(value) || /@Gateway.net\s*$/.test(value) || /@gemdt.com\s*$/.test(value) || /@gl.centurytel.net\s*$/.test(value) || /@gl.umbc.edu\s*$/.test(value) || /@gmail.co.in\s*$/.test(value) || /@gmail.com\s*$/.test(value) || /@gmail.hu\s*$/.test(value) || /@gmail.it\s*$/.test(value) || /@gmail.ru\s*$/.test(value) || /@gtei.bellatlantic.net\s*$/.test(value) || /@gti.net\s*$/.test(value) || /@guc-asic.com\s*$/.test(value) || /@gw.dmv.com\s*$/.test(value) || /@hanmail.net\s*$/.test(value) || /@hdl-dh.com\s*$/.test(value) || /@hisilicon.com\s*$/.test(value) || /@hotcom\s*$/.test(value) || /@hotmail.com\s*$/.test(value) || /@huawei.com\s*$/.test(value) || /@hypersilicon.com\s*$/.test(value) || /@ibextech.jp\s*$/.test(value) || /@ibm.net \s*$/.test(value) || /@icloud.com\s*$/.test(value) || /@icmanage.com\s*$/.test(value) || /@idx4.com\s*$/.test(value) || /@iearthlink.net\s*$/.test(value) || /@ihwy.com\s*$/.test(value) || /@ime.cas.cn\s*$/.test(value) || /@imgtec.com\s*$/.test(value) || /@incentia.com\s*$/.test(value) || /@incoresemi.com\s*$/.test(value) || /@infinisim.com\s*$/.test(value) || /@inno-logic.com\s*$/.test(value) || /@innosilicon.com\s*$/.test(value) || /@inphi.com\s*$/.test(value) || /@insighteda.com\s*$/.test(value) || /@integra.net\s*$/.test(value) || /@Integratedsoft.com\s*$/.test(value) || /@intelliprop.com\s*$/.test(value) || /@interaccess.com\s*$/.test(value) || /@internetmci.com\s*$/.test(value) || /@interrasystems.com\s*$/.test(value) || /@intusoft.com\s*$/.test(value) || /@ionet.net\s*$/.test(value) || /@i-plus.net\s*$/.test(value) || /@ip-maker.com\s*$/.test(value) || /@iroctech.com\s*$/.test(value) || /@ismtp.earthlink.net\s*$/.test(value) || /@isp.com\s*$/.test(value) || /@itol.com\s*$/.test(value) || /@ix.netcom.com\s*$/.test(value) || /@javelin-da.com\s*$/.test(value) || /@Jcmwave.com\s*$/.test(value) || /@jedat.co.jp\s*$/.test(value) || /@jtag.com\s*$/.test(value) || /@juno.com\s*$/.test(value) || /@kandou.com\s*$/.test(value) || /@kavcak.com\s*$/.test(value) || /@keysight.com\s*$/.test(value) || /@kulmeo.com\s*$/.test(value) || /@live.com\s*$/.test(value) || /@lorentzsolution.com\s*$/.test(value) || /@lowrisc.org\s*$/.test(value) || /@lucedaphotonics.com\s*$/.test(value) || /@m31tech.com\s*$/.test(value) || /@magillem.com\s*$/.test(value) || /@magma.com\s*$/.test(value) || /@maviss-design.com\s*$/.test(value) || /@mayahtt.com\s*$/.test(value) || /@mchsi.com\s*$/.test(value) || /@mciworldcom.net \s*$/.test(value) || /@mediacomcable.com\s*$/.test(value) || /@medione.net\s*$/.test(value) || /@megapathdsl.net\s*$/.test(value) || /@memscap.com\s*$/.test(value) || /@mentor.com\s*$/.test(value) || /@mentorg.com\s*$/.test(value) || /@mentorgraphics.com\s*$/.test(value) || /@methods2business.com\s*$/.test(value) || /@microeda.com\s*$/.test(value) || /@mindspring.com\s*$/.test(value) || /@mixel.com\s*$/.test(value) || /@morethanip.com\s*$/.test(value) || /@mosys.com\s*$/.test(value) || /@motivo.ai\s*$/.test(value) || /@msn.com\s*$/.test(value) || /@msol.co.jp\s*$/.test(value) || /@mti.com\s*$/.test(value) || /@mw.centurytel.net\s*$/.test(value) || /@mycad.com\s*$/.test(value) || /@nangate.com\s*$/.test(value) || /@nauticom.net\s*$/.test(value) || /@naver.com\s*$/.test(value) || /@netaddress.usa.net\s*$/.test(value) || /@netcom.ca\s*$/.test(value) || /@netcom.com \s*$/.test(value) || /@netscape.com\s*$/.test(value) || /@netzero.net\s*$/.test(value) || /@nimbic.com\s*$/.test(value) || /@njd.xo.com\s*$/.test(value) || /@nobug.ro\s*$/.test(value) || /@nptest.com\s*$/.test(value) || /@nsysinc.com\s*$/.test(value) || /@ntegra.net\s*$/.test(value) || /@ntlab.com\s*$/.test(value) || /@numeritech.com\s*$/.test(value) || /@nw.centurytel.net\s*$/.test(value) || /@nwlogic.com\s*$/.test(value) || /@oasis-ds.com\s*$/.test(value) || /@obsidiansoft.com\s*$/.test(value) || /@oea.com\s*$/.test(value) || /@olg.com\s*$/.test(value) || /@onespin-solutions.com\s*$/.test(value) || /@opshub.com\s*$/.test(value) || /@optem.com\s*$/.test(value) || /@optimalcorp.com\s*$/.test(value) || /@Optiwave.com\s*$/.test(value) || /@optonline.net\s*$/.test(value) || /@oranek.com\s*$/.test(value) || /@oskitechnology.com\s*$/.test(value) || /@outblaze.com\s*$/.test(value) || /@outlook.com\s*$/.test(value) || /@pacbell.net \s*$/.test(value) || /@paradigm-works.com\s*$/.test(value) || /@paragon-ic.com\s*$/.test(value) || /@patmedia.net\s*$/.test(value) || /@peoplepc.com\s*$/.test(value) || /@perceptionsoftware.com\s*$/.test(value) || /@perfectvips.com\s*$/.test(value) || /@pgc.com\s*$/.test(value) || /@pgc.com.tw\s*$/.test(value) || /@phoenixsoftware.com\s*$/.test(value) || /@Photond.com\s*$/.test(value) || /@pipeline.com\s*$/.test(value) || /@pitsim.com\s*$/.test(value) || /@plda.com\s*$/.test(value) || /@prodesigncad.de\s*$/.test(value) || /@prodesign-europe.com\s*$/.test(value) || /@prodigy.net\s*$/.test(value) || /@prolific.com.tw\s*$/.test(value) || /@prolificinc.com\s*$/.test(value) || /@proptd.net\s*$/.test(value) || /@prosilog.com\s*$/.test(value) || /@prover.com\s*$/.test(value) || /@provino-tech.com\s*$/.test(value) || /@psi.net\s*$/.test(value) || /@ptc.com\s*$/.test(value) || /@ptd.net\s*$/.test(value) || /@pulsic.com\s*$/.test(value) || /@qdai.com\s*$/.test(value) || /@qis.net\s*$/.test(value) || /@qq.com\s*$/.test(value) || /@qwest.net\s*$/.test(value) || /@rachip.com\s*$/.test(value) || /@rackspace.com\s*$/.test(value) || /@randomlogiccorp.com\s*$/.test(value) || /@rcn.com\s*$/.test(value) || /@realintent.com\s*$/.test(value) || /@rediffmail.com\s*$/.test(value) || /@relay.psi.net\s*$/.test(value) || /@Remcom.com\s*$/.test(value) || /@remicro.com\s*$/.test(value) || /@reshape.com\s*$/.test(value) || /@roalogic.com\s*$/.test(value) || /@robustchip.com\s*$/.test(value) || /@rogers.com\s*$/.test(value) || /@rr.com\s*$/.test(value) || /@rsvhr.com\s*$/.test(value) || /@runtimeinc.com\s*$/.test(value) || /@rupayamail.com\s*$/.test(value) || /@s2cinc.com\s*$/.test(value) || /@s3group.com\s*$/.test(value) || /@safelogic.se\s*$/.test(value) || /@sagantec.com\s*$/.test(value) || /@sagantec.de\s*$/.test(value) || /@sagantec.nl\s*$/.test(value) || /@sandwork.com\s*$/.test(value) || /@sbcglobal.net\s*$/.test(value) || /@sbcglobal.yahoo.com\s*$/.test(value) || /@scianalog.com\s*$/.test(value) || /@sd.com\s*$/.test(value) || /@semifore.com\s*$/.test(value) || /@semtech.com\s*$/.test(value) || /@sequencedesign.com\s*$/.test(value) || /@sfmtech.com\s*$/.test(value) || /@shearwater.com\s*$/.test(value) || /@sicanvas.com \s*$/.test(value) || /@siemens.com\s*$/.test(value) || /@sierra-da.com\s*$/.test(value) || /@sifive.com\s*$/.test(value) || /@sifr.com\s*$/.test(value) || /@sii.co.jp\s*$/.test(value) || /@silexinsight.com\s*$/.test(value) || /@siliconcanvas.com\s*$/.test(value) || /@siliconcr.com\s*$/.test(value) || /@siliconds.com\s*$/.test(value) || /@silicontechnologiesinc.com\s*$/.test(value) || /@silvaco.com\s*$/.test(value) || /@simantis.com\s*$/.test(value) || /@sisoft.com\s*$/.test(value) || /@sk.sympatico.ca\s*$/.test(value) || /@smarthost.cox.com\s*$/.test(value) || /@snip.net\s*$/.test(value) || /@snowbush.com\s*$/.test(value) || /@so.centurytel.net\s*$/.test(value) || /@softmixedsignal.com\s*$/.test(value) || /@sonicsinc.com\s*$/.test(value) || /@sonnetsoftware.com\s*$/.test(value) || /@sprint.com\s*$/.test(value) || /@sprintmail.com \s*$/.test(value) || /@sprynet.com\s*$/.test(value) || /@starpower.net\s*$/.test(value) || /@stellacorp.co.jp\s*$/.test(value) || /@stonepillar.com\s*$/.test(value) || /@suddenlink.com\s*$/.test(value) || /@surewest.net\s*$/.test(value) || /@swva.net\s*$/.test(value) || /@sycon-design.com\s*$/.test(value) || /@sympatico.ca\s*$/.test(value) || /@synacor.com\s*$/.test(value) || /@syncad.com\s*$/.test(value) || /@synopsys.co.jp\s*$/.test(value) || /@synopsys.com\s*$/.test(value) || /@syntacore.com\s*$/.test(value) || /@syntest.com\s*$/.test(value) || /@syosil.com\s*$/.test(value) || /@takumi-solutions.com\s*$/.test(value) || /@tanner.com\s*$/.test(value) || /@tdasystems.com\s*$/.test(value) || /@tekstart.com\s*$/.test(value) || /@telus.net\s*$/.test(value) || /@tempusf.com\s*$/.test(value) || /@tension.com\s*$/.test(value) || /@terasystems.com\s*$/.test(value) || /@tessi.com\s*$/.test(value) || /@timingdesigner.com\s*$/.test(value) || /@tool.co.jp\s*$/.test(value) || /@toto.net\s*$/.test(value) || /@tracto-da.com \s*$/.test(value) || /@transeda.com\s*$/.test(value) || /@truecircuits.com\s*$/.test(value) || /@trustic.eu\s*$/.test(value) || /@tucows.com\s*$/.test(value) || /@txcorp.com\s*$/.test(value) || /@ubitechnology.com\s*$/.test(value) || /@uniquify.com\s*$/.test(value) || /@usa.net\s*$/.test(value) || /@usit.net\s*$/.test(value) || /@uu.net\s*$/.test(value) || /@veanlo.com\s*$/.test(value) || /@veriests.com\s*$/.test(value) || /@veriez.com\s*$/.test(value) || /@verific.com\s*$/.test(value) || /@verifore.jp\s*$/.test(value) || /@verilab.com\s*$/.test(value) || /@verisense.com\s*$/.test(value) || /@verisilicon.com\s*$/.test(value) || /@veritools.com\s*$/.test(value) || /@verizon.net\s*$/.test(value) || /@versysdesign.com\s*$/.test(value) || /@videantis.com\s*$/.test(value) || /@videantis.de\s*$/.test(value) || /@videotron.ca\s*$/.test(value) || /@vivantecorp.com\s*$/.test(value) || /@voomtown.com\s*$/.test(value) || /@vpiphotonics.com\s*$/.test(value) || /@vtech-inc.co.jp\s*$/.test(value) || /@vworks.com\s*$/.test(value) || /@wavecomp.ai\s*$/.test(value) || /@webstable.com\s*$/.test(value) || /@west.cox.net\s*$/.test(value) || /@wideopenwest.com\s*$/.test(value) || /@windstream.com\s*$/.test(value) || /@wockcy.com\s*$/.test(value) || /@worldnet.att.net \s*$/.test(value) || /@wssi.com\s*$/.test(value) || /@xjtag.com\s*$/.test(value) || /@xo.com\s*$/.test(value) || /@xpedion.com\s*$/.test(value) || /@xplm.com\s*$/.test(value) || /@xtreme-eda.com\s*$/.test(value) || /@yahoo.ca\s*$/.test(value) || /@yahoo.cn\s*$/.test(value) || /@yahoo.co.id\s*$/.test(value) || /@yahoo.co.in\s*$/.test(value) || /@yahoo.co.jp\s*$/.test(value) || /@yahoo.co.kr\s*$/.test(value) || /@yahoo.co.nz\s*$/.test(value) || /@yahoo.co.th\s*$/.test(value) || /@yahoo.co.uk\s*$/.test(value) || /@yahoo.com\s*$/.test(value) || /@yahoo.de\s*$/.test(value) || /@yahoo.dk\s*$/.test(value) || /@yahoo.es\s*$/.test(value) || /@yahoo.fr\s*$/.test(value) || /@yahoo.gr\s*$/.test(value) || /@yahoo.ie\s*$/.test(value) || /@yahoo.in\s*$/.test(value) || /@yahoo.it\s*$/.test(value) || /@yahoo.no\s*$/.test(value) || /@yahoo.pl\s*$/.test(value) || /@yahoo.ro\s*$/.test(value) || /@yahoo.se\s*$/.test(value) || /@yahoogroups.com\s*$/.test(value) || /@ymail.com\s*$/.test(value) || /@yopmail.com\s*$/.test(value) || /@yxi.com\s*$/.test(value) || /@zeland.com\s*$/.test(value) || /@zenasis.com\s*$/.test(value) || /@ziplink.net\s*$/.test(value) || /@zsp.com\s*$/.test(value) || /@zuken.com\s*$/.test(value) || /@empal.com\s*$/.test(value) || /@nate.com\s*$/.test(value) || /@paran.com\s*$/.test(value) || /@hitel.net\s*$/.test(value) || /@ednc.com\s*$/.test(value) || /@sailline.co.kr\s*$/.test(value) || /@asml.com\s*$/.test(value)) { return false; }else{ return true; } }, "Invalid email. Email from this domain name is not allowed."); jQuery.validator.addMethod("Student", function (value, element) { return this.optional(element) || /^\w+[\w-\.]*\@[students]{8,8}\.[adu]{3,3}\.[ac]{2,2}\.[ae]{2,2}$/.test(value); }, "Please specify the correct domain for your documents"); jQuery(document).ready(function ($) { $(".scroll-to-top").on("click", function () { $('body,html').animate({ scrollTop: 0, }, 2000 ); }); if(typeof $.fn.tooltip!="undefined"){ $('[data-toggle="tooltip"]').tooltip({html: true}); } if ($('.cd-top').length > 0) { // browser window scroll (in pixels) after which the "back to top" link is shown var offset = 300, //browser window scroll (in pixels) after which the "back to top" link opacity is reduced offset_opacity = 1200, //duration of the top scrolling animation (in ms) scroll_top_duration = 700, //grab the "back to top" link $back_to_top = $('.cd-top'); //hide or show the "back to top" link $(window).scroll(function () { ($(this).scrollTop() > offset) ? $back_to_top.addClass('cd-is-visible') : $back_to_top.removeClass('cd-is-visible cd-fade-out'); if ($(this).scrollTop() > offset_opacity) { $back_to_top.addClass('cd-fade-out'); } }); //smooth scroll to top $back_to_top.on('click', function (event) { event.preventDefault(); $('body,html').animate({ scrollTop: 0, }, scroll_top_duration ); }); } }); function IsinIframe () { try { return window.self !== window.top; } catch (e) { return true; } } function resizeIframe(obj) { obj.style.height = obj.contentWindow.document.documentElement.scrollHeight + 'px'; } function getUrlParameter(name) { name = name.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]'); var regex = new RegExp('[\\?&]' + name + '=([^&#]*)'); var results = regex.exec(location.search); return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' ')); };