﻿
function selectChange(num){
    switch(num){
        case 0:
            $('head_form').action="http://ask.woman91.com/login.aspx?k=1";
            $('head_lostps').href="http://ask.woman91.com/SNSUser/lostpass.aspx";
            $('head_reg').href="http://ask.woman91.com/SNSRegiest/tiaokuan.aspx";
            break;
        case 1:
            $('head_form').action="http://bbs.woman91.com/regiest/login.aspx";
            $('head_lostps').href="http://bbs.woman91.com/forum/lostpass.aspx";
            $('head_reg').href="http://bbs.woman91.com/regiest";
            break;
        case 2:
            $('head_form').action="http://bbs.tobemama.com/login.aspx";
            $('head_lostps').href="http://bbs.tobemama.com/snsuser/lostpass.aspx";
            $('head_reg').href="http://bbs.tobemama.com/SNSRegiest/tiaokuan.aspx";
            break;
        default:
            $('head_form').action="http://ask.woman91.com/login.aspx";
            $('head_lostps').href="http://ask.woman91.com/SNSUser/lostpass.aspx";
            $('head_reg').href="http://ask.woman91.com/regiest";
            break;
    }
}
/*头部共享文件-CSS*/
document.writeln("<style type=\"text/css\"><!--");

/*会员&收藏*/
document.writeln("#head{width:950px;margin:0 auto; padding:0px;height:28px; background:#ffffff;overflow:hidden;}");
document.writeln(".hyq{height:24px;background:#f9f9f9;border-bottom:1px solid #eeeeee;font-size:12px;color:#444444;padding:5px 0 0 15px}");
document.writeln(".hyq dt{display:inline;float:left;line-height:24px;margin:0 3px;}");
document.writeln(".hyq dt input{width:86px;height:18px;border:1px solid #cfcfcf;display:inline;margin-bottom:2px;}");
document.writeln(".hyq dt select{width:86px;height:18px;border:1px solid #cfcfcf;margin-top:1px;padding-top:1px;}");
document.writeln("a.dl:link,a.dl:visited{width:43px;height:20px;color:#858755;font-weight:bold;background:url(http://www.woman91.com/images/dlbg.gif) no-repeat;margin:1px 3px;display:block;display:inline;float:left;padding:0px 0 0 0px;text-align:center;}");
document.writeln("a.dl:hover,a.dl:active{color:#ce7400;}");

document.writeln("a.wjmm:link,a.wjmm:visited{width:67px;height:20px;color:#858755;font-weight:bold;background:url(http://www.woman91.com/images/wjmmbg.gif) no-repeat; margin:1px 3px;display:block;display:inline;float:left;padding:0px 0 0 0px;text-align:center;}");
document.writeln("a.wjmm:hover,a.wjmm:active{color:#ce7400;}");

document.writeln(".hyq dd{float:right;padding-top:4px;padding-right:10px;color:#a5a5a5;}");
document.writeln(".hyq dd a:link,.hyq dd a:visited{padding:0 4px;color:#999999;}");
document.writeln(".hyq dd a:hover,.hyq dd a:active{color:#858755;}");

document.writeln('--></style>');

document.writeln("<div id=\"head\">");
document.writeln("	<dl class=\"hyq\"><form id=\"head_form\" action=\"http:\/\/ask.woman91.com/login.aspx?k=1\" method=\"post\" target=\"_blank\" style=\"margin:0px; padding:0px\">");
document.writeln("		<dt>会员通行证 | ID</dt><dt><input type=\"text\" name=\"Txtuser\" id=\"Txtuser\" /></dt><dt>密码</dt><dt><input name=\"Txtpw\" id=\"Txtpw\" type=\"password\" /></dt><dt><select id=\"loginselect\" onchange=\"selectChange(this.selectedIndex)\"><option>远东问吧</option><option>远东社区</option><option>妈咪宝贝</option></select></dt><dt><input type=\"image\" name=\"登录\" src=\"http:\/\/www.woman91.com/images/200904/dlimg.gif\" style=\"width:43px; height:20px;border:0px;margin-left:5px;margin-top:1px\"/></dt><dt><a id=\"head_lostps\" href=\"http:\/\/ask.woman91.com/SNSUser/lostpass.aspx\" class=\"wjmm\">忘记密码</a><a id=\"head_reg\" href=\"http:\/\/ask.woman91.com/SNSRegiest/tiaokuan.aspx\" class=\"dl\">注册</a></dt><dt class=\"l\"></dt></form>");
document.writeln("<dd><a onclick=\"this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'"+top.location.href+"\');return false;\" href=\"javascript:;\" target=\"_self\">设为首页<\/a>|<a href='http://www.woman91.com/ditu/' style='margin-left:2px'>医院地图</a>| <a style=\"CURSOR: hand\" onClick=\"window.external.addFavorite(\'Http://www.woman91.com\',\'深圳远东妇儿医院\')\" >加入收藏</a></dd>");
document.writeln("	</dl>");
document.writeln("</div>");
