function showSto () {
$(stoBanner).show();
// localStorage.setItem('panelHidden', 'false');
$(stoBanner).addClass('in');
$('.sto-ads .slide-close').on('click', function(){
$(this).parent().parent().removeClass('in');
localStorage.setItem('stoHidden', 'true');
});
};
if ($('body').hasClass('front')) {
if (localStorage.getItem('stoHidden') == 'true' ){
$(stoBanner).hide();
} else {
showSto();
localStorage.setItem('stoHidden', 'false');
console.log('front')
};
} else {
// do nothing
}