var secure_base_url = 'https://app.kartra.com/'; var kartra_js_porthole_loaded = 0; var kartra_video_containerswLrm35dyMxoQ = document.getElementsByClassName('kartra_video_containerwLrm35dyMxoQ'); js_jquerywLrm35dyMxoQ = document.createElement('script'); js_jquerywLrm35dyMxoQ.type = 'text/javascript'; js_jquerywLrm35dyMxoQ.onload = function() { kartra_jquerywLrm35dyMxoQ = jQuery.noConflict(true); kartra_do_the_videowLrm35dyMxoQ() } document.body.appendChild(js_jquerywLrm35dyMxoQ); js_jquerywLrm35dyMxoQ.src = secure_base_url + 'js/node_modules/kartra-jquery/jquery-1.10.2/jquery-1.10.2.min.js'; var windowProxywLrm35dyMxoQ; 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_videowLrm35dyMxoQ(){ 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_triggerwLrm35dyMxoQ 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_containerswLrm35dyMxoQ[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_triggerwLrm35dyMxoQ 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_containerswLrm35dyMxoQ[i_video_kartra].appendChild(js_a); } // add the js_trackable_wrapper for analytics kartra_jquerywLrm35dyMxoQ('.kartra_video_containerwLrm35dyMxoQ').before(kartra_jquerywLrm35dyMxoQ('
', { id: 'js_trackable_wrapper_wLrm35dyMxoQ', class: 'js_trackable_wrapper' })); kartra_jquerywLrm35dyMxoQ('.kartra_video_containerwLrm35dyMxoQ').detach().appendTo(kartra_jquerywLrm35dyMxoQ('#js_trackable_wrapper_wLrm35dyMxoQ')); } var kartra_video_wLrm35dyMxoQ = false; function kartra_porthole_functionwLrm35dyMxoQ(){ kartra_jquerywLrm35dyMxoQ(document).ready(function() { // Create a proxy window to send to and receive // messages from the parent windowProxywLrm35dyMxoQ = new Porthole.WindowProxy("https://app.kartra.com//front/deal/proxy", "the_frame_wLrm35dyMxoQ"); windowProxywLrm35dyMxoQ.addEventListener(onMessagewLrm35dyMxoQ); function onMessagewLrm35dyMxoQ(messageEvent) { if(typeof(messageEvent.data) !== 'undefined' && messageEvent.data["func"] == "closewLrm35dyMxoQ") { kartra_jquerywLrm35dyMxoQ("body").removeClass("kartra_body_reset"); kartra_jquerywLrm35dyMxoQ("html").css("overflow",""); kartra_jquerywLrm35dyMxoQ("#popup_wLrm35dyMxoQ").hide(); } } kartra_jquerywLrm35dyMxoQ("head").append(''); var div=kartra_jquerywLrm35dyMxoQ("
").append("
"); var theiframe = kartra_jquerywLrm35dyMxoQ("
'+ (window['kartra'] && window['kartra']['pages'] ? '
' : ''); } } }