var indexpage = 0;
function setastrologin() {
	var Points = getCookie( "POINTS" ) ;
	var idContent = getCookie( "IDENTITY" );
	/*
	if( idContent == "0" )
	{
		idContent = "VIP套餐用户";
	}else if( idContent == "1" )
	{
		idContent = "影视套餐用户";
	}else if( idContent == "2" )
	{
		idContent = "娱乐套餐用户";
	}else if( idContent == "3" )
	{
		idContent = "套餐用户";
	}else if( idContent == "4" )
    {
        idContent = "摘星套餐用户";
    }else if( idContent == "5" )
    {
        idContent = "TVB套餐用户";
    }else if( idContent == "6" )
    {
        idContent = "北京宽带特区1M用户";
    }else if( idContent == "7" )
    {
        idContent = "社区VIP用户";
    }else if( idContent == "8" )
    {
        idContent = "紫微套餐用户";
    }else{
		idContent = "免费用户";
	}
	*/
	var astrologin = '';
	if( !checkLogin() )
	{
		if( indexpage == 0 )
		{
			astrologin += '<table width=163 border=0 cellpadding=0 cellspacing=0 background=http://astro.women.sohu.com/myway/images/star_mfzx_02.gif>';
			astrologin += '<tr><td height=34 valign=bottom bgcolor=#7CECFF><img src="http://astro.women.sohu.com/myway/images/star_mfzx_01.gif" width=163 height=30 border=0></td></tr>';
			astrologin += '<tr><td  background=http://astro.women.sohu.com/myway/images/star_mfzx_02.gif>';
			astrologin += '<table width=140 height="74" border=0 cellpadding=0 cellspacing=0 class=whi01 align="center">';
			astrologin += '<tr>';
			astrologin += '<td align="center"> <strong>&nbsp;SOHU通行证</strong>　<a style="cursor:hand" href="http://passport.sohu.com/passport/help.html" target="_blank">功能介绍</a></td>';
			astrologin += '</tr>';
			astrologin += '<tr><td align="center"><a style="cursor:hand" href="http://act1.astro.women.sohu.com/userlogin/userlogin.jsp"><img border="0" src="http://astro.women.sohu.com/myway/images/login.gif" width="120" height="30"></a></td></tr>';
			astrologin += '<tr><td align="center">点击上方按钮登录占星</td></tr>';
			astrologin += '</table>';
			astrologin += '</td></tr>';
			astrologin += '<tr><td height=22 valign=top bgcolor=#7CECFF><img src="http://astro.women.sohu.com/myway/images/star_mfzx_03.gif" width=163 height=11 border=0></td></tr>';
			astrologin += '</table>';
		}else if( indexpage == 1 )
		{
			astrologin += '<table width=163 border=0 cellpadding=0 cellspacing=0 background="http://astro.women.sohu.com/myway/images/star_mfzx_bg01-1.gif">';
			astrologin += '<tr><td height=34 valign=bottom bgcolor=#FFCC00><img src="http://astro.women.sohu.com/myway/images/star_mfzx_01-1.gif" width="163" height="30"></td></tr>';
			astrologin += '<tr><td>';
			astrologin += '<table width=140 border=0 cellpadding=0 cellspacing=0 class=whi01 align="center">';
			astrologin += '<tr>';
			astrologin += '<td height=22><div align="center"><font color="#FFFFFF">SOHU通行证　<a style="cursor:hand" href="http://passport.sohu.com/passport/help.html" target="_blank">功能介绍</a></font>';
			astrologin += '</div></td>';
			astrologin += '</tr>';
			astrologin += '<tr>';
			astrologin += '<td height=22><div align="center"><a style="cursor:hand" href="http://act1.astro.women.sohu.com/userlogin/userlogin.jsp"><img src=http://astro.women.sohu.com/myway/images/login.gif border=0></a></div></td>';
			astrologin += '</tr>';
			astrologin += '<tr>';
			astrologin += '<td align=center height=30 valign=middle><div align="center"><font color="#FFFFFF">点击上方按钮登录占星</font>&nbsp;</div></td>';
			astrologin += '</tr>';
			astrologin += '</table>';
			astrologin += '</tr>';
			astrologin += '<tr>';
			astrologin += '<td height=22 valign=top bgcolor=#FFCC00><img src="http://astro.women.sohu.com/myway/images/star_mfzx_03-1.gif" width=163 height=11 border=0></td>';
			astrologin += '</tr></table>';
		}else if( indexpage == 2 )
		{
			astrologin += '<table width="150" border="0" cellspacing="0" cellpadding="0">';
			astrologin += '<tr>';
			astrologin += '<td><table width="100%" border="0" cellpadding="0" cellspacing="0">';
			astrologin += '<tr>';
			astrologin += '<td width="150" height="57"><img src="http://astro.women.sohu.com/myway/images/left_1.gif" width="150" height="57"></td>';
			astrologin += '</tr>';
			astrologin += '</table>';
			astrologin += '<table width="100%" border="0" cellspacing="0" cellpadding="0">';
			astrologin += '<tr>';
			astrologin += '<td> <table width="135" border="0" align="center" cellpadding="0" cellspacing="0">';
			astrologin += '<center>';
			astrologin += '<tr>';
			astrologin += '<td width="100%"> <table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">';
			astrologin += '<tr>';
			astrologin += '<td height="20"><div align="center"><font color="#666666">SOHU通行证</font>　<font color="#666666"><a style="cursor:hand" href="http://passport.sohu.com/passport/help.html" target="_blank">功能介绍</a></font></div></td>';
			astrologin += '</tr>';
			astrologin += '<tr>';
			astrologin += '<td height="30"><div align="center"><A style="CURSOR: hand" href="http://act1.astro.women.sohu.com/userlogin/userlogin.jsp"><img border="0" src="http://photo.sohu.com/20050110/Img223863300.gif" width="120" height="30"></a></div></td>';
			astrologin += '</tr>';
			astrologin += '</table></td>';
			astrologin += '</tr>';
			astrologin += '</center>';
			astrologin += '<tr>';
			astrologin += '<td width="100%"> <table border="0" cellpadding="0" cellspacing="0" width="100%">';
			astrologin += '<center>';
			astrologin += '</center>';
			astrologin += '<tr> ';
			astrologin += '<td height="20" valign="bottom"><div align="center"><font color="#666666">点击按钮登录星相紫微</font></div></td>';
			astrologin += '</tr>';
			astrologin += '</table></td>';
			astrologin += '</tr>';
			astrologin += '</table></td>';
			astrologin += '</tr>';
			astrologin += '</table></td>';
			astrologin += '</tr>';
			astrologin += '</table>';
		}else if( indexpage == 3 )
		{
			astrologin += '<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">';
			astrologin += '<tr>';
			astrologin += '<td background="http://myway.astro.women.sohu.com/gif/mw-b1.gif">';
			astrologin += '<img src="http://myway.astro.women.sohu.com/gif/mw-2.gif" width="163" height="38">';
			astrologin += '<table width="155" height="100" border="0" align="center" cellpadding="5" cellspacing="0">';
			astrologin += '<tr>';
			astrologin += '<td>';
			astrologin += '<div align="center"><font color="#666666" size="2">SOHU通行证</font><font color="#333333" size="2">';
			astrologin += '<a href="http://passport.sohu.com/passport/help.html" target="_blank">功能介绍</a></font><font size="2"><br>';
			astrologin += '<a style="CURSOR: hand" href="http://act1.astro.women.sohu.com/userlogin/userlogin.jsp" target="_blank"><img src="http://myway.astro.women.sohu.com/gif/mw-in.gif" width="117" height="32" vspace="8" border="0"></a>';
			astrologin += '<br>';
			astrologin += '<font color="#666666">点击按钮登录星相摘星</font><br>';
			astrologin += '</font>';
			astrologin += '</div>';
			astrologin += '</td>';
			astrologin += '</tr>';
			astrologin += '</table>';
			astrologin += '</td>';
			astrologin += '</tr>';
			astrologin += '</table>';
		}
	}else{
		if( indexpage == 0 )
		{
			astrologin += '<table width=163 border=0 cellpadding=0 cellspacing=0 background="http://astro.women.sohu.com/myway/images/star_mfzx_02.gif">';
			astrologin += '<tr><td height=34 valign=bottom bgcolor=#7CECFF><img src="http://astro.women.sohu.com/myway/images/star_mfzx_01.gif" width=163 height=30 border=0></td></tr>';
			astrologin += '<tr><td>';
			astrologin += '<table width=140 height="74" border=0 cellpadding=0 cellspacing=0 class=whi01 align="center">';
			astrologin += '<tr><td align="center"> <div align="center"><a href="http://passport.sohu.com/passport/help.html" target="_blank">功能介绍</a>　<a style="cursor:hand" href="http://act1.astro.women.sohu.com/userlogout/userlogout.jsp">退出</a><br></div></td>';
			astrologin += '</tr>';
			astrologin += '<tr>';
			astrologin += '<td align="center"><div align="center">欢迎您：<strong>' + idContent + '</strong><br>';
			astrologin += '    <a href="https://up.sohu.com/chazhang.up" target=_blank>查看您的账户余额</a></div></td>';
			astrologin += '</tr>';
			astrologin += '</table>';
			astrologin += '</td></tr>';
			astrologin += '<tr><td height=22 valign=top bgcolor=#7CECFF><img src="http://astro.women.sohu.com/myway/images/star_mfzx_03.gif" width=163 height=11 border=0></td></tr>';
			astrologin += '</table>';
		}else if( indexpage == 1 )
		{
			astrologin += '<table width=163 border=0 cellpadding=0 cellspacing=0 background="http://astro.women.sohu.com/myway/images/star_mfzx_bg01-1.gif">';
			astrologin += '<tr><td height=34 valign=bottom bgcolor=#FFCC00><img src="http://astro.women.sohu.com/myway/images/star_mfzx_01-1.gif" width="163" height="30"></td></tr>';
			astrologin += '<tr><td>';
			astrologin += '<table width=140 height="74" border=0 cellpadding=0 cellspacing=0 class=whi01 align="center">';
			astrologin += '<tr><td align="center"> <div align="center"><a href="http://passport.sohu.com/passport/help.html" target="_blank">功能介绍</a>　<a style="cursor:hand" href="http://act1.astro.women.sohu.com/userlogout/userlogout.jsp">退出</a><br></div></td>';
			astrologin += '</tr>';
			astrologin += '<tr>';
			astrologin += '<td align="center"><div align="center">欢迎您：<strong>' + idContent + '</strong><br>';
			astrologin += '    <a href="https://up.sohu.com/chazhang.up" target=_blank>查看您的账户余额</a></div></td>';
			astrologin += '</tr>';
			astrologin += '</table>';
			astrologin += '</td></tr>';
			astrologin += '<tr>';
			astrologin += '<td height=22 valign=top bgcolor=#FFCC00><img src="http://astro.women.sohu.com/myway/images/star_mfzx_03-1.gif" width=163 height=11 border=0></td>';
			astrologin += '</tr></table>';
		}else if( indexpage == 2 )
		{
			astrologin += '<table width="150" border="0" cellspacing="0" cellpadding="0">';
			astrologin += '<tr>';
			astrologin += '<td><table width="100%" border="0" cellpadding="0" cellspacing="0">';
			astrologin += '<tr>';
			astrologin += '<td width="150" height="57"><img src="http://astro.women.sohu.com/myway/images/left_1.gif" width="150" height="57"></td>';
			astrologin += '</tr>';
			astrologin += '</table>';
			astrologin += '<table width="100%" border="0" cellspacing="0" cellpadding="0">';
			astrologin += '<tr>';
			astrologin += '<td> <table width="135" border="0" align="center" cellpadding="0" cellspacing="0">';
			astrologin += '<center>';
			astrologin += '<tr>';
			astrologin += '<td width="100%"> <table width="100%" height="50" border="0" cellpadding="0" cellspacing="0">';
			astrologin += '<tr>';
			astrologin += '<td height="20"><div align="center"><a href="http://passport.sohu.com/passport/help.html" target="_blank">功能介绍</a>　　<a style="cursor:hand" href="http://act1.astro.women.sohu.com/userlogout/userlogout.jsp">退出</a></div></td>';
			astrologin += '</tr>';
			astrologin += '<tr>';
			astrologin += '<td height="30"><div align="center">欢迎您：<strong>' + idContent + '</strong><br>';
			astrologin += '</div></td>';
			astrologin += '</tr>';
			astrologin += '</table></td>';
			astrologin += '</tr>';
			astrologin += '</center>';
			astrologin += '<tr>';
			astrologin += '<td width="100%"> <table border="0" cellpadding="0" cellspacing="0" width="100%">';
			astrologin += '<center>';
			astrologin += '</center>';
			astrologin += '<tr>';
			astrologin += '<td height="20" valign="bottom"><div align="left"><a href="https://up.sohu.com/chazhang.up" target=_blank>查看您的账户余额</a></div></td>';
			astrologin += '</tr>';
			astrologin += '</table></td>';
			astrologin += '</tr>';
			astrologin += '</table></td>';
			astrologin += '</tr>';
			astrologin += '</table></td>';
			astrologin += '</tr>';
			astrologin += '</table>';
		}else if( indexpage == 3 )
		{
			astrologin += '<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">';
			astrologin += '<tr>';
			astrologin += '<td background="http://myway.astro.women.sohu.com/gif/mw-b1.gif">';
			astrologin += '<img src="http://myway.astro.women.sohu.com/gif/mw-2.gif" width="163" height="38">';
			astrologin += '<table width="155" height="100" border="0" align="center" cellpadding="5" cellspacing="0">';
			astrologin += '<tr>';
			astrologin += '<td> <div align="center">功能介绍　　<a style="cursor:hand" href="http://act1.astro.women.sohu.com/userlogout/userlogout.jsp">退出</a> <font size="2"><br>';
			astrologin += '</font> </div></td>';
			astrologin += '</tr>';
			astrologin += '<tr>';
			astrologin += '<td>欢迎您：<strong>' + idContent + '</strong></td>';
			astrologin += '</tr>';
			astrologin += '<tr>';
			astrologin += '<td><a href="https://up.sohu.com/chazhang.up" target=_blank>查看您的账户余额</a></td>';
			astrologin += '</tr>';
			astrologin += '</table>';
			astrologin += '</td>';
			astrologin += '</tr>';
			astrologin += '</table>';
		}
	}
	astrologinid.innerHTML = astrologin;
}

function on_mou(i){
	eval("pic"+i+".src='http://astro.women.sohu.com/myway/images/xb0"+i+".gif'")
}

function out_mou(i){
	eval("pic"+i+".src='http://astro.women.sohu.com/myway/images/x0"+i+".gif'")
}

function MM_findObj(n, d) {	// v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() {	// v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function setastrohead() {
	var astrohead = '';
	astrohead += '<table width=880 border=0 cellpadding=0 cellspacing=0><tr><td width=5 bgcolor=5A5D5A></td>';	
	astrohead += '<td><table width=870 border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=177 background="http://astro.women.sohu.com/images/tb01.gif"><img src="http://astro.women.sohu.com/myway/images/t01.gif" tppabs="http://astro.women.sohu.com/images/t01.gif" width=177 height=8 border=0></td>';
	astrohead += '<td width=575 background="http://astro.women.sohu.com/images/tb01.gif" tppabs="http://astro.women.sohu.com/images/tb01.gif"><img src="http://astro.women.sohu.com/images/c.gif" width=1 height=1 border=0></td>';
	astrohead += '<td width=8><img src="http://astro.women.sohu.com/myway/images/t05.gif" tppabs="http://astro.women.sohu.com/images/t05.gif" width=8 height=8 border=0></td></tr>';
	astrohead += '<tr><td background="http://astro.women.sohu.com/myway/images/tb02.gif"><img src="http://astro.women.sohu.com/myway/images/t02.gif" tppabs="http://astro.women.sohu.com/images/t02.gif" width=177 height=51 border=0 alt="搜狐星相频道"></td>';
	astrohead += '<td valign=top background="http://astro.women.sohu.com/myway/images/tb02.gif" tppabs="http://astro.women.sohu.com/images/tb02.gif"> ';
	astrohead += '<table width=655 border=0 cellpadding=0 cellspacing=0>';
	astrohead += '<tr align=center height=26 class=bai>';
	astrohead += '<td id=n1 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'show\',\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\',\'Layer4\',\'\',\'hide\',\'Layer5\',\'\',\'hide\',\'Layer6\',\'\',\'hide\',\'Layer7\',\'\',\'hide\',\'Layer8\',\'\',\'hide\',\'Layer12\',\'\',\'hide\',\'Layer11\',\'\',\'hide\',\'Layer10\',\'\',\'hide\',\'Layer9\',\'\',\'hide\');this.className=\'tdcb\';n2.className=\'tdca\';n3.className=\'tdca\';n4.className=\'tdca\';n5.className=\'tdca\';n6.className=\'tdca\';n7.className=\'tdca\';n8.className=\'tdca\';n12.className=\'tdca\';n11.className=\'tdca\';n9.className=\'tdca\';n10.className=\'tdca\';"><a href="http://astro.women.sohu.com/xingzuo.shtml" target="_blank" title="搜狐星座-星座">星座</a></td>';
	astrohead += '<td width=1><font color=#EA81F9>|</font></td>';
	astrohead += '<td id=n2 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'hide\',\'Layer2\',\'\',\'show\',\'Layer3\',\'\',\'hide\',\'Layer4\',\'\',\'hide\',\'Layer5\',\'\',\'hide\',\'Layer6\',\'\',\'hide\',\'Layer7\',\'\',\'hide\',\'Layer8\',\'\',\'hide\',\'Layer12\',\'\',\'hide\',\'Layer11\',\'\',\'hide\',\'Layer10\',\'\',\'hide\',\'Layer9\',\'\',\'hide\');this.className=\'tdcb\';n1.className=\'tdca\';n3.className=\'tdca\';n4.className=\'tdca\';n5.className=\'tdca\';n6.className=\'tdca\';n7.className=\'tdca\';n8.className=\'tdca\';n12.className=\'tdca\';n11.className=\'tdca\';n9.className=\'tdca\';n10.className=\'tdca\';"><a href="http://astro.women.sohu.com/shengxiao.shtml" target="_blank" title="搜狐星座-生肖">生肖</a></td>';
	astrohead += '<td width=1><font color=#EA81F9>|</font></td>';
	astrohead += '<td id=n3 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'hide\',\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'show\',\'Layer4\',\'\',\'hide\',\'Layer5\',\'\',\'hide\',\'Layer6\',\'\',\'hide\',\'Layer7\',\'\',\'hide\',\'Layer8\',\'\',\'hide\',\'Layer12\',\'\',\'hide\',\'Layer11\',\'\',\'hide\',\'Layer10\',\'\',\'hide\',\'Layer9\',\'\',\'hide\');this.className=\'tdcb\';n2.className=\'tdca\';n1.className=\'tdca\';n4.className=\'tdca\';n5.className=\'tdca\';n6.className=\'tdca\';n7.className=\'tdca\';n8.className=\'tdca\';n12.className=\'tdca\';n11.className=\'tdca\';n9.className=\'tdca\';n10.className=\'tdca\';"><a href="http://astro.women.sohu.com/xuexing.shtml" target="_blank" title="搜狐星座-血型">血型</a></td>';
	astrohead += '<td width=1><font color=#EA81F9>|</font></td>';
	astrohead += '<td id=n4 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'hide\',\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\',\'Layer4\',\'\',\'show\',\'Layer5\',\'\',\'hide\',\'Layer6\',\'\',\'hide\',\'Layer7\',\'\',\'hide\',\'Layer8\',\'\',\'hide\',\'Layer12\',\'\',\'hide\',\'Layer11\',\'\',\'hide\',\'Layer10\',\'\',\'hide\',\'Layer9\',\'\',\'hide\');this.className=\'tdcb\';n2.className=\'tdca\';n3.className=\'tdca\';n1.className=\'tdca\';n5.className=\'tdca\';n6.className=\'tdca\';n7.className=\'tdca\';n8.className=\'tdca\';n12.className=\'tdca\';n11.className=\'tdca\';n9.className=\'tdca\';n10.className=\'tdca\';"><a href="http://astro.women.sohu.com/xingming.shtml" target="_blank" title="搜狐星座-命理">命理</a></td>';
	astrohead += '<td width=1><font color=#EA81F9>|</font></td>';
	astrohead += '<td id=n5 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'hide\',\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\',\'Layer4\',\'\',\'hide\',\'Layer5\',\'\',\'show\',\'Layer6\',\'\',\'hide\',\'Layer7\',\'\',\'hide\',\'Layer8\',\'\',\'hide\',\'Layer12\',\'\',\'hide\',\'Layer11\',\'\',\'hide\',\'Layer10\',\'\',\'hide\',\'Layer9\',\'\',\'hide\');this.className=\'tdcb\';n2.className=\'tdca\';n3.className=\'tdca\';n4.className=\'tdca\';n1.className=\'tdca\';n6.className=\'tdca\';n7.className=\'tdca\';n8.className=\'tdca\';n12.className=\'tdca\';n11.className=\'tdca\';n9.className=\'tdca\';n10.className=\'tdca\';"><a href="http://astro.women.sohu.com/ceshi.shtml" target="_blank" title="搜狐星座-测试">测试</a></td>';
	astrohead += '<td width=1><font color=#EA81F9>|</font></td>';
	astrohead += '<td id=n6 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'hide\',\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\',\'Layer4\',\'\',\'hide\',\'Layer5\',\'\',\'hide\',\'Layer6\',\'\',\'show\',\'Layer7\',\'\',\'hide\',\'Layer8\',\'\',\'hide\',\'Layer12\',\'\',\'hide\',\'Layer11\',\'\',\'hide\',\'Layer10\',\'\',\'hide\',\'Layer9\',\'\',\'hide\');this.className=\'tdcb\';n2.className=\'tdca\';n3.className=\'tdca\';n4.className=\'tdca\';n5.className=\'tdca\';n1.className=\'tdca\';n7.className=\'tdca\';n8.className=\'tdca\';n12.className=\'tdca\';n11.className=\'tdca\';n9.className=\'tdca\';n10.className=\'tdca\';"><a href="http://astro.women.sohu.com/zhanbu.shtml" target="_blank" title="搜狐星座-占卜">占卜</a></td>';
	astrohead += '<td width=1><font color=#EA81F9>|</font></td>';
	astrohead += '<td id=n7 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'hide\',\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\',\'Layer4\',\'\',\'hide\',\'Layer5\',\'\',\'hide\',\'Layer6\',\'\',\'hide\',\'Layer7\',\'\',\'show\',\'Layer8\',\'\',\'hide\',\'Layer12\',\'\',\'hide\',\'Layer11\',\'\',\'hide\',\'Layer10\',\'\',\'hide\',\'Layer9\',\'\',\'hide\');this.className=\'tdcb\';n2.className=\'tdca\';n3.className=\'tdca\';n4.className=\'tdca\';n5.className=\'tdca\';n6.className=\'tdca\';n1.className=\'tdca\';n8.className=\'tdca\';n12.className=\'tdca\';n11.className=\'tdca\';n9.className=\'tdca\';n10.className=\'tdca\';"><a href="http://astro.women.sohu.com/jiemeng.shtml" target="_blank" title="搜狐星座-解梦">解梦</a></td>';
	astrohead += '<td width=1><font color=#EA81F9>|</font></td>';
	astrohead += '<td id=n8 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'hide\',\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\',\'Layer4\',\'\',\'hide\',\'Layer5\',\'\',\'hide\',\'Layer6\',\'\',\'hide\',\'Layer7\',\'\',\'hide\',\'Layer8\',\'\',\'show\',\'Layer12\',\'\',\'hide\',\'Layer11\',\'\',\'hide\',\'Layer10\',\'\',\'hide\',\'Layer9\',\'\',\'hide\');this.className=\'tdcb\';n2.className=\'tdca\';n3.className=\'tdca\';n4.className=\'tdca\';n5.className=\'tdca\';n6.className=\'tdca\';n7.className=\'tdca\';n1.className=\'tdca\';n12.className=\'tdca\';n11.className=\'tdca\';n9.className=\'tdca\';n10.className=\'tdca\';"><a href="http://astro.women.sohu.com/tarot.shtml" target="_blank" title="搜狐星座-塔罗">塔罗</a></td>';
	astrohead += '<td width=1><font color=#EA81F9>|</font></td>';
	astrohead += '<td id=n9 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'hide\',\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\',\'Layer4\',\'\',\'hide\',\'Layer5\',\'\',\'hide\',\'Layer6\',\'\',\'hide\',\'Layer7\',\'\',\'hide\',\'Layer8\',\'\',\'hide\',\'Layer12\',\'\',\'hide\',\'Layer11\',\'\',\'hide\',\'Layer10\',\'\',\'hide\',\'Layer9\',\'\',\'show\');this.className=\'tdcb\';n2.className=\'tdca\';n3.className=\'tdca\';n4.className=\'tdca\';n5.className=\'tdca\';n6.className=\'tdca\';n7.className=\'tdca\';n8.className=\'tdca\';n1.className=\'tdca\';n12.className=\'tdca\';n11.className=\'tdca\';n10.className=\'tdca\';"><a href="http://go108.astro.women.sohu.com/" target="_blank" title="搜狐星座-紫微">紫微</a></td>';
	astrohead += '<td width=1><font color=#EA81F9>|</font></td>';
	astrohead += '<td id=n10 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'hide\',\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\',\'Layer4\',\'\',\'hide\',\'Layer5\',\'\',\'hide\',\'Layer6\',\'\',\'hide\',\'Layer7\',\'\',\'hide\',\'Layer8\',\'\',\'hide\',\'Layer12\',\'\',\'hide\',\'Layer11\',\'\',\'hide\',\'Layer10\',\'\',\'show\',\'Layer9\',\'\',\'hide\');this.className=\'tdcb\';n2.className=\'tdca\';n3.className=\'tdca\';n4.className=\'tdca\';n5.className=\'tdca\';n1.className=\'tdca\';n7.className=\'tdca\';n8.className=\'tdca\';n12.className=\'tdca\';n11.className=\'tdca\';n9.className=\'tdca\';n1.className=\'tdca\';"><a href="http://astro.women.sohu.com/myway.shtml" target="_blank" title="搜狐星座-摘星">摘星吧</a></td>';
	astrohead += '<td width=1><font color=#EA81F9>|</font></td>';
	astrohead += '<td id=n11 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'hide\',\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\',\'Layer4\',\'\',\'hide\',\'Layer5\',\'\',\'hide\',\'Layer6\',\'\',\'hide\',\'Layer7\',\'\',\'hide\',\'Layer8\',\'\',\'hide\',\'Layer12\',\'\',\'hide\',\'Layer11\',\'\',\'show\',\'Layer10\',\'\',\'hide\',\'Layer9\',\'\',\'hide\');this.className=\'tdcb\';n2.className=\'tdca\';n3.className=\'tdca\';n4.className=\'tdca\';n5.className=\'tdca\';n6.className=\'tdca\';n7.className=\'tdca\';n8.className=\'tdca\';n1.className=\'tdca\';n12.className=\'tdca\';n9.className=\'tdca\';n10.className=\'tdca\';"><a href="http://astro.women.sohu.com/hawa.shtml" target="_blank" title="搜狐星座-占星">魔法占星</a></td>';
	astrohead += '<td width=1><font color=#EA81F9>|</font></td>';
	astrohead += '<td id=n12 onMouseOver="MM_showHideLayers(\'Layer1\',\'\',\'hide\',\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\',\'Layer4\',\'\',\'hide\',\'Layer5\',\'\',\'hide\',\'Layer6\',\'\',\'hide\',\'Layer7\',\'\',\'hide\',\'Layer8\',\'\',\'hide\',\'Layer12\',\'\',\'show\',\'Layer11\',\'\',\'hide\',\'Layer10\',\'\',\'hide\',\'Layer9\',\'\',\'hide\');this.className=\'tdcb\';n2.className=\'tdca\';n3.className=\'tdca\';n4.className=\'tdca\';n5.className=\'tdca\';n6.className=\'tdca\';n7.className=\'tdca\';n8.className=\'tdca\';n1.className=\'tdca\';n11.className=\'tdca\';n9.className=\'tdca\';n10.className=\'tdca\';"><a href="http://club.astro.sohu.com/womenmain.php?c=74&b=astrology" target="_blank" title="搜狐星座-论坛">社区</a></td>';
	astrohead += '</tr>';
	astrohead += '</table>';
	astrohead += '<table width=655 border=0 cellpadding=0 cellspacing=0>';
	astrohead += '<tr><td valign=top><img src="http://astro.women.sohu.com/myway/images/c.gif" tppabs="http://astro.women.sohu.com/images/c.gif" width=1 height=1>';
	astrohead += '<div id="Layer1" style="position:absolute; width:528px; height:20px; z-index:1; visibility: show;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="http://astro.women.sohu.com/xingzuofashion.shtml" target=_blank title="星座时尚">星座时尚</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/xingzuobaodian.shtml" target=_blank title="星座宝典">星座宝典</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/xingzuostar.shtml" target=_blank title="星座名人">星座名人</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/xingzuoyule.shtml" target=_blank title="星座娱乐">星座娱乐</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/xingzuoketang.shtml" target=_blank title="占星课堂">占星课堂</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/xingauowenda.shtml" target=_blank title="星师问答">星师问答</a> ';
	astrohead += '</td>';
	astrohead += '</tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '<div id="Layer2" style="position:absolute; width:528px; height:20px; z-index:1; visibility: hidden;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="http://astro.women.sohu.com/7/0204/85/column218988593.shtml" target=_blank title="生肖-鼠">子鼠</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/7/0204/91/column218989115.shtml" target=_blank title="生肖-牛">丑牛</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/7/0204/95/column218989596.shtml" target=_blank title="生肖-虎">寅虎</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/7/0204/98/column218989850.shtml" target=_blank title="生肖-兔">卯兔</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/7/0204/04/column218990430.shtml" target=_blank title="生肖-龙">辰龙</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/7/0204/04/column218990482.shtml" target=_blank title="生肖-蛇">巳蛇</a> ';
    astrohead += '<a href="http://astro.women.sohu.com/7/0204/15/column218991532.shtml" target=_blank title="生肖-马">午马</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/7/0204/15/column218991547.shtml" target=_blank title="生肖-羊">未羊</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/7/0204/15/column218991574.shtml" target=_blank title="生肖-猴">申猴</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/7/0204/15/column218991593.shtml" target=_blank title="生肖-鸡">酉鸡</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/7/0104/01/column218820177.shtml" target=_blank title="生肖-狗">戊狗</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/7/0204/16/column218991611.shtml" target=_blank title="生肖-猪">亥猪</a> ';
	astrohead += '</td>';
	astrohead += '</tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '<div id="Layer3" style="position:absolute; width:528px; height:20px; z-index:1; visibility: hidden;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="http://astro.women.sohu.com/Axuexing.shtml" target=_blank title="血型-A型">耿直A型</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/Bxuexing.shtml" target=_blank title="血型-B型">感性B型</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/Oxuexing.shtml" target=_blank title="血型-O型">乐观O型</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/ABxuexing.shtml" target=_blank title="血型-AB型">浪漫AB型</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/xuexingshijin.shtml" target=_blank title="血型什锦">血型什锦</a> ';
	astrohead += '</td>';
	astrohead += '</tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '<div id="Layer4" style="position:absolute; width:528px; height:20px; z-index:1; visibility: hidden;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="http://astro.women.sohu.com/xingming.shtml" target=_blank title="命理姓名">姓名星座</a> ';
    astrohead += '<a href="http://astro.women.sohu.com/7/0204/55/column218975517.shtml" target=_blank title="命理明星">每日一星</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/topic.shtml" target=_blank title="命理话题">最火话题</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/suanming.shtml" target=_blank title="命理测算">在线神算</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/minglijiangzu.shtml" target=_blank title="命理讲座">命理讲座</a> ';
	astrohead += '</td>';
	astrohead += '</tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '<div id="Layer5" style="position:absolute; width:528px; height:20px; z-index:1; visibility: hidden;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="http://astro.women.sohu.com/xinggeceshi.shtml" target=_blank title="性格测试">性格篇</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/aiqingceshi.shtml" target=_blank title="爱情测试">爱情篇</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/shiyeceshi.shtml" target=_blank title="事业测试">事业篇</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/shejiaoceshi.shtml" target=_blank title="社交测试">社交篇</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/xingaiceshi.shtml" target=_blank title="性爱测试">性爱篇</a> ';
	astrohead += '</td>';
	astrohead += '</tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '<div id="Layer6" style="position:absolute; width:528px; height:20px; z-index:1; visibility: hidden;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="http://astro.women.sohu.com/mianxiang.shtml" target=_blank title="相学占卜">相学占卜</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/minglizhanbu.shtml" target=_blank title="风水占卜">风水占卜</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/quweizhanbu.shtml" target=_blank title="趣味占卜">趣味占卜</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/lingleizhanbu.shtml" target=_blank title="另类占卜">另类占卜</a> ';
	astrohead += '</td>';
	astrohead += '</tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '<div id="Layer7" style="position:absolute; width:528px; height:20px; z-index:1; visibility: hidden;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="http://act1.astro.women.sohu.com/jiemeng/jiemeng.htm"  target=_blank title="解梦手册">解梦手册</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/kanmeng.shtml" target=_blank title="看梦">看梦</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/dumeng.shtml" target=_blank title="读梦">读梦</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/7/0104/85/column218408525.shtml" target=_blank title="解梦">解梦</a> ';
	astrohead += '</td>';
	astrohead += '</tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '<div id="Layer8" style="position:absolute; width:528px; height:20px; z-index:1; visibility: hidden;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="http://astro.women.sohu.com/tarotlaiyuan.shtml" target=_blank title="塔罗渊源">塔罗渊源</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/tarotxiangjie.shtml" target=_blank title="塔罗详解">塔罗详解</a> ';
	astrohead += '<a href="http://astro.women.sohu.com/tarotaomi.shtml" target=_blank title="塔罗奥秘">塔罗奥秘</a> ';
	astrohead += '<a href="http://act1.astro.women.sohu.com/tal/tal.swf"  target=_blank title="塔罗占卜">在线塔罗</a> ';
	astrohead += '</td>';
	astrohead += '</tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '<div id="Layer9" style="position:absolute; width:528px; height:20px; z-index:1; visibility: hidden;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="http://go108.astro.women.sohu.com/input_monthlove.php" target=_blank title="紫微爱情">无限甜蜜蜜</a> ';
	astrohead += '<a href="http://go108.astro.women.sohu.com/input_my108.php" target=_blank title="紫微命盘">命格详批</a> ';
	astrohead += '<a href="http://go108.astro.women.sohu.com/input_2005year.php" target=_blank title="紫微运势">流年运势</a> ';
	astrohead += '<a href="http://go108.astro.women.sohu.com/input_doublelove2.php" target=_blank title="紫微速配">爱情速配</a> ';
	astrohead += '<a href="http://go108.astro.women.sohu.com/input_rich.php" target=_blank title="紫微财运">发财宝典</a> ';
	astrohead += '<a href="http://go108.astro.women.sohu.com/input_name.php" target=_blank title="紫微姓名">姓名测试</a> ';
	astrohead += '</td></tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '<div id="Layer10" style="position:absolute; width:528px; height:20px; z-index:1; visibility: hidden;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="http://myway.astro.women.sohu.com/s04/s04-1.htm" target=_blank title="摘星预测">预测大事件</a> ';
	astrohead += '<a href="http://myway.astro.women.sohu.com/s02/s02-1.htm" target=_blank title="摘星财运">投资财运</a> ';
	astrohead += '<a href="http://myway.astro.women.sohu.com/s01/s01-1.htm" target=_blank title="摘星爱情">爱情盒盘</a> ';	                        
	astrohead += '<a href="http://myway.astro.women.sohu.com/cgi-bin/sh3service?site=sohu&cmd=show_prod&p=SW003" target=_blank title="摘星配对">情人配对</a> ';
	astrohead += '<a href="http://myway.astro.women.sohu.com/cgi-bin/sh3service?site=sohu&cmd=show_prod&p=SW001" target=_blank title="摘星求爱">求爱秘籍</a> ';
	astrohead += '<a href="http://myway.astro.women.sohu.com/s03/s03-1.htm" target=_blank title="摘星情欲">男女情欲日记</a> ';
	astrohead += '</td></tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '<div id="Layer11" style="position:absolute; width:528px; height:20px; z-index:1; visibility: hidden;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="http://go.hawa.cn/go/2806/?http://astro.women.sohu.com/hawa/xycr.html" title="占星运势">行运超人</a> ';
	astrohead += '<a href="http://go.hawa.cn/go/2806/?http://astro.women.sohu.com/hawa/dyyj.html" title="占星预言">大预言家</a> ';
	astrohead += '<a href="http://go.hawa.cn/go/2806/?http://astro.women.sohu.com/hawa/xpbm.html" title="占星命运">详批本命</a> ';
	astrohead += '<a href="http://go.hawa.cn/go/2806/?http://astro.women.sohu.com/hawa/zxzt.html" title="占星侦探">占星侦探</a> ';
	astrohead += '<a href="http://go.hawa.cn/go/2806/?http://astro.women.sohu.com/hawa/tsyd.html" title="占星配对">天生一对</a> ';
	astrohead += '<a href="http://go.hawa.cn/go/2806/?http://astro.women.sohu.com/hawa/ywds.html" title="占星恋情">欲望都市</a> ';
	astrohead += '</td></tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '<div id="Layer12" style="position:absolute; width:528px; height:20px; z-index:1; visibility: hidden;">';
	astrohead += '<table border=0 cellpadding=0 cellspacing=0><tr>';
	astrohead += '<td width=30><br></td>';
	astrohead += '<td height=25 class=dh>';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=astrology  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=astrology\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=astrology" target=_blank title="星座血型">星座血型</a> ';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=aries  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=aries\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=aries" target=_blank title="星座联盟">星座联盟</a> ';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=animal0  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=animal0\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=animal0" target=_blank title="生肖物语">生肖</a> ';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=mingli  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=mingli\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=mingli" target=_blank title="命理风水堂">命理</a> ';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=pinpan  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=pinpan\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=pinpan" target=_blank title="测试拼盘">测试</a> ';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=zhanbu  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=zhanbu\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=zhanbu" target=_blank title="魔力占卜">占卜</a> ';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=dreaming  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=dreaming\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=dreaming" target=_blank title="说梦解梦">解梦</a> ';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=taluo  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=taluo\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=taluo" target=_blank title="塔罗奥秘">塔罗</a> ';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=zhanxing  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=zhanxing\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=zhanxing" target=_blank title="大话占星">占星</a> ';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=ziwei  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=ziwei\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=ziwei" target=_blank title="星相紫微">紫微</a> ';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=zhaixing  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=zhaixing\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=zhaixing" target=_blank title="摘星吧">摘星</a> ';
	astrohead += '<a href="javascript:if(confirm(\'http://club.astro.sohu.com/womenmain.php?c=74&b=astrophoto  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?\'))window.location=\'http://club.astro.sohu.com/womenmain.php?c=74&b=astrophoto\'" tppabs="http://club.astro.sohu.com/womenmain.php?c=74&b=astrophoto" target=_blank title="星相贴图">贴图</a> ';
	astrohead += '</td></tr>';
	astrohead += '</table>';
	astrohead += '</div>';
	astrohead += '</td>';
	astrohead += '<td width=50 height=25><img src="http://astro.women.sohu.com/myway/images/home.gif" tppabs="http://astro.women.sohu.com/images/home.gif" width=12 height=11 align=absmiddle>';
	astrohead += '<a href="http://astro.women.sohu.com" title="搜狐星相频道" target="_blank" tppabs="http://astro.women.sohu.com/"><font color=#7BEDFF>首页</font></a></td>';
	astrohead += '</tr>';
	astrohead += '</table></td>';
	astrohead += '<td><img src="http://astro.women.sohu.com/myway/images/t06.gif" tppabs="http://astro.women.sohu.com/images/t06.gif" width=8 height=51 border=0></td>';
	astrohead += '</tr>';
	astrohead += '<tr><td background="http://astro.women.sohu.com/myway/images/tb03.gif"><img src="http://astro.women.sohu.com/myway/images/t03.gif" tppabs="http://astro.women.sohu.com/images/t03.gif" width=177 height=42 border=0></td>';
	astrohead += '<td background="http://astro.women.sohu.com/myway/images/tb03.gif" tppabs="http://astro.women.sohu.com/images/tb03.gif" valign=bottom>';
	astrohead += '<table width=100% border=0 cellspacing=0 cellpadding=0><tr>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0204/75/column218887542.shtml" tppabs="http://astro.women.sohu.com/7/0204/75/column218887542.shtml" target=_blank title="星座-白羊座"><img src="http://astro.women.sohu.com/myway/images/x01.gif" tppabs="http://astro.women.sohu.com/images/x01.gif" width=42 height=42 border=0 onmouseover=on_mou(1) id=pic1 onmouseout=out_mou(1)></a></td>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0204/03/column218890321.shtml" tppabs="http://astro.women.sohu.com/7/0204/03/column218890321.shtml" target=_blank title="星座-金牛座"><img src="http://astro.women.sohu.com/myway/images/x02.gif" tppabs="http://astro.women.sohu.com/images/x02.gif" width=42 height=42 border=0 onmouseover=on_mou(2) id=pic2 onmouseout=out_mou(2)></a></td>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0204/08/column218890890.shtml" tppabs="http://astro.women.sohu.com/7/0204/08/column218890890.shtml" target=_blank title="星座-双子座"><img src="http://astro.women.sohu.com/myway/images/x03.gif" tppabs="http://astro.women.sohu.com/images/x03.gif" width=42 height=42 border=0 onmouseover=on_mou(3) id=pic3 onmouseout=out_mou(3)></a></td>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0204/74/column218887499.shtml" tppabs="http://astro.women.sohu.com/7/0204/74/column218887499.shtml" target=_blank title="星座-巨蟹座"><img src="http://astro.women.sohu.com/myway/images/x04.gif" tppabs="http://astro.women.sohu.com/images/x04.gif" width=42 height=42 border=0 onmouseover=on_mou(4) id=pic4 onmouseout=out_mou(4)></a></td>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0104/04/column218820429.shtml" tppabs="http://astro.women.sohu.com/7/0104/04/column218820429.shtml" target=_blank title="星座-狮子座"><img src="http://astro.women.sohu.com/myway/images/x05.gif" tppabs="http://astro.women.sohu.com/images/x05.gif" width=42 height=42 border=0 onmouseover=on_mou(5) id=pic5 onmouseout=out_mou(5)></a></td>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0204/39/column218893930.shtml" tppabs="http://astro.women.sohu.com/7/0204/39/column218893930.shtml" target=_blank title="星座-处女座"><img src="http://astro.women.sohu.com/myway/images/x06.gif" tppabs="http://astro.women.sohu.com/images/x06.gif" width=42 height=42 border=0 onmouseover=on_mou(6) id=pic6 onmouseout=out_mou(6)></a></td>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0204/45/column218894546.shtml" tppabs="http://astro.women.sohu.com/7/0204/45/column218894546.shtml" target=_blank title="星座-天秤座"><img src="http://astro.women.sohu.com/myway/images/x07.gif" tppabs="http://astro.women.sohu.com/images/x07.gif" width=42 height=42 border=0 onmouseover=on_mou(7) id=pic7 onmouseout=out_mou(7)></a></td>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0204/51/column218895198.shtml" tppabs="http://astro.women.sohu.com/7/0204/51/column218895198.shtml" target=_blank title="星座-天羯座"><img src="http://astro.women.sohu.com/myway/images/x08.gif" tppabs="http://astro.women.sohu.com/images/x08.gif" width=42 height=42 border=0 onmouseover=on_mou(8) id=pic8 onmouseout=out_mou(8)></a></td>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0204/59/column218895968.shtml" tppabs="http://astro.women.sohu.com/7/0204/59/column218895968.shtml" target=_blank title="星座-射手座"><img src="http://astro.women.sohu.com/myway/images/x09.gif" tppabs="http://astro.women.sohu.com/images/x09.gif" width=42 height=42 border=0 onmouseover=on_mou(9) id=pic9 onmouseout=out_mou(9)></a></td>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0204/71/column218897187.shtml" tppabs="http://astro.women.sohu.com/7/0204/71/column218897187.shtml" target=_blank title="星座-摩羯座"><img src="http://astro.women.sohu.com/myway/images/x010.gif" tppabs="http://astro.women.sohu.com/images/x010.gif" width=42 height=42 border=0 onmouseover=on_mou(10) id=pic10 onmouseout=out_mou(10)></a></td>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0204/77/column218897740.shtml" tppabs="http://astro.women.sohu.com/7/0204/77/column218897740.shtml" target=_blank title="星座-水瓶座"><img src="http://astro.women.sohu.com/myway/images/x011.gif" tppabs="http://astro.women.sohu.com/images/x011.gif" width=42 height=42 border=0 onmouseover=on_mou(11) id=pic11 onmouseout=out_mou(11)></a></td>';
	astrohead += '<td><a href="http://astro.women.sohu.com/7/0204/80/column218898082.shtml" tppabs="http://astro.women.sohu.com/7/0204/80/column218898082.shtml" target=_blank title="星座-双鱼座"><img src="http://astro.women.sohu.com/myway/images/x012.gif" tppabs="http://astro.women.sohu.com/images/x012.gif" width=42 height=42 border=0 onmouseover=on_mou(12) id=pic12 onmouseout=out_mou(12)></a></td></tr>';
	astrohead += '</table>';
	astrohead += '</td>';
	astrohead += '<td background="http://astro.women.sohu.com/myway/images/tb03.gif" tppabs="http://astro.women.sohu.com/images/tb03.gif"></td></tr>';
	astrohead += '</table> ';
	astrohead += '<table width="870" border="0" cellspacing="0" cellpadding="0" align="center">';
	astrohead += '<tr><td><img src="http://astro.women.sohu.com/myway/images/image1.gif" width="870" height="30"></td></tr>';
	astrohead += '</table>';
	astrohead += '<table width=870 border=0 cellpadding=0 cellspacing=0 class=pur01 bgcolor=#5A5D5A align="center">';
	astrohead += '<tr><td height=28 valign=bottom bgcolor="#FFFFFF" style=padding-left:92px><a href=http://astro.women.sohu.com/myway.shtml target=_blank>摘星吧</a>&nbsp;&nbsp;<b>&gt;&gt;</b>&nbsp;<a href=http://myway.astro.women.sohu.com/s03/s03-1.htm target=_blank>男女情欲日记</a>&nbsp;|&nbsp;<a href=http://myway.astro.women.sohu.com/cgi-bin/sh3service?site=sohu&cmd=show_prod&p=SW001 target=_blank>求爱秘籍</a> | <a href=http://myway.astro.women.sohu.com/s04/s04-1.htm target=_blank>预测大事件</a> | <a href=http://myway.astro.women.sohu.com/cgi-bin/sh3service?site=sohu&cmd=show_prod&p=SW003 target=_blank>情人配对</a> | <a href=http://myway.astro.women.sohu.com/cgi-bin/sh3service?site=sohu&cmd=show_prod&p=SW006 target=_blank>流月运势</a> | <a href=http://myway.astro.women.sohu.com/cgi-bin/sh3service?site=sohu&cmd=show_prod&p=SW007 target=_blank>婚配星座</a></td></tr><tr><tD height=2 bgcolor=#7627BE><img src=http://images.sohu.com/ccc.gif width=1 height=1></td></tr>';
	astrohead += '</table></td>';
	astrohead += '<td width=5></td></tr></table>';
	astroheadid.innerHTML = astrohead;
}
function setastrotail() {
	var astrotail = '';
	astrotail += '<table width="880" border="0" cellspacing="0" cellpadding="0"><tr>';
	astrotail += '<td><iframe width=880 height=108 rginwidth=0 marginheight=0 frameborder=0 scrolling=no  backcolor="#5C5C5C" align="center" src="http://astro.women.sohu.com/myway/search.htm"></iframe></td>';
	astrotail += '</tr></table>';
	astrotail += '<table width=880 border=0 cellspacing=0 cellpadding=0><tr>';
	astrotail += '<td width=760><img src="http://astro.women.sohu.com/myway/images/bdd02b.gif" tppabs="http://astro.women.sohu.com/images/bdd02.gif" width=880 height=31 border=0></td>';
	astrotail += '</tr><tr>';
	astrotail += '<td bgcolor=#DEB3FF align=center height=20><font color=#331EB4>Copyright &copy; 2004 Sohu.com Inc. All rights reserved.搜狐公司 版权所有</font></td>';
	astrotail += '</tr><tr>';
	astrotail += '<td><img src="http://astro.women.sohu.com/myway/images/bdd03.gif" tppabs="http://astro.women.sohu.com/images/bdd03.gif" width=880 height=9 border=0></td>';
	astrotail += '</tr></table>';
	astrofootid.innerHTML =  astrotail;
}

function f_chkdata(formname,url)
{
	var err = 0;
	for (var i=0;i<document.forms[formname].elements.length;i++)
	{
		var e = document.forms[formname].elements[i];
		if (e.value == 0) {
			alert("请您先选择查询项");
			return false;
		}
	}
	AstroWinOpen(url);
	return true;
}
function AstroWinOpen(url)
{     
	var NewWin = null;
        if (!NewWin || NewWin.closed)
        {
                NewWin = LoadWin(url, 'astro', 416, 310);
        }else
        {
                NewWin.focus();
        }
}
function LoadWin(url, name, width, height) 
{ 
	var str = "scrollbars,resizable,height=" + height + ",innerHeight=" + height + ",width=" + width + ",innerWidth=" + width; 
	if (window.screen) 
	{ 
		var ah = screen.availHeight - 30; 
		var aw = screen.availWidth - 10; 
		var xc = (aw - width) / 2; 
		var yc = (ah - height) / 2; 
		str += ",left=" + xc + ",screenX=" + xc; 
		str += ",top=" + yc + ",screenY=" + yc; 
	}
	return window.open(url, name, str); 
}

var now = new Date();
var nyear = now.getYear();
var nmonth = now.getMonth() + 1;
var ndate = now.getDate();
var nhour = now.getHours();
var nminute = now.getMinutes();
var nsecond = now.getSeconds();
var welcomestring;
if( nhour < 6 ) {
	welcomestring = "清晨好";
} else if( nhour < 9 ) {
	welcomestring = "早上好";
} else if( nhour < 12 ) {
	welcomestring = "上午好";
} else if( nhour < 14 ) {
	welcomestring = "中午好";
} else if( nhour < 17 ) {
	welcomestring = "下午好";
} else if( nhour < 19 ) {
	welcomestring = "傍晚好";
} else if( nhour < 22 ) {
	welcomestring = "晚上好";
} else {
	welcomestring = "夜里好";
}

function setMwcmt() {
		var mwcmt = '';
		mwcmt += '运算指引：<br>';
		mwcmt += '1、请您登录搜狐星相后再进行运算。<br>';
		mwcmt += '2、本产品为单次计费，请获得狐币后进行运算。换算单位：<font color="red"><b>1元＝20狐币</b></font><br>';
		mwcmt += '3、只要您的账户余额足以支付一次运算费用，您就可以使用星座运算。<br>';
		mwcmt += '4、如果您的账户余额不足，点击运算后系统会自动提醒您充值。<br>';
		mwcmt += '摘星工厂，最精确的运算，最灵妙的指引，预知你的爱情、财运、事业，让你事事掌握！';
		mwdescid.innerHTML = mwcmt;
}

function setMwinput() {
	if( !isLocalVnet() ) {
		var mwinp = '';
		mwinp += '电子账号';
		mwinp += '<input type=text name=cardnum size=12 class=i1>';
		mwinp += '&nbsp;密码';
		mwinp += '<input type=password name=cardpwd size=12 class=i1>';
		mwinp += '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://pass.bb.sohu.com/register/ivr/ivr.html" target=_blank>打电话得狐币</a><br>';
		mwinp += '<b>(您若还有剩余的狐币,请直接点击运算按钮)</b>';
		mwinputid.innerHTML = mwinp;
	}
}

function setIndexPage( num ) {
	indexpage = num;
}


var userPP = "";
var userPP2 = "";
function checkLogin() {
	var isOk = true;
	userPP = getCookie( 'PTSYS_USR_ID' );
	if( userPP == null || userPP == "null" || Trim( userPP ).length == 0 ) {
		isOk = false;
	} 
	return isOk;
}

var isLogin = false;
function checkL() {
	if( !isLogin ) {
		isLogin = checkLogin();
	}
}
function saveUrl( url ) {
	saveCookie( "redirectUrl", url );
}

function saveUserfrom( userfrom ) {
	saveCookie( "usrFrom", userfrom );
}

function saveCookie( key, val ) {
	document.cookie = 
		key + "=" + val + ";path=/;domain=.women.sohu.com";
}

function getCookie( cookieName ) {
	var rs = "";
	var cookieString = document.cookie;
	var start = cookieString.indexOf( cookieName + '=' );

	if( start == -1 ) { // 找不到
		rs = "";
	} else {
		start += cookieName.length + 1;
		var end = cookieString.indexOf( ';', start );
		if( end == -1 ) {
			rs = cookieString.substring( start );
		} else {
			rs = cookieString.substring( start, end );
		}
	}
	
	if( rs == null || rs == "null" ){
		rs = "";	
	}

	return rs; 
}

function TrimLeft( str ) {
	while( str.charAt( 0 ) == ' ' ) {
		str = str.substr( 1 );
	}

	return str;
}

function TrimRight( str ){
	while( str.charAt( str.length - 1 ) == ' ' ) {
		str = str.substr( 0, str.length - 1 );
	}

	return str;
}

function Trim( str ) {
	str = TrimLeft( str );
	str = TrimRight( str );

	return str;
}

function escapedLength(str) {
	var theLength = 0;
	for (i = 0; i < str.length; i ++) {
		var c = str.charCodeAt(i);
		if (c > 255) {
			theLength += 2;
		} else {
			theLength ++;
		}
	}
	return theLength;
}

function checkEmail( str ){
	if( str.indexOf( "@" ) == -1 ) {
		return false;
	} else if( str.indexOf( "." ) == -1 ) {
		return false;
	} else if( str.charAt( str.length - 1 ) == '.' ) {
		return false;
	} else if( str.indexOf( "." ) < str.indexOf( "@" ) ) {
		return false;
	} else if( str.indexOf( "." ) - 1 == str.indexOf( "@" ) ) {
		return false;
	}
	return true;
}

function strHandle( str, standardLen ) {
	var rsValue = "";
	var index = 0;
	var c = 0;
	var slen = escapedLength( str );
	if( slen > standardLen ) {
		for( var i = 0; i < slen; i ++ ) {
			c = str.charCodeAt( i );

			if( c > 255 ) {
				index += 2;
			} else {
				index ++;
			}

			if( index > standardLen ) {
				break;
			}

			rsValue += str.charAt( i );
		}
		rsValue += "...";
		return rsValue;
	} else {
		rsValue = str;
		return rsValue;
	}
}

function IsDigit( cCheck ) {
	return ( ( '0' <= cCheck ) && ( cCheck <= '9' ) );
}

function IsAlpha( cCheck ) {
	return ( ( ( 'a' <= cCheck ) && ( cCheck <= 'z' ) ) || ( ( 'A' <= cCheck ) && ( cCheck <= 'Z' ) ) );
}

var horoENames = new Array( "aquarius", "pisces", "aries", "taurus", "gemini", "cancer", "leo", "virgo", "libra", "scorpio", "sagittarius", "capricorn" );
var horoCNames = new Array( "水瓶座", "双鱼座", "白羊座", "金牛座", "双子座", "巨蟹座", "狮子座", "处女座", "天秤座", "天蝎座", "射手做", "摩羯座" );
function certainDay( m, d ) {
	var borderDate = new Array( "20", "19", "21", "20", "21", "21", "23", "23", "23", "23", "22", "22" );
	if( Math.round( d ) < Math.round( borderDate[ m ] ) ) {
		if( m == 0 ) {
			m = 11;
		} else {
			m = m - 1;
		}
	}

	return m;
}
