$(document).ready(function(){slideRight=new Menu({wrapper:'#o-wrapper',type:'slide-right',menuOpenerClass:'.c-button',maskId:'#c-mask'});var slideRightBtn=document.querySelector('#c-button--slide-right');if(slideRightBtn){slideRightBtn.addEventListener('click',function(e){e.preventDefault;slideRight.open();});}slideLeft=new Menu({wrapper:'#o-wrapper',type:'slide-left',menuOpenerClass:'.c-button',maskId:'#c-mask'});var slideLeftBtn=document.querySelector('#c-button--slide-left');if($("#c-button--slide-left").length>0){slideLeftBtn.addEventListener('click',function(e){e.preventDefault;slideLeft.open();});}});