"+arr[1]+'-'+arr[2] }) var numer=location.href.indexOf('news_list'); if(numer>0){ numer=parseInt(location.href.slice(numer,numer+10).slice(9)); $2("#news .left .product_fl li")[numer-1].classList.add('active'); } $2("nav li")[4].classList.add('active'); $2("nav li")[0].classList.remove('active'); if(localStorage.getItem('getGg')){ localStorage.removeItem('getGg'); var keTime=setTimeout(function(){ clearInterval(keTime); try{ var top=document.querySelector('#productParams').offsetTop+200; document.documentElement.scrollTop=top; document.body.scrollTop=top; }catch(err){ } },1000); }