skin.href="themes/default/css/style-red.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("nowskin",url,expdate,"/",null,false); } } function stop(){ return false; } document.oncontextmenu=stop;