/**
* Terms and Conditions of Use
* This file contains proprietary information of SteadfastPeregrine Design, and Timothy Joko-Veltman.
* Copying or reproduction is allowed provided SteadfastPeregrine Design and Timothy Joko-Veltman
* are acknowledged in any copyright notice with the email and URL listed below.
*
* This script is not guaranteed to perform as specified, and is accurate to the best of the creator's knowledge.
* It is provided on an "as is" basis, and neither SteadfastPeregrine Design nor Timothy Joko-Veltman
* shall be held responsible for any damages whatsoever that may result from its use.
* Copyright (c) 2002-3, SteadfastPeregrine Design (Timothy Joko-Veltman)
*/  

/**
* Email: webmaster@steadfastperegrine.org
* URL: http://www.steadfastperegrine.org
*/

function signs()
{
	var $start = 1901;
	var $birthYear = document.zodiac.year.value;
	var $day=document.zodiac.day.selectedIndex;
	var $month=document.zodiac.month.selectedIndex;
	var $x = ($start - $birthYear) % 12;

	with (document.zodiac.sign)
		{
			if ($month == 1 && $day >=20 || $month == 2 && $day <=18) {value = "Aquarius";}
			if ($month == 1 && $day > 31) {value = "Huh?";}
			if ($month == 2 && $day >=19 || $month == 3 && $day <=20) {value = "Pisces";}
			if ($month == 2 && $day > 29)	 {value = "Say what?";}
			if ($month == 3 && $day >=21 || $month == 4 && $day <=19) {value = "Aries";}
			if ($month == 3 && $day > 31) {value = "OK.  Whatever.";}
			if ($month == 4 && $day >=20 || $month == 5 && $day <=20) {value = "Taurus";}
			if ($month == 4 && $day > 30) {value = "I'm soooo sorry!";}
			if ($month == 5 && $day >=21 || $month == 6 && $day <=21) {value = "Gemini";}
			if ($month == 5 && $day > 31) {value = "Umm ... no.";}
			if ($month == 6 && $day >=22 || $month == 7 && $day <=22) {value = "Cancer";}
			if ($month == 6 && $day > 30) {value = "Sorry.";}
			if ($month == 7 && $day >=23 || $month == 8 && $day <=22) {value = "Leo";}
			if ($month == 7 && $day > 31) {value = "Excuse me?";}
			if ($month == 8 && $day >=23 || $month == 9 && $day <=22) {value = "Virgo";}
			if ($month == 8 && $day > 31) {value = "Yeah. Right.";}
			if ($month == 9 && $day >=23 || $month == 10 && $day <=22) {value = "Libra";}
			if ($month == 9 && $day > 30) {value = "Try Again.";}
			if ($month == 10 && $day >=23 || $month == 11 && $day <=21) {value = "Scorpio";}
			if ($month == 10 && $day > 31) {value = "Forget it!";}
			if ($month == 11 && $day >=22 || $month == 12 && $day <=21)	{value = "Sagittarius";}
			if ($month == 11 && $day > 30) {value = "Invalid $day";}
			if ($month == 12 && $day >=22 || $month == 1 && $day <=19) {value = "Capricorn";}
			if ($month == 12 && $day > 31) {value = "No way!";}
		}
	with (document.zodiac.csign)
		{
			if ($month == 1 || ($month == 2 && $day <=5)){$x++;}
			if ($x == 1 || $x == -11) {value = "Rat";}
			if ($x == 0) {value = "Ox";}
			if ($x == 11 || $x == -1) {value = "Tiger";}
			if ($x == 10 || $x == -2) {value = "Rabbit/Cat";}
			if ($x == 9 || $x == -3)  {value = "Dragon";}
			if ($x == 8 || $x == -4)  {value ="Snake";}
			if ($x == 7 || $x == -5)  {value = "Horse";}
			if ($x == 6 || $x == -6)  {value = "Sheep";}
			if ($x == 5 || $x == -7)  {value = "Monkey";}
			if ($x == 4 || $x == -8)  {value = "Rooster/Phoeni$x";}
			if ($x == 3 || $x == -9)  {value = "Dog";}
			if ($x == 2 || $x == -10)  {value = "Boar";}  
		}
	}
	
	
function gone(){
var selectedurl=document.jumpy.example.options[document.jumpy.example.selectedIndex].value
if (document.getElementById&&displaymode==0)
document.getElementById("external").src=selectedurl
else if (document.all&&displaymode==0)
document.all.external.src=selectedurl
else{
if (!window.win2||win2.closed)
win2=window.open(selectedurl)
//else if win2 already exists
else{
win2.location=selectedurl
win2.focus()
}
}
}