/*跳转js代码*/

function benlaise(){

document.form1.action="http://www.astro365.net/news/color/begincolor.php";
document.form1.submit();
}
function benlaisedp(){
document.form2.action="http://www.astro365.net/news/color/begincolor.php";
document.form2.submit();
}
function renshengbense(){
document.form1.action="percolor.php";
document.form1.submit();
}
function shouhuse(){
document.form1.action="http://www.astro365.net/news/color/protectcolor.php";
document.form1.submit();
}
function shouhusedp(){
document.form2.action="http://www.astro365.net/news/color/protectcolor.php";
document.form2.submit();
}
function xinqingse(){
document.xinqingse.action="http://www.astro365.net/news/color/xinqingse.php";
document.xinqingse.submit();
}
function art(){
document.form3.action="http://www.astro365.net/news/color/artstone.php";
document.form3.submit();
}
function stone(){
document.form3.action="http://www.astro365.net/news/color/stoneart.php";
document.form3.submit();
}
function zone(){
document.form1.action="../magic/index.php?mod=weilai";
document.form1.submit();
}
//黑白配星座互??
function bwp(){
document.form1.action="index.php";
document.form1.submit();
}
//理想老板,星座互动
function lxlb(){
document.form2.action="index.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "method";
input.value = "lxlb";
document.form2.appendChild(input);
document.form2.submit();
}
//得力下属,星座互动
function dlxs(){
document.form2.action="index.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "method";
input.value = "dlxs";
document.form2.appendChild(input);
document.form2.submit();
}
//我要结婚
function imerry(){
document.form3.action="index.php";
document.form3.submit();
}
//我的单恋，我的相恋，我想征服，约会攻??

//我的单恋??
/*function mylove_dl(){
document.form4.action="index.php?sub=dl";
document.form4.submit();
}
//我的相恋??
function mylove_xl(){
document.form4.action="index.php?sub=xl";
document.form4.submit();
}
//我的征服??
function mylove_zf(){
document.form4.action="index.php?sub=";
document.form4.submit();
}
//约会攻略
function mylove_gl(){
document.form4.action="index.php?sub=gl";
document.form4.submit();
}*/
//??型档??
function blood(){
document.form5.action="index.php";
document.form5.submit();
}
//12星座
function star(){
document.form1.action="index.php";
document.form1.submit();
}
//星运文化
function star2(){
document.form2.action="index.php";
document.form2.submit();
}
//星运文化-->魔幻星区
function zone_magic(){
document.form1.action="../magic/index.php";
document.form1.submit();
}
//星运文化-->星座互动
function bwp_magic(){
document.form2.action="../interact/index.php";
document.form2.submit();
}

//星座互动=-急??配
function jsp(){
document.jsp.action="index.php";
document.jsp.submit();
}
//星运文化-->星座运势
function fortune_luck(){
document.form1.action="http://www.astro365.net/news/fortune/for_luck.php";
document.form1.target="_blank";
document.form1.submit();
}
//星座运势-->事业
function fortune_lucksy(){
document.form1.action="for_luck.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "act";
input.value = "sy";
document.form1.appendChild(input);
document.form1.submit();
}
//星座运势-->?? ??
function fortune_luckjq(){
document.form1.action="for_luck.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "act";
input.value = "jq";
document.form1.appendChild(input);
document.form1.submit();
}
//星座运势-->爱情
function fortune_luckaq(){
document.form1.action="for_luck.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "act";
input.value = "aq";
document.form1.appendChild(input);
document.form1.submit();
}
//星座运势-->人气
function fortune_luckrq(){
document.form1.action="for_luck.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "act";
input.value = "rq";
document.form1.appendChild(input);
document.form1.submit();
}
//星座运势-->健康
function fortune_luckjk(){
document.form1.action="for_luck.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "act";
input.value = "jk";
document.form1.appendChild(input);
document.form1.submit();
}
//星座运势-->今日运势
function fortune_luckjr(){
document.form1.action="for_luck.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "lucker";
input.value = "jr";
document.form1.appendChild(input);
document.form1.submit();
}
//星座运势-->明日运势
function fortune_luckmr(){
document.form1.action="for_luck.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "lucker";
input.value = "mr";
document.form1.appendChild(input);
document.form1.submit();
}
//星座运势-->本周运势
function fortune_luckbz(){
document.form1.action="for_luck.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "lucker";
input.value = "bz";
document.form1.appendChild(input);
document.form1.submit();
}
//星座运势-->本月运势
function fortune_luckby(){
document.form1.action="for_luck.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "lucker";
input.value = "by";
document.form1.appendChild(input);
document.form1.submit();
}
//星座运势-->本年运势
function fortune_luckbn(){
document.form1.action="for_luck.php";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "lucker";
input.value = "bn";
document.form1.appendChild(input);
document.form1.submit();
}

//首页星座运势-->今日运势
function index_fortune_luckjr(){
document.form1.action="./fortune/for_luck.php";
document.form1.target="_blank";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "lucker";
input.value = "jr";
document.form1.appendChild(input);
document.form1.submit();
}
//首页星座运势-->明日运势
function index_fortune_luckmr(){
document.form1.action="./fortune/for_luck.php";
document.form1.target="_blank";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "lucker";
input.value = "mr";
document.form1.appendChild(input);
document.form1.submit();
}
//首页星座运势-->本周运势
function index_fortune_luckbz(){
document.form1.action="./fortune/for_luck.php";
document.form1.target="_blank";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "lucker";
input.value = "bz";
document.form1.appendChild(input);
document.form1.submit();
}
//首页星座运势-->本月运势
function index_fortune_luckby(){
document.form1.action="./fortune/for_luck.php";
document.form1.target="_blank";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "lucker";
input.value = "by";
document.form1.appendChild(input);
document.form1.submit();
}
//首页星座运势-->本年运势
function index_fortune_luckbn(){
document.form1.action="./fortune/for_luck.php";
document.form1.target="_blank";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "lucker";
input.value = "bn";
document.form1.appendChild(input);
document.form1.submit();
}
//首页//星座查询
function index_star(){
document.formindex_star.action="http://www.astro365.net/news/star/index.php";
document.formindex_star.target="_blank";
document.formindex_star.submit();
}
//首页--星座星区
function index_zone(){
document.formindex_magic.action="./magic/index.php";
document.formindex_magic.submit();
}
//首页--星座配对
function index_interact(){
document.formindex_interact.action="./interact/index.php";
document.formindex_interact.submit();
}
//首页--星座色彩
function index_color(){
document.index_color.action="./color/begincolor.php";
document.index_color.submit();
}

//文章详细??-星座查询
function article_star(){
document.formindex_star.action="../star/index.php";
document.formindex_star.submit();
}
//首页潘多拉魔??--我的人生
function index_pdllife(){
document.form1.action="./magic/index.php";
document.form1.target="_blank";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "mod";
input.value = "rensheng";
document.form1.appendChild(input);
document.form1.submit();
}
//投票
function vote(){
document.form1.action="./vote/view.php";
document.form1.target="_blank";
document.form1.submit();
}

//首页潘多拉魔??--我的旅????
function index_pdllt(){
document.form1.action="./magic/index.php";
document.form1.target="_blank";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "mod";
input.value = "lvxing";
document.form1.appendChild(input);
document.form1.submit();
}
//首页潘多拉魔??--我的恋爱
function index_pdllove(){
document.form1.action="./magic/index.php";
document.form1.target="_blank";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "mod";
input.value = "lianai";
document.form1.appendChild(input);
document.form1.submit();
}
//首页潘多拉魔??--我的色彩
function index_pdlcolor(){
document.form1.action="color/begincolor.php";
document.form1.target="_blank";
var input = document.createElement('input');
input.type = 'hidden';
input.name = "mod";
input.value = "shouhu";
document.form1.appendChild(input);
document.form1.submit();
}

//搜索
function search(){
document.search.action="/news/search.php";
document.search.target="_blank";
document.search.submit();
}
/*//跳转js代码*/


				function getcookie(name) {
					var my_cookie = document.cookie;
					var start = my_cookie.indexOf(name + "@astro.lady.qq.com" + "=");
					if (start == -1) return '';
					
					start += name.length + 19; //1 stands of '='
					
					var end = my_cookie.indexOf(";" ,start);
					if (end == -1) end = my_cookie.length;
					return my_cookie.substr(start, end - start);
				}
				
				function setcookie(name,value,open, path) {
					var nextyear = new Date();
					if (open) {
						nextyear.setFullYear(nextyear.getFullYear() + 1);
					} else {
						nextyear.setFullYear(1970);
					}
					document.cookie = name + "@astro.lady.qq.com" + "=" + value + "; expires=" + nextyear.toGMTString() + "; path=" + path; 
				}



				

