var dtstr = ' 早上好,<a href="/wedweb/memberintro.php"><img src="/images/vip.gif" alt="水晶会员" /></a><b></b><br />欢迎光临相爱一生网';var logined = false;
var opg = false;
function IsLogined()
{
	var html = dtstr+"<br /><div class='cClear'>&nbsp;</div>\r\n";
	html = html+"<style>.loginbg{background-image: url(/images/200707/login_bg.gif);background-repeat: no-repeat;margin: 3px 3px;height: 100px;width: 202px;;}</style>";
	html = html+"<div class='loginbg'>";
	html = html+"<div style='padding:5px 15px;font-weight:bold;text-align:left;color:#333333;'>管理我的服务：</div>";
	html = html+"<div style='padding:3px 15px;text-align:center;'><a href='/member/userinfo.php'><img src='/images/200707/login_account.gif' /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href='/member/balanceadd.php'><img src='/images/200707/login_balance.gif' width='68' height='22' /></a></div>";
	html = html+"<div style='padding:3px 15px;text-align:center;'><a href='http://my.loven9.com/index.do'><img src='/images/200707/login_webweb.gif' /></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href='http://my.loven9.com/index.do'><img src='/images/200707/login_invitation.gif' width='68' height='22' /></a></div>";
	html = html+"</div>";
	html = html + "<div>\r\n<a href='http://passport.loven9.com/index.do?action=quit&forward=http://www.loven9.com/'><img src='/images/200707/logout.gif' /></a></div>";
	if(logined){
		$JQry("#ologin").html(html);
	}else{
		if(opg)
		{
			$JQry("#ologin").html("<img src='/images/loven9/wedweb/list_icon.gif' />&nbsp;<a href='http://passport.loven9.com/index.do?action=login'>会员登录</a><br /><img src='/images/loven9/wedweb/list_icon.gif' />&nbsp;<a href='http://passport.loven9.com/index.do?action=reg'>会员注册</a>");
		}
	}
}