function sizeLayout(a){if(a=="800"){loadCssFileVersioned("/css{0}/800.cssx");removeCssFileVersioned("/css{0}/1024.cssx");removeCssFileVersioned("/css{0}/1280.cssx")}else{if(a=="1024"){removeCssFileVersioned("/css{0}/1024.cssx");loadCssFileVersioned("/css{0}/1024.cssx");removeCssFileVersioned("/css{0}/800.cssx");removeCssFileVersioned("/css{0}/1280.cssx")}else{if(a=="1280"){removeCssFileVersioned("/css{0}/1280.cssx");loadCssFileVersioned("/css{0}/1280.cssx");removeCssFileVersioned("/css{0}/800.cssx");removeCssFileVersioned("/css{0}/1024.cssx")}}}setSkinCookie(a)}function loadCssFileVersioned(a){loadcssfile(formatPath(a))}function removeCssFileVersioned(a){removecssfile(formatPath(a))}function loadskin(){var a=getSkinCookie();sizeLayout(a)}function setSkinCookie(c){var b="SkinLayoutSize";var e="/";var a=365*1000*60*60*24;var d=new Date((new Date()).getTime()+(a));document.cookie=b+"="+escape(c)+((a)?";expires="+d.toGMTString():"")+((e)?";path="+e:"")}function getSkinCookie(){var c=document.cookie.indexOf("SkinLayoutSize=");var a=c+15;if((!c)&&(name!=document.cookie.substring(0,name.length))){return null}if(c==-1){return null}var b=document.cookie.indexOf(";",a);if(b==-1){b=document.cookie.length}return unescape(document.cookie.substring(a,b))}function loadcssfile(a){var b=document.createElement("link");b.setAttribute("rel","stylesheet");b.setAttribute("type","text/css");b.setAttribute("href",a);if(typeof b!="undefined"){document.getElementsByTagName("head")[0].appendChild(b)}}function removecssfile(a,c){var e="link";var d="href";var f=document.getElementsByTagName(e);for(var b=f.length;b>=0;b--){if(f[b]&&f[b].getAttribute(d)!=null&&f[b].getAttribute(d).indexOf(a)!=-1){f[b].parentNode.removeChild(f[b])}}}loadskin();