document.write('<table width="450" border="0" cellspacing="0" cellpadding="0" align="center" bgcolor="#FFA611">');
document.write('<tr>');
document.write('<form method="POST" action="" id="login" name="login" target="_blank">');
document.write('<input type="hidden" name="formhash" value="3bd8bc0a">');
document.write('<input type="hidden" name="referer" value="discuz.php">');
document.write('<input type="hidden" name="loginmode" value="">');
document.write('<input type="hidden" name="styleid" value="">');
document.write('<input type="hidden" name="cookietime" value="2592000">');
document.write('<input type="hidden" name="loginfield" value="username">');
document.write('<input type="hidden" name="questionid" value="0">');
document.write('<input type="hidden" name="uid" value="">');
document.write('<input type="hidden" name="answer" value="">');
document.write('<input type="hidden" name="loginsubmit" value="提 &nbsp; 交">');
document.write('<td height="26" width="400" align="center" class="white"><p>');
document.write('<select name="DomainName" style="font:9pt">');
document.write('<option selected>选择您目标</option>');
document.write('<option value="bbs">中国星空论坛</option>');
document.write('<option value="blog">中国星空博客</option>');
document.write('</select>');
document.write('<SPAN class=STYLE7>&nbsp;用户：</SPAN>');
document.write('<input type="text" name="username" maxlength="64" size="8" class="s01">');
document.write('<SPAN class=STYLE7>&nbsp;密码：</SPAN>');
document.write('<input type="password" name="password" maxlength="64" size="8" class="s01">');
document.write('<input type="button" value="登录" class="b02" name="submit22" onclick="sub001()">');
document.write('</p></td>');
document.write('</form>');

document.write('</tr>');
document.write('</table>');

  

function sub001(){
	if (document.forms["login"].DomainName.value==""){
		alert("请选择登录的目标！")
	}else if(document.forms["login"].DomainName.value=="bbs"){
		document.forms["login"].action="http://bbs.happy369.com/logging.php?action=login&";
		document.forms["login"].acceptCharset="utf-8";
		document.forms["login"].submit();
	}else{
		document.forms["login"].action="http://blog.happy369.com/login.asp?fromurl=";
		document.forms["login"].acceptCharset="gb2312";
		document.forms["login"].submit();
	}
	
}

