if(void 0===ULTIMEDIA_param)var ULTIMEDIA_param=new Array;var ULTIMEDIA_param_length=0,_ultimedia_scripts_list={},_um_smart_deploy=function(e,t){var o=["01777459","01347202","01674245","01413112","01706250","01654671","01091319","01366642","01187615","01197991","01086461","01888577","01812675","01324822","01802878","01628798","01437041","01091668","01812387","01346979","01349275","01903477","01110088","01164585","01302055","01104999","01951836","01039190","01558290","01876487","01189205","01300532","01630102","01375002","01502988","01199051","01067376","01592117","01804349","01357046","01124706","01499695","01342685","01252572","01390230","01338879","01196208","01972780","01582336","01150954","01800993","01217291","01233516","01259546","01538406","01554892","01229771","01301629","01265947","01626200","01754691","01895765","01187891","01668433","01438264","01628597","01296071","01140256","01505690","01646079","01274722","01974676","01615586","01498551","01763821","01252460","01694925","01292998","01378472","01857231","01195618","01124390","01183426","01251541","01646257","01974043","01488231","01164353","01906649","01910819","01333852","01688353","01215341","01844706","01990186","01314098","01306397","01508587","01751485","01097272","01795794","01779426","01032851","01746979","01594438","01171604","01622412","01747256","01684514","01560141","01666927","01444461"];if(window.getComputedStyle||(window.getComputedStyle=function(e,t){return this.el=e,this.getPropertyValue=function(t){var o=/(\-([a-z]){1})/g;return"float"==t&&(t="styleFloat"),o.test(t)&&(t=t.replace(o,(function(){return arguments[2].toUpperCase()}))),e.currentStyle[t]?e.currentStyle[t]:null},this}),"undefined"==typeof _ultimedia_widget_id?_ultimedia_widget_id=0:_ultimedia_widget_id++,void 0!==t&&""!==t&&(ULTIMEDIA_target=t),"undefined"!=typeof ULTIMEDIA_resize&&1==ULTIMEDIA_resize){ULTIMEDIA_target="undefined"!=typeof ULTIMEDIA_target&&""!==ULTIMEDIA_target?ULTIMEDIA_target:"_ultimedia_widget_wrapper"+(0!=_ultimedia_widget_id?"_"+_ultimedia_widget_id:""),document.getElementById(ULTIMEDIA_target)||document.write('
');var _=document.getElementById(ULTIMEDIA_target).parentNode,n=window.getComputedStyle(_,null).getPropertyValue("padding-left").replace(/[A-Za-z$-]/g,""),I=window.getComputedStyle(_,null).getPropertyValue("padding-right").replace(/[A-Za-z$-]/g,""),d=_.offsetWidth-n-I-1}var s="";ULTIMEDIA_ACTION="/api/widget/smart?j=new&t="+(new Date).getTime();var a=function(){var e=document.getElementsByTagName("embed");for(var t in e){if(void 0!==e[t].src)if(-1!=(_=e[t].src).indexOf("youtube.com/v"))return 1}var o=document.getElementsByTagName("iframe");for(var t in o)if(void 0!==o[t].src){if(-1!=(_=o[t].src).indexOf("youtube.com/embed"))return 1;if(-1!=_.indexOf("20minutos.tv/videoplayerjw"))return 2;if(-1!=_.indexOf("ultimedia.com/deliver"))return 3;if(-1!=_.indexOf("dailymotion.com/embed"))return 4;if(-1!=_.indexOf("launch.newsinc.com"))return 7;if(-1!=_.indexOf("player.m6web.fr"))return 8;if(-1!=_.indexOf("vine.co/v"))return 9}e=document.getElementsByTagName("object");for(var t in e){var _;if(void 0!==e[t].name)if(-1!=(_=e[t].name).indexOf("kplayer"))return 5;if(void 0!==e[t].className&&void 0!==e[t].offsetWidth){var n=e[t].className,i=e[t].offsetWidth;if(-1!=n.indexOf("BrightcoveExperience")&&i>250)return 6}}return 0};for("undefined"!=typeof ULTIMEDIA_resize&&""!==ULTIMEDIA_resize&&(s+="&resize="+ULTIMEDIA_resize),ULTIMEDIA_metas=new Array,metas=document.getElementsByTagName("meta"),i=0;i0&&(s+="&width_new="+encodeURIComponent(d)),"undefined"!=typeof ULTIMEDIA_show_tooltips&&""!==ULTIMEDIA_show_tooltips&&(!0===ULTIMEDIA_show_tooltips?s+="&show_tooltips=yes":!1===ULTIMEDIA_show_tooltips?s+="&show_tooltips=no":s+="&show_tooltips="+ULTIMEDIA_show_tooltips),"undefined"!=typeof ULTIMEDIA_autoplay&&""!==ULTIMEDIA_autoplay&&(!0===ULTIMEDIA_autoplay?s+="&autoplay=yes":!1===ULTIMEDIA_autoplay?s+="&autoplay=no":s+="&autoplay="+ULTIMEDIA_autoplay),"undefined"!=typeof ULTIMEDIA_playlist&&""!==ULTIMEDIA_playlist&&(!0===ULTIMEDIA_playlist?s+="&playlist=yes":!1===ULTIMEDIA_playlist?s+="&playlist=no":s+="&playlist="+ULTIMEDIA_playlist),"undefined"!=typeof ULTIMEDIA_width&&""!==ULTIMEDIA_width&&(s+="&width="+encodeURIComponent(ULTIMEDIA_width),ULTIMEDIA_LOADING_SRC+="&width="+encodeURIComponent(ULTIMEDIA_width)),"undefined"!=typeof ULTIMEDIA_height&&""!==ULTIMEDIA_height&&(s+="&height="+encodeURIComponent(ULTIMEDIA_height),ULTIMEDIA_LOADING_SRC+="&height="+encodeURIComponent(ULTIMEDIA_height)),"undefined"!=typeof ULTIMEDIA_layout&&""!==ULTIMEDIA_layout||(ULTIMEDIA_layout=""),s+="&layout="+encodeURIComponent(ULTIMEDIA_layout),ULTIMEDIA_LOADING_SRC+="&layout="+encodeURIComponent(ULTIMEDIA_layout),"undefined"!=typeof ULTIMEDIA_default_videolist&&""!==ULTIMEDIA_default_videolist&&(s+="&default_videolist="+encodeURIComponent(ULTIMEDIA_default_videolist)),"undefined"!=typeof ULTIMEDIA_default_zone&&""!==ULTIMEDIA_default_zone&&(s+="&default_zone="+ULTIMEDIA_default_zone),"undefined"!=typeof ULTIMEDIA_default_widget_title&&""!==ULTIMEDIA_default_widget_title&&(s+="&default_widget_title="+encodeURIComponent(ULTIMEDIA_default_widget_title)),"undefined"!=typeof ULTIMEDIA_position&&""!==ULTIMEDIA_position&&(s+="&position="+encodeURIComponent(ULTIMEDIA_position),ULTIMEDIA_LOADING_SRC+="&position="+encodeURIComponent(ULTIMEDIA_position)),"undefined"!=typeof ULTIMEDIA_width_widget&&""!==ULTIMEDIA_width_widget&&(s+="&width_widget="+encodeURIComponent(ULTIMEDIA_width_widget),ULTIMEDIA_LOADING_SRC+="&width_widget="+encodeURIComponent(ULTIMEDIA_width_widget)),"undefined"!=typeof ULTIMEDIA_css_title_font_color&&""!==ULTIMEDIA_css_title_font_color&&(s+="&css_title_font_color="+encodeURIComponent(ULTIMEDIA_css_title_font_color),ULTIMEDIA_LOADING_SRC+="&css_title_font_color="+encodeURIComponent(ULTIMEDIA_css_title_font_color)),"undefined"!=typeof ULTIMEDIA_css_title_font&&""!==ULTIMEDIA_css_title_font&&(s+="&css_title_font="+encodeURIComponent(ULTIMEDIA_css_title_font),ULTIMEDIA_LOADING_SRC+="&css_title_font="+encodeURIComponent(ULTIMEDIA_css_title_font)),"undefined"!=typeof ULTIMEDIA_css_title_text_align&&""!==ULTIMEDIA_css_title_text_align&&(s+="&css_title_text_align="+encodeURIComponent(ULTIMEDIA_css_title_text_align),ULTIMEDIA_LOADING_SRC+="&css_title_text_align="+encodeURIComponent(ULTIMEDIA_css_title_text_align)),"undefined"!=typeof ULTIMEDIA_css_title_background_color&&""!==ULTIMEDIA_css_title_background_color&&(s+="&css_title_background_color="+encodeURIComponent(ULTIMEDIA_css_title_background_color),ULTIMEDIA_LOADING_SRC+="&css_title_background_color="+encodeURIComponent(ULTIMEDIA_css_title_background_color)),"undefined"!=typeof ULTIMEDIA_css_title_widget_uppercase&&""!==ULTIMEDIA_css_title_widget_uppercase&&(s+="&css_title_widget_uppercase="+encodeURIComponent(ULTIMEDIA_css_title_widget_uppercase),ULTIMEDIA_LOADING_SRC+="&css_title_widget_uppercase="+encodeURIComponent(ULTIMEDIA_css_title_widget_uppercase)),"undefined"!=typeof ULTIMEDIA_css_header_font&&""!==ULTIMEDIA_css_header_font&&(s+="&css_header_font="+encodeURIComponent(ULTIMEDIA_css_header_font),ULTIMEDIA_LOADING_SRC+="&css_header_font="+encodeURIComponent(ULTIMEDIA_css_header_font)),"undefined"!=typeof ULTIMEDIA_css_header_font_color&&""!==ULTIMEDIA_css_header_font_color&&(s+="&css_header_font_color="+encodeURIComponent(ULTIMEDIA_css_header_font_color),ULTIMEDIA_LOADING_SRC+="&css_header_font_color="+encodeURIComponent(ULTIMEDIA_css_header_font_color)),"undefined"!=typeof ULTIMEDIA_css_header_border&&""!==ULTIMEDIA_css_header_border&&(s+="&css_header_border="+encodeURIComponent(ULTIMEDIA_css_header_border),ULTIMEDIA_LOADING_SRC+="&css_header_border="+encodeURIComponent(ULTIMEDIA_css_header_border)),"undefined"!=typeof ULTIMEDIA_css_panel_position&&""!==ULTIMEDIA_css_panel_position&&(s+="&css_panel_position="+encodeURIComponent(ULTIMEDIA_css_panel_position),ULTIMEDIA_LOADING_SRC+="&css_panel_position="+encodeURIComponent(ULTIMEDIA_css_panel_position)),"undefined"!=typeof ULTIMEDIA_css_panel_font_size&&""!==ULTIMEDIA_css_panel_font_size&&(s+="&css_panel_font_size="+encodeURIComponent(ULTIMEDIA_css_panel_font_size),ULTIMEDIA_LOADING_SRC+="&css_panel_font_size="+encodeURIComponent(ULTIMEDIA_css_panel_font_size)),"undefined"!=typeof ULTIMEDIA_css_panel_font_color&&""!==ULTIMEDIA_css_panel_font_color&&(s+="&css_panel_font_color="+encodeURIComponent(ULTIMEDIA_css_panel_font_color),ULTIMEDIA_LOADING_SRC+="&css_panel_font_color="+encodeURIComponent(ULTIMEDIA_css_panel_font_color)),"undefined"!=typeof ULTIMEDIA_css_panel_text_align&&""!==ULTIMEDIA_css_panel_text_align&&(s+="&css_panel_text_align="+encodeURIComponent(ULTIMEDIA_css_panel_text_align),ULTIMEDIA_LOADING_SRC+="&css_panel_text_align="+encodeURIComponent(ULTIMEDIA_css_panel_text_align)),"undefined"!=typeof ULTIMEDIA_css_panel_text_uppercase&&""!==ULTIMEDIA_css_panel_text_uppercase&&(s+="&css_panel_text_uppercase="+encodeURIComponent(ULTIMEDIA_css_panel_text_uppercase),ULTIMEDIA_LOADING_SRC+="&css_panel_text_uppercase="+encodeURIComponent(ULTIMEDIA_css_panel_text_uppercase)),"undefined"!=typeof ULTIMEDIA_css_thumb_background_color&&""!==ULTIMEDIA_css_thumb_background_color&&(s+="&css_thumb_background_color="+encodeURIComponent(ULTIMEDIA_css_thumb_background_color),ULTIMEDIA_LOADING_SRC+="&css_thumb_background_color="+encodeURIComponent(ULTIMEDIA_css_thumb_background_color)),"undefined"!=typeof ULTIMEDIA_css_thumb_border_color&&""!==ULTIMEDIA_css_thumb_border_color&&(s+="&css_thumb_border_color="+encodeURIComponent(ULTIMEDIA_css_thumb_border_color),ULTIMEDIA_LOADING_SRC+="&css_thumb_border_color="+encodeURIComponent(ULTIMEDIA_css_thumb_border_color)),"undefined"!=typeof ULTIMEDIA_css_thumb_infos_font_color&&""!==ULTIMEDIA_css_thumb_infos_font_color&&(s+="&css_thumb_infos_font_color="+encodeURIComponent(ULTIMEDIA_css_thumb_infos_font_color),ULTIMEDIA_LOADING_SRC+="&css_thumb_infos_font_color="+encodeURIComponent(ULTIMEDIA_css_thumb_infos_font_color)),"undefined"!=typeof ULTIMEDIA_css_thumb_infos_font&&""!==ULTIMEDIA_css_thumb_infos_font&&(s+="&css_thumb_infos_font="+encodeURIComponent(ULTIMEDIA_css_thumb_infos_font),ULTIMEDIA_LOADING_SRC+="&css_thumb_infos_font="+encodeURIComponent(ULTIMEDIA_css_thumb_infos_font)),"undefined"!=typeof ULTIMEDIA_css_thumb_background_color_hover&&""!==ULTIMEDIA_css_thumb_background_color_hover&&(s+="&css_thumb_background_color_hover="+encodeURIComponent(ULTIMEDIA_css_thumb_background_color_hover),ULTIMEDIA_LOADING_SRC+="&css_thumb_background_color_hover="+encodeURIComponent(ULTIMEDIA_css_thumb_background_color_hover)),"undefined"!=typeof ULTIMEDIA_css_thumb_border_color_hover&&""!==ULTIMEDIA_css_thumb_border_color_hover&&(s+="&css_thumb_border_color_hover="+encodeURIComponent(ULTIMEDIA_css_thumb_border_color_hover),ULTIMEDIA_LOADING_SRC+="&css_thumb_border_color_hover="+encodeURIComponent(ULTIMEDIA_css_thumb_border_color_hover)),"undefined"!=typeof ULTIMEDIA_css_thumb_infos_font_color_hover&&""!==ULTIMEDIA_css_thumb_infos_font_color_hover&&(s+="&css_thumb_infos_font_color_hover="+encodeURIComponent(ULTIMEDIA_css_thumb_infos_font_color_hover),ULTIMEDIA_LOADING_SRC+="&css_thumb_infos_font_color_hover="+encodeURIComponent(ULTIMEDIA_css_thumb_infos_font_color_hover)),"undefined"!=typeof ULTIMEDIA_css_thumb_infos_font_hover&&""!==ULTIMEDIA_css_thumb_infos_font_hover&&(s+="&css_thumb_infos_font_hover="+encodeURIComponent(ULTIMEDIA_css_thumb_infos_font_hover),ULTIMEDIA_LOADING_SRC+="&css_thumb_infos_font_hover="+encodeURIComponent(ULTIMEDIA_css_thumb_infos_font_hover)),"undefined"!=typeof ULTIMEDIA_css_thumb_text_uppercase&&""!==ULTIMEDIA_css_thumb_text_uppercase&&(s+="&css_thumb_text_uppercase="+encodeURIComponent(ULTIMEDIA_css_thumb_text_uppercase),ULTIMEDIA_LOADING_SRC+="css_thumb_text_uppercase="+encodeURIComponent(ULTIMEDIA_css_thumb_text_uppercase)),"undefined"!=typeof ULTIMEDIA_css_list_overflow_x&&""!==ULTIMEDIA_css_list_overflow_x&&(s+="&css_list_overflow_x="+encodeURIComponent(ULTIMEDIA_css_list_overflow_x),ULTIMEDIA_LOADING_SRC+="&css_list_overflow_x="+encodeURIComponent(ULTIMEDIA_css_list_overflow_x)),"undefined"!=typeof ULTIMEDIA_css_list_overflow_y&&""!==ULTIMEDIA_css_list_overflow_y&&(s+="&css_list_overflow_y="+encodeURIComponent(ULTIMEDIA_css_list_overflow_y),ULTIMEDIA_LOADING_SRC+="&css_list_overflow_y="+encodeURIComponent(ULTIMEDIA_css_list_overflow_y)),"undefined"!=typeof ULTIMEDIA_css_list_background_color&&""!==ULTIMEDIA_css_list_background_color&&(s+="&css_list_background_color="+encodeURIComponent(ULTIMEDIA_css_list_background_color),ULTIMEDIA_LOADING_SRC+="&css_list_background_color="+encodeURIComponent(ULTIMEDIA_css_list_background_color)),"undefined"!=typeof ULTIMEDIA_css_photosgallery_selected_border&&""!==ULTIMEDIA_css_photosgallery_selected_border&&(s+="&css_photosgallery_selected_border="+encodeURIComponent(ULTIMEDIA_css_photosgallery_selected_border),ULTIMEDIA_LOADING_SRC+="&css_photosgallery_selected_border="+encodeURIComponent(ULTIMEDIA_css_photosgallery_selected_border)),"undefined"!=typeof ULTIMEDIA_css_photosgallery_nav_background_color&&""!==ULTIMEDIA_css_photosgallery_nav_background_color&&(s+="&css_photosgallery_nav_background_color="+encodeURIComponent(ULTIMEDIA_css_photosgallery_nav_background_color),ULTIMEDIA_LOADING_SRC+="&css_photosgallery_nav_background_color="+encodeURIComponent(ULTIMEDIA_css_photosgallery_nav_background_color)),"undefined"!=typeof ULTIMEDIA_css_photosgallery_button_nav_font_color&&""!==ULTIMEDIA_css_photosgallery_button_nav_font_color&&(s+="&css_photosgallery_button_nav_font_color="+encodeURIComponent(ULTIMEDIA_css_photosgallery_button_nav_font_color),ULTIMEDIA_LOADING_SRC+="&css_photosgallery_button_nav_font_color="+encodeURIComponent(ULTIMEDIA_css_photosgallery_button_nav_font_color)),"undefined"!=typeof ULTIMEDIA_css_photosgallery_button_nav_background_color&&""!==ULTIMEDIA_css_photosgallery_button_nav_background_color&&(s+="&css_photosgallery_button_nav_background_color="+encodeURIComponent(ULTIMEDIA_css_photosgallery_button_nav_background_color),ULTIMEDIA_LOADING_SRC+="&css_photosgallery_button_nav_background_color="+encodeURIComponent(ULTIMEDIA_css_photosgallery_button_nav_background_color)),"undefined"!=typeof ULTIMEDIA_css_photosgallery_button_nav_font_color_hover&&""!==ULTIMEDIA_css_photosgallery_button_nav_font_color_hover&&(s+="&css_photosgallery_button_nav_font_color_hover="+encodeURIComponent(ULTIMEDIA_css_photosgallery_button_nav_font_color_hover),ULTIMEDIA_LOADING_SRC+="&css_photosgallery_button_nav_font_color_hover="+encodeURIComponent(ULTIMEDIA_css_photosgallery_button_nav_font_color_hover)),"undefined"!=typeof ULTIMEDIA_css_photosgallery_button_nav_background_color_hover&&""!==ULTIMEDIA_css_photosgallery_button_nav_background_color_hover&&(s+="&css_photosgallery_button_nav_background_color_hover="+encodeURIComponent(ULTIMEDIA_css_photosgallery_button_nav_background_color_hover),ULTIMEDIA_LOADING_SRC+="css_photosgallery_button_nav_background_color_hover="+encodeURIComponent(ULTIMEDIA_css_photosgallery_button_nav_background_color_hover)),"undefined"!=typeof ULTIMEDIA_css_footer_font_color&&""!==ULTIMEDIA_css_footer_font_color&&(s+="&css_footer_font_color="+encodeURIComponent(ULTIMEDIA_css_footer_font_color),ULTIMEDIA_LOADING_SRC+="&css_footer_font_color="+encodeURIComponent(ULTIMEDIA_css_footer_font_color)),"undefined"!=typeof ULTIMEDIA_css_footer_text_align&&""!==ULTIMEDIA_css_footer_text_align&&(s+="&css_footer_text_align="+encodeURIComponent(ULTIMEDIA_css_footer_text_align),ULTIMEDIA_LOADING_SRC+="&css_title_footer_align="+encodeURIComponent(ULTIMEDIA_css_footer_text_align)),"undefined"!=typeof ULTIMEDIA_css_background_color&&""!==ULTIMEDIA_css_background_color&&(s+="&css_background_color="+encodeURIComponent(ULTIMEDIA_css_background_color),ULTIMEDIA_LOADING_SRC+="&css_background_color="+encodeURIComponent(ULTIMEDIA_css_background_color)),"undefined"!=typeof ULTIMEDIA_css_background_image&&""!==ULTIMEDIA_css_background_image&&(s+="&css_background_image="+encodeURIComponent(ULTIMEDIA_css_background_image),ULTIMEDIA_LOADING_SRC+="&css_background_image="+encodeURIComponent(ULTIMEDIA_css_background_image)),"undefined"!=typeof ULTIMEDIA_css_background_repeat&&""!==ULTIMEDIA_css_background_repeat&&(s+="&css_background_repeat="+encodeURIComponent(ULTIMEDIA_css_background_repeat),ULTIMEDIA_LOADING_SRC+="&css_background_repeat="+encodeURIComponent(ULTIMEDIA_css_background_repeat)),"undefined"!=typeof ULTIMEDIA_css_background_position&&""!==ULTIMEDIA_css_background_position&&(s+="&css_background_position="+encodeURIComponent(ULTIMEDIA_css_background_position),ULTIMEDIA_LOADING_SRC+="&css_background_position="+encodeURIComponent(ULTIMEDIA_css_background_position)),"undefined"!=typeof ULTIMEDIA_source_logo_brand&&""!==ULTIMEDIA_source_logo_brand&&(s+="&source_logo_brand="+encodeURIComponent(ULTIMEDIA_source_logo_brand),ULTIMEDIA_LOADING_SRC+="&source_logo_brand="+encodeURIComponent(ULTIMEDIA_source_logo_brand)),"undefined"!=typeof ULTIMEDIA_url_logo_brand&&""!==ULTIMEDIA_url_logo_brand&&(s+="&url_logo_brand="+encodeURIComponent(ULTIMEDIA_url_logo_brand),ULTIMEDIA_LOADING_SRC+="&url_logo_brand="+encodeURIComponent(ULTIMEDIA_url_logo_brand)),"undefined"!=typeof jwplayer&&"undefined"==typeof DTKPlayer&&(s+="&jw=1"),"undefined"==typeof ULTIMEDIA_async&&(ULTIMEDIA_async=!0),"undefined"!=typeof ULTIMEDIA_force_setting&&""!==ULTIMEDIA_force_setting&&(s+="&force_setting="+encodeURIComponent(ULTIMEDIA_force_setting),ULTIMEDIA_LOADING_SRC+="&force_setting="+encodeURIComponent(ULTIMEDIA_force_setting)),"undefined"!=typeof ULTIMEDIA_validated_videos_only&&""!==ULTIMEDIA_validated_videos_only&&(s+="&restriction="+encodeURIComponent(ULTIMEDIA_validated_videos_only)),"undefined"!=typeof ULTIMEDIA_adsparam&&""!==ULTIMEDIA_adsparam&&(s+="&tagparam="+encodeURIComponent(ULTIMEDIA_adsparam)),"undefined"!=typeof ULTIMEDIA_adsparamdecoded&&""!==ULTIMEDIA_adsparamdecoded&&(s+="&tagparamdecoded="+encodeURIComponent(ULTIMEDIA_adsparamdecoded)),"undefined"!=typeof ULTIMEDIA_tagparam&&""!==ULTIMEDIA_tagparam&&(s+="&tagparam="+encodeURIComponent(ULTIMEDIA_tagparam)),"undefined"!=typeof ULTIMEDIA_tagparamdecoded&&""!==ULTIMEDIA_tagparamdecoded&&(s+="&tagparamdecoded="+encodeURIComponent(ULTIMEDIA_tagparamdecoded)),"undefined"!=typeof ULTIMEDIA_sspParam&&""!==ULTIMEDIA_sspParam&&(s+="&sspParam="+encodeURIComponent(ULTIMEDIA_sspParam)),"undefined"!=typeof ULTIMEDIA_visible&&""!==ULTIMEDIA_visible&&(s+="&visible="+encodeURIComponent(ULTIMEDIA_visible)),"undefined"!=typeof ULTIMEDIA_gdprconsentstring&&""!==ULTIMEDIA_gdprconsentstring&&(s+="&gdprconsentstring="+encodeURIComponent(ULTIMEDIA_gdprconsentstring));var p=!1,A=!1,U=ULTIMEDIA_target;ULTIMEDIA_mdtk;if(_appendUltimediaWidget=function(){var e=!0;for(var t in _ultimedia_scripts_list)if(_ultimedia_scripts_list.hasOwnProperty(t)&&(e=!1,document.getElementById(t))){var o=Math.round(document.getElementById(t).getBoundingClientRect().top);if(A)if(window.innerHeight)var _=3*window.innerHeight;else _=3*window.document.documentElement.clientHeight;else if(window.innerHeight)_=window.innerHeight+Math.round(window.innerHeight/2);else _=window.document.documentElement.clientHeight+Math.round(window.document.documentElement.clientHeight/2);o-_<=0&&document.getElementById(t)&&(document.getElementById(t).appendChild(_ultimedia_scripts_list[t]),delete _ultimedia_scripts_list[t])}void 0!==window.addEventListener?e&&window.removeEventListener("scroll",_appendUltimediaWidget):e&&window.detachEvent("onscroll",_appendUltimediaWidget)},_ultimedia_set_widget_params=function(e){"undefined"!=e.widget_position_div&&""!=e.widget_position_div&&(_ultimedia_widget_position_div=e.widget_position_div),"undefined"!=e.widget_position_place&&""!=e.widget_position_place&&(_ultimedia_widget_position_place=e.widget_position_place),"undefined"!=e.is_scroll_to_play_mobile&&""!=e.is_scroll_to_play_mobile&&e.is_scroll_to_play_mobile,"undefined"!=e.scroll_to_show&&e.scroll_to_show&&(p=!0),"undefined"!=e.multiad&&e.multiad&&(A=!0)},_ultimedia_checkIfScrollable=function(e,t,_,n,i){var I;if(i||document.getElementById(_)||document.write(''),window.XMLHttpRequest){(I=new XMLHttpRequest).onreadystatechange=function(){if(4==I.readyState&&200==I.status){var e=JSON.parse(I.responseText);_ultimedia_set_widget_params(e),_ultimedia_auto_append(),n(_)}};try{var d="url=",s="meta_breadcrumb=",a="meta_tag=";if(void 0!==document.URL&&""!==document.URL&&(d+=encodeURIComponent(document.URL)),void 0!==ULTIMEDIA_metas.breadcrumb&&""!==ULTIMEDIA_metas.breadcrumb&&(s+=encodeURIComponent(ULTIMEDIA_metas.breadcrumb)),void 0!==ULTIMEDIA_metas.tag&&""!==ULTIMEDIA_metas.tag&&(a+=encodeURIComponent(ULTIMEDIA_metas.tag)),t=void 0!==t?t:"",void 0!==o&&-1!==o.indexOf(e))var r="https://www.ultimedia.com/api/smart/getwidget/mdtk/"+e+"/zone/"+t+"?"+d+"&"+s+"&"+a;else r="https://www.ultimedia.com/api/widget/getwidget/mdtk/"+e+"/zone/"+t+"?"+d+"&"+s+"&"+a;I.open("GET",r,!0),I.send()}catch(e){xhr=new XDomainRequest,xhr.open("get",r),xhr.onload=function(){if(xhr.responseXML)var e=JSON.parse(xhr.responseXML);else if(xhr.responseText)e=JSON.parse(xhr.responseText);_ultimedia_set_widget_params(e),_ultimedia_auto_append(),n(_)},xhr.onprogress=function(){},xhr.ontimeout=function(){},setTimeout((function(){xhr.send()}),0)}}},_ultimedia_auto_append=function(){if("undefined"!=typeof _ultimedia_widget_position_div&&""!=_ultimedia_widget_position_div){if(document.getElementById(U)&&null!=document.getElementById(U).parentElement){var e=document.getElementById(U);e.parentElement.removeChild(e)}if("function"!=typeof document.querySelector&&"object"!=typeof document.querySelector)return;if(!document.getElementById(U)){var t=document.createElement("div");t.setAttribute("id",U);var o=document.querySelectorAll(_ultimedia_widget_position_div)[0];"insertAfter"==_ultimedia_widget_position_place?o.parentElement.insertBefore(t,o.nextSibling):o.parentElement.insertBefore(t,o)}}},_ultimedia_load_synchronous_widget=function(e){if(s+="&target="+encodeURIComponent(e),document.getElementById(e)&&void 0!==document.getElementById(e)){var t=document.getElementById(e).children[0];if(null!=t&&("IMG"==t.tagName||"PICTURE"==t.tagName)){var o=document.createElement("div");o.id=e+"_wrapper",o.style.display="none",document.getElementById(e).appendChild(o)}}var _;_ultimedia_isWidgetAtTop(e)||!p?((_=document.createElement("script")).setAttribute("type","text/javascript"),_.setAttribute("src",s),document.getElementById(e)&&document.getElementById(e).appendChild(_)):((_=document.createElement("script")).setAttribute("type","text/javascript"),_.setAttribute("src",s),_ultimedia_scripts_list[e]=_,_ultimedia_loadWidget(e))},_ultimedia_loadWidget=function(e){if(p)_ultimedia_attachEventListeners();else for(var t in _ultimedia_scripts_list)_ultimedia_scripts_list.hasOwnProperty(t)&&document.getElementById(t)&&document.getElementById(t)&&(document.getElementById(t).appendChild(_ultimedia_scripts_list[t]),delete _ultimedia_scripts_list[t])},_ultimedia_isWidgetAtTop=function(e){var t=!1;if(document.getElementById(e)){var o=Math.round(document.getElementById(e).getBoundingClientRect().top);if(window.innerHeight)var _=window.innerHeight>0?window.innerHeight+Math.round(window.innerHeight/2):o;else _=window.document.documentElement.clientHeight>0?window.document.documentElement.clientHeight+Math.round(window.document.documentElement.clientHeight/2):o;o-_<=0&&(t=!0)}return t},_ultimedia_attachEventListeners=function(){void 0!==window.addEventListener?window.addEventListener("scroll",_appendUltimediaWidget):void 0!==document.addEventListener?document.addEventListener("scroll",_appendUltimediaWidget):void 0!==window.attachEvent&&window.attachEvent("onscroll",_appendUltimediaWidget)},"undefined"!=typeof ULTIMEDIA_target&&""!==ULTIMEDIA_target&&document.getElementById(ULTIMEDIA_target)&&!0===ULTIMEDIA_async){var L=ULTIMEDIA_mdtk,E="undefined"!=typeof ULTIMEDIA_zone?ULTIMEDIA_zone:"";if(s+="&target="+encodeURIComponent(ULTIMEDIA_target),"complete"==document.readyState)s+="&otherplayer="+encodeURIComponent(a()),(M=document.createElement("script")).setAttribute("type","text/javascript"),M.setAttribute("src",s),_ultimedia_isWidgetAtTop(ULTIMEDIA_target)?document.getElementById(ULTIMEDIA_target).appendChild(M):(_ultimedia_scripts_list[ULTIMEDIA_target]=M,_ultimedia_checkIfScrollable(L,E,ULTIMEDIA_target,_ultimedia_loadWidget,!0));else{if("undefined"==typeof _ultimedia_targets&&(_ultimedia_targets=new Array),_ultimedia_targets[ULTIMEDIA_target]=s,"undefined"==typeof _ultimedia_onload&&(_ultimedia_onload=function(){for(_ultimedia_target in _ultimedia_onload_done=!0,_ultimedia_targets)document.getElementById(_ultimedia_target)&&(_ultimedia_targets[_ultimedia_target]+="&otherplayer="+encodeURIComponent(a()),(M=document.createElement("script")).setAttribute("type","text/javascript"),M.setAttribute("src",_ultimedia_targets[_ultimedia_target]),_ultimedia_isWidgetAtTop(_ultimedia_target)?document.getElementById(_ultimedia_target).appendChild(M):(_ultimedia_scripts_list[_ultimedia_target]=M,_ultimedia_checkIfScrollable(L,E,_ultimedia_target,_ultimedia_loadWidget,!0)))}),void 0!==window.addEventListener)window.addEventListener("load",_ultimedia_onload,!1);else if(void 0!==document.addEventListener)document.addEventListener("load",_ultimedia_onload,!1);else if(void 0!==window.attachEvent)window.attachEvent("onload",_ultimedia_onload);else if("function"==typeof window.onload){var D=window.onload;window.onload=function(){D(),_ultimedia_onload()}}else window.onload=_ultimedia_onload;"undefined"==typeof _ultimedia_onload_check&&(_ultimedia_onload_done=!1,_ultimedia_onload_check=function(){"complete"!=document.readyState||_ultimedia_onload_done?_ultimedia_onload_done||setTimeout("_ultimedia_onload_check()",1e3):_ultimedia_onload()},setTimeout("_ultimedia_onload_check()",1e3))}}else{if(ULTIMEDIA_target="undefined"!=typeof ULTIMEDIA_target&&""!==ULTIMEDIA_target?ULTIMEDIA_target:"_ultimedia_widget_wrapper"+(0!=_ultimedia_widget_id?"_"+_ultimedia_widget_id:""),s+="&otherplayer="+encodeURIComponent(a()),void 0!==document.getElementById(ULTIMEDIA_target)&&null!=document.getElementById(ULTIMEDIA_target)){var T=document.getElementById(ULTIMEDIA_target).children[0];null==T||"IMG"!=T.tagName&&"PICTURE"!=T.tagName?null!=T&&"PICTURE"==T.tagName&&(s+="&click_to_play=1"):s+="&click_to_play=1"}var M=document.createElement("script");M.setAttribute("type","text/javascript"),M.setAttribute("src",s),_ultimedia_scripts_list[ULTIMEDIA_target]=M,_ultimedia_checkIfScrollable(ULTIMEDIA_mdtk,"undefined"!=typeof ULTIMEDIA_zone?ULTIMEDIA_zone:"",ULTIMEDIA_target,_ultimedia_load_synchronous_widget,!1)}"undefined"!=typeof ULTIMEDIA_reset_variable&&!0!==ULTIMEDIA_reset_variable||(ULTIMEDIA_param_length=ULTIMEDIA_param.length,ULTIMEDIA_param[ULTIMEDIA_param_length]=new Array,ULTIMEDIA_param[ULTIMEDIA_param_length]=s,ULTIMEDIA_search="",ULTIMEDIA_mode="",ULTIMEDIA_date="",ULTIMEDIA_index="",ULTIMEDIA_host="",ULTIMEDIA_mdtk="",ULTIMEDIA_zone="",ULTIMEDIA_nb="",ULTIMEDIA_urlfacebook="",ULTIMEDIA_ad="",ULTIMEDIA_callback="",ULTIMEDIA_widget_title="",ULTIMEDIA_widget_footer="",ULTIMEDIA_widget_header="",ULTIMEDIA_overlay_title="",ULTIMEDIA_show_tooltips="",ULTIMEDIA_autoplay="",ULTIMEDIA_playlist="",ULTIMEDIA_width="",ULTIMEDIA_height="",ULTIMEDIA_layout="",ULTIMEDIA_jw_version="",ULTIMEDIA_default_videolist="",ULTIMEDIA_default_zone="",ULTIMEDIA_default_widget_title="",ULTIMEDIA_css_title_font_color="",ULTIMEDIA_css_title_font="",ULTIMEDIA_css_title_text_align="",ULTIMEDIA_css_title_background_color="",ULTIMEDIA_css_panel_position="",ULTIMEDIA_css_panel_font_size="",ULTIMEDIA_css_panel_font_color="",ULTIMEDIA_css_panel_text_align="",ULTIMEDIA_css_thumb_background_color="",ULTIMEDIA_css_thumb_border_color="",ULTIMEDIA_css_thumb_infos_font_color="",ULTIMEDIA_css_thumb_infos_font="",ULTIMEDIA_css_thumb_background_color_hover="",ULTIMEDIA_css_thumb_border_color_hover="",ULTIMEDIA_css_thumb_infos_font_color_hover="",ULTIMEDIA_css_thumb_infos_font_hover="",ULTIMEDIA_css_list_overflow_x="",ULTIMEDIA_css_list_overflow_y="",ULTIMEDIA_css_list_background_color="",ULTIMEDIA_css_photosgallery_selected_border="",ULTIMEDIA_css_photosgallery_nav_background_color="",ULTIMEDIA_css_photosgallery_button_nav_font_color="",ULTIMEDIA_css_photosgallery_button_nav_background_color="",ULTIMEDIA_css_photosgallery_button_nav_font_color_hover="",ULTIMEDIA_css_photosgallery_button_nav_background_color_hover="",ULTIMEDIA_target="",ULTIMEDIA_css_title_widget_uppercase="",ULTIMEDIA_css_panel_text_uppercase="",ULTIMEDIA_css_thumb_text_uppercase="",ULTIMEDIA_css_footer_font_color="",ULTIMEDIA_css_footer_text_align="",ULTIMEDIA_css_background_color="",ULTIMEDIA_css_background_image="",ULTIMEDIA_css_background_repeat="",ULTIMEDIA_css_background_position="",ULTIMEDIA_source_logo_brand="",ULTIMEDIA_url_logo_brand="",ULTIMEDIA_css_header_font="",ULTIMEDIA_css_header_font_color="",ULTIMEDIA_css_header_border="",ULTIMEDIA_resize="",ULTIMEDIA_validated_videos_only="",ULTIMEDIA_async=!0)},_ultimedia_host=("https:"==window.location.protocol?"https":"http")+"://www.ultimedia.com";if(("undefined"==typeof ULTIMEDIA_mdtk||"01425284"!=ULTIMEDIA_mdtk&&"01829580"!=ULTIMEDIA_mdtk&&"01437259"!=ULTIMEDIA_mdtk&&"01238556"!=ULTIMEDIA_mdtk)&&"undefined"!=typeof ULTIMEDIA_host&&""!==ULTIMEDIA_host)_ultimedia_host=ULTIMEDIA_host;_um_smart_deploy();var um_date=(new Date).setUTCHours(0,0,0,0),_ultimedia_script=document.createElement("script");_ultimedia_script.setAttribute("type","text/javascript"),_ultimedia_script.setAttribute("src",_ultimedia_host+"/js/common/visible_player.js?v="+um_date),document.getElementsByTagName("head")[0].appendChild(_ultimedia_script);var _ultimedia_script_visi=document.createElement("script");_ultimedia_script_visi.setAttribute("type","text/javascript"),_ultimedia_script_visi.setAttribute("src",_ultimedia_host+"/js/common/visibilityStat.js?v="+um_date),document.getElementsByTagName("head")[0].appendChild(_ultimedia_script_visi);