function ClaUser(returnUrl){
	if(returnUrl==undefined){
		returnUrl = encodeURIComponent(parent.location.href)+'#pl';
	}else{
		returnUrl = encodeURIComponent(returnUrl);	
	}
	
	this.login_box_str = '<form action="http://sns.tiao-tiao.com/index.php?s=/Index/doLogin/" method="post" onsubmit="return chkLogin(this)"><table width="360" border="0" cellspacing="0" cellpadding="0">\
          <tr>\
             <td width="125">&nbsp;</td>\
             <td height="35" align="center" valign="bottom">跳跳网友情提示，请您先登录！</td>\
          </tr>\
          <tr>\
             <td height="48" align="right" valign="bottom">用户名：</td>\
             <td align="left" valign="bottom"><input name="email" type="text" class="dlk_bd" /></td>\
          </tr>\
          <tr>\
             <td height="42" align="right" valign="bottom">密码：</td>\
             <td align="left" valign="bottom"><input name="passwd" type="password" class="dlk_bd" /></td>\
          </tr>\
          <tr>\
            <td>&nbsp;</td>\
             <td height="34" align="left" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0">\
               <tr>\
                 <td width="29" align="left"><input name="remUsername" id="remUsername" type="checkbox" style="background:none;" /></td>\
                 <td align="left" valign="bottom"><font color="#bbbbbb"><label for="remUsername">记住登录状态</label></font></td>\
                 <td width="70" align="left" valign="bottom"><a href="/member/getPwd.php" target="_blank"><font color="#a00000">忘记密码？</font></a></td>\
               </tr>\
             </table></td>\
          </tr>\
          <tr>\
            <td>&nbsp;</td>\
             <td height="44" align="left" valign="bottom">\
             <table width="100%" border="0" cellspacing="0" cellpadding="0">\
               <tr>\
                 <td align="left"><input type="hidden" name="jumpurl" value="'+returnUrl+'"/>\
				 <input type="image" src="/images/dlk_dl.gif" /></td>\
                 <td align="right"><a href="http://www.tiao-tiao.com/member/register.php" target="_blank"><img src="/images/dlk_zc.gif" width="94" height="22" /></a></td>\
               </tr>\
             </table>\
             </td>\
          </tr>\
          </table></form>';
	
	
	//显示页面用户登陆框,用于评论
	this.click_login_incomment = function(obj){
		if(!document.getElementById('content'))
			return ;
		$(":submit").disabled();	
		obj.onclick = function(){
			tmpO = new ClaUser();
			set_TRAN_BG(tmpO.login_box_str);
		}
	}
	
	
}

