document.writeln("<HEAD>");
document.writeln("");
document.writeln("<SCRIPT LANGUAGE=\"JavaScript\">");
document.writeln("");
document.writeln("<!-- This script and many more are available free online at -->");
document.writeln("<!-- The JavaScript Source!! http:\/\/javascript.internet.com -->");
document.writeln("<!-- Original:  Timothy Joko-Veltman (restlessperegrine@yahoo.com ) -->");
document.writeln("<!-- Begin");
document.writeln("function signs() {");
document.writeln("var start = 1901, birthyear = document.zodiac.year.value, date=document.zodiac.date.value, month=document.zodiac.month.selectedIndex;");
document.writeln("");
document.writeln("with (document.zodiac.sign){");
document.writeln("");
document.writeln("if (month == 1 && date >=20 || month == 2 && date <=18) {value = \"Aquarius\";}");
document.writeln("if (month == 1 && date > 31) {value = \"Huh?\";}");
document.writeln("if (month == 2 && date >=19 || month == 3 && date <=20) {value = \"Pisces\";}");
document.writeln("if (month == 2 && date > 29) {value = \"Say what?\";}");
document.writeln("if (month == 3 && date >=21 || month == 4 && date <=19) {value = \"Aries\";}");
document.writeln("if (month == 3 && date > 31) {value = \"OK.  Whatever.\";}");
document.writeln("if (month == 4 && date >=20 || month == 5 && date <=20) {value = \"Taurus\";}");
document.writeln("if (month == 4 && date > 30) {value = \"I\'m soooo sorry!\";}");
document.writeln("if (month == 5 && date >=21 || month == 6 && date <=21) {value = \"Gemini\";}");
document.writeln("if (month == 5 && date > 31) {value = \"Umm ... no.\";}");
document.writeln("if (month == 6 && date >=22 || month == 7 && date <=22) {value = \"Cancer\";}");
document.writeln("if (month == 6 && date > 30) {value = \"Sorry.\";}");
document.writeln("if (month == 7 && date >=23 || month == 8 && date <=22) {value = \"Leo\";}");
document.writeln("if (month == 7 && date > 31) {value = \"Excuse me?\";}");
document.writeln("if (month == 8 && date >=23 || month == 9 && date <=22) {value = \"Virgo\";}");
document.writeln("if (month == 8 && date > 31) {value = \"Yeah. Right.\";}");
document.writeln("if (month == 9 && date >=23 || month == 10 && date <=22) {value = \"Libra\";}");
document.writeln("if (month == 9 && date > 30) {value = \"Try Again.\";}");
document.writeln("if (month == 10 && date >=23 || month == 11 && date <=21) {value = \"Scorpio\";}");
document.writeln("if (month == 10 && date > 31) {value = \"Forget it!\";}");
document.writeln("if (month == 11 && date >=22 || month == 12 && date <=21) {value = \"Sagittarius\";}");
document.writeln("if (month == 11 && date > 30) {value = \"Invalid Date\";}");
document.writeln("if (month == 12 && date >=22 || month == 1 && date <=19) {value = \"Capricorn\";}");
document.writeln("if (month == 12 && date > 31) {value = \"No way!\";}");
document.writeln("}");
document.writeln("x = (start - birthyear) % 12");
document.writeln("with (document.zodiac.csign){");
document.writeln("if (x == 1 || x == -11) {value = \"Rat\";}");
document.writeln("if (x == 0) {value = \"Ox\";}");
document.writeln("if (x == 11 || x == -1) {value = \"Tiger\";}");
document.writeln("if (x == 10 || x == -2) {value = \"Rabbit\/Cat\";}");
document.writeln("if (x == 9 || x == -3)  {value = \"Dragon\";}");
document.writeln("if (x == 8 || x == -4)  {value =\"Snake\";}");
document.writeln("if (x == 7 || x == -5)  {value = \"Horse\";}");
document.writeln("if (x == 6 || x == -6)  {value = \"Sheep\";}");
document.writeln("if (x == 5 || x == -7)  {value = \"Monkey\";}");
document.writeln("if (x == 4 || x == -8)  {value = \"Cock\/Phoenix\";}");
document.writeln("if (x == 3 || x == -9)  {value = \"Dog\";}");
document.writeln("if (x == 2 || x == -10)  {value = \"Boar\";}  ");
document.writeln("");
document.writeln("}");
document.writeln("}");
document.writeln("\/\/  End -->");
document.writeln("<\/script>");
document.writeln("");
document.writeln("<\/HEAD>");
document.writeln("");
document.writeln("<!-- STEP TWO: Copy this code into the BODY of your HTML document  -->");
document.writeln("");
document.writeln("<BODY>");
document.writeln("");
document.writeln("<form name=\"zodiac\">");
document.writeln("<center>");
document.writeln("<table bgcolor=\"#eeaa00\" border=\"2\" bordercolor=\"#000000\" rules=\"none\" cellspacing=\"0\" cellpadding=\"4\">");
document.writeln("	<tr><td><b><i>Year<\/i><\/b><\/td>");
document.writeln("	<td><div align=\"right\"><input type=\"text\" size=\"10\" name=\"year\" value=\"Birth Year\" onClick=value=\"\"><\/div><\/td>");
document.writeln("	<td><!--This empty field is just for appearance--><\/td>");
document.writeln("	<tr><td><b><i>Month<\/i><\/b><\/td>");
document.writeln("	<td><div align=\"right\">");
document.writeln("<select name=\"month\">");
document.writeln("<option value=\"x\">Select Birth Month<\/option>");
document.writeln("<option value=\"1\">January<\/option><option value=\"2\">February<\/option><option value=\"3\">March<\/option>");
document.writeln("<option value=\"4\">April<\/option><option value=\"5\">May<\/option><option value=\"6\">June<\/option>");
document.writeln("<option value=\"7\">July<\/option><option value=\"8\">August<\/option><option value=\"9\">September<\/option>");
document.writeln("<option value=\"10\">October<\/option><option value=\"11\">November<\/option>");
document.writeln("<option value=\"12\">December<\/option><\/select><\/div><\/td>");
document.writeln("	<td><!--This empty field is just for appearance--><\/td><\/tr>");
document.writeln("	<tr><td><b><i>Day<\/i><\/b><\/td>");
document.writeln("	<td><div align=\"right\"><input type=\"text\" name=\"date\"value=\"Day\" size=\"3\" onClick=value=\"\"><\/td>");
document.writeln("	<td><input type=\"button\" value=\"Calculate\" onClick=\"signs()\"><\/div><\/td><\/tr>");
document.writeln("	<tr><td><b><i>Sun Sign:<\/i><\/b><\/td>");
document.writeln("	<td><div align=\"right\"><input type=\"text\" name=\"sign\" size=\"12\" value=\"\" align=\"right\"><\/div<\/td><\/tr>");
document.writeln("	<td><!--This empty field is just for appearance--><\/td><\/tr>");
document.writeln("	<tr><td><b><i>Chinese Sign:<\/i><\/b><\/td>");
document.writeln("	<td><div align=\"right\"><input type=\"text\" name=\"csign\" size=\"12\"><\/div><\/td>");
document.writeln("	<td><!--This empty field is just for appearance--><\/td><\/tr>");
document.writeln("");
document.writeln("<\/table>");
document.writeln("<\/center>");
document.writeln("<\/form>");
document.writeln("");