MatchGH=new Array();
MatchGH[0]="×ÓÊó+ÒËÅä=http://life.21cn.com/horoscope/shengpei/shu/yi.html";
MatchGH[1]="×ÓÊó+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/shu/ji.html";
MatchGH[2]="³óÅ£+ÒËÅä=http://life.21cn.com/horoscope/shengpei/niu/yi.html";
MatchGH[3]="³óÅ£+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/niu/ji.html";
MatchGH[4]="Òú»¢+ÒËÅä=http://life.21cn.com/horoscope/shengpei/hu/yi.html";
MatchGH[5]="Òú»¢+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/hu/ji.html";
MatchGH[6]="Ã®ÍÃ+ÒËÅä=http://life.21cn.com/horoscope/shengpei/tu/yi.html";
MatchGH[7]="Ã®ÍÃ+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/tu/ji.html";
MatchGH[8]="³½Áú+ÒËÅä=http://life.21cn.com/horoscope/shengpei/long/yi.html";
MatchGH[9]="³½Áú+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/long/ji.html";
MatchGH[10]="ËÈÉß+ÒËÅä=http://life.21cn.com/horoscope/shengpei/she/yi.html";
MatchGH[11]="ËÈÉß+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/she/ji.html";
MatchGH[12]="ÎçÂí+ÒËÅä=http://life.21cn.com/horoscope/shengpei/ma/yi.html";
MatchGH[13]="ÎçÂí+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/ma/ji.html";
MatchGH[14]="Î´Ñò+ÒËÅä=http://life.21cn.com/horoscope/shengpei/yang/yi.html";
MatchGH[15]="Î´Ñò+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/yang/ji.html";
MatchGH[16]="Éêºï+ÒËÅä=http://life.21cn.com/horoscope/shengpei/hou/yi.html";
MatchGH[17]="Éêºï+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/hou/ji.html";
MatchGH[18]="ÓÏ¼¦+ÒËÅä=http://life.21cn.com/horoscope/shengpei/ji/yi.html";
MatchGH[19]="ÓÏ¼¦+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/ji/ji.html";
MatchGH[20]="Ðç¹·+ÒËÅä=http://life.21cn.com/horoscope/shengpei/gou/yi.html";
MatchGH[21]="Ðç¹·+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/gou/ji.html";
MatchGH[22]="º¥Öí+ÒËÅä=http://life.21cn.com/horoscope/shengpei/zhu/yi.html";
MatchGH[23]="º¥Öí+¼ÉÅä=http://life.21cn.com/horoscope/shengpei/zhu/ji.html";


function GoMatch(selectA, selectB, arrAB){
	MatchText = selectA.options[selectA.selectedIndex].text;
	MatchText += "+";
	MatchText += selectB.options[selectB.selectedIndex].text;
	
	urlText="";
	for (i=0; i<arrAB.length; i++){
		if(arrAB[i].indexOf(MatchText) > -1) {
			pos=arrAB[i].indexOf("=");
			urlText=arrAB[i].substr(pos+1);
			break;
		}
	}

	if(urlText!="") window.open(urlText,null,"height=400,width=400,toolbar=no,menubar=no,location=no");
}
