function setActiveStyleSheet(_1){ var i,a,_4; for(i=0;(a=document.getElementsByTagName("link")[i]);i++){ if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("title")){ a.disabled=true; if(a.getAttribute("title")==_1){ a.disabled=false; } } } }; function getActiveStyleSheet(){ var i,a; for(i=0;(a=document.getElementsByTagName("link")[i]);i++){ if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("title")&&!a.disabled){ return a.getAttribute("title"); } } return null; }; function getPreferredStyleSheet(){ var i,a; for(i=0;(a=document.getElementsByTagName("link")[i]);i++){ if(a.getAttribute("rel").indexOf("style")!=-1&&a.getAttribute("rel").indexOf("alt")==-1&&a.getAttribute("title")){ return a.getAttribute("title"); } } return null; }; function createCookie(_9,_a,_b){ if(_b){ var _c=new Date(); _c.setTime(_c.getTime()+(_b*24*60*60*1000)); var _d="; expires="+_c.toGMTString(); }else{ _d=""; } document.cookie=_9+"="+_a+_d+"; path=/"; }; function readCookie(_e){ var _f=_e+"="; var ca=document.cookie.split(";"); for(var i=0;i