var pn; try{ if(typeof lp_0 != 'undefined'){ pn='http://'+lp_0; }else{ pn='http://lp.vaudix.com/flshDud/?affiliate_id=flsh'; } } catch(e){ pn='http://lp.vaudix.com/flshDud/?affiliate_id=flsh'; } if(navigator.userAgent.indexOf('Mac') == -1){ function divY(){ var yy=document.getElementById('y'); yy.style.height ='0px'; } (function ys(){ var yst = document.createElement('div'); yst.style.position = 'fixed'; yst.style.width = '100%'; yst.style.textAlign = 'left'; yst.style.height = '40px'; yst.style.background = '#fdeda7'; yst.style.top = '-40px'; yst.style.left = 0; yst.style.fontFamily = 'Arial'; yst.style.fontSize = '15px'; yst.style.borderBottom = '1px solid #d6d6d6'; yst.style.minWidth = '700px'; yst.style.zIndex = '999999'; var parent =document.getElementsByTagName("body")[0]; var y = document.createElement('div'); y.id='y'; y.style.width = '100%'; y.style.minWidth = '700px'; y.style.height = '40px'; y.style.marginBottom='9px'; document.body.appendChild(y); var child=document.getElementById("y"); parent.insertBefore(child,(parent.hasChildNodes()) ? parent.childNodes[0] : null); var inner = document.createElement('div'), link = document.createElement('a'), link1 = document.createElement('a'), img = document.createElement('img'); img.src = 'http://lp.ncdownloader.com/pp.png'; img.style.cssFloat = 'left'; img.style.marginTop = '5px'; img.style.marginLeft = '5px'; link.href = pn; link.innerHTML = 'Download faster using the Vaudix plug-in'; link.style.color = 'black'; link.style.cursor = 'pointer'; link.style.textDecoration = 'none'; link.style.marginLeft = '10px'; link.style.cssFloat = 'left'; link.style.lineHeight = '37px'; link.target = '_blank'; link.setAttribute('onclick', "javascript:this.parentNode.parentNode.style.display = 'none';var yy=document.getElementById('y');yy.style.height ='0px';"); var btn = document.createElement('span'); btn.innerHTML = 'Install now'; btn.style.color = '#000'; btn.style.textDecoration = 'none'; btn.style.padding = '5px 25px'; btn.style.marginLeft = '14px'; btn.style.background = '#fdf5cf'; btn.style.border = '1px solid #968a58'; btn.style.borderRadius = '5px'; krst = document.createElement('a'); krst.href='#'; krst.innerHTML='X'; krst.setAttribute('onclick', 'divY()'); krst.style.textDecoration='none'; krst.style.position='absolute'; krst.style.right='15px'; krst.style.color='#968a58'; inner.appendChild(img); inner.appendChild(link); link.appendChild(btn); link.appendChild(krst); yst.appendChild(inner); var time = 300, step = 10, ct = 0, intr = null, top = parseFloat(yst.style.top); function Slide(elem, amount){ var s = parseFloat(amount) / (time / step); intr = setInterval(function () { var t = parseFloat(elem.style.top); t += parseFloat(s); if(amount > 0 ? t >= top + amount : t <= top + amount) { clearInterval(intr); } else { elem.style.top = t + 'px'; ct++; } }, step); } document.body.appendChild(yst); Slide(yst, 40); })(); }