(function($){ function debounce(func, wait, immediate) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if (!immediate) func.apply(context, args); }; var callNow = immediate && !timeout; clearTimeout(timeout); timeout = setTimeout(later, wait); if (callNow) func.apply(context, args); }; }; // If it exists, then we can move on if($('#d_u0c0_linkAd').length) return; var windowWidth = window.innerWidth; var logo = window.devicePixelRatio && window.devicePixelRatio > 1 ? 'https://cdn.secure.website/library/images/minimal-webstarts-logo-w64.png' : 'https://cdn.secure.website/library/images/minimal-webstarts-logo-w32.png'; var style = ( // Animate in '#d_u0c0_linkAd { -webkit-transform: translate3d(0, 100%, 0); -moz-transform: translate3d(0, 100%, 0); transform: translate3d(0, 100%, 0); -webkit-transition: transform 1s; -moz-transition: transform 1s; transition: transform 1s; }' + '#d_u0c0_linkAd.animateIn { -webkit-transform: translate3d(0, 0, 0); -moz-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }' + '#d_u0c0_linkAd { position: fixed; z-index: 2147483647; bottom: 0; left: 0; right: 0; background-color: #f3f3f3; padding: 10px; width: 550px; }' + '#d_u0c0_linkAd *, #d_u0c0_linkAd :after, #d_u0c0_linkAd :before { -ms-box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }' + '#d_u0c0_0:before, #d_u0c0_0:after { display: table; content: " "; }' + '#d_u0c0_0:after { clear: both; }' + '#d_u0c0_1 { float: left; width: 32px; height: auto; }' + '#d_u0c0_2 { position: absolute; left: 48px; right: 35px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; font-size: 14px; font-weight: 300; font-family: \'Open Sans\', sans-serif; color: #666; line-height: 30px; }' + '#d_u0c0_3 { float: right; position: relative; }' + '#d_u0c0_3 button { line-height: 30px; padding: 0; cursor: pointer; margin: 0; font-size: 21px; font-weight: 700; color: #000; text-shadow: 0 1px 0 #fff; filter: alpha(opacity=20); opacity: .2; border: none; background: none; }' + '#d_u0c0_3 button:focus, #d_u0c0_3 button:hover { color: #000; text-decoration: none; cursor: pointer; filter: alpha(opacity=50); opacity: .5; outline: none; }' + '#d_u0c0_4 { display: none; position: absolute; width: 300px; height: auto; padding: 10px 25px 10px 10px; border: 1px solid #ccc; border-radius: 5px; background-color: #f3f3f3; color: #666; font-size: 14px; bottom: 50px; right: 0px; }' + '#d_u0c0_4 a, #d_u0c0_4 a:hover, #d_u0c0_4 a:focus { color: inherit; text-decoration: underline; font-weight: inherit; }' + '#d_u0c0_6 { position: absolute; font-size: 18px; line-height: 1; top: 5px; right: 7px; }' + '#d_u0c0_linkAd a { color: inherit; text-decoration: none; font-weight: inherit; }' + '#d_u0c0_linkAd a:hover { text-decoration: underline; }' + '.vp-phone #d_u0c0_1 { width: 24px; }' + '.vp-phone #d_u0c0_2 { left: 40px; line-height: 24px; }' + '.vp-phone #d_u0c0_3 button { line-height: 22px; }' + '.vp-phone #d_u0c0_4 { bottom: 40px }' ); var html = ( '