function get_cookie(cookie_name)
{
  var results = document.cookie.match ( '(^|;) ?' + cookie_name + '=([^;]*)(;|$)' );

  if (results)
    return (unescape (results[2]));
  else
    return null;
}

function CreateAddress(Server, Login)
{
  document.write('<a href=' + '"mai' + 'lto:' + Login + '@' + Server + '">' + Login + '"at"' + Server + '<\/a>');
}

function CreateSplitAddress(Server, Login)
{
  document.write('<a href=' + '"mai' + 'lto:' + Login + '@' + Server + '">' + Login + '"at"<br>' + Server + '<\/a>');
}

document.write("<script language=JavaScript src=\"/menu_array.js\" type=text/javascript></script>");
document.write("<script language=JavaScript src=\"/mmenu.js\" type=text/javascript></script>");
document.write("<img src=\"/images/ataweb-header.gif\" width=\"100%\" height=\"148\" border=\"0\">");
document.write("<div id=\"Layer1\" style=\"position:absolute; width:200px; height:115px; z-index:1; left: 6px; top: 4px;\">");
document.write("<a href=\"/\">");
document.write("<img src=\"/images/AZNST.gif\" width=\"155\" height=\"120\" border=\"0\" title=\"Home\"></a></div>");
document.write("<div id=\"Layer2\" style=\"position:absolute; width:200px; height:115px; z-index:1; right: 140px; top: 20px;\">");
document.write("<img src=\"/images/header_ATA_logo.gif\" width=\"334\" height=\"77\" border=\"0\"></div>");

//var x = get_cookie ( "login" );
//if ( x)
//{
//  document.write("<div id=\"Layer3\" style=\"position:absolute; color:white; font-size:12px; z-index:1; right:50px; top:128px;\">");
//  document.write("Logged In</div>");
//}
//else
//{
//  document.write("<div id=\"Layer3\" style=\"position:absolute; color:white; font-size:12px; z-index:1; right:50px; top:128px;\">");
//  document.write("Not Logged In</div>");
//}
