var mydt; function getgmt() { var dt = new Date(); var tzone=dt.getTimezoneOffset(); var gmtfh=(tzone>=0)?"0":"1"; tzone=(tzone>=0)?tzone:-tzone; var gmthour=tzone/60; var gmtmin=tzone%60; gmthour=(gmthour>=10)?gmthour:"0"+gmthour; gmtmin=(gmtmin>=10)?gmtmin:"0"+gmtmin; gmt=gmtfh+""+gmthour+""+gmtmin; return gmt; } function getkeyword() { var urlnow = document.referrer; if(urlnow.indexOf("google")>=0) { urlnow = decodeURIComponent(urlnow); } return urlnow; } function agent() { var System; var agent_arr; var bctype; var agent=navigator.userAgent; var Mozilla=agent.substr(0,agent.indexOf("/")); agent_arr=agent.split(";"); switch (Mozilla) { case "Mozilla": System=agent_arr[2].replace(")",""); bctype=agent_arr[1]; if (bctype.indexOf("MSIE")>0) { Brower=bctype; Brower=Brower.replace("MSIE","") }else if (bctype.indexOf("U")>0) { var ucstrl=agent.substr(0,agent.lastIndexOf("/")); var ucstrr=agent.substring(agent.lastIndexOf("/")+1,agent.length); ucstrl=ucstrl.substring(ucstrl.lastIndexOf(" ")+1,ucstrl.length); ucstrr=ucstrr.substr(0,ucstrr.indexOf(" ")>0?ucstrr.indexOf(" "):ucstrr.length); Brower=ucstrl+" "+ucstrr; Brower="!"+Brower; } break; case "Opera": Brower=agent_arr[0].substr(0,agent_arr[0].indexOf(" ") ) ; Brower=Brower.replace("/"," "); Brower="!"+Brower; System=agent_arr[0].substr(agent_arr[0].indexOf("(")+1, agent_arr[0].length); break; default: break; } if (System.indexOf("Win")>0) { System=System.replace("Windows",""); System=System.replace("NT",""); System=System.replace("Win",""); } else {System="!"+System} this.Brower=Brower; this.System=System; } var lastVisit = GetCookie(""); function getCookieVal (offset) { var endstr = document.cookie.indexOf (";", offset); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(offset, endstr)); } function GetCookie (name) { var arg = name + "="; var alen = arg.length; var clen = document.cookie.length; var i = 0; while (i < clen) { var j = i + alen; if (document.cookie.substring(i, j) == arg) return getCookieVal (j); i = document.cookie.indexOf(" ", i) + 1; if (i == 0) break; } return null; } agent=new agent(); document.write ("
