document.writeln("<SCRIPT LANGUAGE=\"JavaScript\">");
document.writeln("<!-- Begin");
document.writeln("var expDays = 7;");
document.writeln("");
document.writeln("url = \"http:\/\/www.haireason.com/\/\";");
document.writeln("title = \"º«·¢ÊÀ¼Ò\";");
document.writeln("");
document.writeln("\/\/ Cookie code from The JavaScript Source");
document.writeln("function GetCookie (name) {  ");
document.writeln("var arg = name + \"=\";  ");
document.writeln("var alen = arg.length;  ");
document.writeln("var clen = document.cookie.length;  ");
document.writeln("var i = 0;  ");
document.writeln("while (i < clen) {    ");
document.writeln("var j = i + alen;    ");
document.writeln("if (document.cookie.substring(i, j) == arg)      ");
document.writeln("return getCookieVal (j);    ");
document.writeln("i = document.cookie.indexOf(\" \", i) + 1;    ");
document.writeln("if (i == 0) break;   ");
document.writeln("}  ");
document.writeln("return null;");
document.writeln("}");
document.writeln("function SetCookie (name, value) {  ");
document.writeln("var argv = SetCookie.arguments;  ");
document.writeln("var argc = SetCookie.arguments.length;  ");
document.writeln("var expires = (argc > 2) ? argv[2] : null;  ");
document.writeln("var path = (argc > 3) ? argv[3] : null;  ");
document.writeln("var domain = (argc > 4) ? argv[4] : null;  ");
document.writeln("var secure = (argc > 5) ? argv[5] : false;  ");
document.writeln("document.cookie = name + \"=\" + escape (value) + ");
document.writeln("((expires == null) ? \"\" : (\"; expires=\" + expires.toGMTString())) + ");
document.writeln("((path == null) ? \"\" : (\"; path=\" + path)) +  ");
document.writeln("((domain == null) ? \"\" : (\"; domain=\" + domain)) +    ");
document.writeln("((secure == true) ? \"; secure\" : \"\");");
document.writeln("}");
document.writeln("function DeleteCookie (name) {  ");
document.writeln("var exp = new Date();  ");
document.writeln("exp.setTime (exp.getTime() - 1);  ");
document.writeln("var cval = GetCookie (name);  ");
document.writeln("document.cookie = name + \"=\" + cval + \"; expires=\" + exp.toGMTString();");
document.writeln("}");
document.writeln("var exp = new Date(); ");
document.writeln("exp.setTime(exp.getTime() + (expDays*24*60*60*1000));");
document.writeln("function amt(){");
document.writeln("var count = GetCookie(\'count\')");
document.writeln("if(count == null) {");
document.writeln("SetCookie(\'count\',\'1\')");
document.writeln("return 1");
document.writeln("}");
document.writeln("else {");
document.writeln("var newcount = parseInt(count) + 1;");
document.writeln("DeleteCookie(\'count\')");
document.writeln("SetCookie(\'count\',newcount,exp)");
document.writeln("return count");
document.writeln("   }");
document.writeln("}");
document.writeln("function getCookieVal(offset) {");
document.writeln("var endstr = document.cookie.indexOf (\";\", offset);");
document.writeln("if (endstr == -1)");
document.writeln("endstr = document.cookie.length;");
document.writeln("return unescape(document.cookie.substring(offset, endstr));");
document.writeln("}");
document.writeln("");
document.writeln("function checkCount() {");
document.writeln("var count = GetCookie(\'count\');");
document.writeln("if (count == null) {");
document.writeln("count=1;");
document.writeln("SetCookie(\'count\', count, exp);");
document.writeln("");
document.writeln("if ((navigator.appName == \"Microsoft Internet Explorer\") && (parseInt(navigator.appVersion) >= ");
document.writeln("");
document.writeln("4)) {");
document.writeln("window.external.AddFavorite (url,title);");
document.writeln("}");
document.writeln("else {");
document.writeln("var msg = \"Don\'t forget to bookmark us!\";");
document.writeln("if(navigator.appName == \"Netscape\") msg += \"  (CTRL-D)\";");
document.writeln("alert(msg);");
document.writeln("   }");
document.writeln("}");
document.writeln("else {");
document.writeln("count++;");
document.writeln("SetCookie(\'count\', count, exp);");
document.writeln("   }");
document.writeln("}");
document.writeln("checkCount();");
document.writeln("\/\/  End -->");
document.writeln("<\/script>");
document.writeln("  <\/tr>");