document.writeln("<table width=\"990\"  height=\"27\" border=\"0\" align=\"center\"  bgcolor=\"#FFFFFF\" cellpadding=\"0\" cellspacing=\"0\" class=\"hui_12\" style=\"background:url(/templets/ielady/img/top_bj2[1].gif) top left no-repeat;\"");
document.writeln("  <tr>");
//为统一登陆 开始
var username=RequestCookies("username","__");
username = URLdecode(username);
if(username =="" || username ==undefined || username=="__")
{
document.writeln("<form name='form1' method='POST' action='/member/index_do.php'><input type=\"hidden\" name=\"fmdo\" value=\"login\"><input type=\"hidden\" name=\"dopost\" value=\"login\"><input type=\"hidden\" name=\"keeptime\" value=\"604800\">");

document.writeln("<td width=\"733\" height=\"27\" valign=\"top\"  style=\"padding-top:8px;\" >&nbsp;");
document.writeln("<span class=\"hui_12\">让我们一起来美吧。</span>");
document.writeln("&nbsp;&nbsp;<a href=\"/member/index_do.php\" target=\"_blank\" class=\"hui_f1\">登陆<\/a>&nbsp;&nbsp;或者&nbsp;&nbsp;<a href=\"/member/index_do.php?fmdo=user&dopost=regnew\" target=\"_blank\" class=\"hui_f1\">注册<\/a>&nbsp;&nbsp;<a href=\"/member/resetpassword.php\" target=\"_blank\" class=\"hui_b1\">忘记密码<\/a><\/td></from>");
}
else
	document.writeln("<td width=\"733\" height=\"3\">&nbsp;<span class=\"hui_12\">"+username+"您好！欢迎登录，让我们一起来美吧:::&nbsp;&nbsp;&nbsp;<a href=\"/member\/\"><span class=\"hui_12\">会员中心</span></a>&nbsp;&nbsp;&nbsp;<a href=\"http://www.laimeiba.com/member/index_do.php?fmdo=login&dopost=exit\"><span class=\"hui_12\">安全退出</span></a><\/span><\/td>")
//为统一登陆 结束


document.writeln("    <td width=\"217\" align=\"center\"height=\"27\" valign=\"top\"  style=\"padding-top:4px;\"><img src=\"http://www.laimeiba.com/image/icon_home.gif\"> <a href=\"#\" class=\"hong_n1\"onclick=\"this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http:\/\/http://www.laimeiba.com\')\">设为首页<\/a>&nbsp;&nbsp;<img src=\"http://www.laimeiba.com/image/icon_favorites.gif\"> <a href=\"javascript:window.external.addFavorite(\'http:\/\/www.laimeiba.com\',\'来美吧\')\" class=\"hong_n1\">加为收藏<\/a>&nbsp;<img src=\"http://www.laimeiba.com/image/titile_icon_02.gif\"> <a href=\"http:\/\/www.laimeiba.com\" class=\"hong_n1\">返回首页<\/a><\/td>");
document.writeln("  <\/tr>");
document.writeln("<\/table>");


function RequestCookies(cookieName, dfltValue)
{
    var lowerCookieName = cookieName.toLowerCase();
    var cookieStr = document.cookie;
    
    if (cookieStr == "")
    {
        return dfltValue;
    }
    
    var cookieArr = cookieStr.split("; ");
    var pos = -1;
    for (var i=0; i<cookieArr.length; i++)
    {
        pos = cookieArr[i].indexOf("=");
        if (pos > 0)
        {
            if (cookieArr[i].substring(0, pos).toLowerCase() == lowerCookieName)
            {
                return cookieArr[i].substring(pos+1, cookieArr[i].length);
              //  return decodeURI(cookieArr[i].substring(pos+1, cookieArr[i].length));
            }
        }
    }
    
    return dfltValue;
}
function URLdecode(str) {
        var ret = "";
        for(var i=0;i<str.length;i++) {
                var chr = str.charAt(i);
                if(chr == "+") {
                        ret += " ";
                }else if(chr=="%") {
                        var asc = str.substring(i+1,i+3);
                        if(parseInt("0x"+asc)>0x7f) {
                                ret += decodeURI("%"+ str.substring(i+1,i+9));
                                i += 8;
                        }else {
                                ret += String.fromCharCode(parseInt("0x"+asc));
                                i += 2;
                        }
                }else {
                        ret += chr;
                }
        }
        return ret;
}

document.writeln("<\/form>")

document.writeln("<div class='logoinfonav'>")
document.writeln("<div class='logo'>")
document.writeln("<h1><span class='logoBlk'><a href='http://www.laimeiba.com'><img src='http://www.laimeiba.com/image/infologo.jpg' alt='来美吧' /></a></span></h1>")
document.writeln("</div>")
document.writeln("<div class='weather'> <span class='weatherBlk'>")
document.writeln("</span>")
document.writeln("</div>")
document.writeln("<div class='infonav'>")
document.writeln("<div align='center'>");
document.writeln("   <a href='http://www.laimeiba.com/huazhuangba/' target='_blank'>");
document.writeln("      <img src='http://www.laimeiba.com/ggadjs/img/800-80.gif' border='0' />");
document.writeln("   </a>");
document.writeln("</div>");
document.writeln("</div>")
document.writeln("</div>")
document.writeln("</DIV>")
document.writeln("</DIV>")
document.writeln("<DIV></DIV>")
