function
delCookie(name)
{
var
exp =
new
Date();
exp.setTime(exp.getTime() - 1);
cval=getCookie(name);
if
(cval!=
null
)
document.cookie= name +
"="
+cval+
";expires="
+exp.toGMTString();
}