function reg_form(){
	var ym = document.domain;
	var html = '<style>.fanchenmi{width:450px; background:#FCF5E9;border:2px solid #B07103;position:absolute;top:45%;left:35%;margin-top:-130px;z-index:201102}';
	html += '.fcm_top{background:url(http://ad.8090yxs.com/images/reg_common.png) -20px 0 no-repeat;height:42px;border-bottom:1px solid #B07103;text-indent:-1000px;overflow:hidden;}';
	html += '.fcm_table{width:430px;margin:0 auto;padding:10px;text-align:left;}';
	html += '.fcm_listname{font-size:14px;text-align:right;padding-right:2px;color:#000;}';
	html += '.fcm_input{width:150px;vertical-align:middle;}';
html += '.fcm_but{background:url(http://ad.8090yxs.com/images/reg_common.png) 0 -48px no-repeat;width:80px;height:28px;border:0;cursor:pointer;}';
	html += '.fcm_tie{width:500px;margin:auto;border-top:1px dashed #999;padding:8px;line-height:18px;color:#333;}';
	html += '#bg{width:100%;height:100%;top:0px;left:0px;position:absolute;filter: Alpha(opacity=60);opacity:0.6;background:#000; display:none;z-index:201101;}';
	html += '.fcm_tie span{color:#f30;}';
	html += '.msgx{background:url(http://ad.8090yxs.com/images/paytishi.png) no-repeat;height:22px; line-height:22px;font-size:12px; color:#000; position:absolute; padding-left:22px;}';
        html += '.msgA{ background-position:0px -26px;}';
        html += '.msgB{ background-position:0px -68px;}';
        html += '.msgC{ background-position:0px -111px;}';
        html += '.msgD{ background-position:0px -153px;}';
        html += '.msgE{ background-position:0px 3px;}';
	html += '.lo_code_reg{top:255px; left:40px;}</style>';
	html += '<div id="bg"></div>';
	html += '<div class="fanchenmi">';
	html += '<div class="fcm_top">8090账号注册</div>';
	html += '<div class="fcm_table">';
	html += '<form name="form2" id="regUser" action="http://www.8090yxs.com/member/reg_new.php" method="post"><input type="hidden" value="regbase" name="dopost"/>       <input type="hidden" value="1" name="step"/>       <input type="hidden" value="个人" name="mtype"/><input type="hidden" name="pyx_url" id="pyx_url" value="'+ym+'">';
	html += '<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">';
	html += '<tr>';
	html += '<td width="80" height="34" class="fcm_listname">用户名：</td>';
	html += '<td><input name="userid" type="text" id="username" class="fcm_input" onkeyup="this.value=this.value.toLocaleLowerCase()" onblur="javascript:checkuser();" />&nbsp;&nbsp;<span id="userinfo" class="msgx msgE">由字母、数字和下划线"_"组成</span></td>';
	html += '</tr>';
	
	html += '<tr>';
	html += '<td class="fcm_listname"></td>';
	html += '<td><span id=""></span></td>';
	html += '</tr>';
	
	html += '<tr>';
	html += '<td width="80" height="34" class="fcm_listname">密　码：</td>';
	html += '<td><input  name="userpwd" type="password" id="pwd" class="fcm_input" onblur="javascript:checkpwd();" />&nbsp;&nbsp;<span id="pwdinfo" class="msgx msgE">由字母,数字,下划线组成</span></td>';
	html += '</tr>';
	
	html += '<tr>';
	html += '<td class="fcm_listname"></td>';
	html += '<td><span id=""></span></td>';
	html += '</tr>';
	
	html += '<tr>';
	html += '<td width="80" height="34" class="fcm_listname">确认密码：</td>';
	html += '<td><input type="password" name="userpwdok" id="rpwd" class="fcm_input" onblur="javascript:checkrpwd();" />&nbsp;&nbsp;<span id="rpwdinfo"  class="msgx msgE"></span></td>';
	html += '</tr>';
	
	html += '<tr>';
	html += '<td class="fcm_listname"></td>';
	html += '<td><span id=""></span></td>';
	html += '</tr>';
	
	html += '<tr>';
	html += '<td width="80" height="34" class="fcm_listname">Email：</td>';
	html += '<td><input type="text" name="email"  id="email" class="fcm_input" onblur="javascript:checkemail();" />&nbsp;&nbsp;<span id="emailinfo" class="msgx msgE">请输入您的邮箱,利于找回密码</span></td>';
	html += '</tr>';
	
	html += '<tr>';
	html += '<td class="fcm_listname"></td>';
	html += '<td><span id=""></span></td>';
	html += '</tr>';


	html += "<tr><td height='42'>&nbsp;</td><td><input type='submit' value='' class='fcm_but' /></td></tr>";
	html += '</table>';
	html += '</form>';
	html += "<a style='position:absolute; width:19px; height:17px; display:block; right:10px; top:10px;cursor:pointer; background:url(http://ad.8090yxs.com/images/reg_close.gif);' onclick=\"$('#bg').remove();$('.fanchenmi').remove();\"></a>";
	html += '</div>';

	html += '</div>';

	$("body").append(html);
	document.getElementById("bg").style.display="block";
}
