/**
* Styleswitch stylesheet switcher built on jQuery
* Under an Attribution, Share Alike License
* By Kelvin Luck ( http://www.kelvinluck.com/ )
**/function eraseCookie(a){createCookie(a,"",-1)}function readCookie(a){var b=a+"=",c=document.cookie.split(";");for(var d=0;d<c.length;d++){var e=c[d];while(e.charAt(0)==" ")e=e.substring(1,e.length);if(e.indexOf(b)==0)return e.substring(b.length,e.length)}return null}function createCookie(a,b,c){if(c){var d=new Date;d.setTime(d.getTime()+c*24*60*60*1e3);var e="; expires="+d.toGMTString()}else var e="";document.cookie=a+"="+b+e+"; path=/"}(function(a){function b(b){a("link[rel*=style][title]").each(function(a){this.disabled=!0,this.getAttribute("title")==b&&(this.disabled=!1)}),createCookie("style",b,365)}a(document).ready(function(){a(".styleswitch").click(function(){b(this.getAttribute("rel"));return!1});var c=readCookie("style");c&&b(c)})})(jQuery)

