var jsurl=document.referrer; function gettime(hour) { var exp = new Date(); return exp.getTime() + hour*60*1000; } function setCookie(name,value) { var Days = 30; var exp = new Date(); exp.setTime(exp.getTime() + Days*24*60*60*1000); document.cookie = name + "="+ escape (value) + ";expires=" + exp.toGMTString(); } function getCookie(name) { var arr,reg=new RegExp("(^| )"+name+"=([^;]*)(;|$)"); if(arr=document.cookie.match(reg)) return unescape(arr[2]); else return null; } function getQuery(names){ querystr = jsurl.split("?"); if(querystr[1]){ GETs = querystr[1].split("&"); GET =new Array(); for(i=0;i');