-: -----fingers----- :-
 
 
 
 
 
 
 
 
 
 
 
 
 
<html>
<head>
<title>Year of the?</title>
<!-- BEGIN YEAR OF THE? SCRIPT -->
<!-- This part of the script goes between your HEAD tags -->
<script LANGUAGE="JavaScript">
<!--
function getpet () {

var toyear = 1997;
var birthyear = document.frm.inyear.value;
var birthpet="Ox"

x = (toyear - birthyear) % 12
if ((x == 1) || (x == -11)) {
birthpet="Rata" }
else {
if (x == 0) {
birthpet="Ox" }
else {
if ((x == 11) || (x == -1)) {
birthpet="Tigre" }
else {
if ((x == 10) || (x == -2)) {
birthpet="Conejo" }
else {
if ((x == 9) || (x == -3)) {
birthpet="Dragon" }
else {
if ((x == || (x == -4)) {
birthpet="Serpiente" }
else {
if ((x == 7) || (x == -5)) {
birthpet="Caballo" }
else {
if ((x == 6) || (x == -6)) {
birthpet="Cabra" }
else {
if ((x == 5) || (x == -7)) {
birthpet="Mono" }
else {
if ((x == 4) || (x == -8)) {
birthpet="Pollo" }
else {
if ((x == 3) || (x == -9)) {
birthpet="Perro" }
else {
if ((x == 2) || (x == -10)) {
birthpet="Cerdo" }
}
}
}
}
}
}
}
}
}
}
}
document.frm.birth.value = birthpet;
}
// -->
</script>
<!-- END HEAD TAG PART -->
</head>
<body BGCOLOR="#ffffff" link="#CC0033" vlink="#333399" alink="#FF0000">
<!-- This part of the script goes between your BODY tags -->
<form NAME="frm">
<p><input TYPE="text" SIZE="4" NAME="inyear"> <input TYPE="button" VALUE="Introduce el año y te dire tu horóscopo"
onClick="getpet()"> <br>
</p>
<p><input TYPE="text" SIZE="10" NAME="birth"> </p>
</form>
<!-- END BODY TAG PART -->
<!-- END YEAR OF THE? SCRIPT -->
</body>
</html>
-: Noticias :-
 
   
Hoy habia 2332 visitantes (3583 clics a subpáginas) ¡Aqui en esta página!
Este sitio web fue creado de forma gratuita con PaginaWebGratis.es. ¿Quieres también tu sitio web propio?
Registrarse gratis