function isHoverHide(){isHover==!1&&$R(".header-topnav-dropdown").hide(100)}function MM_findObj(n,t){var u,r,i;for(t||(t=document),(u=n.indexOf("?"))>0&&parent.frames.length&&(t=parent.frames[n.substring(u+1)].document,n=n.substring(0,u)),(i=t[n])||!t.all||(i=t.all[n]),r=0;!i&&r<t.forms.length;r++)i=t.forms[r][n];for(r=0;!i&&t.layers&&r<t.layers.length;r++)i=MM_findObj(n,t.layers[r].document);return!i&&t.getElementById&&(i=t.getElementById(n)),i}function ImageSwap(n,t){n.src=t}function ClearTextBox(n){n.value=""}function ClearInitialValueTextBox(n,t){n.value==t&&(n.value="",$R("#"+n.id).addClass("global-form-ninetyfive"),$R("#"+n.id).removeClass("global-form-required"))}function ResetTextBox(n,t){n.value==""&&($R("#"+n.id).removeClass("global-form-ninetyfive"),$R("#"+n.id).addClass("global-form-required"),n.value=t)}function ClearInitialValueDropDownBoxClick(n){$R("#"+n.id).addClass("global-form-ninetyfive");$R("#"+n.id).removeClass("global-form-required")}function ClearInitialValueDropDownBox(n,t){n.value!=t?($R("#"+n.id).addClass("global-form-ninetyfive"),$R("#"+n.id).removeClass("global-form-required")):($R("#"+n.id).removeClass("global-form-ninetyfive"),$R("#"+n.id).addClass("global-form-required"))}function ClearPasswordTextBox(n){n.style.backgroundImage="none"}function ResetPasswordTextBox(n){n.value==""&&n.removeAttribute("style")}function searchreset(n,t){var i=MM_findObj(t);(i.value==""||i.value==null)&&(i.value=n)}function searchclear(n,t){var i=MM_findObj(t);i.value==n&&(i.value="")}function trapEnter_IE(){try{if(window.event.keyCode==13)return!1}catch(n){}}function trapEnter_FF(){var n=navigator.appName;n!="Microsoft Internet Explorer"&&(document.onkeypress=function(n){return n.keyCode==13?!1:n.keyCode})}function Idera_SearchText(n,t){if(n.keyCode==13){var i=document.getElementById("search-box");Idera_Search(i.id,t)}}function Idera_SearchText2(n,t,i){n.keyCode==13&&Idera_Search(i,t)}function Idera_Search(n,t){var i=MM_findObj(n),r;i!=null&&(r=t+"?q="+escape(i.value),self.location.href=r,window.event.returnValue=!1)}function Idera_TagSearch(n,t){var i=n.replace(/\s/g,"+"),r=t+"?q="+i;self.location.href=r;window.event.returnValue=!1}function Idera_ResourceSearch(n,t,i,r,u,f){var e=MM_findObj(n),o,s;e!=null&&(o=escape(e.value).replace(" ","+"),s=f+"?q="+o+"&rt="+t+"&t="+i+"&pid="+r+"&srt="+u,self.location.href=s,window.event.returnValue=!1)}function Idera_ViewMoreSearch(n,t){var i=t+"&rt="+n;self.location.href=i;window.event.returnValue=!1}function Idera_DisableCheckboxes(n){$R("."+n+" input[type='checkbox']").each(function(){$R(this).attr("checked",!1);$R(this).attr("disabled",!0)})}function Idera_EnableCheckboxes(n){$R("."+n+" input[type='checkbox']").each(function(){$R(this).attr("disabled",!1)})}function RefreshPage(){window.location.href=unescape(window.location.pathname)}function loadModal(n){var t=Math.floor($R(window).width()/2),r=Math.floor($R(window).height()/2),i=t-610;return $R("html, body").animate({scrollTop:0},500),$R("#mask").css({display:"block"}),$R("#mask").addClass("loader-gif"),$R("#youGotIt").css({display:"block",left:i+"px",opacity:1}),$R("#youGotIt").addClass("loader-gif"),$R("#mask").animate({opacity:1},600,function(){$R(".modal-iframe").attr("src",n);$R(".modal-iframe").css({display:"block"});$R(".modal-iframe").delay(1e3).animate({opacity:1},1e3,function(){$R("#youGotIt").removeClass("loader-gif")})}),!1}function CloseModal(){$R("#youGotIt").css({display:"none"})}function CloseModalFromModal(){$R("#mask",parent.document).css({opacity:0,display:"none"});$R("#youGotIt",parent.document).css({opacity:0,display:"none"});$R(".modal-iframe",parent.document).attr("src","")}function RefreshParentPage(){window.parent.location.reload()}function RedirectParentPage(n){window.parent.location.href=n}function OnGetContactInformationComplete(){}function OnGetContactInformationError(){}function UpdateCartQuantityInTheHeader(n){$R(".utility-nav-cart-count").html(n)}function HandleGetContactInformationSucess(n){n!=null&&n.d==null&&(n.d=n);n.d!=null&&($(".scfForm .scfShortText input:text,.scfForm .scfSingleLineTextBorder input:text,.scfForm .scfEmailBorder input:text,.scfTelephoneBorder input:text").each(function(){var t=$(this).parent().parent().children("label").text();(t.toLowerCase()=="firstname"||t.toLowerCase()=="first name *")&&n.d.FirstName!="undefined"&&n.d.FirstName!=null&&n.d.FirstName!=""?($(this).removeClass("FormDefault"),$(this).attr("value",n.d.FirstName)):(t.toLowerCase()=="lastname"||t.toLowerCase()=="last name *")&&n.d.LastName!="undefined"&&n.d.LastName!=null&&n.d.LastName!=""?($(this).removeClass("FormDefault"),$(this).attr("value",n.d.LastName)):t.toLowerCase().indexOf("email")>-1&&n.d.EmailAddress!="undefined"&&n.d.EmailAddress!=null&&n.d.EmailAddress!=""?($(this).removeClass("FormDefault"),$(this).attr("value",n.d.EmailAddress)):(t.toLowerCase()=="phonenumber"||t.toLowerCase()=="phone number *")&&n.d.PhoneNumber!="undefined"&&n.d.PhoneNumber!=null&&n.d.PhoneNumber!=""?($(this).removeClass("FormDefault"),$(this).attr("value",n.d.PhoneNumber)):(t.toLowerCase()=="company"||t.toLowerCase()=="company *")&&n.d.Company!="undefined"&&n.d.Company!=null&&n.d.Company!=""&&($(this).removeClass("FormDefault"),$(this).attr("value",n.d.Company))}),$("#_formCheckboxCountries").val().indexOf(n.d.Country)!=-1&&$(".scfCheckbox").each(function(){$(this).text().toLowerCase().indexOf(_globalEmailNotificationsAgreeText)!=-1&&$(this).show()}),$("#_gdprCountries").val().indexOf(n.d.Country)!=-1&&$(".scfCheckbox").each(function(){var n=$(this).find("label").data("gdpr");(n==_globalGDPRFieldTC||n==_globalGDPRFieldCP)&&$(this).show()}),$(".scfForm .scfShortText select,.scfForm .scfDropListBorder select").each(function(){var t=$(this).parent().parent().children("label").text();t.toLowerCase()=="country *"&&n.d.Country!="undefined"&&n.d.Country!=null&&n.d.Country!=""?$(this).val(n.d.Country):t.toLowerCase()=="state *"&&n.d.Country!="undefined"&&n.d.Country!=null&&n.d.Country!=""?n.d.Country.toLowerCase()=="united states"||n.d.Country.toLowerCase()=="unitedstates"?n.d.State!="undefined"&&n.d.State!=null&&$(this).val(n.d.State):($(this).parent().hide(),$("label").each(function(){$(this).text().toLowerCase()=="state *"&&$(this).hide()})):t.toLowerCase()=="province *"&&n.d.Country!="undefined"&&n.d.Country!=null&&n.d.Country!=""&&(n.d.Country.toLowerCase()=="canada"?n.d.State!="undefined"&&n.d.State!=null&&($(this).val(n.d.State),$(this).parent().show(),$("label").each(function(){$(this).text().toLowerCase()=="province *"&&$(this).show()})):($(this).parent().hide(),$("label").each(function(){$(this).text().toLowerCase()=="province *"&&$(this).hide()})))}))}function HandleGetContactInformationError(){}function showMenu(n){hideMenus();$("#"+n).show();$("#"+n).parent().addClass("active")}function hideMenus(){$(".menu-nav-list > div").removeClass("active");$(".submenu-nav").hide()}function elqErr(){return!0}function elqClearT(){elqTRun&&(clearTimeout(elqTID),elqTID=null,elqTRun=!1)}function elqWrite(){elqWCount>75||elqFail?elqClearT():(elqWCount++,elqLoad?(elqClearT(),elqFail||document.write(elqStr)):(elqTRun=!0,elqTID=setTimeout("elqInit();",1e3)))}function elqInit(){elqClearT();elqWrite()}function elqReplace(n,t,i){var f=n.length,u=t.length,r,e;return f==0||u==0?n:(r=n.indexOf(t),!r&&t!=n.substring(0,u))?n:r==-1?n:(e=n.substring(0,r)+i,r+u<f&&(e+=elqReplace(n.substring(r+u,f),t,i)),e)}function elqQString(n,t,i){var f=n.toLowerCase()+"=",r=location.search+"&",e=r.toLowerCase(),u=e.indexOf(f);return u!=-1&&(r=r.substring(u),r=r?r.substring(r.indexOf("=")+1,r.indexOf("&")):""),(u==-1||r=="")&&(r=t),i==1?r=elqReplace(r,"%26","&"):i==2&&(r=elqReplace(elqReplace(r,"%26","&"),"%23","#")),encodeURI(r)}function elqAddQS(n,t){if(t==""||n=="")return n;var i=n.indexOf("?"),r=n.indexOf("#")!=-1?n.indexOf("#"):n.length;return i==-1?n.substring(0,r)+"?"+t+n.substring(r,n.length):i==n.length-1?n+t:n.substring(0,i+1)+t+"&"+n.substring(i+1,n.length)}function _kms(n){setTimeout(function(){var i=document,r=i.getElementsByTagName("script")[0],t=i.createElement("script");t.type="text/javascript";t.async=!0;t.src=n;r.parentNode.insertBefore(t,r)},1)}var Base64,bd,i,bdn,IsMouseOver,isHover,elqCurE,_kmq,_kmk,BACON,_gaq,pluginUrl,_elqQ;for(function(n,t){var r=0,i=Array.prototype.slice,u=n.cleanData;n.cleanData=function(t){for(var i=0,r;(r=t[i])!=null;i++)try{n(r).triggerHandler("remove")}catch(f){}u(t)};n.widget=function(t,i,r){var s,f,u,o,h={},e=t.split(".")[0];t=t.split(".")[1];s=e+"-"+t;r||(r=i,i=n.Widget);n.expr[":"][s.toLowerCase()]=function(t){return!!n.data(t,s)};n[e]=n[e]||{};f=n[e][t];u=n[e][t]=function(n,t){if(!this._createWidget)return new u(n,t);arguments.length&&this._createWidget(n,t)};n.extend(u,f,{version:r.version,_proto:n.extend({},r),_childConstructors:[]});o=new i;o.options=n.widget.extend({},o.options);n.each(r,function(t,r){if(!n.isFunction(r)){h[t]=r;return}h[t]=function(){var n=function(){return i.prototype[t].apply(this,arguments)},u=function(n){return i.prototype[t].apply(this,n)};return function(){var i=this._super,f=this._superApply,t;return this._super=n,this._superApply=u,t=r.apply(this,arguments),this._super=i,this._superApply=f,t}}()});u.prototype=n.widget.extend(o,{widgetEventPrefix:f?o.widgetEventPrefix||t:t},h,{constructor:u,namespace:e,widgetName:t,widgetFullName:s});f?(n.each(f._childConstructors,function(t,i){var r=i.prototype;n.widget(r.namespace+"."+r.widgetName,u,i._proto)}),delete f._childConstructors):i._childConstructors.push(u);n.widget.bridge(t,u)};n.widget.extend=function(r){for(var o=i.call(arguments,1),e=0,s=o.length,u,f;e<s;e++)for(u in o[e])f=o[e][u],o[e].hasOwnProperty(u)&&f!==t&&(r[u]=n.isPlainObject(f)?n.isPlainObject(r[u])?n.widget.extend({},r[u],f):n.widget.extend({},f):f);return r};n.widget.bridge=function(r,u){var f=u.prototype.widgetFullName||r;n.fn[r]=function(e){var h=typeof e=="string",o=i.call(arguments,1),s=this;return e=!h&&o.length?n.widget.extend.apply(null,[e].concat(o)):e,h?this.each(function(){var i,u=n.data(this,f);return u?!n.isFunction(u[e])||e.charAt(0)==="_"?n.error("no such method '"+e+"' for "+r+" widget instance"):(i=u[e].apply(u,o),i!==u&&i!==t?(s=i&&i.jquery?s.pushStack(i.get()):i,!1):void 0):n.error("cannot call methods on "+r+" prior to initialization; attempted to call method '"+e+"'")}):this.each(function(){var t=n.data(this,f);t?t.option(e||{})._init():n.data(this,f,new u(e,this))}),s}};n.Widget=function(){};n.Widget._childConstructors=[];n.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(t,i){i=n(i||this.defaultElement||this)[0];this.element=n(i);this.uuid=r++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=n.widget.extend({},this.options,this._getCreateOptions(),t);this.bindings=n();this.hoverable=n();this.focusable=n();i!==this&&(n.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(n){n.target===i&&this.destroy()}}),this.document=n(i.style?i.ownerDocument:i.document||i),this.window=n(this.document[0].defaultView||this.document[0].parentWindow));this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:n.noop,_getCreateEventData:n.noop,_create:n.noop,_init:n.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(n.camelCase(this.widgetFullName));this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:n.noop,widget:function(){return this.element},option:function(i,r){var o=i,u,f,e;if(arguments.length===0)return n.widget.extend({},this.options);if(typeof i=="string")if(o={},u=i.split("."),i=u.shift(),u.length){for(f=o[i]=n.widget.extend({},this.options[i]),e=0;e<u.length-1;e++)f[u[e]]=f[u[e]]||{},f=f[u[e]];if(i=u.pop(),arguments.length===1)return f[i]===t?null:f[i];f[i]=r}else{if(arguments.length===1)return this.options[i]===t?null:this.options[i];o[i]=r}return this._setOptions(o),this},_setOptions:function(n){var t;for(t in n)this._setOption(t,n[t]);return this},_setOption:function(n,t){return this.options[n]=t,n==="disabled"&&(this.widget().toggleClass(this.widgetFullName+"-disabled ui-state-disabled",!!t).attr("aria-disabled",t),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")),this},enable:function(){return this._setOption("disabled",!1)},disable:function(){return this._setOption("disabled",!0)},_on:function(t,i,r){var f,u=this;typeof t!="boolean"&&(r=i,i=t,t=!1);r?(i=f=n(i),this.bindings=this.bindings.add(i)):(r=i,i=this.element,f=this.widget());n.each(r,function(r,e){function o(){if(t||u.options.disabled!==!0&&!n(this).hasClass("ui-state-disabled"))return(typeof e=="string"?u[e]:e).apply(u,arguments)}typeof e!="string"&&(o.guid=e.guid=e.guid||o.guid||n.guid++);var s=r.match(/^(\w+)\s*(.*)$/),h=s[1]+u.eventNamespace,c=s[2];c?f.delegate(c,h,o):i.bind(h,o)})},_off:function(n,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace;n.unbind(t).undelegate(t)},_delay:function(n,t){function r(){return(typeof n=="string"?i[n]:n).apply(i,arguments)}var i=this;return setTimeout(r,t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t);this._on(t,{mouseenter:function(t){n(t.currentTarget).addClass("ui-state-hover")},mouseleave:function(t){n(t.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t);this._on(t,{focusin:function(t){n(t.currentTarget).addClass("ui-state-focus")},focusout:function(t){n(t.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(t,i,r){var u,f,e=this.options[t];if(r=r||{},i=n.Event(i),i.type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],f=i.originalEvent,f)for(u in f)u in i||(i[u]=f[u]);return this.element.trigger(i,r),!(n.isFunction(e)&&e.apply(this.element[0],[i].concat(r))===!1||i.isDefaultPrevented())}};n.each({show:"fadeIn",hide:"fadeOut"},function(t,i){n.Widget.prototype["_"+t]=function(r,u,f){typeof u=="string"&&(u={effect:u});var o,e=u?u===!0||typeof u=="number"?i:u.effect||i:t;u=u||{};typeof u=="number"&&(u={duration:u});o=!n.isEmptyObject(u);u.complete=f;u.delay&&r.delay(u.delay);o&&n.effects&&n.effects.effect[e]?r[t](u):e!==t&&r[e]?r[e](u.duration,u.easing,f):r.queue(function(i){n(this)[t]();f&&f.call(r[0]);i()})}})}(jQuery),function(n,t,i){function r(i){var r=t.console;e[i]||(e[i]=!0,n.migrateWarnings.push(i),r&&r.warn&&!n.migrateMute&&(r.warn("JQMIGRATE: "+i),n.migrateTrace&&r.trace&&r.trace()))}function o(t,i,u,f){if(Object.defineProperty)try{Object.defineProperty(t,i,{configurable:!0,enumerable:!0,get:function(){return r(f),u},set:function(n){r(f);u=n}});return}catch(e){}n._definePropertyBroken=!0;t[i]=u}var e={},l,a,v;n.migrateWarnings=[];!n.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active");n.migrateTrace===i&&(n.migrateTrace=!0);n.migrateReset=function(){e={};n.migrateWarnings.length=0};document.compatMode==="BackCompat"&&r("jQuery is not compatible with Quirks Mode");var s=n("<input/>",{size:1}).attr("size")&&n.attrFn,h=n.attr,g=n.attrHooks.value&&n.attrHooks.value.get||function(){return null},nt=n.attrHooks.value&&n.attrHooks.value.set||function(){return i},tt=/^(?:input|button)$/i,it=/^[238]$/,rt=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ut=/^(?:checked|selected)$/i;o(n,"attrFn",s||{},"jQuery.attrFn is deprecated");n.attr=function(t,u,f,e){var o=u.toLowerCase(),c=t&&t.nodeType;return e&&(h.length<4&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!it.test(c)&&(s?u in s:n.isFunction(n.fn[u])))?n(t)[u](f):(u==="type"&&f!==i&&tt.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!n.attrHooks[o]&&rt.test(o)&&(n.attrHooks[o]={get:function(t,r){var u,f=n.prop(t,r);return f===!0||typeof f!="boolean"&&(u=t.getAttributeNode(r))&&u.nodeValue!==!1?r.toLowerCase():i},set:function(t,i,r){var u;return i===!1?n.removeAttr(t,r):(u=n.propFix[r]||r,u in t&&(t[u]=!0),t.setAttribute(r,r.toLowerCase())),r}},ut.test(o)&&r("jQuery.fn.attr('"+o+"') may use property instead of attribute")),h.call(n,t,u,f))};n.attrHooks.value={get:function(n,t){var i=(n.nodeName||"").toLowerCase();return i==="button"?g.apply(this,arguments):(i!=="input"&&i!=="option"&&r("jQuery.fn.attr('value') no longer gets properties"),t in n?n.value:null)},set:function(n,t){var i=(n.nodeName||"").toLowerCase();if(i==="button")return nt.apply(this,arguments);i!=="input"&&i!=="option"&&r("jQuery.fn.attr('value', val) no longer sets properties");n.value=t}};var f,u,c=n.fn.init,ft=n.parseJSON,et=/^([^<]*)(<[\w\W]+>)([^>]*)$/;n.fn.init=function(t,i,u){var f;return t&&typeof t=="string"&&!n.isPlainObject(i)&&(f=et.exec(n.trim(t)))&&f[0]&&(t.charAt(0)!=="<"&&r("$(html) HTML strings must start with '<' character"),f[3]&&r("$(html) HTML text after last tag is ignored"),f[0].charAt(0)==="#"&&(r("HTML string cannot start with a '#' character"),n.error("JQMIGRATE: Invalid selector string (XSS)")),i&&i.context&&(i=i.context),n.parseHTML)?c.call(this,n.parseHTML(f[2],i,!0),i,u):c.apply(this,arguments)};n.fn.init.prototype=n.fn;n.parseJSON=function(n){return!n&&n!==null?(r("jQuery.parseJSON requires a valid JSON string"),null):ft.apply(this,arguments)};n.uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||n.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}};n.browser||(f=n.uaMatch(navigator.userAgent),u={},f.browser&&(u[f.browser]=!0,u.version=f.version),u.chrome?u.webkit=!0:u.webkit&&(u.safari=!0),n.browser=u);o(n,"browser",n.browser,"jQuery.browser is deprecated");n.sub=function(){function t(n,i){return new t.fn.init(n,i)}n.extend(!0,t,this);t.superclass=this;t.fn=t.prototype=this();t.fn.constructor=t;t.sub=this.sub;t.fn.init=function(r,u){return u&&u instanceof n&&!(u instanceof t)&&(u=t(u)),n.fn.init.call(this,r,u,i)};t.fn.init.prototype=t.fn;var i=t(document);return r("jQuery.sub() is deprecated"),t};n.ajaxSetup({converters:{"text json":n.parseJSON}});l=n.fn.data;n.fn.data=function(t){var f,u,e=this[0];return e&&t==="events"&&arguments.length===1&&(f=n.data(e,t),u=n._data(e,t),(f===i||f===u)&&u!==i)?(r("Use of jQuery.fn.data('events') is deprecated"),u):l.apply(this,arguments)};a=/\/(java|ecma)script/i;v=n.fn.andSelf||n.fn.addBack;n.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),v.apply(this,arguments)};n.clean||(n.clean=function(t,i,u,f){i=i||document;i=!i.nodeType&&i[0]||i;i=i.ownerDocument||i;r("jQuery.clean() is deprecated");var o,e,h,c,s=[];if(n.merge(s,n.buildFragment(t,i).childNodes),u)for(h=function(n){if(!n.type||a.test(n.type))return f?f.push(n.parentNode?n.parentNode.removeChild(n):n):u.appendChild(n)},o=0;(e=s[o])!=null;o++)n.nodeName(e,"script")&&h(e)||(u.appendChild(e),typeof e.getElementsByTagName!="undefined"&&(c=n.grep(n.merge([],e.getElementsByTagName("script")),h),s.splice.apply(s,[o+1,0].concat(c)),o+=c.length));return s});var ot=n.event.add,st=n.event.remove,ht=n.event.trigger,ct=n.fn.toggle,y=n.fn.live,p=n.fn.die,w="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",b=new RegExp("\\b(?:"+w+")\\b"),k=/(?:^|\s)hover(\.\S+|)\b/,d=function(t){return typeof t!="string"||n.event.special.hover?t:(k.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(k,"mouseenter$1 mouseleave$1"))};n.event.props&&n.event.props[0]!=="attrChange"&&n.event.props.unshift("attrChange","attrName","relatedNode","srcElement");n.event.dispatch&&o(n.event,"handle",n.event.dispatch,"jQuery.event.handle is undocumented and deprecated");n.event.add=function(n,t,i,u,f){n!==document&&b.test(t)&&r("AJAX events should be attached to document: "+t);ot.call(this,n,d(t||""),i,u,f)};n.event.remove=function(n,t,i,r,u){st.call(this,n,d(t)||"",i,r,u)};n.fn.error=function(){var n=Array.prototype.slice.call(arguments,0);return(r("jQuery.fn.error() is deprecated"),n.splice(0,0,"error"),arguments.length)?this.bind.apply(this,n):(this.triggerHandler.apply(this,n),this)};n.fn.toggle=function(t,i){if(!n.isFunction(t)||!n.isFunction(i))return ct.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var u=arguments,e=t.guid||n.guid++,f=0,o=function(i){var r=(n._data(this,"lastToggle"+t.guid)||0)%f;return n._data(this,"lastToggle"+t.guid,r+1),i.preventDefault(),u[r].apply(this,arguments)||!1};for(o.guid=e;f<u.length;)u[f++].guid=e;return this.click(o)};n.fn.live=function(t,i,u){if(r("jQuery.fn.live() is deprecated"),y)return y.apply(this,arguments);n(this.context).on(t,this.selector,i,u);return this};n.fn.die=function(t,i){return(r("jQuery.fn.die() is deprecated"),p)?p.apply(this,arguments):(n(this.context).off(t,this.selector||"**",i),this)};n.event.trigger=function(n,t,i,u){return i||b.test(n)||r("Global events are undocumented and deprecated"),ht.call(this,n,t,i||document,u)};n.each(w.split("|"),function(t,i){n.event.special[i]={setup:function(){var t=this;return t!==document&&(n.event.add(document,i+"."+n.guid,function(){n.event.trigger(i,null,t,!0)}),n._data(this,i,n.guid++)),!1},teardown:function(){return this!==document&&n.event.remove(document,i+"."+n._data(this,i)),!1}}})}(jQuery,window),function(n,t){function f(){this._state=[];this._defaults={classHolder:"sbHolder",classHolderDisabled:"sbHolderDisabled",classSelector:"sbSelector",classOptions:"sbOptions",classGroup:"sbGroup",classSub:"sbSub",classDisabled:"sbDisabled",classToggleOpen:"sbToggleOpen",classToggle:"sbToggle",classFocus:"sbFocus",speed:200,effect:"slide",onChange:null,onOpen:null,onClose:null}}var r="selectbox",i=!1,u=!0;n.extend(f.prototype,{_isOpenSelectbox:function(n){if(!n)return i;var t=this._getInst(n);return t.isOpen},_isDisabledSelectbox:function(n){if(!n)return i;var t=this._getInst(n);return t.isDisabled},_attachSelectbox:function(t,f){function p(){var t,i,r=this.attr("id").split("_")[1];for(t in o._state)t!==r&&o._state.hasOwnProperty(t)&&(i=n("select[sb='"+t+"']")[0],i&&o._closeSelectbox(i))}function w(){var i=arguments[1]&&arguments[1].sub?!0:!1,r=arguments[1]&&arguments[1].disabled?!0:!1;arguments[0].each(function(f){var s=n(this),y=n("<li>"),h;s.is(":selected")&&(c.text(s.text()),v=u);f===b-1&&y.addClass("last");s.is(":disabled")||r?(h=n("<span>",{text:s.text()}).addClass(e.settings.classDisabled),i&&h.addClass(e.settings.classSub),h.appendTo(y)):(h=n("<a>",{href:"#"+s.val(),rel:s.val()}).text(s.text()).bind("click.sb",function(i){i&&i.preventDefault&&i.preventDefault();var u=a,r=n(this),f=u.attr("id").split("_")[1];o._changeSelectbox(t,r.attr("rel"),r.text());o._closeSelectbox(t)}).bind("mouseover.sb",function(){var t=n(this);t.parent().siblings().find("a").removeClass(e.settings.classFocus);t.addClass(e.settings.classFocus)}).bind("mouseout.sb",function(){n(this).removeClass(e.settings.classFocus)}),i&&h.addClass(e.settings.classSub),s.is(":selected")&&h.addClass(e.settings.classFocus),h.appendTo(y));y.appendTo(l)})}if(this._getInst(t))return i;var s=n(t),o=this,e=o._newInst(s),h,c,a,l,v=i,k=s.find("optgroup"),y=s.find("option"),b=y.length;s.attr("sb",e.uid);n.extend(e.settings,o._defaults,f);o._state[e.uid]=i;s.hide();h=n("<div>",{id:"sbHolder_"+e.uid,"class":e.settings.classHolder,tabindex:s.attr("tabindex")});c=n("<a>",{id:"sbSelector_"+e.uid,href:"#","class":e.settings.classSelector,click:function(i){i.preventDefault();p.apply(n(this),[]);var r=n(this).attr("id").split("_")[1];o._state[r]?o._closeSelectbox(t):o._openSelectbox(t)}});a=n("<a>",{id:"sbToggle_"+e.uid,href:"#","class":e.settings.classToggle,click:function(i){i.preventDefault();p.apply(n(this),[]);var r=n(this).attr("id").split("_")[1];o._state[r]?o._closeSelectbox(t):o._openSelectbox(t)}});a.appendTo(h);l=n("<ul>",{id:"sbOptions_"+e.uid,"class":e.settings.classOptions,css:{display:"none"}});s.children().each(function(){var t=n(this),i,r={};t.is("option")?w(t):t.is("optgroup")&&(i=n("<li>"),n("<span>",{text:t.attr("label")}).addClass(e.settings.classGroup).appendTo(i),i.appendTo(l),t.is(":disabled")&&(r.disabled=!0),r.sub=!0,w(t.find("option"),r))});v||c.text(y.first().text());n.data(t,r,e);h.data("uid",e.uid).bind("keydown.sb",function(t){var l=t.charCode?t.charCode:t.keyCode?t.keyCode:0,u=n(this),h=u.data("uid"),f=u.siblings("select[sb='"+h+"']").data(r),s=u.siblings(["select[sb='",h,"']"].join("")).get(0),i=u.find("ul").find("a."+f.settings.classFocus),e,c;switch(l){case 37:case 38:i.length>0&&(n("a",u).removeClass(f.settings.classFocus),e=i.parent().prevAll("li:has(a)").eq(0).find("a"),e.length>0&&(e.addClass(f.settings.classFocus).focus(),n("#sbSelector_"+h).text(e.text())));break;case 39:case 40:n("a",u).removeClass(f.settings.classFocus);e=i.length>0?i.parent().nextAll("li:has(a)").eq(0).find("a"):u.find("ul").find("a").eq(0);e.length>0&&(e.addClass(f.settings.classFocus).focus(),n("#sbSelector_"+h).text(e.text()));break;case 13:i.length>0&&o._changeSelectbox(s,i.attr("rel"),i.text());o._closeSelectbox(s);break;case 9:s&&(f=o._getInst(s),f&&(i.length>0&&o._changeSelectbox(s,i.attr("rel"),i.text()),o._closeSelectbox(s)));c=parseInt(u.attr("tabindex"),10);t.shiftKey?c--:c++;n("*[tabindex='"+c+"']").focus();break;case 27:o._closeSelectbox(s)}return t.stopPropagation(),!1}).delegate("a","mouseover",function(){n(this).addClass(e.settings.classFocus)}).delegate("a","mouseout",function(){n(this).removeClass(e.settings.classFocus)});c.appendTo(h);l.appendTo(h);h.insertAfter(s);n("html").live("mousedown",function(t){t.stopPropagation();n("select").selectbox("close")});n([".",e.settings.classHolder,", .",e.settings.classSelector].join("")).mousedown(function(n){n.stopPropagation()})},_detachSelectbox:function(t){var u=this._getInst(t);if(!u)return i;n("#sbHolder_"+u.uid).remove();n.data(t,r,null);n(t).show()},_changeSelectbox:function(t,i,r){var e,f=this._getInst(t);f&&(e=this._get(f,"onChange"),n("#sbSelector_"+f.uid).text(r));i=i.replace(/\'/g,"\\'");n(t).find("option[value='"+i+"']").attr("selected",u);f&&e?e.apply(f.input?f.input[0]:null,[i,f]):f&&f.input&&f.input.trigger("change")},_enableSelectbox:function(t){var u=this._getInst(t);if(!u||!u.isDisabled)return i;n("#sbHolder_"+u.uid).removeClass(u.settings.classHolderDisabled);u.isDisabled=i;n.data(t,r,u)},_disableSelectbox:function(t){var f=this._getInst(t);if(!f||f.isDisabled)return i;n("#sbHolder_"+f.uid).addClass(f.settings.classHolderDisabled);f.isDisabled=u;n.data(t,r,f)},_optionSelectbox:function(t,u,f){var e=this._getInst(t);if(!e)return i;e[u]=f;n.data(t,r,e)},_openSelectbox:function(t){var i=this._getInst(t);if(i&&!i.isOpen&&!i.isDisabled){var f=n("#sbOptions_"+i.uid),s=parseInt(n(window).height(),10),h=n("#sbHolder_"+i.uid).offset(),c=n(window).scrollTop(),e=f.prev().height(),l=s-(h.top-c)-e/2,o=this._get(i,"onOpen");f.css({top:e+"px",maxHeight:l-e+"px"});i.settings.effect==="fade"?f.fadeIn(i.settings.speed):f.slideDown(i.settings.speed);n("#sbToggle_"+i.uid).addClass(i.settings.classToggleOpen);this._state[i.uid]=u;i.isOpen=u;o&&o.apply(i.input?i.input[0]:null,[i]);n.data(t,r,i)}},_closeSelectbox:function(t){var u=this._getInst(t),f;u&&u.isOpen&&(f=this._get(u,"onClose"),u.settings.effect==="fade"?n("#sbOptions_"+u.uid).fadeOut(u.settings.speed):n("#sbOptions_"+u.uid).slideUp(u.settings.speed),n("#sbToggle_"+u.uid).removeClass(u.settings.classToggleOpen),this._state[u.uid]=i,u.isOpen=i,f&&f.apply(u.input?u.input[0]:null,[u]),n.data(t,r,u))},_newInst:function(n){var t=n[0].id.replace(/([^A-Za-z0-9_-])/g,"\\\\$1");return{id:t,input:n,uid:Math.floor(Math.random()*99999999),isOpen:i,isDisabled:i,settings:{}}},_getInst:function(t){try{return n.data(t,r)}catch(i){throw"Missing instance data for this selectbox";}},_get:function(n,i){return n.settings[i]!==t?n.settings[i]:this._defaults[i]}});n.fn.selectbox=function(t){var i=Array.prototype.slice.call(arguments,1);return typeof t=="string"&&t=="isDisabled"?n.selectbox["_"+t+"Selectbox"].apply(n.selectbox,[this[0]].concat(i)):t=="option"&&arguments.length==2&&typeof arguments[1]=="string"?n.selectbox["_"+t+"Selectbox"].apply(n.selectbox,[this[0]].concat(i)):this.each(function(){typeof t=="string"?n.selectbox["_"+t+"Selectbox"].apply(n.selectbox,[this].concat(i)):n.selectbox._attachSelectbox(this,t)})};n.selectbox=new f;n.selectbox.version="0.2"}(jQuery),function(n){var t="selectric",i=function(n){var t,i="40-46 50-53 54-57 62-70 71-74 61 47 77".replace(/\d+/g,"\\3$&").split(" ");for(t in i){if(!i.hasOwnProperty(t))return;n=n.toLowerCase().replace(RegExp("["+i[t]+"]","g"),"aeiouncy".charAt(t))}return n},r=function(r,u){function yt(){var r=h.children();if(_$li="<ul>",selectedIndex=r.filter(":"+tt).index(),y=s=~selectedIndex?selectedIndex:0,(p=r.length)&&(r.each(function(t){var r=n(this),u=r.html(),f=r.prop("disabled");l[t]={value:r.val(),text:u,slug:i(u),disabled:f};_$li+='<li class="'+(t==y?tt:"")+(t==p-1?" last":"")+(f?" disabled":"")+'">'+u+"<\/li>"}),f.html(_$li+"<\/ul>"),et.html(l[y].text)),a.add(h).off(v),c.data(t,!0).prop("class",[o[6],h.prop("class"),lt,u.responsive?o[8]:""].join(" ")),h.prop("disabled"))e.prop("disabled",!0);else{c.removeClass(lt).hover(function(){n(this).toggleClass(o[7])});e.prop("disabled",!1);u.openOnHover&&a.on("mouseenter"+v,it);a.on(ht,function(n){b?d():it(n)});function w(n){/^(9|13|27)$/.test(n.keyCode||n.which)&&(n.stopPropagation(),rt(s,!0))}e.off().on({keypress:w,keydown:function(n){w(n);clearTimeout(ct);ct=setTimeout(function(){e.val("")},u.keySearchTimeout);var t=n.keyCode||n.which;t>36&&t<41&&rt(t<39?ni():gt())},focusin:function(n){e.one("blur",function(){e.blur()});b||it(n)}}).on(dt,function(){e.val().length&&n.each(l,function(n,t){if(RegExp("^"+e.val(),"i").test(t.slug)&&!t.disabled)return rt(n),!1})});g=n("li",f.removeAttr("style")).click(function(){return rt(n(this).index(),!0),!1})}}function pt(){var i=f.closest(":visible").children(":hidden"),r=u.maxHeight,n,t;i.addClass(at);n=f.outerWidth();t=a.outerWidth()-(n-f.width());!u.expandToItemText||t>n?ft=t:(f.css("overflow","scroll"),c.width(9e4),ft=n,f.css("overflow",""),c.width(""));f.width(ft).height()>r&&f.height(r);i.removeClass(at)}function it(t){t.preventDefault();t.stopPropagation();pt();n("."+nt).removeClass(nt);b=!0;k=f.outerHeight();wt();e.val("").is(":focus")||e.focus();ot.on(ht,d);if(u.openOnHover){clearTimeout(vt);c.one("mouseleave"+v,function(){vt=setTimeout(d,500)})}c.addClass(nt);bt(s);u.onOpen(r)}function wt(){b&&(pt(),f.css("top",c.offset().top+c.outerHeight()+k>st.scrollTop()+st.height()?-k:""),setTimeout(wt,100))}function d(n){if(!n&&y!=s){var t=l[s].text;h.prop("selectedIndex",y=s).data("value",t).trigger("change",[t,y]);u.onChange(r);et.html(t)}ot.off(v);c.removeClass(nt);b=!1;u.onClose(r)}function rt(n,t){l[s=n].disabled||(g.removeClass(tt).eq(n).addClass(tt),bt(n),t&&d())}function bt(n){var t=g.eq(n).outerHeight(),i=g[n].offsetTop,r=f.scrollTop(),u=i+t*2;f.scrollTop(u>r+k?u-k:i-t<r?i-t:r)}function gt(n){if(l[n=(s+1)%p].disabled)while(l[n=(n+1)%p].disabled);return n}function ni(n){if(l[n=(s>0?s:p)-1].disabled)while(l[n=(n>0?n:p)-1].disabled);return n}var u=n.extend({onOpen:n.noop,onClose:n.noop,onChange:n.noop,maxHeight:300,keySearchTimeout:500,arrowButtonMarkup:'<b class="button">&#x25be;<\/b>',disableOnMobile:!0,openOnHover:!1,expandToItemText:!1,responsive:!1,customClass:{prefix:"selectric",postfixes:"Input Items Open Disabled TempShow HideSelect Wrapper Hover Responsive",camelCase:!0}},u),w=u.customClass,kt=w.postfixes.split(" "),o=[],ut;if(!u.disableOnMobile||!/android|ip(hone|od|ad)/i.test(navigator.userAgent)){while(ut=kt.shift())o.push(w.camelCase?w.prefix+ut:(w.prefix+ut).replace(/([A-Z])/g,"-$&").toLowerCase());var h=n(r),e=n('<input type="text" class="'+o[0]+'"/>'),a=n('<div class="'+w.prefix+'"><p class="label"/>'+u.arrowButtonMarkup+"<\/div>"),f=n('<div class="'+o[1]+'" tabindex="-1"><\/div>'),c=h.data(t,!0).wrap("<div>").parent().append(a.add(f).add(e)),l=[],b,et=n(".label",a),g,v=".sl",ot=n(document),st=n(window),ht="click"+v,ct,nt=o[2],lt=o[3],at=o[4],tt="selected",s,y,k,vt,ft,p,dt="oninput"in e[0]?"input":"keyup";h.wrap('<div class="'+o[5]+'">');yt();h.on({refresh:yt,destroy:function(){f.add(a).add(e).remove();h.removeData(t).removeData("value").off(v+" refresh destroy open close").unwrap().unwrap()},open:it,close:d})}};n.fn[t]=function(i,u){return this.each(function(){n(this).data(t)?""+i===i&&n(this).trigger(i):r(this,i||u)})}}(jQuery),Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",decode:function(n){if(typeof window.atob=="function")return atob(n);var t="",e,o,s,h,u,r,f,i=0;for(n=n.replace(/[^A-Za-z0-9\+\/\=]/g,"");i<n.length;)h=Base64._keyStr.indexOf(n.charAt(i++)),u=Base64._keyStr.indexOf(n.charAt(i++)),r=Base64._keyStr.indexOf(n.charAt(i++)),f=Base64._keyStr.indexOf(n.charAt(i++)),e=h<<2|u>>4,o=(u&15)<<4|r>>2,s=(r&3)<<6|f,t=t+String.fromCharCode(e),r!=64&&(t=t+String.fromCharCode(o)),f!=64&&(t=t+String.fromCharCode(s));return Base64._utf8_decode(t)},_utf8_decode:function(n){for(var r="",t=0,i=c1=c2=0;t<n.length;)i=n.charCodeAt(t),i<128?(r+=String.fromCharCode(i),t++):i>191&&i<224?(c2=n.charCodeAt(t+1),r+=String.fromCharCode((i&31)<<6|c2&63),t+=2):(c2=n.charCodeAt(t+1),c3=n.charCodeAt(t+2),r+=String.fromCharCode((i&15)<<12|(c2&63)<<6|c3&63),t+=3);return r}},bd=[],i=0;i<bd.length;i++)if(bdn=Base64.decode(bd[i]),bdn!==""&&window.location.hostname.match(RegExp(bdn+"$"))){error_message="Error loading player: Unauthorized Domain",function(){var t="",n;jwplayer=function(i){return t=i,n};n={setup:function(){var e="There was an error retrieving your embed.:Please double check your hosted URL in your <a href='http://account.jwplayer.com'>JW Dashboard<\/a>.",u,i,f,r;return typeof error_message!="undefined"&&(e=error_message),u=document.getElementById(t),i=u.style,i.backgroundColor="#000",i.color="#FFF",i.width="480px",i.height="270px",i.display="table",i.opacity=1,f=document.createElement("p"),r=f.style,r.verticalAlign="middle",r.textAlign="center",r.display="table-cell",r.font="15px/20px Arial, Helvetica, sans-serif",f.innerHTML=e.replace(":",":<br>"),u.innerHTML="",u.appendChild(f),n},getRenderingMode:function(){return n},onReady:function(){return n},getPlaylist:function(){return n},getPlaylistItem:function(){return n},load:function(){return n},playlistItem:function(){return n},onPlaylist:function(){return n},onPlaylistItem:function(){return n},onComplete:function(){return n},onPlaylistComplete:function(){return n},getBuffer:function(){return n},onBufferChange:function(){return n},getState:function(){return n},play:function(){return n},pause:function(){return n},stop:function(){return n},onBeforePlay:function(){return n},onPlay:function(){return n},onPause:function(){return n},onBuffer:function(){return n},onIdle:function(){return n},getPosition:function(){return n},getDuration:function(){return n},seek:function(){return n},onSeek:function(){return n},onTime:function(){return n},getMute:function(){return n},getVolume:function(){return n},setMute:function(){return n},setVolume:function(){return n},onMute:function(){return n},onVolume:function(){return n},getFullscreen:function(){return n},getHeight:function(){return n},getWidth:function(){return n},resize:function(){return n},onFullscreen:function(){return n},getQualityLevels:function(){return n},getCurrentQuality:function(){return n},setCurrentQuality:function(){return n},onQualityLevels:function(){return n},onQualityChange:function(){return n},addButton:function(){return n},removeButton:function(){return n},getControls:function(){return n},getSafeRegion:function(){return n},setControls:function(){return n},onControls:function(){return n},onDisplayClick:function(){return n},onError:function(){return n},onMeta:function(){return n}}}();jwplayer.blacklisted=1;break}"undefined"==typeof jwplayer&&(jwplayer=function(n){if(jwplayer.api)return jwplayer.api.selectPlayer(n)},jwplayer.version="6.8.4616",jwplayer.vid=document.createElement("video"),jwplayer.audio=document.createElement("audio"),jwplayer.source=document.createElement("source"),function(n){function u(n){return function(){return i(n)}}function s(n,i,r,u,f){return function(){var e,o;if(f)r(n);else{try{if((e=n.responseXML)&&(o=e.firstChild,e.lastChild&&"parsererror"===e.lastChild.nodeName)){u&&u("Invalid XML");return}}catch(s){}if(e&&o)return r(n);(e=t.parseXML(n.responseText))&&e.firstChild?(n=t.extend({},n,{responseXML:e}),r(n)):u&&u(n.responseText?"Invalid XML":i)}}}var e=document,r=window,h=navigator,t=n.utils=function(){},f,i,o;t.exists=function(n){switch(typeof n){case"string":return 0<n.length;case"object":return null!==n;case"undefined":return!1}return!0};t.styleDimension=function(n){return n+(0<n.toString().indexOf("%")?"":"px")};t.getAbsolutePath=function(n,i){var u,o,r,s,f;if(t.exists(i)||(i=e.location.href),t.exists(n)){if(t.exists(n)?(u=n.indexOf("://"),o=n.indexOf("?"),u=0<u&&(0>o||o>u)):u=void 0,u)return n;for(u=i.substring(0,i.indexOf("://")+3),o=i.substring(u.length,i.indexOf("/",u.length+1)),0===n.indexOf("/")?r=n.split("/"):(r=i.split("?")[0],r=r.substring(u.length+o.length+1,r.lastIndexOf("/")),r=r.split("/").concat(n.split("/"))),s=[],f=0;f<r.length;f++)r[f]&&t.exists(r[f])&&"."!=r[f]&&(".."==r[f]?s.pop():s.push(r[f]));return u+o+"/"+s.join("/")}};t.extend=function(){var n=t.extend.arguments,i;if(1<n.length){for(i=1;i<n.length;i++)t.foreach(n[i],function(i,r){try{t.exists(r)&&(n[0][i]=r)}catch(u){}});return n[0]}return null};f=window.console=window.console||{log:function(){}};t.log=function(){var n=Array.prototype.slice.call(arguments,0);"object"==typeof f.log?f.log(n):f.log.apply(f,n)};i=t.userAgentMatch=function(n){return null!==h.userAgent.toLowerCase().match(n)};t.isIE=t.isMSIE=u(/msie/i);t.isFF=u(/firefox/i);t.isChrome=u(/chrome/i);t.isIPod=u(/iP(hone|od)/i);t.isIPad=u(/iPad/i);t.isSafari602=u(/Macintosh.*Mac OS X 10_8.*6\.0\.\d* Safari/i);t.isIETrident=function(n){return n?(n=parseFloat(n).toFixed(1),i(RegExp("msie\\s*"+n+"|trident/.+rv:\\s*"+n,"i"))):i(/msie|trident/i)};t.isSafari=function(){return i(/safari/i)&&!i(/chrome/i)&&!i(/chromium/i)&&!i(/android/i)};t.isIOS=function(n){return n?i(RegExp("iP(hone|ad|od).+\\sOS\\s"+n,"i")):i(/iP(hone|ad|od)/i)};t.isAndroid=function(n,t){var r=t?!i(/chrome\/[23456789]/i):!0;return n?r&&i(RegExp("android.*"+n,"i")):r&&i(/android/i)};t.isMobile=function(){return t.isIOS()||t.isAndroid()};t.saveCookie=function(n,t){e.cookie="jwplayer."+n+"="+t+"; path=/"};t.getCookies=function(){for(var n,i={},r=e.cookie.split("; "),t=0;t<r.length;t++)n=r[t].split("="),0===n[0].indexOf("jwplayer.")&&(i[n[0].substring(9,n[0].length)]=n[1]);return i};t.typeOf=function(n){var t=typeof n;return"object"===t?n?n instanceof Array?"array":t:"null":t};t.translateEventResponse=function(i,r){var u=t.extend({},r),f;return i!=n.events.JWPLAYER_FULLSCREEN||u.fullscreen?"object"==typeof u.data?(f=u.data,delete u.data,u=t.extend(u,f)):"object"==typeof u.metadata&&t.deepReplaceKeyName(u.metadata,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]):(u.fullscreen="true"==u.message?!0:!1,delete u.message),t.foreach(["position","duration","offset"],function(n,t){u[t]&&(u[t]=Math.round(1e3*u[t])/1e3)}),u};t.flashVersion=function(){if(t.isAndroid())return 0;var i=h.plugins,n;try{if("undefined"!==i&&(n=i["Shockwave Flash"]))return parseInt(n.description.replace(/\D+(\d+)\..*/,"$1"),10)}catch(u){}if("undefined"!=typeof r.ActiveXObject)try{if(n=new r.ActiveXObject("ShockwaveFlash.ShockwaveFlash"))return parseInt(n.GetVariable("$version").split(" ")[1].split(",")[0],10)}catch(f){}return 0};t.getScriptPath=function(n){for(var t,r=e.getElementsByTagName("script"),i=0;i<r.length;i++)if(t=r[i].src,t&&0<=t.indexOf(n))return t.substr(0,t.indexOf(n));return""};t.deepReplaceKeyName=function(i,r,u){switch(n.utils.typeOf(i)){case"array":for(var f=0;f<i.length;f++)i[f]=n.utils.deepReplaceKeyName(i[f],r,u);break;case"object":t.foreach(i,function(t,f){var s,e,o;if(r instanceof Array&&u instanceof Array){if(r.length!=u.length)return;s=r}else s=[r];for(e=t,o=0;o<s.length;o++)e=e.replace(RegExp(r[o],"g"),u[o]);i[e]=n.utils.deepReplaceKeyName(f,r,u);t!=e&&delete i[t]})}return i};o=t.pluginPathType={ABSOLUTE:0,RELATIVE:1,CDN:2};t.getPluginPathType=function(n){var i,r;if("string"==typeof n)return(n=n.split("?")[0],i=n.indexOf("://"),0<i)?o.ABSOLUTE:(r=n.indexOf("/"),n=t.extension(n),0>i&&0>r&&(!n||!isNaN(n))?o.CDN:o.RELATIVE)};t.getPluginName=function(n){return n.replace(/^(.*\/)?([^-]*)-?.*\.(swf|js)$/,"$2")};t.getPluginVersion=function(n){return n.replace(/[^-]*-?([^\.]*).*$/,"$1")};t.isYouTube=function(n){return/^(http|\/\/).*(youtube\.com|youtu\.be)\/.+/.test(n)};t.youTubeID=function(n){try{return/v[=\/]([^?&]*)|youtu\.be\/([^?]*)|^([\w-]*)$/i.exec(n).slice(1).join("").replace("?","")}catch(t){return""}};t.isRtmp=function(n,t){return 0===n.indexOf("rtmp")||"rtmp"==t};t.foreach=function(n,i){var r,u;for(r in n)"function"==t.typeOf(n.hasOwnProperty)?n.hasOwnProperty(r)&&(u=n[r],i(r,u)):(u=n[r],i(r,u))};t.isHTTPS=function(){return 0===r.location.href.indexOf("https")};t.repo=function(){var i="http://p.jwpcdn.com/"+n.version.split(/\W/).splice(0,2).join("/")+"/";try{t.isHTTPS()&&(i=i.replace("http://","https://ssl."))}catch(r){}return i};t.ajax=function(n,i,u,f){var e,o,h;if(0<n.indexOf("#")&&(n=n.replace(/#.*$/,"")),n&&0<=n.indexOf("://")&&n.split("/")[2]!=r.location.href.split("/")[2]&&t.exists(r.XDomainRequest))e=new r.XDomainRequest,e.onload=s(e,n,i,u,f),e.ontimeout=e.onprogress=function(){},e.timeout=5e3;else if(t.exists(r.XMLHttpRequest))o=e=new r.XMLHttpRequest,h=n,e.onreadystatechange=function(){if(4===o.readyState)switch(o.status){case 200:s(o,h,i,u,f)();break;case 404:u("File not found")}};else return u&&u(),e;return e.overrideMimeType&&e.overrideMimeType("text/xml"),e.onerror=function(){u("Error loading file")},setTimeout(function(){try{e.open("GET",n,!0);e.send()}catch(t){u&&u(n)}},0),e};t.parseXML=function(n){var t;try{if(r.DOMParser){if(t=(new r.DOMParser).parseFromString(n,"text/xml"),t.childNodes&&t.childNodes.length&&"parsererror"==t.childNodes[0].firstChild.nodeName)return}else t=new r.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(n)}catch(i){return}return t};t.filterPlaylist=function(n,i){for(var o=[],r,u,e,f=0;f<n.length;f++)if(r=t.extend({},n[f]),r.sources=t.filterSources(r.sources),0<r.sources.length){for(u=0;u<r.sources.length;u++)e=r.sources[u],e.label||(e.label=u.toString());o.push(r)}if(i&&0===o.length)for(f=0;f<n.length;f++)if(r=t.extend({},n[f]),r.sources=t.filterSources(r.sources,!0),0<r.sources.length){for(u=0;u<r.sources.length;u++)e=r.sources[u],e.label||(e.label=u.toString());o.push(r)}return o};t.filterSources=function(i,r){var e,s,h=t.extensionmap,f,u,o;if(i)for(s=[],f=0;f<i.length;f++)u=i[f].type,o=i[f].file,o&&(o=t.trim(o)),u||(u=h.extType(t.extension(o)),i[f].type=u),r?n.embed.flashCanPlay(o,u)&&(e||(e=u),u==e&&s.push(t.extend({},i[f]))):t.canPlayHTML5(u)&&(e||(e=u),u==e&&s.push(t.extend({},i[f])));return s};t.canPlayHTML5=function(i){return t.isAndroid()&&("hls"==i||"m3u"==i||"m3u8"==i)?!1:(i=t.extensionmap.types[i],!!i&&!!n.vid.canPlayType&&n.vid.canPlayType(i))};t.seconds=function(n){n=n.replace(",",".");var t=n.split(":"),i=0;return"s"==n.slice(-1)?i=parseFloat(n):"m"==n.slice(-1)?i=60*parseFloat(n):"h"==n.slice(-1)?i=3600*parseFloat(n):1<t.length?(i=parseFloat(t[t.length-1]),i+=60*parseFloat(t[t.length-2]),3==t.length&&(i+=3600*parseFloat(t[t.length-3]))):i=parseFloat(n),i};t.serialize=function(n){return null==n?null:"true"==n.toString().toLowerCase()?!0:"false"==n.toString().toLowerCase()?!1:isNaN(Number(n))||5<n.length||0===n.length?n:Number(n)}}(jwplayer),function(n){var i="video/",u=n.foreach,t={mp4:i+"mp4",vorbis:"audio/ogg",ogg:i+"ogg",webm:i+"webm",aac:"audio/mp4",mp3:"audio/mpeg",hls:"application/vnd.apple.mpegurl"},f={mp4:t.mp4,f4v:t.mp4,m4v:t.mp4,mov:t.mp4,m4a:t.aac,f4a:t.aac,aac:t.aac,mp3:t.mp3,ogv:t.ogg,ogg:t.vorbis,oga:t.vorbis,webm:t.webm,m3u8:t.hls,hls:t.hls},i="video",i={flv:i,f4v:i,mov:i,m4a:i,m4v:i,mp4:i,aac:i,f4a:i,mp3:"sound",smil:"rtmp",m3u8:"hls",hls:"hls"},r=n.extensionmap={};u(f,function(n,t){r[n]={html5:t}});u(i,function(n,t){r[n]||(r[n]={});r[n].flash=t});r.types=t;r.mimeType=function(n){var i;return u(t,function(t,r){i||r!=n||(i=t)}),i};r.extType=function(n){return r.mimeType(f[n])}}(jwplayer.utils),function(n){var t=n.loaderstatus={NEW:0,LOADING:1,ERROR:2,COMPLETE:3},i=document;n.scriptloader=function(r){function s(){u=t.ERROR;o.sendEvent(f.ERROR)}function e(){u=t.COMPLETE;o.sendEvent(f.COMPLETE)}var u=t.NEW,f=jwplayer.events,o=new f.eventdispatcher;n.extend(this,o);this.load=function(){var h=n.scriptloader.loaders[r],o;h&&(h.getStatus()==t.NEW||h.getStatus()==t.LOADING)?(h.addEventListener(f.ERROR,s),h.addEventListener(f.COMPLETE,e)):(n.scriptloader.loaders[r]=this,u==t.NEW)&&(u=t.LOADING,o=i.createElement("script"),o.addEventListener?(o.onload=e,o.onerror=s):o.readyState&&(o.onreadystatechange=function(){("loaded"==o.readyState||"complete"==o.readyState)&&e()}),i.getElementsByTagName("head")[0].appendChild(o),o.src=r)};this.getStatus=function(){return u}};n.scriptloader.loaders={}}(jwplayer.utils),function(n){n.trim=function(n){return n.replace(/^\s*/,"").replace(/\s*$/,"")};n.pad=function(n,t,i){for(i||(i="0");n.length<t;)n=i+n;return n};n.xmlAttribute=function(n,t){for(var i=0;i<n.attributes.length;i++)if(n.attributes[i].name&&n.attributes[i].name.toLowerCase()==t.toLowerCase())return n.attributes[i].value.toString();return""};n.extension=function(n){return!n||"rtmp"==n.substr(0,4)?"":(n=n.substring(n.lastIndexOf("/")+1,n.length).split("?")[0].split("#")[0],-1<n.lastIndexOf(".")?n.substr(n.lastIndexOf(".")+1,n.length).toLowerCase():void 0)};n.stringToColor=function(n){return n=n.replace(/(#|0x)?([0-9A-F]{3,6})$/gi,"$2"),3==n.length&&(n=n.charAt(0)+n.charAt(0)+n.charAt(1)+n.charAt(1)+n.charAt(2)+n.charAt(2)),parseInt(n,16)}}(jwplayer.utils),function(n){var t="touchmove",i="touchstart";n.touch=function(r){function h(n){n.type==i?(e=!0,u=l(f.DRAG_START,n)):n.type==t?e&&(o||(s(f.DRAG_START,n,u),o=!0),s(f.DRAG,n)):(e&&(o?s(f.DRAG_END,n):(n.cancelBubble=!0,s(f.TAP,n))),e=o=!1,u=null)}function s(n,t,i){c[n]&&(t.preventManipulation&&t.preventManipulation(),t.preventDefault&&t.preventDefault(),t=i?i:l(n,t))&&c[n](t)}function l(n,t){var i=null,r;return(t.touches&&t.touches.length?i=t.touches[0]:t.changedTouches&&t.changedTouches.length&&(i=t.changedTouches[0]),!i)?null:(r=a.getBoundingClientRect(),i={type:n,target:a,x:i.pageX-window.pageXOffset-r.left,y:i.pageY,deltaX:0,deltaY:0},n!=f.TAP&&u&&(i.deltaX=i.x-u.x,i.deltaY=i.y-u.y),i)}var a=r,e=!1,c={},u=null,o=!1,f=n.touchEvents;return document.addEventListener(t,h),document.addEventListener("touchend",function(n){e&&o&&s(f.DRAG_END,n);e=o=!1;u=null}),document.addEventListener("touchcancel",h),r.addEventListener(i,h),r.addEventListener("touchend",h),this.addEventListener=function(n,t){c[n]=t},this.removeEventListener=function(n){delete c[n]},this}}(jwplayer.utils),function(n){n.touchEvents={DRAG:"jwplayerDrag",DRAG_START:"jwplayerDragStart",DRAG_END:"jwplayerDragEnd",TAP:"jwplayerTap"}}(jwplayer.utils),function(n){n.key=function(t){var i,f,u,r;this.edition=function(){return u&&u.getTime()<(new Date).getTime()?"invalid":i};this.token=function(){return f};n.exists(t)||(t="");try{t=n.tea.decrypt(t,"36QXq4W@GSBV^teR");r=t.split("/");(i=r[0])?/^(free|pro|premium|ads)$/i.test(i)?(f=r[1],r[2]&&0<parseInt(r[2])&&(u=new Date,u.setTime(String(r[2])))):i="invalid":i="free"}catch(e){i="invalid"}}}(jwplayer.utils),function(n){var t=n.tea={},r,i;t.encrypt=function(n,u){var f,o;if(0==n.length)return"";f=t.strToLongs(i.encode(n));1>=f.length&&(f[1]=0);for(var a=t.strToLongs(i.encode(u).slice(0,16)),s=f.length,e=f[s-1],h=f[0],l,v=Math.floor(6+52/s),c=0;0<v--;)for(c+=2654435769,l=c>>>2&3,o=0;o<s;o++)h=f[(o+1)%s],e=(e>>>5^h<<2)+(h>>>3^e<<4)^(c^h)+(a[o&3^l]^e),e=f[o]+=e;return f=t.longsToStr(f),r.encode(f)};t.decrypt=function(n,u){var e;if(0==n.length)return"";for(var f=t.strToLongs(r.decode(n)),a=t.strToLongs(i.encode(u).slice(0,16)),s=f.length,o=f[s-1],h=f[0],l,c=2654435769*Math.floor(6+52/s);0!=c;){for(l=c>>>2&3,e=s-1;0<=e;e--)o=f[0<e?e-1:s-1],o=(o>>>5^h<<2)+(h>>>3^o<<4)^(c^h)+(a[e&3^l]^o),h=f[e]-=o;c-=2654435769}return f=t.longsToStr(f),f=f.replace(/\0+$/,""),i.decode(f)};t.strToLongs=function(n){for(var i=Array(Math.ceil(n.length/4)),t=0;t<i.length;t++)i[t]=n.charCodeAt(4*t)+(n.charCodeAt(4*t+1)<<8)+(n.charCodeAt(4*t+2)<<16)+(n.charCodeAt(4*t+3)<<24);return i};t.longsToStr=function(n){for(var i=Array(n.length),t=0;t<n.length;t++)i[t]=String.fromCharCode(n[t]&255,n[t]>>>8&255,n[t]>>>16&255,n[t]>>>24&255);return i.join("")};r={code:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(n,t){var s,h,c,e,o=[],a="",u,f,l=r.code;if(f=("undefined"==typeof t?0:t)?i.encode(n):n,u=f.length%3,0<u)for(;3>u++;)a+="=",f+="\x00";for(u=0;u<f.length;u+=3)s=f.charCodeAt(u),h=f.charCodeAt(u+1),c=f.charCodeAt(u+2),e=s<<16|h<<8|c,s=e>>18&63,h=e>>12&63,c=e>>6&63,e&=63,o[u/3]=l.charAt(s)+l.charAt(h)+l.charAt(c)+l.charAt(e);return o=o.join(""),o.slice(0,o.length-a.length)+a},decode:function(n,t){var f,s,h,e,a,c,o,l,u;for(t="undefined"==typeof t?!1:t,c=[],l=r.code,o=t?i.decode(n):n,u=0;u<o.length;u+=4)f=l.indexOf(o.charAt(u)),s=l.indexOf(o.charAt(u+1)),e=l.indexOf(o.charAt(u+2)),a=l.indexOf(o.charAt(u+3)),h=f<<18|s<<12|e<<6|a,f=h>>>16&255,s=h>>>8&255,h&=255,c[u/4]=String.fromCharCode(f,s,h),64==a&&(c[u/4]=String.fromCharCode(f,s)),64==e&&(c[u/4]=String.fromCharCode(f));return e=c.join(""),t?i.decode(e):e}};i={encode:function(n){return n=n.replace(/[\u0080-\u07ff]/g,function(n){return n=n.charCodeAt(0),String.fromCharCode(192|n>>6,128|n&63)}),n.replace(/[\u0800-\uffff]/g,function(n){return n=n.charCodeAt(0),String.fromCharCode(224|n>>12,128|n>>6&63,128|n&63)})},decode:function(n){return n=n.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(n){return n=(n.charCodeAt(0)&15)<<12|(n.charCodeAt(1)&63)<<6|n.charCodeAt(2)&63,String.fromCharCode(n)}),n.replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(n){return n=(n.charCodeAt(0)&31)<<6|n.charCodeAt(1)&63,String.fromCharCode(n)})}}}(jwplayer.utils),function(n){n.events={COMPLETE:"COMPLETE",ERROR:"ERROR",API_READY:"jwplayerAPIReady",JWPLAYER_READY:"jwplayerReady",JWPLAYER_FULLSCREEN:"jwplayerFullscreen",JWPLAYER_RESIZE:"jwplayerResize",JWPLAYER_ERROR:"jwplayerError",JWPLAYER_SETUP_ERROR:"jwplayerSetupError",JWPLAYER_MEDIA_BEFOREPLAY:"jwplayerMediaBeforePlay",JWPLAYER_MEDIA_BEFORECOMPLETE:"jwplayerMediaBeforeComplete",JWPLAYER_COMPONENT_SHOW:"jwplayerComponentShow",JWPLAYER_COMPONENT_HIDE:"jwplayerComponentHide",JWPLAYER_MEDIA_BUFFER:"jwplayerMediaBuffer",JWPLAYER_MEDIA_BUFFER_FULL:"jwplayerMediaBufferFull",JWPLAYER_MEDIA_ERROR:"jwplayerMediaError",JWPLAYER_MEDIA_LOADED:"jwplayerMediaLoaded",JWPLAYER_MEDIA_COMPLETE:"jwplayerMediaComplete",JWPLAYER_MEDIA_SEEK:"jwplayerMediaSeek",JWPLAYER_MEDIA_TIME:"jwplayerMediaTime",JWPLAYER_MEDIA_VOLUME:"jwplayerMediaVolume",JWPLAYER_MEDIA_META:"jwplayerMediaMeta",JWPLAYER_MEDIA_MUTE:"jwplayerMediaMute",JWPLAYER_MEDIA_LEVELS:"jwplayerMediaLevels",JWPLAYER_MEDIA_LEVEL_CHANGED:"jwplayerMediaLevelChanged",JWPLAYER_CAPTIONS_CHANGED:"jwplayerCaptionsChanged",JWPLAYER_CAPTIONS_LIST:"jwplayerCaptionsList",JWPLAYER_CAPTIONS_LOADED:"jwplayerCaptionsLoaded",JWPLAYER_PLAYER_STATE:"jwplayerPlayerState",state:{BUFFERING:"BUFFERING",IDLE:"IDLE",PAUSED:"PAUSED",PLAYING:"PLAYING"},JWPLAYER_PLAYLIST_LOADED:"jwplayerPlaylistLoaded",JWPLAYER_PLAYLIST_ITEM:"jwplayerPlaylistItem",JWPLAYER_PLAYLIST_COMPLETE:"jwplayerPlaylistComplete",JWPLAYER_DISPLAY_CLICK:"jwplayerViewClick",JWPLAYER_CONTROLS:"jwplayerViewControls",JWPLAYER_USER_ACTION:"jwplayerUserAction",JWPLAYER_INSTREAM_CLICK:"jwplayerInstreamClicked",JWPLAYER_INSTREAM_DESTROYED:"jwplayerInstreamDestroyed",JWPLAYER_AD_TIME:"jwplayerAdTime",JWPLAYER_AD_ERROR:"jwplayerAdError",JWPLAYER_AD_CLICK:"jwplayerAdClicked",JWPLAYER_AD_COMPLETE:"jwplayerAdComplete",JWPLAYER_AD_IMPRESSION:"jwplayerAdImpression",JWPLAYER_AD_COMPANIONS:"jwplayerAdCompanions",JWPLAYER_AD_SKIPPED:"jwplayerAdSkipped"}}(jwplayer),function(n){var t=n.utils;n.events.eventdispatcher=function(i,r){function e(n,i,r){var u,f;if(n)for(u=0;u<n.length;u++)if(f=n[u],f){null!==f.count&&0==--f.count&&delete n[u];try{f.listener(i)}catch(e){t.log('Error handling "'+r+'" event listener ['+u+"]: "+e.toString(),f.listener,i)}}}var u,f;this.resetEventListeners=function(){u={};f=[]};this.resetEventListeners();this.addEventListener=function(n,i,r){try{t.exists(u[n])||(u[n]=[]);"string"==t.typeOf(i)&&(i=new Function("return "+i)());u[n].push({listener:i,count:r||null})}catch(f){t.log("error",f)}return!1};this.removeEventListener=function(n,i){if(u[n]){try{for(var r=0;r<u[n].length;r++)if(u[n][r].listener.toString()==i.toString()){u[n].splice(r,1);break}}catch(f){t.log("error",f)}return!1}};this.addGlobalListener=function(n,i){try{"string"==t.typeOf(n)&&(n=new Function("return "+n)());f.push({listener:n,count:i||null})}catch(r){t.log("error",r)}return!1};this.removeGlobalListener=function(n){if(n){try{for(var i=f.length;i--;)f[i].listener.toString()==n.toString()&&f.splice(i,1)}catch(r){t.log("error",r)}return!1}};this.sendEvent=function(o,s){t.exists(s)||(s={});t.extend(s,{id:i,version:n.version,type:o});r&&t.log(o,s);e(u[o],s,o);e(f,s,o)}}}(window.jwplayer),function(n){var t={},i={};n.plugins=function(){};n.plugins.loadPlugins=function(r,u){return i[r]=new n.plugins.pluginloader(new n.plugins.model(t),u),i[r]};n.plugins.registerPlugin=function(i,r,u,f){var e=n.utils.getPluginName(i);t[e]||(t[e]=new n.plugins.plugin(i));t[e].registerPlugin(i,r,u,f)}}(jwplayer),function(n){n.plugins.model=function(t){this.addPlugin=function(i){var r=n.utils.getPluginName(i);return t[r]||(t[r]=new n.plugins.plugin(i)),t[r]};this.getPlugins=function(){return t}}}(jwplayer),function(n){var t=jwplayer.utils,i=jwplayer.events;n.pluginmodes={FLASH:0,JAVASCRIPT:1,HYBRID:2};n.plugin=function(r){function h(){switch(t.getPluginPathType(r)){case t.pluginPathType.ABSOLUTE:return r;case t.pluginPathType.RELATIVE:return t.getAbsolutePath(r,window.location.href)}}function l(){s=setTimeout(function(){f=t.loaderstatus.COMPLETE;o.sendEvent(i.COMPLETE)},1e3)}function a(){f=t.loaderstatus.ERROR;o.sendEvent(i.ERROR)}var f=t.loaderstatus.NEW,u,e,c,s,o=new i.eventdispatcher;t.extend(this,o);this.load=function(){if(f==t.loaderstatus.NEW)if(0<r.lastIndexOf(".swf"))u=r,f=t.loaderstatus.COMPLETE,o.sendEvent(i.COMPLETE);else if(t.getPluginPathType(r)==t.pluginPathType.CDN)f=t.loaderstatus.COMPLETE,o.sendEvent(i.COMPLETE);else{f=t.loaderstatus.LOADING;var n=new t.scriptloader(h());n.addEventListener(i.COMPLETE,l);n.addEventListener(i.ERROR,a);n.load()}};this.registerPlugin=function(n,r,h,l){s&&(clearTimeout(s),s=void 0);c=r;h&&l?(u=l,e=h):"string"==typeof h?u=h:"function"==typeof h?e=h:!h&&!l&&(u=n);f=t.loaderstatus.COMPLETE;o.sendEvent(i.COMPLETE)};this.getStatus=function(){return f};this.getPluginName=function(){return t.getPluginName(r)};this.getFlashPath=function(){if(u)switch(t.getPluginPathType(u)){case t.pluginPathType.ABSOLUTE:return u;case t.pluginPathType.RELATIVE:return 0<r.lastIndexOf(".swf")?t.getAbsolutePath(u,window.location.href):t.getAbsolutePath(u,h())}return null};this.getJS=function(){return e};this.getTarget=function(){return c};this.getPluginmode=function(){return"undefined"!=typeof u&&"undefined"!=typeof e?n.pluginmodes.HYBRID:"undefined"!=typeof u?n.pluginmodes.FLASH:"undefined"!=typeof e?n.pluginmodes.JAVASCRIPT:void 0};this.getNewInstance=function(n,t,i){return new e(n,t,i)};this.getURL=function(){return r}}}(jwplayer.plugins),function(n){var t=n.utils,i=n.events,r=t.foreach;n.plugins.pluginloader=function(u,f){function o(){e?l.sendEvent(i.ERROR,{message:c}):h||(h=!0,s=t.loaderstatus.COMPLETE,l.sendEvent(i.COMPLETE))}function a(){if(v||o(),!h&&!e){var i=0,r=u.getPlugins();t.foreach(v,function(u){var s,f;u=t.getPluginName(u);f=r[u];u=f.getJS();s=f.getTarget();f=f.getStatus();f==t.loaderstatus.LOADING||f==t.loaderstatus.NEW?i++:u&&(!s||parseFloat(s)>parseFloat(n.version))&&(e=!0,c="Incompatible player version",o())});0==i&&o()}}var s=t.loaderstatus.NEW,h=!1,e=!1,c,v=f,l=new i.eventdispatcher,y;t.extend(this,l);this.setupPlugins=function(n,i,f){var e={length:0,plugins:{}},s=0,o={},h=u.getPlugins();return r(i.plugins,function(r,u){var l=t.getPluginName(r),a=h[l],v=a.getFlashPath(),p=a.getJS(),y=a.getURL(),c;v&&(e.plugins[v]=t.extend({},u),e.plugins[v].pluginmode=a.getPluginmode(),e.length++);try{if(p&&i.plugins&&i.plugins[y]){c=document.createElement("div");c.id=n.id+"_"+l;c.style.position="absolute";c.style.top=0;c.style.zIndex=s+10;o[l]=a.getNewInstance(n,t.extend({},i.plugins[y]),c);s++;n.onReady(f(o[l],c,!0));n.onResize(f(o[l],c))}}catch(w){t.log("ERROR: Failed to load "+l+".")}}),n.plugins=o,e};this.load=function(){if(!(t.exists(f)&&"object"!=t.typeOf(f))){s=t.loaderstatus.LOADING;r(f,function(n){t.exists(n)&&(n=u.addPlugin(n),n.addEventListener(i.COMPLETE,a),n.addEventListener(i.ERROR,y))});var n=u.getPlugins();r(n,function(n,t){t.load()})}a()};y=this.pluginFailed=function(){e||(e=!0,c="File not found",o())};this.getStatus=function(){return s}}}(jwplayer),function(){jwplayer.parsers={localName:function(n){return n?n.localName?n.localName:n.baseName?n.baseName:"":""},textContent:function(n){return n?n.textContent?jwplayer.utils.trim(n.textContent):n.text?jwplayer.utils.trim(n.text):"":""},getChildNode:function(n,t){return n.childNodes[t]},numChildren:function(n){return n.childNodes?n.childNodes.length:0}}}(jwplayer),function(n){var t=n.parsers;(t.jwparser=function(){}).parseEntry=function(i,r){for(var e,h,o=[],f=[],s=n.utils.xmlAttribute,u=0;u<i.childNodes.length;u++)e=i.childNodes[u],"jwplayer"==e.prefix&&(h=t.localName(e),"source"==h?(delete r.sources,o.push({file:s(e,"file"),"default":s(e,"default"),label:s(e,"label"),type:s(e,"type")})):"track"==h?(delete r.tracks,f.push({file:s(e,"file"),"default":s(e,"default"),kind:s(e,"kind"),label:s(e,"label")})):(r[h]=n.utils.serialize(t.textContent(e)),"file"==h&&r.sources&&delete r.sources)),r.file||(r.file=r.link);if(o.length)for(r.sources=[],u=0;u<o.length;u++)0<o[u].file.length&&(o[u]["default"]="true"==o[u]["default"]?!0:!1,o[u].label.length||delete o[u].label,r.sources.push(o[u]));if(f.length)for(r.tracks=[],u=0;u<f.length;u++)0<f[u].file.length&&(f[u]["default"]="true"==f[u]["default"]?!0:!1,f[u].kind=f[u].kind.length?f[u].kind:"captions",f[u].label.length||delete f[u].label,r.tracks.push(f[u]));return r}}(jwplayer),function(n){var u=jwplayer.utils,t=u.xmlAttribute,f=n.localName,i=n.textContent,e=n.numChildren,r=n.mediaparser=function(){};r.parseGroup=function(n,o){for(var s,l=[],c,v,a,h=0;h<e(n);h++)if(s=n.childNodes[h],"media"==s.prefix&&f(s))switch(f(s).toLowerCase()){case"content":t(s,"duration")&&(o.duration=u.seconds(t(s,"duration")));0<e(s)&&(o=r.parseGroup(s,o));t(s,"url")&&(o.sources||(o.sources=[]),o.sources.push({file:t(s,"url"),type:t(s,"type"),width:t(s,"width"),label:t(s,"label")}));break;case"title":o.title=i(s);break;case"description":o.description=i(s);break;case"guid":o.mediaid=i(s);break;case"thumbnail":o.image||(o.image=t(s,"url"));break;case"group":r.parseGroup(s,o);break;case"subtitle":c={};c.file=t(s,"url");c.kind="captions";0<t(s,"lang").length&&(v=c,s=t(s,"lang"),a={zh:"Chinese",nl:"Dutch",en:"English",fr:"French",de:"German",it:"Italian",ja:"Japanese",pt:"Portuguese",ru:"Russian",es:"Spanish"},s=a[s]?a[s]:s,v.label=s);l.push(c)}for(o.hasOwnProperty("tracks")||(o.tracks=[]),h=0;h<l.length;h++)o.tracks.push(l[h]);return o}}(jwplayer.parsers),function(n){function f(r){for(var f,s,u={},o=0;o<r.childNodes.length;o++)if(f=r.childNodes[o],s=i(f),s)switch(s.toLowerCase()){case"enclosure":u.file=e.xmlAttribute(f,"url");break;case"title":u.title=t(f);break;case"guid":u.mediaid=t(f);break;case"pubdate":u.date=t(f);break;case"description":u.description=t(f);break;case"link":u.link=t(f);break;case"category":u.tags=u.tags?u.tags+t(f):t(f)}return u=n.mediaparser.parseGroup(r,u),u=n.jwparser.parseEntry(r,u),new jwplayer.playlist.item(u)}var e=jwplayer.utils,t=n.textContent,r=n.getChildNode,u=n.numChildren,i=n.localName;n.rssparser={};n.rssparser.parse=function(n){for(var e,o,h,s=[],t=0;t<u(n);t++)if(e=r(n,t),"channel"==i(e).toLowerCase())for(o=0;o<u(e);o++)h=r(e,o),"item"==i(h).toLowerCase()&&s.push(f(h));return s}}(jwplayer.parsers),function(n){n.playlist=function(t){var r=[],i;if("array"==n.utils.typeOf(t))for(i=0;i<t.length;i++)r.push(new n.playlist.item(t[i]));else r.push(new n.playlist.item(t));return r}}(jwplayer),function(n){var t=n.item=function(i){var f=jwplayer.utils,r=f.extend({},t.defaults,i),u,e;for(r.tracks=i&&f.exists(i.tracks)?i.tracks:[],0==r.sources.length&&(r.sources=[new n.source(r)]),u=0;u<r.sources.length;u++)e=r.sources[u]["default"],r.sources[u]["default"]=e?"true"==e.toString():!1,r.sources[u]=new n.source(r.sources[u]);if(r.captions&&!f.exists(i.tracks)){for(i=0;i<r.captions.length;i++)r.tracks.push(r.captions[i]);delete r.captions}for(u=0;u<r.tracks.length;u++)r.tracks[u]=new n.track(r.tracks[u]);return r};t.defaults={description:"",image:"",mediaid:"",title:"",sources:[],tracks:[]}}(jwplayer.playlist),function(n){var t=jwplayer,u=t.utils,i=t.events,r=t.parsers;n.loader=function(){function e(u){var o,e,s;try{for(o=u.responseXML.childNodes,u="",e=0;e<o.length&&!(u=o[e],8!=u.nodeType);e++);"xml"==r.localName(u)&&(u=u.nextSibling);"rss"!=r.localName(u)?t("Not a valid RSS feed"):(s=new n(r.rssparser.parse(u)),f.sendEvent(i.JWPLAYER_PLAYLIST_LOADED,{playlist:s}))}catch(h){t()}}function o(n){t(n.match(/invalid/i)?"Not a valid RSS feed":"")}function t(n){f.sendEvent(i.JWPLAYER_ERROR,{message:n?n:"Error loading file"})}var f=new i.eventdispatcher;u.extend(this,f);this.load=function(n){u.ajax(n,e,o)}}}(jwplayer.playlist),function(n){var t=jwplayer.utils,i={file:void 0,label:void 0,type:void 0,"default":void 0};n.source=function(n){var r=t.extend({},i);return t.foreach(i,function(i){t.exists(n[i])&&(r[i]=n[i],delete n[i])}),r.type&&0<r.type.indexOf("/")&&(r.type=t.extensionmap.mimeType(r.type)),"m3u8"==r.type&&(r.type="hls"),"smil"==r.type&&(r.type="rtmp"),r}}(jwplayer.playlist),function(n){var t=jwplayer.utils,i={file:void 0,label:void 0,kind:"captions","default":!1};n.track=function(n){var r=t.extend({},i);return n||(n={}),t.foreach(i,function(i){t.exists(n[i])&&(r[i]=n[i],delete n[i])}),r}}(jwplayer.playlist),function(n){function e(n,i,r){var u=n.style;u.backgroundColor="#000";u.color="#FFF";u.width=t.styleDimension(r.width);u.height=t.styleDimension(r.height);u.display="table";u.opacity=1;r=document.createElement("p");u=r.style;u.verticalAlign="middle";u.textAlign="center";u.display="table-cell";u.font="15px/20px Arial, Helvetica, sans-serif";r.innerHTML=i.replace(":",":<br>");n.innerHTML="";n.appendChild(r)}var t=n.utils,i=n.events,u=!0,r=!1,o=document,f=n.embed=function(s){function rt(n,i){t.foreach(i,function(t,i){"function"==typeof n[t]&&n[t].call(n,i)})}function nt(){var e,p,a,o;if(!b)if("array"==t.typeOf(h.playlist)&&2>h.playlist.length&&(0==h.playlist.length||!h.playlist[0].sources||0==h.playlist[0].sources.length))k();else if(!w)if("string"==t.typeOf(h.playlist))e=new n.playlist.loader,e.addEventListener(i.JWPLAYER_PLAYLIST_LOADED,function(n){h.playlist=n.playlist;w=r;nt()}),e.addEventListener(i.JWPLAYER_ERROR,function(n){w=r;k(n)}),w=u,e.load(h.playlist);else if(v.getStatus()==t.loaderstatus.COMPLETE){for(e=0;e<h.modes.length;e++)if(h.modes[e].type&&f[h.modes[e].type]&&(p=t.extend({},h),a=new f[h.modes[e].type](c,h.modes[e],p,v,s),a.supportsConfig()))return a.addEventListener(i.ERROR,ut),a.embed(),rt(s,p.events),s;h.fallback?(o="No suitable players found and fallback enabled",l=setTimeout(function(){y(o,u)},10),t.log(o),new f.download(c,h,k)):(o="No suitable players found and fallback disabled",y(o,r),t.log(o),c.parentNode.replaceChild(tt,c))}}function ut(n){a(it+n.message)}function ft(n){a("Could not load plugins: "+n.message)}function k(n){n&&n.message?a("Error loading playlist: "+n.message):a(it+"No playable sources found")}function y(n,t){l&&(clearTimeout(l),l=null);l=setTimeout(function(){l=null;s.dispatchEvent(i.JWPLAYER_SETUP_ERROR,{message:n,fallback:t})},0)}function a(n){b||(h.fallback?(b=u,e(c,n,h),y(n,u)):y(n,r))}var h=new f.config(s.config),c,p,tt,d=h.width,g=h.height,it="Error loading player: ",v=n.plugins.loadPlugins(s.id,h.plugins),w=r,b=r,l=null;return h.fallbackDiv&&(tt=h.fallbackDiv,delete h.fallbackDiv),h.id=s.id,p=o.getElementById(s.id),h.aspectratio?s.config.aspectratio=h.aspectratio:delete s.config.aspectratio,c=o.createElement("div"),c.id=p.id,c.style.width=0<d.toString().indexOf("%")?d:d+"px",c.style.height=0<g.toString().indexOf("%")?g:g+"px",p.parentNode.replaceChild(c,p),this.embed=function(){b||(v.addEventListener(i.COMPLETE,nt),v.addEventListener(i.ERROR,ft),v.load())},this.errorScreen=a,this};n.embed.errorScreen=e}(jwplayer),function(n){function u(n){var u,f;if(n.playlist)for(u=0;u<n.playlist.length;u++)n.playlist[u]=new r(n.playlist[u]);else f={},t.foreach(r.defaults,function(t){i(n,f,t)}),f.sources||(n.levels?(f.sources=n.levels,delete n.levels):(u={},i(n,u,"file"),i(n,u,"type"),f.sources=u.file?[u]:[])),n.playlist=[new r(f)]}function i(n,i,r){t.exists(n[r])&&(i[r]=n[r],delete n[r])}var t=n.utils,r=n.playlist.item;(n.embed.config=function(i){var r={fallback:!0,height:270,primary:"html5",width:480,base:i.base?i.base:t.getScriptPath("jwplayer.js"),aspectratio:""},f,e;return i=t.extend(r,n.defaults,i),r={type:"html5",src:i.base+"jwplayer.html5.js"},f={type:"flash",src:i.base+"jwplayer.flash.swf"},i.modes="flash"==i.primary?[f,r]:[r,f],i.listbar&&(i.playlistsize=i.listbar.size,i.playlistposition=i.listbar.position,i.playlistlayout=i.listbar.layout),i.flashplayer&&(f.src=i.flashplayer),i.html5player&&(r.src=i.html5player),u(i),f=i.aspectratio,"string"==typeof f&&t.exists(f)?(e=f.indexOf(":"),-1==e?r=0:(r=parseFloat(f.substr(0,e)),f=parseFloat(f.substr(e+1)),r=0>=r||0>=f?0:100*(f/r)+"%")):r=0,-1==i.width.toString().indexOf("%")?delete i.aspectratio:r?i.aspectratio=r:delete i.aspectratio,i}).addConfig=function(n,i){return u(i),t.extend(n,i)}}(jwplayer),function(n){var t=n.utils,i=document;n.embed.download=function(n,r,u){function s(n,r){for(var f=i.querySelectorAll(n),u=0;u<f.length;u++)t.foreach(r,function(n,t){f[u].style[n]=t})}function h(n,t,r){return n=i.createElement(n),t&&(n.className="jwdownload"+t),r&&r.appendChild(n),n}var f=t.extend({},r),y=f.width?f.width:480,p=f.height?f.height:320,o,c,w,l,a,v,e,b;if(r=r.logo?r.logo:{prefix:t.repo(),file:"logo.png",margin:10},f=f.playlist,v=["mp4","aac","mp3"],f&&f.length){for(a=f[0],o=a.sources,f=0;f<o.length;f++)e=o[f],b=e.type?e.type:t.extensionmap.extType(t.extension(e.file)),e.file&&t.foreach(v,function(n){b==v[n]?(c=e.file,w=a.image):t.isYouTube(e.file)&&(l=e.file)});c?(o=c,u=w,n&&(f=h("a","display",n),h("div","icon",f),h("div","logo",f),o&&f.setAttribute("href",t.getAbsolutePath(o))),f="#"+n.id+" .jwdownload",n.style.width="",n.style.height="",s(f+"display",{width:t.styleDimension(Math.max(320,y)),height:t.styleDimension(Math.max(180,p)),background:"black center no-repeat "+(u?"url("+u+")":""),backgroundSize:"contain",position:"relative",border:"none",display:"block"}),s(f+"display div",{position:"absolute",width:"100%",height:"100%"}),s(f+"logo",{top:r.margin+"px",right:r.margin+"px",background:"top right no-repeat url("+r.prefix+r.file+")"}),s(f+"icon",{background:"center no-repeat url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgNJREFUeNrs28lqwkAYB/CZqNVDDj2r6FN41QeIy8Fe+gj6BL275Q08u9FbT8ZdwVfotSBYEPUkxFOoks4EKiJdaDuTjMn3wWBO0V/+sySR8SNSqVRKIR8qaXHkzlqS9jCfzzWcTCYp9hF5o+59sVjsiRzcegSckFzcjT+ruN80TeSlAjCAAXzdJSGPFXRpAAMYwACGZQkSdhG4WCzehMNhqV6vG6vVSrirKVEw66YoSqDb7cqlUilE8JjHd/y1MQefVzqdDmiaJpfLZWHgXMHn8F6vJ1cqlVAkEsGuAn83J4gAd2RZymQygX6/L1erVQt+9ZPWb+CDwcCC2zXGJaewl/DhcHhK3DVj+KfKZrMWvFarcYNLomAv4aPRSFZVlTlcSPA5fDweW/BoNIqFnKV53JvncjkLns/n/cLdS+92O7RYLLgsKfv9/t8XlDn4eDyiw+HA9Jyz2eyt0+kY2+3WFC5hluej0Ha7zQQq9PPwdDq1Et1sNsx/nFBgCqWJ8oAK1aUptNVqcYWewE4nahfU0YQnk4ntUEfGMIU2m01HoLaCKbTRaDgKtaVLk9tBYaBcE/6Artdr4RZ5TB6/dC+9iIe/WgAMYADDpAUJAxjAAAYwgGFZgoS/AtNNTF7Z2bL0BYPBV3Jw5xFwwWcYxgtBP5OkE8i9G7aWGOOCruvauwADALMLMEbKf4SdAAAAAElFTkSuQmCC)"})):l?(r=l,n=h("iframe","",n),n.src="http://www.youtube.com/embed/"+t.youTubeID(r),n.width=y,n.height=p,n.style.border="none"):u()}}}(jwplayer),function(n){var t=n.utils,u=n.events,i={},r;(n.embed.flash=function(f,e,o,s,h){function c(n,t,i){var r=document.createElement("param");r.setAttribute("name",t);r.setAttribute("value",i);n.appendChild(r)}function v(n,t,i){return function(){try{i&&document.getElementById(h.id+"_wrapper").appendChild(t);var r=document.getElementById(h.id).getPluginConfig("display");"function"==typeof n.resize&&n.resize(r.width,r.height);t.style.left=r.x;t.style.top=r.h}catch(u){}}}function y(n){if(!n)return{};var i={},r=[];return t.foreach(n,function(n,u){var f=t.getPluginName(n);r.push(n);t.foreach(u,function(n,t){i[f+"."+n]=t})}),i.plugins=r.join(","),i}var l=new n.events.eventdispatcher,a=t.flashVersion();t.extend(this,l);this.embed=function(){var r,n,w,p,b;if(o.id=h.id,10>a)return l.sendEvent(u.ERROR,{message:"Flash version must be 10.0 or greater"}),!1;for(w=h.config.listbar,p=t.extend({},o),f.id+"_wrapper"==f.parentNode.id?r=document.getElementById(f.id+"_wrapper"):(r=document.createElement("div"),n=document.createElement("div"),n.style.display="none",n.id=f.id+"_aspect",r.id=f.id+"_wrapper",r.style.position="relative",r.style.display="block",r.style.width=t.styleDimension(p.width),r.style.height=t.styleDimension(p.height),h.config.aspectratio&&(b=parseFloat(h.config.aspectratio),n.style.display="block",n.style.marginTop=h.config.aspectratio,r.style.height="auto",r.style.display="inline-block",w&&("bottom"==w.position?n.style.paddingBottom=w.size+"px":"right"==w.position&&(n.style.marginBottom=-1*w.size*(b/100)+"px"))),f.parentNode.replaceChild(r,f),r.appendChild(f),r.appendChild(n)),r=s.setupPlugins(h,p,v),0<r.length?t.extend(p,y(r.plugins)):delete p.plugins,"undefined"!=typeof p["dock.position"]&&"false"==p["dock.position"].toString().toLowerCase()&&(p.dock=p["dock.position"],delete p["dock.position"]),r=p.wmode?p.wmode:p.height&&40>=p.height?"transparent":"opaque",n="height width modes events primary base fallback volume".split(" "),w=0;w<n.length;w++)delete p[n[w]];n=t.getCookies();t.foreach(n,function(n,t){"undefined"==typeof p[n]&&(p[n]=t)});n=window.location.href.split("/");n.splice(n.length-1,1);n=n.join("/");p.base=n+"/";i[f.id]=p;t.isIE()?(n='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" " width="100%" height="100%"id="'+f.id+'" name="'+f.id+'" tabindex=0"">',n+='<param name="movie" value="'+e.src+'">',n+='<param name="allowfullscreen" value="true"><param name="allowscriptaccess" value="always">',n+='<param name="seamlesstabbing" value="true">',n+='<param name="wmode" value="'+r+'">',n+='<param name="bgcolor" value="#000000">',n+="<\/object>",f.outerHTML=n,r=document.getElementById(f.id)):(n=document.createElement("object"),n.setAttribute("type","application/x-shockwave-flash"),n.setAttribute("data",e.src),n.setAttribute("width","100%"),n.setAttribute("height","100%"),n.setAttribute("bgcolor","#000000"),n.setAttribute("id",f.id),n.setAttribute("name",f.id),n.setAttribute("tabindex",0),c(n,"allowfullscreen","true"),c(n,"allowscriptaccess","always"),c(n,"seamlesstabbing","true"),c(n,"wmode",r),f.parentNode.replaceChild(n,f),r=n);h.config.aspectratio&&(r.style.position="absolute");h.container=r;h.setPlayer(r,"flash")};this.supportsConfig=function(){var n,i;if(a)if(o){if("string"==t.typeOf(o.playlist))return!0;try{if(n=o.playlist[0].sources,"undefined"==typeof n)return!0;for(i=0;i<n.length;i++)if(n[i].file&&r(n[i].file,n[i].type))return!0}catch(u){}}else return!0;return!1}}).getVars=function(n){return i[n]};r=n.embed.flashCanPlay=function(n,i){if(t.isYouTube(n)||t.isRtmp(n,i)||"hls"==i)return!0;var r=t.extensionmap[i?i:t.extension(n)];return r?!!r.flash:!1}}(jwplayer),function(n){var t=n.utils,r=t.extensionmap,i=n.events;n.embed.html5=function(u,f,e,o,s){function c(n,t,i){return function(){try{var r=document.querySelector("#"+u.id+" .jwmain");i&&r.appendChild(t);"function"==typeof n.resize&&(n.resize(r.clientWidth,r.clientHeight),setTimeout(function(){n.resize(r.clientWidth,r.clientHeight)},400));t.left=r.style.left;t.top=r.style.top}catch(f){}}}function l(n){h.sendEvent(n.type,{message:"HTML5 player not found"})}var h=this,a=new i.eventdispatcher;t.extend(h,a);h.embed=function(){if(n.html5){o.setupPlugins(s,e,c);u.innerHTML="";var r=n.utils.extend({},e);delete r.volume;r=new n.html5.player(r);s.container=document.getElementById(s.id);s.setPlayer(r,"html5")}else r=new t.scriptloader(f.src),r.addEventListener(i.ERROR,l),r.addEventListener(i.COMPLETE,h.embed),r.load()};h.supportsConfig=function(){var s,i,c,u,h,f,o,l,a;if(n.vid.canPlayType)try{if("string"==t.typeOf(e.playlist))return!0;for(s=e.playlist[0].sources,i=0;i<s.length;i++){if(u=s[i].file,h=s[i].type,null!==navigator.userAgent.match(/BlackBerry/i)||t.isAndroid()&&("m3u"==t.extension(u)||"m3u8"==t.extension(u))||t.isRtmp(u,h))c=!1;else{if(f=r[h?h:t.extension(u)],f&&(!f.flash||f.html5))if(l=f.html5,a=n.vid,l)try{o=a.canPlayType(l)?!0:!1}catch(v){o=!1}else o=!0;else o=!1;c=o}if(c)return!0}}catch(y){}return!1}}}(jwplayer),function(n){var r=n.embed,t=n.utils,i=/\.(js|swf)$/;n.embed=t.extend(function(u){function v(){a="Adobe SiteCatalyst Error: Could not find Media Module"}var h=t.repo(),c=t.extend({},n.defaults),f=t.extend({},c,u.config),o=u.config,e=f.plugins,s=f.analytics,y=h+"jwpsrv.js",p=h+"sharing.js",w=h+"related.js",b=h+"gapro.js",c=n.key?n.key:c.key,l=new n.utils.key(c).edition(),a,e=e?e:{};"ads"==l&&f.advertising&&(i.test(f.advertising.client)?e[f.advertising.client]=f.advertising:e[h+f.advertising.client+".js"]=f.advertising);delete o.advertising;o.key=c;f.analytics&&i.test(f.analytics.client)&&(y=f.analytics.client);delete o.analytics;s&&"ads"!==l&&delete s.enabled;"free"!=l&&s&&!1===s.enabled||(e[y]=s?s:{});delete e.sharing;delete e.related;switch(l){case"ads":if(o.sitecatalyst)try{window.s&&window.s.hasOwnProperty("Media")?new n.embed.sitecatalyst(u):v()}catch(k){v()}case"premium":f.related&&(i.test(f.related.client)&&(w=f.related.client),e[w]=f.related);f.ga&&(i.test(f.ga.client)&&(b=f.ga.client),e[b]=f.ga);case"pro":f.sharing&&(i.test(f.sharing.client)&&(p=f.sharing.client),e[p]=f.sharing);f.skin&&(o.skin=f.skin.replace(/^(beelden|bekle|five|glow|modieus|roundster|stormtrooper|vapor)$/i,t.repo()+"skins/$1.xml"))}return o.plugins=e,u.config=o,u=new r(u),a&&u.errorScreen(a),u},n.embed)}(jwplayer),function(n){var t=jwplayer.utils;n.sitecatalyst=function(n){function r(n){f.debug&&t.log(n)}function y(n){return n=n.split("/"),n=n[n.length-1],n=n.split("?"),n[0]}function c(){if(!h){h=!0;var n=u.getPosition();r("stop: "+i+" : "+n);s.Media.stop(i,n)}}function l(){v||(c(),v=!0,r("close: "+i),s.Media.close(i),o=!0,e=0)}var u=n,f=t.extend({},u.config.sitecatalyst),p={onPlay:function(){if(!o){var n=u.getPosition();h=!1;r("play: "+i+" : "+n);s.Media.play(i,n)}},onPause:c,onBuffer:c,onIdle:l,onPlaylistItem:function(n){var s,r;try{o=!0;l();e=0;f.mediaName?s=f.mediaName:(r=u.getPlaylistItem(n.index),s=r.title?r.title:r.file?y(r.file):r.sources&&r.sources.length?y(r.sources[0].file):"");i=s;a=f.playerName?f.playerName:u.id}catch(h){t.log(h)}},onTime:function(){var n,t;if(o){if(n=u.getDuration(),-1==n)return;v=h=o=!1;r("open: "+i+" : "+n+" : "+a);s.Media.open(i,n,a);r("play: "+i+" : 0");s.Media.play(i,0)}n=u.getPosition();3<=Math.abs(n-e)&&(t=e,r("seek: "+t+" to "+n),r("stop: "+i+" : "+t),s.Media.stop(i,t),r("play: "+i+" : "+n),s.Media.play(i,n));e=n},onComplete:l},i,a,e,h=!0,v=!0,o;t.foreach(p,function(n){u[n](p[n])})}}(jwplayer.embed),function(n,t){var u=[],r=n.utils,i=n.events,e=i.state,o=document,f=n.api=function(u){function nt(n,t){return function(i){return t(n,i)}}function it(n,t){return p[n]||(p[n]=[],y(i.JWPLAYER_PLAYER_STATE,function(t){var u=t.newstate,i,r,f;if(t=t.oldstate,u==n&&(i=p[u],i))for(r=0;r<i.length;r++)f=i[r],"function"==typeof f&&f.call(this,{oldstate:t,newstate:u})})),p[n].push(t),s}function tt(n,t){try{n.jwAddEventListener(t,'function(dat) { jwplayer("'+s.id+'").dispatchEvent("'+t+'", dat); }')}catch(i){r.log("Could not add internal listener")}}function y(n,t){return l[n]||(l[n]=[],c&&w&&tt(c,n)),l[n].push(t),s}function h(){if(w){if(c){var n=Array.prototype.slice.call(arguments,0),t=n.shift();if("function"==typeof c[t]){switch(n.length){case 6:return c[t](n[0],n[1],n[2],n[3],n[4],n[5]);case 5:return c[t](n[0],n[1],n[2],n[3],n[4]);case 4:return c[t](n[0],n[1],n[2],n[3]);case 3:return c[t](n[0],n[1],n[2]);case 2:return c[t](n[0],n[1]);case 1:return c[t](n[0])}return c[t]()}}return null}v.push(arguments)}var s=this,l={},p={},c,w=!1,v=[],a,b={},k={},d,g;return s.container=u,s.id=u.id,s.getBuffer=function(){return h("jwGetBuffer")},s.getContainer=function(){return s.container},s.addButton=function(n,t,i,u){try{k[u]=i;h("jwDockAddButton",n,t,"jwplayer('"+s.id+"').callback('"+u+"')",u)}catch(f){r.log("Could not add dock button"+f.message)}},s.removeButton=function(n){h("jwDockRemoveButton",n)},s.callback=function(n){k[n]&&k[n]()},s.forceState=function(n){return h("jwForceState",n),s},s.releaseState=function(){return h("jwReleaseState")},s.getDuration=function(){return h("jwGetDuration")},s.getFullscreen=function(){return h("jwGetFullscreen")},s.getHeight=function(){return h("jwGetHeight")},s.getLockState=function(){return h("jwGetLockState")},s.getMeta=function(){return s.getItemMeta()},s.getMute=function(){return h("jwGetMute")},s.getPlaylist=function(){var n=h("jwGetPlaylist");return"flash"==s.renderingMode&&r.deepReplaceKeyName(n,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]),n},s.getPlaylistItem=function(n){return r.exists(n)||(n=s.getPlaylistIndex()),s.getPlaylist()[n]},s.getPlaylistIndex=function(){return h("jwGetPlaylistIndex")},s.getPosition=function(){return h("jwGetPosition")},s.getRenderingMode=function(){return s.renderingMode},s.getState=function(){return h("jwGetState")},s.getVolume=function(){return h("jwGetVolume")},s.getWidth=function(){return h("jwGetWidth")},s.setFullscreen=function(n){return r.exists(n)?h("jwSetFullscreen",n):h("jwSetFullscreen",!h("jwGetFullscreen")),s},s.setMute=function(n){return r.exists(n)?h("jwSetMute",n):h("jwSetMute",!h("jwGetMute")),s},s.lock=function(){return s},s.unlock=function(){return s},s.load=function(n){return h("jwLoad",n),s},s.playlistItem=function(n){return h("jwPlaylistItem",parseInt(n,10)),s},s.playlistPrev=function(){return h("jwPlaylistPrev"),s},s.playlistNext=function(){return h("jwPlaylistNext"),s},s.resize=function(n,t){if("flash"!==s.renderingMode)h("jwResize",n,t);else{var i=o.getElementById(s.id+"_wrapper"),u=o.getElementById(s.id+"_aspect");u&&(u.style.display="none");i&&(i.style.display="block",i.style.width=r.styleDimension(n),i.style.height=r.styleDimension(t))}return s},s.play=function(n){return n===t?(n=s.getState(),n==e.PLAYING||n==e.BUFFERING?h("jwPause"):h("jwPlay")):h("jwPlay",n),s},s.pause=function(n){return n===t?(n=s.getState(),n==e.PLAYING||n==e.BUFFERING?h("jwPause"):h("jwPlay")):h("jwPause",n),s},s.stop=function(){return h("jwStop"),s},s.seek=function(n){return h("jwSeek",n),s},s.setVolume=function(n){return h("jwSetVolume",n),s},s.createInstream=function(){return new f.instream(this,c)},s.setInstream=function(n){return a=n},s.loadInstream=function(n,t){return a=s.setInstream(s.createInstream()).init(t),a.loadItem(n),a},s.getQualityLevels=function(){return h("jwGetQualityLevels")},s.getCurrentQuality=function(){return h("jwGetCurrentQuality")},s.setCurrentQuality=function(n){h("jwSetCurrentQuality",n)},s.getCaptionsList=function(){return h("jwGetCaptionsList")},s.getCurrentCaptions=function(){return h("jwGetCurrentCaptions")},s.setCurrentCaptions=function(n){h("jwSetCurrentCaptions",n)},s.getControls=function(){return h("jwGetControls")},s.getSafeRegion=function(){return h("jwGetSafeRegion")},s.setControls=function(n){h("jwSetControls",n)},s.destroyPlayer=function(){h("jwPlayerDestroy")},s.playAd=function(t){var i=n(s.id).plugins;i.vast&&i.vast.jwPlayAd(t)},s.pauseAd=function(){var t=n(s.id).plugins;t.vast?t.vast.jwPauseAd():h("jwPauseAd")},d={onBufferChange:i.JWPLAYER_MEDIA_BUFFER,onBufferFull:i.JWPLAYER_MEDIA_BUFFER_FULL,onError:i.JWPLAYER_ERROR,onSetupError:i.JWPLAYER_SETUP_ERROR,onFullscreen:i.JWPLAYER_FULLSCREEN,onMeta:i.JWPLAYER_MEDIA_META,onMute:i.JWPLAYER_MEDIA_MUTE,onPlaylist:i.JWPLAYER_PLAYLIST_LOADED,onPlaylistItem:i.JWPLAYER_PLAYLIST_ITEM,onPlaylistComplete:i.JWPLAYER_PLAYLIST_COMPLETE,onReady:i.API_READY,onResize:i.JWPLAYER_RESIZE,onComplete:i.JWPLAYER_MEDIA_COMPLETE,onSeek:i.JWPLAYER_MEDIA_SEEK,onTime:i.JWPLAYER_MEDIA_TIME,onVolume:i.JWPLAYER_MEDIA_VOLUME,onBeforePlay:i.JWPLAYER_MEDIA_BEFOREPLAY,onBeforeComplete:i.JWPLAYER_MEDIA_BEFORECOMPLETE,onDisplayClick:i.JWPLAYER_DISPLAY_CLICK,onControls:i.JWPLAYER_CONTROLS,onQualityLevels:i.JWPLAYER_MEDIA_LEVELS,onQualityChange:i.JWPLAYER_MEDIA_LEVEL_CHANGED,onCaptionsList:i.JWPLAYER_CAPTIONS_LIST,onCaptionsChange:i.JWPLAYER_CAPTIONS_CHANGED,onAdError:i.JWPLAYER_AD_ERROR,onAdClick:i.JWPLAYER_AD_CLICK,onAdImpression:i.JWPLAYER_AD_IMPRESSION,onAdTime:i.JWPLAYER_AD_TIME,onAdComplete:i.JWPLAYER_AD_COMPLETE,onAdCompanions:i.JWPLAYER_AD_COMPANIONS,onAdSkipped:i.JWPLAYER_AD_SKIPPED},r.foreach(d,function(n){s[n]=nt(d[n],y)}),g={onBuffer:e.BUFFERING,onPause:e.PAUSED,onPlay:e.PLAYING,onIdle:e.IDLE},r.foreach(g,function(n){s[n]=nt(g[n],it)}),s.remove=function(){if(!w)throw"Cannot call remove() before player is ready";v=[];f.destroyPlayer(this.id)},s.setup=function(t){if(n.embed){var i=o.getElementById(s.id);return i&&(t.fallbackDiv=i),i=s,v=[],f.destroyPlayer(i.id),i=n(s.id),i.config=t,new n.embed(i).embed(),i}return s},s.registerPlugin=function(t,i,r,u){n.plugins.registerPlugin(t,i,r,u)},s.setPlayer=function(n,t){c=n;s.renderingMode=t},s.detachMedia=function(){if("html5"==s.renderingMode)return h("jwDetachMedia")},s.attachMedia=function(n){if("html5"==s.renderingMode)return h("jwAttachMedia",n)},s.removeEventListener=function(n,t){var i=l[n],r;if(i)for(r=i.length;r--;)i[r]===t&&i.splice(r,1)},s.dispatchEvent=function(n,t){var u=l[n],e;if(u)for(var u=u.slice(0),o=r.translateEventResponse(n,t),f=0;f<u.length;f++)if(e=u[f],"function"==typeof e)try{n===i.JWPLAYER_PLAYLIST_LOADED&&r.deepReplaceKeyName(o.playlist,["__dot__","__spc__","__dsh__","__default__"],["."," ","-","default"]);e.call(this,o)}catch(s){r.log("There was an error calling back an event handler")}},s.dispatchInstreamEvent=function(n){a&&a.dispatchEvent(n,arguments)},s.callInternal=h,s.playerReady=function(n){for(w=!0,c||s.setPlayer(o.getElementById(n.id)),s.container=o.getElementById(s.id),r.foreach(l,function(n){tt(c,n)}),y(i.JWPLAYER_PLAYLIST_ITEM,function(){b={}}),y(i.JWPLAYER_MEDIA_META,function(n){r.extend(b,n.metadata)}),s.dispatchEvent(i.API_READY);0<v.length;)h.apply(this,v.shift())},s.getItemMeta=function(){return b},s.isBeforePlay=function(){return h("jwIsBeforePlay")},s.isBeforeComplete=function(){return h("jwIsBeforeComplete")},s};f.selectPlayer=function(n){var t;return r.exists(n)||(n=0),n.nodeType?t=n:"string"==typeof n&&(t=o.getElementById(n)),t?(n=f.playerById(t.id))?n:f.addPlayer(new f(t)):"number"==typeof n?u[n]:null};f.playerById=function(n){for(var t=0;t<u.length;t++)if(u[t].id==n)return u[t];return null};f.addPlayer=function(n){for(var t=0;t<u.length;t++)if(u[t]==n)return n;return u.push(n),n};f.destroyPlayer=function(n){for(var f=-1,i,t=0;t<u.length;t++)u[t].id==n&&(f=t,i=u[t]);return 0<=f&&(n=i.id,t=o.getElementById(n+("flash"==i.renderingMode?"_wrapper":"")),r.clearCss&&r.clearCss("#"+n),t&&("html5"==i.renderingMode&&i.destroyPlayer(),i=o.createElement("div"),i.id=n,t.parentNode.replaceChild(i,t)),u.splice(f,1)),null};n.playerReady=function(t){var i=n.api.playerById(t.id);i?i.playerReady(t):n.api.selectPlayer(t.id).playerReady(t)}}(window.jwplayer),function(n){var t=n.events,r=n.utils,i=t.state;n.api.instream=function(n,u){function e(t,i){return o[t]||(o[t]=[],u.jwInstreamAddEventListener(t,'function(dat) { jwplayer("'+n.id+'").dispatchInstreamEvent("'+t+'", dat); }')),o[t].push(i),this}function h(n,i){return s[n]||(s[n]=[],e(t.JWPLAYER_PLAYER_STATE,function(t){var u=t.newstate,e=t.oldstate,i,r,f;if(u==n&&(i=s[u],i))for(r=0;r<i.length;r++)f=i[r],"function"==typeof f&&f.call(this,{oldstate:e,newstate:u,type:t.type})})),s[n].push(i),this}var c,l,o={},s={},f=this;f.type="instream";f.init=function(){return n.callInternal("jwInitInstream"),f};f.loadItem=function(t,i){c=t;l=i||{};"array"==r.typeOf(t)?n.callInternal("jwLoadArrayInstream",c,l):n.callInternal("jwLoadItemInstream",c,l)};f.removeEvents=function(){o=s={}};f.removeEventListener=function(n,t){var i=o[n],r;if(i)for(r=i.length;r--;)i[r]===t&&i.splice(r,1)};f.dispatchEvent=function(n,t){var i=o[n],f;if(i)for(var i=i.slice(0),e=r.translateEventResponse(n,t[1]),u=0;u<i.length;u++)f=i[u],"function"==typeof f&&f.call(this,e)};f.onError=function(n){return e(t.JWPLAYER_ERROR,n)};f.onMediaError=function(n){return e(t.JWPLAYER_MEDIA_ERROR,n)};f.onFullscreen=function(n){return e(t.JWPLAYER_FULLSCREEN,n)};f.onMeta=function(n){return e(t.JWPLAYER_MEDIA_META,n)};f.onMute=function(n){return e(t.JWPLAYER_MEDIA_MUTE,n)};f.onComplete=function(n){return e(t.JWPLAYER_MEDIA_COMPLETE,n)};f.onPlaylistComplete=function(n){return e(t.JWPLAYER_PLAYLIST_COMPLETE,n)};f.onPlaylistItem=function(n){return e(t.JWPLAYER_PLAYLIST_ITEM,n)};f.onTime=function(n){return e(t.JWPLAYER_MEDIA_TIME,n)};f.onBuffer=function(n){return h(i.BUFFERING,n)};f.onPause=function(n){return h(i.PAUSED,n)};f.onPlay=function(n){return h(i.PLAYING,n)};f.onIdle=function(n){return h(i.IDLE,n)};f.onClick=function(n){return e(t.JWPLAYER_INSTREAM_CLICK,n)};f.onInstreamDestroyed=function(n){return e(t.JWPLAYER_INSTREAM_DESTROYED,n)};f.onAdSkipped=function(n){return e(t.JWPLAYER_AD_SKIPPED,n)};f.play=function(n){u.jwInstreamPlay(n)};f.pause=function(n){u.jwInstreamPause(n)};f.hide=function(){n.callInternal("jwInstreamHide")};f.destroy=function(){f.removeEvents();n.callInternal("jwInstreamDestroy")};f.setText=function(n){u.jwInstreamSetText(n?n:"")};f.getState=function(){return u.jwInstreamState()};f.setClick=function(n){u.jwInstreamClick&&u.jwInstreamClick(n)}}}(window.jwplayer),function(n){var t=n.api,i=t.selectPlayer;t.selectPlayer=function(t){return(t=i(t))?t:{registerPlugin:function(t,i,r){n.plugins.registerPlugin(t,i,r)}}}}(jwplayer));jwplayer.key="rfoh1z97F9cDD/s4bXp7YjjE9EcB5mkqCcpV3g==";jwplayer.defaults=location.protocol==="https:"?{flashplayer:"https://ssl.p.jwpcdn.com/6/8/jwplayer.flash.swf",html5player:"https://ssl.p.jwpcdn.com/6/8/jwplayer.html5.js",ph:1}:{flashplayer:"http://p.jwpcdn.com/6/8/jwplayer.flash.swf",html5player:"http://p.jwpcdn.com/6/8/jwplayer.html5.js",ph:1};IsMouseOver=!1;isHover=!1,function(n){n(function(){var t=n(".product-wrapper").children().length;t==2&&n(".product-box").css({margin:"0 100px"});t==3&&n(".product-box").css({margin:"0 25px"});t==4&&(n(".product-box:first-child").css({margin:"0"}),n(".product-box").css({margin:"0 0 0 7px"}));t=n("ul.product-module-set li").size();t==1&&n("ul.product-module-set").css({margin:"0 320px"});t==2&&n("ul.product-module-set").css({margin:"0 200px"});t==3&&n("ul.product-module-set").css({margin:"0 80px"});t==4&&n("ul.product-module-set").css({"margin-left":"-40px"});n(".header-topnav > ul > li.show-children").hover(function(){isHover=!0;var t=n(this).children("ul").length,i=n(this).children("ul").html();t>0&&(n(".header-topnav-dropdown-ul").html(i),n(".header-topnav-dropdown").css({opacity:1}),n(".header-topnav-dropdown").show(200))},function(){isHover=!1;setTimeout(function(){isHoverHide()},500)});n(".header-topnav-dropdown").hover(function(){n(".header-topnav-dropdown").css({opacity:1});isHover=!0},function(){isHover=!1;setTimeout(function(){isHoverHide()},500)});n(".callout-list-item > a").click(function(){var t=n(this).children("span:nth-child(2)").text();return t=="►"?(n(".callout-list-item > a").children("span:nth-child(2)").text("►"),n(".callout-list-item").children("p").hide(500),n(this).children("span:nth-child(2)").text("▼"),n(this).parent().children("p").show(500)):(n(this).children("span:nth-child(2)").text("►"),n(this).parent().children("p").hide(500)),!1});n(".faq-list").children("div.answer").css({display:"none"});n(".faq-list > a").click(function(){var t=n(this).children("span:nth-child(2)").text();return t=="►"?(n(".faq-list > a").children("span:nth-child(2)").text("►"),n(".faq-list").children("div.answer").hide(500),n(this).children("span:nth-child(2)").text("▼"),n(this).parent().children("div.answer").show(500)):(n(this).children("span:nth-child(2)").text("►"),n(this).parent().children("div.answer").hide(500)),!1});n(".collapse").click(function(){var t=n(this).parent().children(".tab-product-content-cont-collapse-content").css("display");t=="none"?(n(this).parent().children(".tab-product-content-cont-collapse-content").show(500),n(this).parent().children("h3").css({"border-bottom-left-radius":"0","border-bottom-right-radius":"0"}),n(this).parent().children(".collapse").removeClass("expand")):(n(this).parent().children(".tab-product-content-cont-collapse-content").hide(500),n(this).parent().children("h3").css({"border-bottom-left-radius":"10px","border-bottom-right-radius":"10px"}),n(this).parent().children(".collapse").addClass("expand"))});n(".slider").hover(function(){n(".carousel-control-left").css({display:"inline-block"});n(".carousel-control-right").css({display:"inline-block"})},function(){n(".carousel-control-left").hide();n(".carousel-control-right").hide()})})}(jQuery),function(n){n(document).ready(function(){n("#mask").click(function(){return n(this).attr("noclick")=="true"?!1:(n("#mask").css({opacity:0,display:"none"}),n("#youGotIt").css({opacity:0,display:"none"}),n(".modal-iframe").attr("src",""),!1)});n("#youGotIt").click(function(){return n(this).attr("noclick")=="true"?!1:(n("#mask").css({opacity:0,display:"none"}),n("#youGotIt").css({opacity:0,display:"none"}),n(".modal-iframe").attr("src",""),!1)});n("a.IsModal").each(function(){var t=n(this).attr("href");n(this).attr("href","#");n(this).click(function(){loadModal(t)})})})}(jQuery),function(n){n.widget("ui.combobox",{_create:function(){function f(r){var f=n(r).val(),e=new RegExp("^"+n.ui.autocomplete.escapeRegex(f)+"$","i"),u=!1;return i.children("option").each(function(){if(n(this).text().match(e))return this.selected=u=!0,!1}),u?void 0:(n(r).val("").tooltip("open"),i.val(""),setTimeout(function(){t.tooltip("close").attr("title","")},2500),t.data("autocomplete").term="",!1)}var t,e=this,i=this.element.hide(),r=i.children(":selected"),o=r.val()?r.text():"",u=this.wrapper=n("<span>").addClass("ui-combobox").attr("style","text-align:right;").insertAfter(i);t=n("<input>").appendTo(u).val(o).attr("title","").addClass("").autocomplete({delay:0,minLength:0,source:function(t,r){var u=new RegExp(n.ui.autocomplete.escapeRegex(t.term),"i");r(i.children("option").map(function(){var i=n(this).text();if(this.value&&(!t.term||u.test(i)))return{label:i.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+n.ui.autocomplete.escapeRegex(t.term)+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1<\/strong>"),value:i,option:this}}))},select:function(t,i){i.item.option.selected=!0;e._trigger("selected",t,{item:i.item.option});n(t.target).data("partners")=="country"&&n(t.target).val()!=i.item.option.value&&n(this).closest("form").submit()},change:function(n,t){if(!t.item)return f(this)}}).addClass("ui-widget-content ui-widget-dd");t.data("autocomplete")._renderItem=function(t,i){return i.label!="<strong><\/strong>N<strong><\/strong>A<strong><\/strong>"?n("<li>").data("item.autocomplete",i).append("<a>"+i.label+"<\/a>").appendTo(t):n("<li>").data("item.autocomplete",i).append("<a><\/a>").appendTo(t)};n("<a>").attr("tabIndex",-1).tooltip().appendTo(u).button({icons:{primary:"ui-icon-triangle-1-s"},text:!1}).removeClass("ui-corner-all").addClass("ui-combobox-toggle").click(function(){if(t.autocomplete("widget").is(":visible")){t.autocomplete("close");f(t);return}t.autocomplete("search","");t.focus()});t.tooltip({position:{of:this.button},tooltipClass:"ui-state-highlight"})},destroy:function(){this.wrapper.remove();this.element.show();n.Widget.prototype.destroy.call(this)}})}(jQuery);$R(function(){$R(".purchase-quantity-span select").selectbox();$R(".billing select").combobox();$R(".billing .ui-combobox").on("autocompleteselect",function(){$R(this).prev("select").change()});$R(".payment-span select").combobox();$R(".select-product-filter-span select").selectbox();$R(".select-product-span select").selectbox()});var _globalEmailNotificationsAgreeText="i agree to receive e-mail notifications",_globalGDPRFieldTC="termsconditionsgdpr",_globalGDPRFieldCP="contactpermissiongdpr";$(document).ready(function(){function u(n){for(var r=n+"=",u=document.cookie.split(";"),t,i=0;i<u.length;i++){for(t=u[i];t.charAt(0)==" ";)t=t.substring(1,t.length);if(t.indexOf(r)==0)return t.substring(r.length,t.length)}return null}function f(n){return typeof n=="string"&&!n.trim()||typeof n=="undefined"||n===null||n.trim().length==0}var r,i,n,t;$(".scfHiddenField").each(function(){$(this).hide();$(this).find("input:text").each(function(){var n=u("gclid");f(n)||$(this).val(n)})});$(".scfForm input[type='submit']").click(function(n){var t=0;$(".scfCheckbox").each(function(){$(this).is(":visible")&&($(this).find("label").css("color",""),$(this).find("input[type='checkbox']").is(":checked")||($(this).find("label").first().css("color","#f5861f"),t=1))});t==1&&n.preventDefault()});$(".scfCheckbox").each(function(){($(this).text().toLowerCase()=="includesqldm"||$(this).text().toLowerCase().indexOf("roadblockinclude")!=-1)&&$(this).hide();var n=$(".scfForm .scfDropList[formdefault~='Country']").val();$(this).text().toLowerCase().indexOf(_globalEmailNotificationsAgreeText)!=-1?($(this).find("label").html("I agree to receive e-mail notifications. See our <a href='https://www.ideracorp.com/Legal/PrivacyShield' target='_blank' style='color: #81bb2e;'>Privacy Policy<\/a> for more details"),$(this).hide(),$("#_formCheckboxCountries").val().indexOf(n)!=-1&&$(this).find("input[type='checkbox']").attr("checked",!1)):$(this).text().toLowerCase().indexOf(_globalGDPRFieldTC)!=-1?($(this).find("label").attr("data-gdpr",_globalGDPRFieldTC),$(this).find("label").html("I have read, understand and agree to Idera’s <a href='https://www.ideracorp.com/Legal/Terms-of-Use' target='_blank' style='color: #81bb2e;'>terms and conditions<\/a> and <a href='https://www.ideracorp.com/Legal/PrivacyShield' target='_blank' style='color: #81bb2e;'>privacy statement<\/a>."),$(this).hide(),$(this).find("input[type='checkbox']").attr("checked",!1)):$(this).text().toLowerCase().indexOf(_globalGDPRFieldCP)!=-1&&($(this).find("label").attr("data-gdpr",_globalGDPRFieldCP),$(this).find("label").html("I agree to receive Idera marketing communications via email and phone calls."),$(this).append("<label style='display: inline-block; margin-top: 15px;'>You can always update your communications preferences later.<\/label><label style='display: inline-block; margin: 15px 0;'>Idera, Inc. may share your information with its subsidiaries and its partners. For further details how your data is used and stored, please review our <a href='https://www.ideracorp.com/Legal/PrivacyShield' target='_blank' style='color: #81bb2e;'>Privacy Policy<\/a>.<\/label>"),$(this).hide(),$(this).find("input[type='checkbox']").attr("checked",!1))});$(".scfForm .scfShortText input:text,.scfForm .scfSingleLineTextBorder input:text,.scfForm .scfEmailBorder input:text,.scfTelephoneBorder input:text").each(function(){var n=$(this).parent().parent().children("label").text(),t;$(this).attr("FormDefault",n);$(this).addClass("FormDefault");t="";elementId=$(this).attr("id");$("#"+elementId+"_text").text(n+" *")});$(".scfForm .scfShortText input:text,.scfForm .scfSingleLineTextBorder input:text,.scfForm .scfEmailBorder input:text,.scfTelephoneBorder input:text").focus(function(){var n=$(this).attr("FormDefault"),t=$(this).attr("value");t==n&&($(this).attr("value",""),$(this).removeClass("FormDefault"));$(this).addClass("Selected")});$(".scfForm .scfShortText input:text,.scfForm .scfSingleLineTextBorder input:text,.scfForm .scfEmailBorder input:text,.scfTelephoneBorder input:text").blur(function(){var t=$(this).attr("FormDefault"),n=$(this).attr("value");n==""?($(this).attr("value",""),$(this).addClass("FormDefault")):($(this).removeClass("FormValidatorCalloutHighlight"),n=n.replace("&","and"),$(this).attr("value",n));$(this).removeClass("Selected")});r=!1;i=!1;$(".scfForm .scfShortText select,.scfForm .scfDropListBorder select").each(function(){var t=$(this).parent().parent().children("label").text(),u,n;$(this).attr("FormDefault",t);u="";elementId=$(this).attr("id");$("#"+elementId+"text").text(t+" *");t.toLowerCase()=="country"&&(n=$(this).parent().children("select").val(),n.toLowerCase()=="country"?i=!0:n.toLowerCase()=="usa"||n.toLowerCase()=="united states"||n.toLowerCase()=="unitedstates"?i=!0:n.toLowerCase()=="canada"?r=!0:(i=!0,r=!0));i==!0&&r==!1?($(".scfForm .scfDropList[formdefault~='Province']").parent().hide(),$("label").each(function(){$(this).text().toLowerCase()=="province *"&&$(this).hide()}),$(".scfForm .scfDropList[formdefault~='State']").parent().show(),$("label").each(function(){$(this).text().toLowerCase()=="state *"&&$(this).show()})):r==!0&&i==!1?($(".scfForm .scfDropList[formdefault~='State']").parent().hide(),$("label").each(function(){$(this).text().toLowerCase()=="state *"&&$(this).hide()}),$(".scfForm .scfDropList[formdefault~='Province']").parent().show(),$("label").each(function(){$(this).text().toLowerCase()=="province *"&&$(this).show()})):r==!0&&i==!0&&($(".scfForm .scfDropList[formdefault~='Province']").parent().hide(),$(".scfForm .scfDropList[formdefault~='State']").parent().hide(),$("label").each(function(){($(this).text().toLowerCase()=="province *"||$(this).text().toLowerCase()=="state *")&&$(this).hide()}))});$(".scfForm .scfRadioButtonListLabel").each(function(){var n=$(this).text();elementId=$(this).attr("id");$("#"+elementId).text(n+" *")});$(".ui-widget-dd").focus(function(){var n=$(this).parent().attr("FormDefault"),t=$(this).attr("value");t==n&&($(this).attr("value",""),$(this).removeClass("FormDefault"));$(this).addClass("Selected")});$(".country-span > .ui-combobox > .ui-widget-dd").focus(function(){$(this).attr("value","");$(this).addClass("Selected")});$(".scfForm select[formdefault~='Country']").change(function(){$(".scfCheckbox").each(function(){$(this).text().toLowerCase().indexOf(_globalEmailNotificationsAgreeText)!=-1&&($(this).hide(),$(this).find("input[type='checkbox']").attr("checked",!0));var n=$(this).find("label").data("gdpr");(n==_globalGDPRFieldTC||n==_globalGDPRFieldCP)&&($(this).hide(),$(this).find("input[type='checkbox']").attr("checked",!1))});var n=$(this).parent().children("select").val();n.toLowerCase()=="usa"||n.toLowerCase()=="united states"||n.toLowerCase()=="unitedstates"||n.toLowerCase()=="country"?($(".scfForm .scfDropList[formdefault~='Province']").parent().hide(),$("label").each(function(){$(this).text().toLowerCase()=="province *"&&$(this).hide()}),$(".scfForm .scfDropList[formdefault~='State']").parent().children("select").val("State"),$(".scfForm .scfDropList[formdefault~='State']").children().first().val("State"),$(".scfForm .scfDropList[formdefault~='State']").parent().show(),$("label").each(function(){$(this).text().toLowerCase()=="state *"&&$(this).show()})):n.toLowerCase()=="canada"?($(".scfForm .scfDropList[formdefault~='State']").parent().hide(),$("label").each(function(){$(this).text().toLowerCase()=="state *"&&$(this).hide()}),$(".scfForm .scfDropList[formdefault~='Province']").parent().children("select").val("Province"),$(".scfForm .scfDropList[formdefault~='Province']").children().first().val("Province"),$(".scfForm .scfDropList[formdefault~='Province']").parent().show(),$("label").each(function(){$(this).text().toLowerCase()=="province *"&&$(this).show()})):($(".scfForm .scfDropList[formdefault~='Province']").parent().hide(),$(".scfForm .scfDropList[formdefault~='State']").parent().hide(),$("label").each(function(){($(this).text().toLowerCase()=="province *"||$(this).text().toLowerCase()=="state *")&&$(this).hide()}));$("#_formCheckboxCountries").val().indexOf(n)!=-1&&$(".scfCheckbox").each(function(){$(this).text().toLowerCase().indexOf(_globalEmailNotificationsAgreeText)!=-1&&($(this).find("input[type='checkbox']").attr("checked",!1),$(this).show())});$("#_gdprCountries").val().indexOf(n)!=-1&&$(".scfCheckbox").each(function(){var n=$(this).find("label").data("gdpr");(n==_globalGDPRFieldTC||n==_globalGDPRFieldCP)&&($(this).find("input[type='checkbox']").attr("checked",!1),$(this).show())})});try{$.IderaServices.GuestInfomation.GetContactInformation(HandleGetContactInformationSucess,HandleGetContactInformationError)}catch(e){}n=$("#ClientCountry").attr("value");t=$("#ClientState").attr("value");n!=""&&t!=""&&$(".scfForm .scfDropList[formdefault~='Country'] option[value='"+n+"']").length>0&&($(".scfForm .scfDropList[formdefault~='Country']").val(n),$(".scfForm .scfDropList[formdefault~='State']").parent().hide(),$("label").each(function(){$(this).text().toLowerCase()=="state *"&&$(this).hide()}),n.toLowerCase()=="canada"&&($(".scfForm .scfDropList[formdefault~='State']").parent().hide(),$("label").each(function(){$(this).text().toLowerCase()=="state *"&&$(this).hide()}),t!="undefined"&&t!=""?$(".scfForm .scfDropList[formdefault~='Province']").parent().children("select").val(t):$(".scfForm .scfDropList[formdefault~='Province']").parent().children("select").val("Province"),$(".scfForm .scfDropList[formdefault~='Province']").children().first().val("Province"),$(".scfForm .scfDropList[formdefault~='Province']").parent().show(),$("label").each(function(){$(this).text().toLowerCase()=="province *"&&$(this).show()})),(n.toLowerCase()=="usa"||n.toLowerCase()=="united states"||n.toLowerCase()=="unitedstates")&&($(".scfForm .scfDropList[formdefault~='Province']").parent().hide(),$("label").each(function(){$(this).text().toLowerCase()=="province *"&&$(this).hide()}),t!="undefined"&&t!=""?$(".scfForm .scfDropList[formdefault~='State']").parent().children("select").val(t):$(".scfForm .scfDropList[formdefault~='State']").parent().children("select").val("State"),$(".scfForm .scfDropList[formdefault~='State']").children().first().val("State"),$(".scfForm .scfDropList[formdefault~='State']").parent().show(),$("label").each(function(){$(this).text().toLowerCase()=="state *"&&$(this).show()})),$("#_formCheckboxCountries").val().indexOf(n)!=-1&&$(".scfCheckbox").each(function(){$(this).text().toLowerCase().indexOf(_globalEmailNotificationsAgreeText)!=-1&&$(this).show()}),$("#_gdprCountries").val().indexOf(n)!=-1&&$(".scfCheckbox").each(function(){var n=$(this).find("label").data("gdpr");(n==_globalGDPRFieldTC||n==_globalGDPRFieldCP)&&$(this).show()}))});$("form").submit(function(){var n=$(".scfForm .scfDropList[formdefault~='Country']").parent().children("select").val();n=="Country"&&$(".scfValidationSummary").is(":visible")?$(".scfValidationSummary ul").append("<li class='CountryCls'>Country value is not valid<\/li>"):$(".CountryCls").remove();n!=null&&n.toLowerCase()=="united states"&&$(".scfForm .scfDropList[formdefault~='State']").parent().children("select").val()=="State"&&$(".scfValidationSummary").is(":visible")?$(".scfValidationSummary ul").append("<li class='StateCls'>State value is not valid<\/li>"):$(".StateCls").remove();n!=null&&n.toLowerCase()=="canada"&&$(".scfForm .scfDropList[formdefault~='Province']").parent().children("select").val()=="Province"&&$(".scfValidationSummary").is(":visible")?$(".scfValidationSummary ul").append("<li class='ProvinceCls'>Province value is not valid<\/li>"):$(".ProvinceCls").remove()});window.__gcse={callback:function(){$("input.gsc-search-button").attr("src","/Assets/Site/Images/search-icon.png");$("input.gsc-input").attr("placeholder","Search here...")}},function(){var n=document.createElement("script"),t;n.type="text/javascript";n.async=!0;n.src=(document.location.protocol=="https:"?"https:":"http:")+"//www.google.com/cse/cse.js?cx=003971959604558812210:wuryepewqhg";t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t)}();GuestInfoServiceProxy=function(){this._baseURL="/Services/GuestInfoService.svc/";this._callType="POST"};GuestInfoServiceProxy.prototype={DoAjax:function(n,t,i,r){t||(t={});$.ajax({type:this._callType,url:this._baseURL+n,data:t,contentType:"application/json; charset=utf-8",dataType:"json",success:function(n){typeof i!="undefined"&&i(n)},error:function(n,t,i){typeof r!="undefined"&&r(n,t,i)}})},GetContactInformation:function(n,t){this.DoAjax("GetContactInformation",null,n,t)}},function(n){n.IderaServices=function(){};n.IderaServices.GuestInfomation=new GuestInfoServiceProxy}(jQuery);var elqSiteID="1403",elqVer="v200",elqERoot="now.eloqua.com/",elqSecERoot="secure.eloqua.com/";window.onerror=elqErr;var elqCurESite="",elqAltESite="",elqWCount=0,elqTryI=!1,elqStr="",elqTID=null,elqTRun=!1,elqLoad=!1,elqFail=!1;location.protocol=="https:"?(elqCurESite="https://"+elqSecERoot,elqAltESite="http://"+elqERoot):(elqCurESite="http://"+elqERoot,elqAltESite="https://"+elqSecERoot);elqCurE=elqCurESite+"visitor/"+elqVer+"/svrGP.aspx";navigator.appName=="Netscape"&&parseInt(navigator.appVersion)>4&&(elqTryI=!0);(navigator.appName=="Microsoft Internet Explorer"||navigator.userAgent.indexOf("AOL")!=-1)&&(elqTryI=!0);_kmq=_kmq||[];_kmk=_kmk||"1b26371122efc00f59f7bc9616d7b516f5b5b9ec";_kms("//i.kissmetrics.com/i.js");_kms("//doug1izaerwt3.cloudfront.net/"+_kmk+".1.js");BACON=BACON||{};BACON.id="vGnalNapdzneq857";BACON.starttime=(new Date).getTime(),function(n,t){var i=n.createElement(t),t;i.async=!0;i.src="//d2vig74li2resi.cloudfront.net/rum/bacon.min.js";t=n.getElementsByTagName(t)[0];t.parentNode.insertBefore(i,t)}(document,"script");_gaq=_gaq||[];pluginUrl="//www.google-analytics.com/plugins/ga/inpage_linkid.js";_gaq.push(["_require","inpage_linkid",pluginUrl]);_gaq.push(["_setAccount","UA-3417583-1"]);_gaq.push(["_setAllowLinker",!0]);_gaq.push(["_addIgnoredRef","idera."]);_gaq.push(["_setDomainName","idera.com"]);_gaq.push(["_trackPageview"]),function(){var n=document.createElement("script"),t;n.type="text/javascript";n.async=!0;n.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t)}();adroll_adv_id="EK2RZCQQW5HSREJE7AGXHM";adroll_pix_id="7QZKOOQ5KVHE5B7VKTW3ZV",function(){var n=window.onload;window.onload=function(){__adroll_loaded=!0;var t=document.createElement("script"),i="https:"==document.location.protocol?"https://s.adroll.com":"http://a.adroll.com";t.setAttribute("async","true");t.type="text/javascript";t.src=i+"/j/roundtrip.js";((document.getElementsByTagName("head")||[null])[0]||document.getElementsByTagName("script")[0].parentNode).appendChild(t);n&&n()}}();_elqQ=_elqQ||[];_elqQ.push(["elqSetSiteId","1403"]);_elqQ.push(["elqTrackPageView"]);_elqQ.push(["elqSetSiteId","1405"]);_elqQ.push(["elqTrackPageView"]);GetElqCustomerGUID&&(console.log(GetElqCustomerGUID()),document.getElementById("hfEloquaCookie").value=GetElqCustomerGUID())