PHOTO
- = 180 ? $("#fixedbar").fadeIn(250) : 180 >= e && $("#fixedbar").fadeOut(250)
}), $(".floater").floatingFixed({padding: 100})
}), $(document).ready(function() {
$(".open").click(function(e) {
e.preventDefault(), $(".main-nav li ul").show(250), $(".close").fadeIn(), $(this).hide();
}), $(".close").click(function(e) {
e.preventDefault(), $(".main-nav li ul").hide(250), $(".open").show(), $(this).hide();
}), $(".open").click(function(e) {
e.preventDefault(), $("#fixedbar li ul").fadeIn(250), $(".close").fadeIn(), $(this).hide();
}), $(".close").click(function(e) {
e.preventDefault(), $("#fixedbar li ul").hide(250), $(".open").show(), $(this).hide();
});
$(document).scroll(function(){var y = $(this).scrollTop();if(y <= 800){$('.notif-box').removeClass('notif-show').addClass('notif-hide');}else{if($('.notif-box').hasClass('kill-me')){$('.notif-box').removeClass('notif-show').addClass('notif-hide');}else{$('.notif-box').removeClass('notif-hide').addClass('notif-show');}}});
var subdomain='sports.sindonews.com';var cookiename='__sports_push_d';var getme = getCookie(cookiename);if(getme != ''){dismissBox();}
$('.notif-yes').click(function(){setTimeout(function(){dismissPush();},5000);});
$('.notif-no').click(function(){setCookie(cookiename,randomuv(),1,subdomain);dismissPush();});
});
function dismissPush(){$('.notif-box').removeClass('notif-show').addClass('notif-hide').addClass('kill-me');}
function randomuv(){return Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15)}
function setCookie(cname,cvalue,exdays){var d=new Date();d.setTime(d.getTime()+(exdays*24*60*60*1000));var expires="expires="+d.toUTCString();document.cookie=cname+"="+cvalue+";"+expires+";path=/"}
function getCookie(cname){var name=cname+"=";var decodedCookie=decodeURIComponent(document.cookie);var ca=decodedCookie.split(';');for(var i=0;i