You should remove the spaces you have between your functions calls:
new Date ();
return GetCookieVal (j);
You also have some mis-matched HTML tags and you can't use size="38,1" AFAIK (unless it's allowed with certain character encodings(?)).
[I haven't looked at your cookie code.]