<!--
Get_Cookie("security");

function Get_Cookie(name) {
    var start = document.cookie.indexOf(name+"=");
    var len = start+name.length+1;
    if ((!start) && (name != document.cookie.substring(0,name.length))) 
	{
	register();
	return;
	}
    if (start == -1) 
	{
	register();
	return;
	}
    var end = document.cookie.indexOf(";",len);
    if (end == -1) end = document.cookie.length;
    check(unescape(document.cookie.substring(len,end)));
    //return unescape(document.cookie.substring(len,end));
}

function register()
{
	document.write ('<span class = "header"><font color="maroon">Not logged in</font></span><br>');
	document.write ("<span class='intLinks'>Please click <a href='/cgi-local/login.pl'>here</a> to login or register");
	document.write("</span><br>");

}

function check(stri)
{
	document.write('<span class="header"><font color="maroon">');
		
	var name = stri;
	document.write("Welcome, ");
	document.write(name);
	document.write("</font></span><br>");
	document.write ("<span class='intLinks'>If this is not you, please click");
	document.write(' <a href="/cgi-local/login.pl">here.</a>');
	document.write("</span><br>");
}

//function check(stri)
//{
//	document.write('<span class="header"><font color="maroon">');
//		
//	var name = stri;
//	document.write("&nbsp;&nbsp;Welcome, ");
//	document.write(name);
//	document.write("</font></span><br>");
//	document.write ("<span class='intLinks'>&nbsp;&nbsp;&nbsp;If this is not you, please &nbsp;&nbsp;&nbsp;click");
//	document.write(' <a href="/cgi-local/login.pl">here.</a>');
//	document.write("</span><br>");
//}


// ->



