﻿function userCookie(name)
{
    var arg = name + "=";
    var alen = arg.length;
    var clen=document.cookie.length;
    var i=0;

    while(i< clen){
        var j = i+alen;
        if(document.cookie.substring(i,j)==arg) {
            var end = document.cookie.indexOf(";",j);
            if (end == -1) {
                end = document.cookie.length;
            }
            return unescape(document.cookie.substring(j,end));
        }
        i = document.cookie.indexOf(" ",i)+1;
        if (i==0) {
            break;
        }
    }
    return null;
}
document.writeln("<tr>");
document.writeln(" <th height=19 colspan=4 align=left valign=bottom scope=row>  <table border=0 cellspacing=0 cellpadding=0>");
document.writeln(" <tr align=left valign=bottom> ");
document.writeln("<td width=44 scope=col>&nbsp;</td>");
if (userCookie("user") != null){
document.writeln("<td scope=col><a href='http://www.bizbc.net/local/servlet/RequestProcessor?event=Logout.Click'><img src=/images/local/ec/bizbc/util_logout.jpg border=0></td>");
}else{
document.writeln("<td scope=col><a href='http://www.bizbc.net/local/servlet/RequestProcessor?event=Login.Click&nextEvent=MyCompanyProfile.Click&actionName=update'><img src=/images/local/ec/bizbc/util_login.jpg width=36 height=19 border=0></a></td>");
}
document.writeln("<td width=15 scope=col><img src=/images/local/ec/bizbc/util_0.jpg width=25 height=19></td>                    ");
document.writeln("<td scope=col><a href=http://www.bizbc.net/content/howtouse.html><img src=/images/local/ec/bizbc/util_howto.jpg width=64 height=19 border=0></a></td>  ");
document.writeln("<td width=15 scope=col><img src=/images/local/ec/bizbc/util_0.jpg width=25 height=19></td>                    ");
document.writeln("<td scope=col><a href=http://www.bizbc.net/content/guide_sitemap.html><img src=/images/local/ec/bizbc/util_sitemap.jpg width=46 height=19 border=0></a></td>");
document.writeln("</tr>");
document.writeln("</table></th>");
document.writeln("</tr>");

