var horo_path = 'http://blog.sina.com.tw/webservice/module/mindcity/';
var horo_type = 2;
var horo_content = "";
var horo_list = new Array();

var tmp = new Array();
tmp["horo_id"] = "aries";
tmp["horo_name"] = "牡羊座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_aries_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/aries.shtml";
tmp["horo_combine"] = "4";
tmp["horo_love"] = "4";
tmp["horo_work"] = "4";
tmp["horo_finance"] = "3";
tmp["to_combine"] = "2";
tmp["to_love"] = "3";
tmp["to_work"] = "2";
tmp["to_finance"] = "3";
tmp["to_color"] = "白色";
tmp["to_number"] = "9";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/aries.shtml";
horo_list[0] = tmp;
var tmp = new Array();
tmp["horo_id"] = "taurus";
tmp["horo_name"] = "金牛座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_taurus_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/taurus.shtml";
tmp["horo_combine"] = "3";
tmp["horo_love"] = "3";
tmp["horo_work"] = "3";
tmp["horo_finance"] = "3";
tmp["to_combine"] = "4";
tmp["to_love"] = "3";
tmp["to_work"] = "4";
tmp["to_finance"] = "3";
tmp["to_color"] = "金色";
tmp["to_number"] = "6";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/taurus.shtml";
horo_list[1] = tmp;
var tmp = new Array();
tmp["horo_id"] = "gemini";
tmp["horo_name"] = "雙子座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_gemini_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/gemini.shtml";
tmp["horo_combine"] = "4";
tmp["horo_love"] = "4";
tmp["horo_work"] = "4";
tmp["horo_finance"] = "2";
tmp["to_combine"] = "3";
tmp["to_love"] = "3";
tmp["to_work"] = "2";
tmp["to_finance"] = "2";
tmp["to_color"] = "棕色";
tmp["to_number"] = "3";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/gemini.shtml";
horo_list[2] = tmp;
var tmp = new Array();
tmp["horo_id"] = "cancer";
tmp["horo_name"] = "巨蟹座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_cancer_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/cancer.shtml";
tmp["horo_combine"] = "3";
tmp["horo_love"] = "3";
tmp["horo_work"] = "3";
tmp["horo_finance"] = "3";
tmp["to_combine"] = "4";
tmp["to_love"] = "4";
tmp["to_work"] = "3";
tmp["to_finance"] = "3";
tmp["to_color"] = "淺藍色";
tmp["to_number"] = "7";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/cancer.shtml";
horo_list[3] = tmp;
var tmp = new Array();
tmp["horo_id"] = "leo";
tmp["horo_name"] = "獅子座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_leo_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/leo.shtml";
tmp["horo_combine"] = "4";
tmp["horo_love"] = "4";
tmp["horo_work"] = "4";
tmp["horo_finance"] = "3";
tmp["to_combine"] = "2";
tmp["to_love"] = "3";
tmp["to_work"] = "2";
tmp["to_finance"] = "3";
tmp["to_color"] = "紫色";
tmp["to_number"] = "8";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/leo.shtml";
horo_list[4] = tmp;
var tmp = new Array();
tmp["horo_id"] = "virgo";
tmp["horo_name"] = "處女座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_virgo_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/virgo.shtml";
tmp["horo_combine"] = "3";
tmp["horo_love"] = "3";
tmp["horo_work"] = "3";
tmp["horo_finance"] = "3";
tmp["to_combine"] = "4";
tmp["to_love"] = "4";
tmp["to_work"] = "3";
tmp["to_finance"] = "4";
tmp["to_color"] = "綠色";
tmp["to_number"] = "0";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/virgo.shtml";
horo_list[5] = tmp;
var tmp = new Array();
tmp["horo_id"] = "libra";
tmp["horo_name"] = "天秤座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_libra_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/libra.shtml";
tmp["horo_combine"] = "3";
tmp["horo_love"] = "3";
tmp["horo_work"] = "3";
tmp["horo_finance"] = "3";
tmp["to_combine"] = "3";
tmp["to_love"] = "3";
tmp["to_work"] = "3";
tmp["to_finance"] = "3";
tmp["to_color"] = "灰色";
tmp["to_number"] = "5";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/libra.shtml";
horo_list[6] = tmp;
var tmp = new Array();
tmp["horo_id"] = "scorpio";
tmp["horo_name"] = "天蠍座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_scorpio_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/scorpio.shtml";
tmp["horo_combine"] = "3";
tmp["horo_love"] = "4";
tmp["horo_work"] = "3";
tmp["horo_finance"] = "3";
tmp["to_combine"] = "3";
tmp["to_love"] = "4";
tmp["to_work"] = "3";
tmp["to_finance"] = "3";
tmp["to_color"] = "黃色";
tmp["to_number"] = "2";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/scorpio.shtml";
horo_list[7] = tmp;
var tmp = new Array();
tmp["horo_id"] = "sagittarius";
tmp["horo_name"] = "射手座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_sagittarius_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/sagittarius.shtml";
tmp["horo_combine"] = "4";
tmp["horo_love"] = "4";
tmp["horo_work"] = "4";
tmp["horo_finance"] = "3";
tmp["to_combine"] = "4";
tmp["to_love"] = "4";
tmp["to_work"] = "4";
tmp["to_finance"] = "3";
tmp["to_color"] = "橘色";
tmp["to_number"] = "7";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/sagittarius.shtml";
horo_list[8] = tmp;
var tmp = new Array();
tmp["horo_id"] = "capricorn";
tmp["horo_name"] = "魔羯座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_capricorn_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/capricorn.shtml";
tmp["horo_combine"] = "3";
tmp["horo_love"] = "2";
tmp["horo_work"] = "3";
tmp["horo_finance"] = "4";
tmp["to_combine"] = "3";
tmp["to_love"] = "4";
tmp["to_work"] = "3";
tmp["to_finance"] = "3";
tmp["to_color"] = "草綠色";
tmp["to_number"] = "8";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/capricorn.shtml";
horo_list[9] = tmp;
var tmp = new Array();
tmp["horo_id"] = "aquarius";
tmp["horo_name"] = "水瓶座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_aquarius_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/aquarius.shtml";
tmp["horo_combine"] = "4";
tmp["horo_love"] = "4";
tmp["horo_work"] = "4";
tmp["horo_finance"] = "3";
tmp["to_combine"] = "3";
tmp["to_love"] = "3";
tmp["to_work"] = "2";
tmp["to_finance"] = "4";
tmp["to_color"] = "粉紅色";
tmp["to_number"] = "3";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/aquarius.shtml";
horo_list[10] = tmp;
var tmp = new Array();
tmp["horo_id"] = "pisces";
tmp["horo_name"] = "雙魚座";
tmp["horo_img"] = "http://mindcity.sina.com.tw/images/west/12stars/west_pisces_on.gif";
tmp["horo_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/day/20100210/pisces.shtml";
tmp["horo_combine"] = "3";
tmp["horo_love"] = "4";
tmp["horo_work"] = "3";
tmp["horo_finance"] = "2";
tmp["to_combine"] = "4";
tmp["to_love"] = "3";
tmp["to_work"] = "4";
tmp["to_finance"] = "4";
tmp["to_color"] = "白色";
tmp["to_number"] = "1";
tmp["to_url"] = "http://mindcity.sina.com.tw/MC_data/west/MC-12horos/tomorrow/20100211/pisces.shtml";
horo_list[11] = tmp;

var get_horo = new Array();
if (horo_type == 1){
	var horo_chk = new Array();
		horo_chk[0] = 0;
	horo_chk[1] = 0;
	horo_chk[2] = 0;
	horo_chk[3] = 0;
	horo_chk[4] = 0;
	horo_chk[5] = 0;
	horo_chk[6] = 0;
	horo_chk[7] = 0;
	horo_chk[8] = 0;
	horo_chk[9] = 1;
	horo_chk[10] = 0;
	horo_chk[11] = 0;

	for (var i=0;i<horo_chk.length;i++){
		if (horo_chk[i] == "1"){
			get_horo = horo_list[i];
		}
	}
}else if(horo_type == 2){
	get_horo = horo_list[Math.ceil(Math.random()*horo_list.length-1)];
}

var article_list = new Array();
var tmp = new Array();
tmp["article_title"] = "虎寶寶星盤解密(下)";
tmp["article_url"] = "http://mindcity.sina.com.tw/MC_data/west/article/horo/20100206/Col_3299_1.shtml";
article_list[0] = tmp;
var tmp = new Array();
tmp["article_title"] = "虎寶寶星盤解密(上)";
tmp["article_url"] = "http://mindcity.sina.com.tw/MC_data/west/article/horo/20100206/Col_3300_1.shtml";
article_list[1] = tmp;
var tmp = new Array();
tmp["article_title"] = "星座周運2/6~13";
tmp["article_url"] = "http://mindcity.sina.com.tw/MC_data/west/article/horo/20100204/Col_3297_1.shtml";
article_list[2] = tmp;
var tmp = new Array();
tmp["article_title"] = "你看的懂星座嗎？";
tmp["article_url"] = "http://mindcity.sina.com.tw/MC_data/west/article/horo/20100204/Col_3298_1.shtml";
article_list[3] = tmp;
var tmp = new Array();
tmp["article_title"] = "虎年開運避煞DIY";
tmp["article_url"] = "http://mindcity.sina.com.tw/MC_data/east/article/feng-shui/20100203/Col_3289_1.shtml";
article_list[4] = tmp;
var get_article = new Array();
for(var i=0;i<3;i++){
	get_article[i] = article_list[Math.ceil(Math.random()*article_list.length-1)];
	for(var j=0;j<i;j++){
		if(get_article[j] == get_article[i])  i--;
	}
}

function goto_mindcity(chg_horo_value){
	if (chg_horo_value == "aries"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/aries.shtml','','');
	}else if(chg_horo_value == "taurus"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/taurus.shtml','','');
	}else if(chg_horo_value == "gemini"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/gemini.shtml','','');
	}else if(chg_horo_value == "cancer"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/cancer.shtml','','');
	}else if(chg_horo_value == "leo"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/leo.shtml','','');
	}else if(chg_horo_value == "virgo"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/virgo.shtml','','');
	}else if(chg_horo_value == "libra"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/libra.shtml','','');
	}else if(chg_horo_value == "scorpio"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/scorpio.shtml','','');
	}else if(chg_horo_value == "sagittarius"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/sagittarius.shtml','','');
	}else if(chg_horo_value == "capricorn"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/capricorn.shtml','','');
	}else if(chg_horo_value == "aquarius"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/aquarius.shtml','','');
	}else if(chg_horo_value == "pisces"){
		window.open('http://mindcity.sina.com.tw/MC_data/west/MC-12horos/today/pisces.shtml','','');
	}
s}

function get_star(star_num){
	var starStr = '<img src="' + horo_path + 'images/stars.gif" border="0" align="absmiddle" />';
	if (star_num == 1){
		return starStr;
	}else if(star_num == 2){
		return (starStr + starStr);
	}else if(star_num == 3){
		return (starStr + starStr + starStr);
	}else if(star_num == 4){
		return (starStr + starStr + starStr + starStr);
	}else if(star_num == 5){
		return (starStr + starStr + starStr + starStr + starStr);
	}
	return "";
}

function get_weather(star_num){
	if (star_num < 3){
		return "doll_rain.gif";
	}else if(star_num == 3){
		return "doll_c.gif";
	}else if(star_num > 3){
		return "doll_sun.gif";
	}
	return "doll_sun.gif";
}

var horo_to_flag = false;
function horo_to(){
	if (horo_to_flag){
		document.getElementById("horo_to").style.display = "none";
		horo_to_flag = false;
	}else{
		document.getElementById("horo_to").style.display = "";
		horo_to_flag = true;
	}
}

function isSelected(hoto_id){
	if (hoto_id == get_horo["horo_id"]){
		return " selected=\"selected\"";
	}
}

function show_mindcity(){
document.writeln('<style type="text/css">');
document.writeln('<!--');
document.writeln('.module_star a:link ,.module_star a:visited{text-decoration:none; color:#666666;}');
document.writeln('.module_star .tous a:link ,.module_star .tous a:visited{ color:#FFCC00;}');
document.writeln('.module_star .tous a:hover{ color:#333333;}');
document.writeln('.module_star em a:link ,.module_star em a:visited{text-decoration:none; color:#666666;}');
document.writeln('.module_star em a:hover{ color:#333333;text-decoration:underline;}');

document.writeln('.module_star{');
document.writeln('	width:200px;');
document.writeln('	text-align:left;');
document.writeln('	}');
document.writeln('.module_star .tous{');
document.writeln('	font-size:10px;');
document.writeln('	font-family:Verdana, Arial, Helvetica, sans-serif;');
document.writeln('	color:#ffffff;');
document.writeln('	padding:0px;');
document.writeln('	background-image:url(' + horo_path + 'images/mindcity_head.gif);');
document.writeln('	background-position: left top;');
document.writeln('	background-repeat:no-repeat;');
document.writeln('	height:24px;');
document.writeln('	}');
document.writeln('.module_star h5{');
document.writeln('	margin:0px 0px 3px 0px;');
document.writeln('	font-weight:normal;');
document.writeln('	font-size:12px;');
document.writeln('	letter-spacing:0.1em;');
document.writeln('	padding:3px 0px 1px 0px;'); 
document.writeln('	background-color:#dddddd;');
document.writeln('	text-align:center;');
document.writeln('	color:#333333;');
document.writeln('	}');
document.writeln('.module_star .todays{ ');
document.writeln('	height:90px;');
document.writeln('	margin:0px 0px 0px 0px;');
document.writeln('	background-image:url(' + horo_path + 'images/todaysbg.gif);');
document.writeln('	background-position:left top;');
document.writeln('	background-repeat:no-repeat;');
document.writeln('	height:100px;');
document.writeln('}');

document.writeln('.module_star .today_head{ ');
document.writeln('	margin:0px 0px 0px 0px;');
document.writeln('	padding:0px;');
document.writeln('	background-image:url(' + horo_path + 'images/todays_head.gif);');
document.writeln('	background-position:left top;');
document.writeln('	background-repeat:no-repeat;');
document.writeln('	height:20px;');
document.writeln('}');
document.writeln('.module_star .tomors{');
document.writeln('	margin:0px 0px 0px 0px;');
document.writeln('	background-image:url(' + horo_path + 'images/tomorsbg.gif);');
document.writeln('	background-position:left top;');
document.writeln('	background-repeat:no-repeat;');
document.writeln('}');

document.writeln('.module_star .tomors_head{ ');
document.writeln('	margin:0px 0px 0px 0px;');
document.writeln('	padding:0px;');
document.writeln('	background-image:url(' + horo_path + 'images/tomors_head.gif);');
document.writeln('	background-position:left top;');
document.writeln('	background-repeat:no-repeat;');
document.writeln('	height:21px;');
document.writeln('}');
document.writeln('.module_star .tomors ul{');
document.writeln('	float:left;');
document.writeln('	width:91px;');
document.writeln('	margin:0px;');
document.writeln('	padding:4px 0px 0px 9px;');
document.writeln('	}');
document.writeln('.module_star .tomors ul li{font-size:11px;color:#ffffff;list-style:none;margin:0px; padding:0px 0px 2px 0px;}');
document.writeln('div > .module_star .tomors ul{ padding:4px 0px 0px 10px;	width:90px;}');
document.writeln('div > .module_star .tomors ul li{ padding:0px 0px 0px 0px;margin:0px;}');
document.writeln('.module_star em{ ');
document.writeln('	display:block;');
document.writeln('	font-style:normal; ');
document.writeln('	font-size:12px;');
document.writeln('	padding:2px 9px 1px 9px;');
document.writeln('	}');
document.writeln('div > .module_star em{padding:0px 9px 0px 9px;}');
document.writeln('.module_star .contl{float:left;width:55px; text-align:center; padding:0px 0px 0px 4px;margin:5px 0px 0px 3px;}');
document.writeln('.module_star .contl img{ margin:0px 0px 3px 0px; padding:0px;}');
document.writeln('.module_star .contc{float:left;width:91px; height:75px; background-color:#855699; margin:0px 0px 0px 4px;padding:0px 0px 0px 3px;}');
document.writeln('.module_star .contc ul{margin:0px;padding:5px 0px 0px 0px;}');
document.writeln('.module_star .contc ul li{margin:0px; padding:0px 0px 2px 0px; list-style:none;font-size:11px; color:#ffffff;}');
document.writeln('div > .module_star .contc ul li{ padding:0px 0px 0px 0px;margin:0px;}');
document.writeln('.module_star .contr{float:right;width:40px;text-align:center; clear:right; margin:0px;padding:0px;}');
document.writeln('.module_star .contr img{ background-color:#ffffff; margin:0px; padding:0px;}');

document.writeln('.module_star .article{');
document.writeln('	margin:0px 0px 0px 0px;');
document.writeln('	padding:0px;');
document.writeln('	background-image:url(' + horo_path + 'images/btmbg.gif);');
document.writeln('	background-position:left top;');
document.writeln('	background-repeat:no-repeat;');
document.writeln('	height:61px;');
document.writeln('}');

document.writeln('.module_star select{font-size:11px; width:48px;}');
document.writeln('.module_star .mores{display:block; color:#666666; text-align:right; margin:0px; font-size:10px; font-family:Verdana, Arial, Helvetica, sans-serif;}');
document.writeln('.module_star .morebar{');
document.writeln('	background-image:url(' + horo_path + 'images/morebar.gif);');
document.writeln('	background-position:left top;');
document.writeln('	background-repeat:no-repeat;');
document.writeln('	height:13px;	');
document.writeln('	width:200px;');
document.writeln('}');

document.writeln('.module_star .stbtm{');
document.writeln('	margin:0px 0px 0px 0px;');
document.writeln('	padding:0px;');
document.writeln('	background-image:url(' + horo_path + 'images/btmbg.gif);');
document.writeln('	background-position:left top;');
document.writeln('	background-repeat:no-repeat;');
document.writeln('	height:6px;');

document.writeln('}');
document.writeln('.clear_m{clear:both;}');
document.writeln('form{padding:0px;margin:0px;}');
document.writeln('-->');
document.writeln('</style>');
document.writeln('<\!-- Mindcity start -->');
document.writeln('<div align="center">');
document.writeln('<div class="module_star">');
document.writeln('<div class="tous"><a href="http://mindcity.sina.com.tw/" target="_blank"><img src="' + horo_path + 'images/spacer.gif" width="200px" height="24px" border="0" /></a></div>');
document.writeln('	<\!-- 今日運勢 -->');
document.writeln('	<div class="todays">');
document.writeln('	<h5 class="today_head"><a href="#"><img src="' + horo_path + 'images/spacer.gif" height="18px" width="200px" border="0" /></a></h5>');
document.writeln('	<div class="contl">');

document.writeln('    <img src="' + get_horo["horo_img"] + '" border="0" />');

document.writeln('	<form name="form1" id="form1">');
document.writeln('      <select onchange="javascript:this_value = this.options[this.selectedIndex].value;if(this_value){goto_mindcity(this_value);};">');
document.writeln('		<option value="' + horo_list[0]["horo_id"] + '"' + isSelected(horo_list[0]["horo_id"]) + '>牡羊</option>');
document.writeln('		<option value="' + horo_list[1]["horo_id"] + '"' + isSelected(horo_list[1]["horo_id"]) + '>金牛</option>');
document.writeln('		<option value="' + horo_list[2]["horo_id"] + '"' + isSelected(horo_list[2]["horo_id"]) + '>雙子</option>');
document.writeln('		<option value="' + horo_list[3]["horo_id"] + '"' + isSelected(horo_list[3]["horo_id"]) + '>巨蟹</option>');
document.writeln('		<option value="' + horo_list[4]["horo_id"] + '"' + isSelected(horo_list[4]["horo_id"]) + '>獅子</option>');
document.writeln('		<option value="' + horo_list[5]["horo_id"] + '"' + isSelected(horo_list[5]["horo_id"]) + '>處女</option>');
document.writeln('		<option value="' + horo_list[6]["horo_id"] + '"' + isSelected(horo_list[6]["horo_id"]) + '>天秤</option>');
document.writeln('		<option value="' + horo_list[7]["horo_id"] + '"' + isSelected(horo_list[7]["horo_id"]) + '>天蠍</option>');
document.writeln('		<option value="' + horo_list[8]["horo_id"] + '"' + isSelected(horo_list[8]["horo_id"]) + '>射手</option>');
document.writeln('		<option value="' + horo_list[9]["horo_id"] + '"' + isSelected(horo_list[9]["horo_id"]) + '>魔羯</option>');
document.writeln('		<option value="' + horo_list[10]["horo_id"] + '"' + isSelected(horo_list[10]["horo_id"]) + '>水瓶</option>');
document.writeln('      <option value="' + horo_list[11]["horo_id"] + '"' + isSelected(horo_list[11]["horo_id"]) + '>雙魚</option>');
document.writeln('      </select>');
document.writeln('    </form>');
document.writeln('    </div>');
document.writeln('	<div class="contc">');
document.writeln('	<ul>');
document.writeln('	<li>整體:' + get_star(get_horo["horo_combine"]) + '</li>');
document.writeln('	<li>愛情:' + get_star(get_horo["horo_love"]) + '</li>');
document.writeln('	<li>事業:' + get_star(get_horo["horo_work"]) + '</li>');
document.writeln('	<li>理財:' + get_star(get_horo["horo_finance"]) + '</li>');
document.writeln('	</ul>');
document.writeln('	</div>');
document.writeln('	<div class="contr">');
document.writeln('	<span style="margin:0px;padding:0px;float:left; display:block;"><img src="' + horo_path + 'images/' + get_weather(get_horo["horo_combine"]) + '" border="0" /></span>');
document.writeln('	<div style="clear:both;"></div>');
document.writeln('	<span style="margin:0px;padding:0px;float:left; display:block;"><a href="' + get_horo["horo_url"] + '" target="_blank"><img src="' + horo_path + 'images/more_icon.gif" border="0" /></a></span>');
document.writeln('	</div>');

document.writeln('	</div>');
document.writeln('	<div class="clear_m"></div>');

document.writeln('	<\!-- 明日運勢 -->');
document.writeln('	<div class="tomors">');
document.writeln('	<h5 class="tomors_head"><img src="' + horo_path + 'images/spacer.gif" height="18px" width="200px" border="0" onclick="javascript:horo_to();" style="cursor:hand;" /></h5>');
document.writeln('	<div id="horo_to" style="display:none;">');
document.writeln('	<ul>');
document.writeln('	<li>整體' + get_star(get_horo["to_combine"]) + '</li>');
document.writeln('	<li>事業' + get_star(get_horo["to_work"]) + '</li>');
document.writeln('	<li>幸運色:' + get_horo["to_color"] + '</li>');
document.writeln('	</ul>');
document.writeln('	<ul>');
document.writeln('	<li>愛情' + get_star(get_horo["to_love"]) + '</li>');
document.writeln('	<li>理財' + get_star(get_horo["to_finance"]) + '</li>');
document.writeln('	<li>幸運號碼:' + get_horo["to_number"] + '</li>');
document.writeln('	</ul>');
document.writeln('	<div class="morebar"><a href="' + get_horo["to_url"] + '" target="_blank"><img src="' + horo_path + 'images/spacer.gif" width="200px" height="13px;" border="0"></a></div>');
document.writeln('	</div>');
document.writeln('	</div>');
document.writeln('	<div class="clear_m"></div>');
document.writeln('	<\!-- 最新文章 -->');
document.writeln('	<div class="article">');
for(var i = 0; i < get_article.length; i++){
	document.writeln('	<em><img src="' + horo_path + 'images/note.gif" border="0" align="absmiddle" /><a href="' + get_article[i]["article_url"] + '" target="_blank">' + get_article[i]["article_title"] + '</a></em>');
}
document.writeln('	</div>');
document.writeln('</div>');
document.writeln('</div>');
document.writeln('<\!-- Mindcity end -->');
}
show_mindcity();