function openModuleContactDialog(mailSubject,isIFrame,useSessionData,mailAdressSelector,mailAdressCCSelector,mailAdressBCCSelector,portalName,userCoreHeaderImages,additionalText) { if ($("#trv_module_dialog_contact").length == 0) { blockScreen(); mailAdressSelector = mailAdressSelector == null?"":mailAdressSelector; mailAdressCCSelector = mailAdressCCSelector == null?"":mailAdressCCSelector; mailAdressBCCSelector = mailAdressBCCSelector == null?"":mailAdressBCCSelector; portalName = portalName == null?"":portalName; additionalText = additionalText == null?"":additionalText; userCoreHeaderImages = userCoreHeaderImages == null || userCoreHeaderImages == 1?1:0; var dialogHeight = 470; useSessionData = (useSessionData == null || !useSessionData) ? 0:1; mailSubject = (mailSubject == null) ? "":mailSubject; isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); if (useSessionData) { dialogHeight = 330; } $("body").append(""); $("#trv_module_dialog_contact").load("http://www.it-matchmaker.nl/core/modules/contact/components/dialog_contact.php?userCoreHeaderImages="+encodeURIComponent(userCoreHeaderImages)+"&portalName="+encodeURIComponent(portalName)+"&additionalText="+encodeURIComponent(additionalText)+"&mailAdressSelector="+encodeURIComponent(mailAdressSelector)+"&mailAdressCCSelector="+encodeURIComponent(mailAdressCCSelector)+"&mailAdressBCCSelector="+encodeURIComponent(mailAdressBCCSelector)+"&isIFrame="+isIFrame+"&useSessionData="+useSessionData+"&mailSubject="+encodeURIComponent(mailSubject)+"&full_path=NVkzNENoeWMoUmQ1aGFGPUYzd0ZzdUE7LCgvKD4xekhkZTVDK0ZzRWhiNVdtQjA8PkMqZEI_KyA7JXA7PjN5VHomcUVXW1daUG8sM2Fjbn0,&app_language=nl&PHPSESSID=96eb2fc989ef84cdc38392694add2f9e").dialog({ close: function(event, ui) { moduleContactContentChanged(false); $(this).dialog('destroy'); $("#trv_module_dialog_contact").remove(); }, beforeClose: function(event, ui) { return closeContactDialog(isIFrame); }, closeOnEscape: false, resizable: false, position: position, minHeight: dialogHeight, height: 'auto', width: 530, modal: true, bgiframe: true, title: "Contact" }); } } function moduleContactSend(isIFrame,mailAdressSelector,mailAdressCCSelector,mailAdressBCCSelector) { isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); if (isFormValid('trv_module_contact_form',position, isIFrame,'trv_core_input_white_validator_error')) { mailAdressSelector = mailAdressSelector == null?"":mailAdressSelector; mailAdressCCSelector = mailAdressCCSelector == null?"":mailAdressCCSelector; mailAdressBCCSelector = mailAdressBCCSelector == null?"":mailAdressBCCSelector; $.trv_postJson({ module_name: "contact", ajax_type: "SEND_CONTACT", parameter: { mailAdressSelector: mailAdressSelector, mailAdressCCSelector: mailAdressCCSelector, mailAdressBCCSelector: mailAdressBCCSelector, contactData: $('#trv_module_contact_form').serialize() }, onSuccess: function(data) { moduleContactContentChanged(false); $("#trv_module_dialog_contact").dialog("close"); infoDialog("INFORMATIE","Uw contactverzoek is naar ons verzonden.
Wij nemen zo spoedig mogelijk contact met u op.",null,null,null, position); } }); } } var moduleContactContentChangedVar = false; function moduleContactContentChanged(changed) { moduleContactContentChangedVar = changed; setUnload(changed, "Het contactformulier is ingevuld maar niet verzonden!"); } function closeContactDialog(isIFrame) { if (moduleContactContentChangedVar) { confirmCloseContactDialog(isIFrame); return false; } return true; } function confirmCloseContactDialog(isIFrame) { isIFrame = (isIFrame == null || !isIFrame) ? 0:1; var position = getIFramePosition(isIFrame); confirmDialog("BEVESTIGING","moduleContactContentChanged(false);$('#trv_module_dialog_contact').dialog('close');","Het contactformulier is ingevuld maar niet verzonden!

Wilt u het proces daadwerkelijk beƫindigen?",null,400,null,position); }