var secure_base_url = 'https://app.kartra.com/'; var kartra_js_porthole_loaded = 0; var kartra_video_containersv9DOwg8REjZa = document.getElementsByClassName('kartra_video_containerv9DOwg8REjZa'); js_jqueryv9DOwg8REjZa = document.createElement('script'); js_jqueryv9DOwg8REjZa.type = 'text/javascript'; js_jqueryv9DOwg8REjZa.onload = function() { kartra_jqueryv9DOwg8REjZa = jQuery.noConflict(true); kartra_do_the_videov9DOwg8REjZa() } document.body.appendChild(js_jqueryv9DOwg8REjZa); js_jqueryv9DOwg8REjZa.src = secure_base_url + 'js/node_modules/kartra-jquery/jquery-1.10.2/jquery-1.10.2.min.js'; var windowProxyv9DOwg8REjZa; var windowProxyX; analytics_script = document.createElement('script'); analytics_script.src = 'https://app.kartra.com/resources/js/analytics/XpedYVry'; document.body.appendChild(analytics_script); function kartra_do_the_videov9DOwg8REjZa(){ if (0 == 1) { for(i_video_kartra = 0;i_video_kartra'; // adding the trigger button details if (0 == 0) { js_meta = document.createElement("meta"); js_meta.name = "viewport"; js_meta.content = "width=device-width, initial-scale=1"; document.getElementsByTagName("head")[0].appendChild(js_meta) js_a = document.createElement("a"); var data_toggle = document.createAttribute("data-toggle"); data_toggle.value = "modal"; js_a.setAttributeNode(data_toggle); var data_toggle2 = document.createAttribute("data-toggle2"); data_toggle2.value = "tooltip"; js_a.setAttributeNode(data_toggle2); var a_class = document.createAttribute("class"); a_class.value = "popup_triggerv9DOwg8REjZa kartra_medium kartra_btn kartra_btn-call2action popup_button"; js_a.setAttributeNode(a_class); var style = document.createAttribute("style"); style.value = "background-color: 97ce68; color: ffffff"; js_a.setAttributeNode(style); var data_original_title = document.createAttribute("data-original-title"); data_original_title.value = "Click to preview modal video"; js_a.setAttributeNode(data_original_title); js_a.id = "preview_video_button"; js_a.href = "javascript:void(0)"; var a_text = document.createTextNode("Watch video"); // Create a text node js_a.appendChild(a_text); kartra_video_containersv9DOwg8REjZa[i_video_kartra].appendChild(js_a); } else { js_meta = document.createElement("meta"); js_meta.name = "viewport"; js_meta.content = "width=device-width, initial-scale=1"; document.getElementsByTagName("head")[0].appendChild(js_meta) js_a = document.createElement("a"); var data_toggle = document.createAttribute("data-toggle"); data_toggle.value = "modal"; js_a.setAttributeNode(data_toggle); var data_toggle2 = document.createAttribute("data-toggle2"); data_toggle2.value = "tooltip"; js_a.setAttributeNode(data_toggle2); var a_class = document.createAttribute("class"); a_class.value = "popup_triggerv9DOwg8REjZa kartra_btn-call2action"; js_a.setAttributeNode(a_class); var style = document.createAttribute("style"); style.value = "max-width: 520px; margin: 10px 0"; js_a.setAttributeNode(style); var data_original_title = document.createAttribute("data-original-title"); data_original_title.value = "Click to preview modal video"; js_a.setAttributeNode(data_original_title); js_a.id = "preview_video_image"; js_a.href = "javascript:void(0)"; js_img = document.createElement("img"); js_img.src = ('' != '' ? '' : 'https://d2uolguxr56s4e.cloudfront.net/img/front/video/video_play_button.png') js_img.id = "preview_video_image_tag"; var border_img = document.createAttribute("border"); border_img.value = "0"; js_img.setAttributeNode(border_img); js_a.appendChild(js_img); kartra_video_containersv9DOwg8REjZa[i_video_kartra].appendChild(js_a); } // add the js_trackable_wrapper for analytics kartra_jqueryv9DOwg8REjZa('.kartra_video_containerv9DOwg8REjZa').before(kartra_jqueryv9DOwg8REjZa('
', { id: 'js_trackable_wrapper_v9DOwg8REjZa', class: 'js_trackable_wrapper' })); kartra_jqueryv9DOwg8REjZa('.kartra_video_containerv9DOwg8REjZa').detach().appendTo(kartra_jqueryv9DOwg8REjZa('#js_trackable_wrapper_v9DOwg8REjZa')); } var kartra_video_v9DOwg8REjZa = false; function kartra_porthole_functionv9DOwg8REjZa(){ kartra_jqueryv9DOwg8REjZa(document).ready(function() { // Create a proxy window to send to and receive // messages from the parent windowProxyv9DOwg8REjZa = new Porthole.WindowProxy("https://app.kartra.com//front/deal/proxy", "the_frame_v9DOwg8REjZa"); windowProxyv9DOwg8REjZa.addEventListener(onMessagev9DOwg8REjZa); function onMessagev9DOwg8REjZa(messageEvent) { if(typeof(messageEvent.data) !== 'undefined' && messageEvent.data["func"] == "closev9DOwg8REjZa") { kartra_jqueryv9DOwg8REjZa("body").removeClass("kartra_body_reset"); kartra_jqueryv9DOwg8REjZa("html").css("overflow",""); kartra_jqueryv9DOwg8REjZa("#popup_v9DOwg8REjZa").hide(); } } kartra_jqueryv9DOwg8REjZa("head").append(''); var div=kartra_jqueryv9DOwg8REjZa("
").append("
"); var theiframe = kartra_jqueryv9DOwg8REjZa("
'+ (window['kartra'] && window['kartra']['pages'] ? '
' : ''); } } }