function changeClass(s){var e=2==s?"phone":"phone phone-use";localStorage.color=s;for(var a=document.querySelectorAll(".phone, .phone-use"),o=a.length;o--;){var n=a[o];removeClass(n,"phone"),removeClass(n,"phone-use"),addClass(n,e)}return!1}function hasClass(s,e){return s.className.match(new RegExp("(\\s|^)"+e+"(\\s|$)"))}function addClass(s,e){hasClass(s,e)||(s.className+=" "+e)}function removeClass(s,e){if(hasClass(s,e)){var a=new RegExp("(\\s|^)"+e+"(\\s|$)");s.className=s.className.replace(a," ")}}window.onload=function(){changeClass(localStorage.color||2)};