document.writeln("<style>");
document.writeln("");
document.writeln("<!--");
document.writeln("\/*top*\/");
document.writeln("");

document.writeln(".clearit{clear:both;height:0px;overflow:hidden;font-size:0px;}");

document.writeln("#banner_wai{width:100%;top:0;left:0;height:26px;background:#f1f1f3;border-bottom:1px solid #727272;border-top:1px solid #fff;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("#banner{width:940px;text-align:left;margin:0 auto;padding-top:2px;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("#banner a {color:#3566a9; text-decoration:none;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("#banner a:hover {color:#3566a9; text-decoration:none;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("#banner a:visited {color:#3566a9; text-decoration:none;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("#banner .inputk{width:100px;border:1px solid #ccc;}");
document.writeln("");
document.writeln("#banner .loged{width:115px;position:relative;padding:0 5px;}");
document.writeln("#banner .loged h3{padding:0 0 0 5px;margin:0;font-size:12px;font-weight:normal;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("#banner .loged img{padding-left:5px;vertical-align:middle;padding-top:3px; cursor:pointer;}");
document.writeln("#banner .loged_open{width:113px;padding:5px;position:absolute;border:solid #d1d1d1;border-width:0 1px 1px;background:#fff;top:-6px;left:0;}");
document.writeln("#banner .loged_open h4{padding:0 0 0 5px;margin:0;font-size:12px;font-weight:normal;border-bottom:1px solid #d9d9d9;padding-bottom:7px;}");
document.writeln("#banner .loged_open img{padding-left:5px; vertical-align:middle;padding-top:3px; cursor:pointer;}");
document.writeln("#banner .loged_open .mess{line-height:23px;color:#3566ab;padding:4px;}");
document.writeln("#banner .tslink a{ background:url(http:\/\/image2.mop.com\/mop\/index2009\/images\/c.gif) no-repeat 0 5px;padding:0 12px 0 7px;}");
document.writeln("*+html #banner .tslink a{ background:url(http:\/\/image2.mop.com\/mop\/index2009\/images\/c.gif) no-repeat 0 4px;}");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("");
document.writeln("#nav{width:960px;margin:0 auto;height:45px;}");
document.writeln("#nav .logo{float:left;width:102px;margin-top:2px;padding:0 10px;}");
document.writeln("#nav .line{width:9px; height:32px;float:left;margin-top:11px;border-right:1px solid #ccc;}");
document.writeln("#nav .nav_title{float:left;padding-left:20px;overflow:hidden;width:150px;}");
document.writeln("#nav .nav_title .divw_up{width:140px;padding-top:9px;}");
document.writeln("#nav .nav_title .divw{width:140px;padding-top:7px;}");
document.writeln("#nav .nav_title b a{padding:0 13px 0 0;color:#000; text-decoration:none;font-family: \"Tahoma\", \"宋体\";line-height:15px;}");
document.writeln("#nav .nav_title b a:hover{padding:0 13px 0 0;color:#000; text-decoration:none;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("#nav .nav_title b a:visited{padding:0 13px 0 0;color:#000; text-decoration:none;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("#nav .nav_title a{ display:inline;padding:0 13px 0 0;float:left;color:#3566a9; text-decoration:none;font-family: \"Tahoma\", \"宋体\";line-height:15px;}");
document.writeln("#nav .nav_title a:hover{ display:inline;padding:0 13px 0 0;float:left;color:#3566a9; text-decoration:none;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("#nav .nav_title a:visited{ display:inline;padding:0 13px 0 0;float:left;color:#3566a9; text-decoration:none;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("#nav .nav_title a.last{ display:inline;padding:0 0px 0 0;float:left;color:#3566a9; text-decoration:none;font-family: \"Tahoma\", \"宋体\";line-height:15px;}");
document.writeln("#nav .nav_title a.last:hover{ display:inline;padding:0 0px 0 0;float:left;color:#3566a9; text-decoration:none;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("#nav .nav_title a.last:visited{ display:inline;padding:0 0px 0 0;float:left;color:#3566a9; text-decoration:none;font-family: \"Tahoma\", \"宋体\";}");
document.writeln("-->");
document.writeln("<\/style>");



var logged = false;
var userName = '';
	var mopMail = '';
	var mp = '';
	var mm = '';
	var stats = '';
	var luck = '';
	var strIp = '';
	var loginTimes = '';
	
	var status = '';
if(checkCookie()) {
	logged = true;
	
	status = status.replace('?','O').replace('?','O').replace('?','O');
	try{
	var stat = status.split("|");
		userName = stat[0];
		mopMail = stat[1];
		mp = stat[2];
		mm = stat[3];
		stats = stat[4];
		luck = stat[5];
		strIp = stat[6];
		loginTimes = stat[7];
	}catch(e){
	}
	
}

if(!logged && checkAutoCookie()){
	window.location='http://passport.mop.com/AutoLogin?url=' + document.location.href;
}

var iOk = false;
if(typeof(Hi_USER) != 'undefined') {
	iOk = true;
}	

document.writeln("<form name=login onSubmit=\"document.charset=\'gb2312\'; return CheckForm();\" accept-charset=\"gb2312\" action=\"http:\/\/passport.mop.com\/Login?url="+document.location.href+"\" method=\"post\">");

function subStr(str,length){
	var a=str.match(/[^\x00-\xff]|\w{1,2}/g);
	return a.length<length?str:a.slice(0,length).join("")+"..";
}
	
	
if(logged) {
	
	//处理一下用户名，如果超长，就截掉
	var name_display = subStr(userName, 6);
	
	document.writeln("<div id=\"banner_wai\" style=\"display:block;\">");
	document.writeln("	<div id=\"banner\" style=\"padding-top:2px;\">");
	document.writeln("   	  <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
	document.writeln("      	<tr>");
	if(iOk) {
		document.writeln("        	<td width=\"26\"><img height='22' width='22' src=\""+Hi_USER.headUrl+"\" \/><\/td>");
	}
	document.writeln("          	<td width=\"135\">");

	var jscode = "";
	if(iOk) {
		jscode = "onmouseover=\"document.getElementById('mess_id').style.display='block'; \" onmouseout=\"document.getElementById('mess_id').style.display='none';\"";
	}


	document.writeln("           		<div class=\"loged\" "+jscode+"><h3><a href=\"http://hi.mop.com/\">"+ name_display +"<\/a><img src=\"http:\/\/image2.mop.com\/mop\/index2009\/images\/open.gif\" \/><\/h3>");
	document.writeln("                		<div class=\"loged_open\" id=\"mess_id\" style=\"display:none\">");
	document.writeln("                    	<h4><a href=\"http://hi.mop.com/\">"+ name_display +"<\/a><img src=\"http:\/\/image2.mop.com\/mop\/index2009\/images\/close.gif\" \/><\/h4>");
	document.writeln("                        <div class=\"mess\">");
	if(iOk) {
		document.writeln("                        <a href=\"http://hi.mop.com/getgossiplist.do?id="+id+"&age=recent\" target='_blank'><b>"+ Hi_USER.replyCount +"<\/b> 条未读留言<\/a><br \/>");
		document.writeln("                        <a href=\"http://friend.hi.mop.com/GetGuestRequest.do\" target='_blank'><b>"+ Hi_USER.friendCount +"<\/b> 好友申请<\/a><br \/>");
		document.writeln("              <a href=\"http://msg.hi.mop.com/notify/notifications.do\" target='_blank'><b>"+ Hi_USER.notify +"<\/b> 个通知<\/a>");
	}
	document.writeln("						<\/div>");
	document.writeln("                    <\/div>");
	document.writeln("                <\/div> ");
	document.writeln("            <\/td>");
	document.writeln("            <td width=\"270\">登录：" + loginTimes + " | MP：" + mp + " <a href=\"http://passport.mop.com/Logout?backUrl="+document.location.href+"\"><img src=\"http:\/\/image2.mop.com\/mop\/index2009\/images\/icon_18.gif\" style=\"vertical-align:middle;\" \/><\/a><\/td>");
	//document.writeln("            <td><\/td>");
	document.writeln("  	    	<td>&nbsp;<\/td>");
	document.writeln("            <td width=\"235\" class=\"tslink\"><a href=\"http:\/\/www.mop.com\/\">首页<\/a><a href=\"http:\/\/dzh.mop.com\/\">大杂烩<\/a><a href=\"http:\/\/hi.mop.com\/\">MOP HI<\/a><a href=\"http:\/\/tt.mop.com\/\">贴贴<\/a><a href=\"http:\/\/m.mop.com\/\" style=\"padding-right:0px;\">爱听<\/a><\/td>");
	document.writeln("      <\/tr>");
	document.writeln("    <\/table>");
	document.writeln("	<\/div>");
	document.writeln("<\/div>");
} else {
	document.writeln("<div id=\"banner_wai\">");
	document.writeln("	<div id=\"banner\">");
	document.writeln("   	  <table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
	document.writeln("      	<tr>");
	document.writeln("        	<td width=\"72\">猫扑通行证：<\/td>");
	document.writeln("       	  <td width=\"70\"><select name=\"select\" id=\"select\" class=\"vmiddle\"><option>昵称<\/option><\/select><\/td>");
	document.writeln("          <td width=\"110\"><input type=\"text\" name=\"user_name\" id=\"textfield\" class=\"inputk\" \/><\/td>");
	document.writeln("            <td width=\"40\">密码：<\/td>");
	document.writeln("          <td width=\"110\"><input type=\"password\" name=\"password\" id=\"textfield2\" class=\"inputk\" \/><\/td>");
	document.writeln("          <td width=\"20\"><input type=\"checkbox\"  name=\"auto_login\" value=\"1\" id=\"checkbox\"  class=\"vmiddle\"\/><\/td>");
	document.writeln("            <td width=\"55\"><div style=\"padding-top:2px;\">自动登录<\/div><\/td>");
	document.writeln("          	<td><input type=\"image\" src=\"http:\/\/image2.mop.com\/mop\/index2009\/images\/icon_00.gif\" class=\"vmiddle\"\/> <a href='http://passport.mop.com/sign/login_1.jsp'><img src=\"http:\/\/image2.mop.com\/mop\/index2009\/images\/icon_01.gif\"  class=\"vmiddle\" \/></a><\/td>");
	document.writeln("            <td><\/td>");
	document.writeln("            <td width=\"235\" class=\"tslink\"><a href=\"http:\/\/www.mop.com\/\">首页<\/a><a href=\"http:\/\/dzh.mop.com\/\">大杂烩<\/a><a href=\"http:\/\/hi.mop.com\/\">MOP HI<\/a><a href=\"http:\/\/tt.mop.com\/\">贴贴<\/a><a href=\"http:\/\/m.mop.com\/\" style=\"padding-right:0px;\">爱听<\/a><\/td>");
	document.writeln("      <\/tr>");
	document.writeln("    <\/table>");
	document.writeln("	<\/div>");
	document.writeln("<\/div>");
}
document.writeln("<\/form>");





document.writeln("");
document.writeln("<div class=\"blank4\"><\/div>");
document.writeln("");
document.writeln("<!--导航开始-->");
document.writeln("<div id=\"nav\">");
document.writeln("	<div class=\"logo\"><a href='http://www.mop.com/' target='_blank'><img src=\"http://image2.mop.com/mop/index2009/images/logo.jpg\" \/></a><\/div>");
document.writeln("	<div class=\"nav_title\" >");
document.writeln("		<div class=\"divw_up\"><b><a href=\"http:\/\/news.mop.com\/\" target=\"_blank\">新闻<\/a><\/b><a href=\"http:\/\/society.news.mop.com\/\" target=\"_blank\">社会<\/a> <a href=\"http:\/\/pic.news.mop.com\/\" target=\"_blank\">图片<\/a> <a href=\"http:\/\/news.mop.com\/pic\/hz\/index.shtml\" class=\"last\" target=\"_blank\" class=\"last\">评论<\/a><\/div>");
document.writeln("        <div class=\"clearit\"><\/div>");
document.writeln("        <div class=\"divw\"><b><a href=\"http:\/\/sports.mop.com\/\" target=\"_blank\">体育<\/a><\/b><a href=\"http:\/\/sports.mop.com/nba\/\" style=\"*+ line-height:12px;\" target=\"_blank\" style=\"*+ line-height:12px;\">NBA<\/a> <a href=\"http:\/\/bet.sports.mop.com\/\" target=\"_blank\">竞猜<\/a> <a href=\"http:\/\/sports.mop.com\/nba\/yao\/\" class=\"last\" target=\"_blank\" class=\"last\">姚明<\/a>	<\/div>");
document.writeln("    <\/div>");
document.writeln("	<div class=\"line\"><\/div>");
document.writeln("    <div class=\"nav_title\">");
document.writeln("   		<div class=\"divw_up\"><b><a href=\"http:\/\/ent.mop.com\/\" target=\"_blank\">娱乐<\/a><\/b><a href=\"http:\/\/star.ent.mop.com\/\" target=\"_blank\">明星<\/a> <a href=\"http:\/\/movie.ent.mop.com\/\" target=\"_blank\">电影<\/a> <a href=\"http:\/\/music.mop.com\/\" class=\"last\" target=\"_blank\">音乐<\/a><\/div>");
document.writeln("        <div class=\"clearit\"><\/div>");
document.writeln("    	<div class=\"divw\"><b><a href=\"http:\/\/auto.mop.com\/\" target=\"_blank\">汽车<\/a><\/b><a href=\"http:\/\/auto.mop.com\/gouche\/\" target=\"_blank\">导购<\/a> <a href=\"http:\/\/auto.mop.com\/tryDrive\/\" target=\"_blank\">试车 <\/a> <a href=\"http:\/\/auto.mop.com\/culture\/\" class=\"last\" target=\"_blank\">文化<\/a><\/div>");
//document.writeln("    	<div class=\"divw\"><b><a href=\"http:\/\/auto.mop.com\/\" target=\"_blank\">汽车<\/a><\/b><a href=\"http:\/\/data.auto.mop.com\/\" target=\"_blank\">车型<\/a> <a href=\"http:\/\/k.auto.mop.com\/\" target=\"_blank\">看车<\/a> <a href=\"http:\/\/auto.mop.com\/gouche\/\" class=\"last\" target=\"_blank\">导购<\/a><\/div>");
document.writeln("    <\/div>");
document.writeln("    <div class=\"line\"><\/div>");
document.writeln("    <div class=\"nav_title\">");
document.writeln("   		<div class=\"divw_up\"><b><a href=\"http:\/\/game.mop.com\" target=\"_blank\">游戏<\/a><\/b><a href=\"http:\/\/www.wowar.com\" target=\"_blank\">魔兽<\/a> <a href=\"http:\/\/dm.game.mop.com\" target=\"_blank\">漫画<\/a> <a href=\"http:\/\/bbs.game.mop.com\" class=\"last\" target=\"_blank\">论坛<\/a><\/div>");
document.writeln("        <div class=\"clearit\"><\/div>");
document.writeln("    	<div class=\"divw\"><b><a href=\"http:\/\/fashion.mop.com\/\" target=\"_blank\">时尚<\/a><\/b><a href=\"http:\/\/in.mop.com\/\" target=\"_blank\">潮流<\/a> <a href=\"http:\/\/man.mop.com\/\" target=\"_blank\">型男<\/a> <a href=\"http:\/\/shoes.mop.com\/\" class=\"last\" target=\"_blank\">爱鞋<\/a><\/div>");
document.writeln("    <\/div>");
document.writeln("    <div class=\"line\"><\/div>");
document.writeln("    <div class=\"nav_title\" style=\"width:75px;\">");
document.writeln("   		<div class=\"divw_up\" style=\"width:65px;\"><b><a href=\"http:\/\/lady.mop.com\/\" target=\"_blank\">女性<\/a><\/b><a href=\"http:\/\/baby.mop.com\/\" class=\"last\" target=\"_blank\">母婴<\/a><\/div>");
document.writeln("        <div class=\"clearit\"><\/div>");
document.writeln("    	<div class=\"divw\" style=\"width:65px;\"><b><a href=\"http:\/\/tech.mop.com\/\" target=\"_blank\">科技<\/a><\/b><a href=\"http:\/\/3glife.mop.com\/\" class=\"last\" target=\"_blank\">3G<\/a><\/div>");
document.writeln("    <\/div>");
document.writeln("    <div class=\"line\"><\/div>");
document.writeln("    <div class=\"nav_title\" style=\"width:165px;\">");
document.writeln("   		<div class=\"divw_up\" style=\"width:165px;\"><b><a href=\"http:\/\/m.mop.com\/\" target=\"_blank\">爱听<\/a><\/b><a href=\"http:\/\/m.mop.com\/charts\" target=\"_blank\">排行榜<\/a> <a href=\"http:\/\/m.mop.com\/recommends?type=rec\" target=\"_blank\">众分享<\/a> <a href=\"http:\/\/m.mop.com\/challenge?opt=start\" class=\"last\" target=\"_blank\">猜歌<\/a><\/div>");
document.writeln("        <div class=\"clearit\"><\/div>");
document.writeln("    	<div class=\"divw\" style=\"width:165px;\"><b><a href=\"http:\/\/dzh.mop.com\/\" target=\"_blank\">社区<\/a><\/b><a href=\"http:\/\/autoclub.mop.com\/\" target=\"_blank\">汽车烩<\/a> <a href=\"http:\/\/dzh2.mop.com\/ladyClub\/indexframe.jsp\" target=\"_blank\">大小姐<\/a> <a href=\"http:\/\/tt.mop.com\/\" class=\"last\" target=\"_blank\">贴贴<\/a><div class=\"clearit\"><\/div><\/div>");
document.writeln("        <div class=\"clearit\"><\/div>");
document.writeln("    <\/div>");
document.writeln("<\/div>");
document.writeln("<!--导航结束-->");

document.writeln("<div class=\"clearit\" style=\"height:8px;\"></div>");