<!-- hide from non JS browsers.
//Define a couple of global variables.

var timerID = null
var timerRunning = false

function stopTimer(){
//stop the clock
if(timerRunning) {
clearTimeout(timerID)
timerRunning = false
}
}

function startTimer(){
// Stop the clock (in case it's running), then make it go.
stopTimer()
runClock()
}

function runClock(){
document.clock.face.value = timeNow()
//Notice how setTimeout() calls its own calling function, runClock().
timerID = setTimeout("runClock()",1000)
timerRunning = true
}

function timeNow() {
//Grabs the current time and formats it into hh:mm:ss am/pm format.
now = new Date()
hours = now.getHours()
minutes = now.getMinutes()
seconds = now.getSeconds()
timeStr = "" + ((hours > 12) ? hours - 12 : hours)
timeStr += ((minutes < 10) ? ":0" : ":") + minutes
timeStr += ((seconds < 10) ? ":0" : ":") + seconds
timeStr += (hours >= 12) ? " PM" : " AM"
return timeStr
}
// End of custom functions, stop hiding code -->
<body>
<script>
<!-- hide from non JS browsers.
//Define a couple of global variables.

var timerID = null
var timerRunning = false

function stopTimer(){
//stop the clock
if(timerRunning) {
clearTimeout(timerID)
timerRunning = false
}
}

function startTimer(){
// Stop the clock (in case it's running), then make it go.
stopTimer()
runClock()
}

function runClock(){
document.clock.face.value = timeNow()
//Notice how setTimeout() calls its own calling function, runClock().
timerID = setTimeout("runClock()",1000)
timerRunning = true
}

function timeNow() {
//Grabs the current time and formats it into hh:mm:ss am/pm format.
now = new Date()
hours = now.getHours()
minutes = now.getMinutes()
seconds = now.getSeconds()
timeStr = "" + ((hours > 12) ? hours - 12 : hours)
timeStr += ((minutes < 10) ? ":0" : ":") + minutes
timeStr += ((seconds < 10) ? ":0" : ":") + seconds
timeStr += (hours >= 12) ? " PM" : " AM"
return timeStr
}
// End of custom functions, stop hiding code -->
</script>
<style>
<!--
a { text-decoration: none }
-->
</style>
<script languaje="JavaScript">
function fechahoy() {
var diasemana = new Array ('Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado', 'Domingo');
var nombremes = new Array ('Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre');
var ahora;
var fecha = new Date();
var mes = fecha.getMonth();
var dia = fecha.getDay();
var num = fecha.getDate();
ahora = diasemana[dia] + ", " + num + " " + nombremes[mes] + " " + "2007";
return ahora;
}
</script>
<base target="principal">
</head>
<script LANGUAGE="JavaScript">

function infoscroll(seed,looped)
{
var text1 = " Bienvenido a la pagina de Espantanublos Teatro";
var text2 = " ";
var msg=text1;
var putout = " ";
var c = 1;

if (looped > 10)
{ window.status="Loterías y Apuestas del Estado"; }
else if (seed > 100)
{
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0)
{
for (c=0 ; c < seed ; c++)
{ putout+=" "; }
putout+=msg.substring(0,100-seed);
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
window.status=putout;
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0)
{
if (-seed < msg.length)
{
putout+=msg.substring(-seed,msg.length);
seed--;
var cmd="infoscroll(" + seed + "," + looped + ")";
window.status=putout;
timerTwo=window.setTimeout(cmd,100); // 100
}
else
{
window.status=" ";
looped += 1;
var cmd = "infoscroll(100," + looped + ")";
timerTwo=window.setTimeout(cmd,45); // 75
}
}
}
// -->

<!--
infoscroll(100,0)
// -->

</script>
<body ONLOAD="startTimer()" ONUNLOAD="stopTimer()" VLINK="#0000FF" BGPROPERTIES="fixed" LEFTMARGIN="0" TOPMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0" BGCOLOR="#C0C0C0">

<div ALIGN="center">
<div ALIGN="center">
<table BORDER="0" CELLSPACING="0" WIDTH="100%" CELLPADDING="0" BGCOLOR="#000080" style="border-collapse: collapse" bordercolor="#111111">
<tr>
<td>
<p ALIGN="left"><b><font FACE="Arial" COLOR="#FFFFFF" SIZE="2">
<script languaje="JavaScript">
document.write(" " + fechahoy() );
</script>

</font></b></p>
</td>
<form NAME="clock">
<td><font FACE="Arial">
<input TYPE="text" NAME="face" SIZE="10" STYLE="font-weight: 300; background-color: rgb(0,0,80); color: rgb(255,255,255);&gt;
&lt;form NAME=" CLOCK"></font></td>