function LoginHdr()
{ var allcookies = document.cookie;
  var lpos = allcookies.indexOf("Login=");
  var upos = allcookies.indexOf('User="');
  if (lpos == -1 || upos == -1)
  { document.write('<img src="/img/1clear.gif" width="1" height="25" border="0"><br />');
    document.write('<a href="https://study.landro.com/ex/ssui.dll/signup">Sign Up</a> | ');
	document.write('<a href="https://study.landro.com/ex/ssui.dll/login">Log In</a>');
  } else
  { var end = allcookies.indexOf('";', upos);
    if (end == -1)
	  end = allcookies.length-1;
	document.write('<img src="/img/1clear.gif" width="1" height="17" border="0"><br />');
    document.write('<strong>');
	document.write(allcookies.substring(upos+6, end));
	document.write('</strong><br /><a href="http://study.landro.com/ex/ssui.dll/upload">Upload</a> | ');
	document.write('<a href="https://study.landro.com/ex/ssui.dll/account">Account</a> | ');
	document.write('<a href="http://study.landro.com/ex/ssui.dll/logout">Log Out</a>');
  }
}
function helpWin(url)
{ window.open(url, "helpwin", "width=400,height=300,resizable=yes");
}
