//STAR Skin Selector by Bourne (montatuforo.net) and 3mOtrOnik (toxigeek.com) document.write(''); document.write('
'); var scheme = getCookie('template1'); if (scheme == 'Default') { document.write(''); } else if (scheme == 'LK8631') { document.write(''); } function changeskin(change) { var scheme = change; var name = 'template1'; var pathname = location.pathname; var myDomain = pathname.substring(0,pathname.lastIndexOf('/')) +'/'; var ExpDate = new Date (); ExpDate.setTime(ExpDate.getTime() + (180 * 24 * 3600 * 1000)); setCookie(name,scheme,ExpDate,myDomain); } function getCookie(name){ var cname = name + "="; var dc = document.cookie; if (dc.length > 0) { begin = dc.indexOf(cname); if (begin != -1) { begin += cname.length; end = dc.indexOf(";", begin); if (end == -1) end = dc.length; return unescape(dc.substring(begin, end)); } } return null; } function setCookie(name, value, expires, path, domain, secure) { document.cookie = name + "=" + escape(value) + ((expires == null) ? "" : "; expires=" + expires.toGMTString()) + ((path == null) ? "" : "; path=" + path) + ((domain == null) ? "" : "; domain=" + domain) + ((secure == null) ? "" : "; secure"); } //END Skin Selector by Bourne (montatuforo.net) and 3mOtrOnik (toxigeek.com)