function SetCookie(name,value){ var argv=SetCookie.arguments; var argc=SetCookie.arguments.length; var expires=(2 0) { offset = document.cookie.indexOf(search); if (offset != -1) { offset += search.length; end = document.cookie.indexOf(";", offset); if (end == -1) end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset,end)); } } return returnvalue; } var thisskin; thisskin=GetCookie("nowskinwww.d6pc.com/"); if(thisskin!="") skin.href=thisskin; else skin.href="/images/css8.css"; function changecss(url){ if(url!=""){ skin.href=url; var expdate=new Date(); expdate.setTime(expdate.getTime()+(24*60*60*1000*30)); //expdate=null; //以下设置COOKIES时间为1年,自己随便设置该时间.. SetCookie("nowskinwww.d6pc.com/",url,expdate,"/",null,false); } }