function LinkObject(href,text) { this.href = href; this.text = text; }
Warning: include_once(guia/admin/db.php) [function.include-once]: failed to open stream: No such file or directory in /home/elreloj/public_html/tw-objects.js.php on line 6

Warning: include_once() [function.include]: Failed opening 'guia/admin/db.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/elreloj/public_html/tw-objects.js.php on line 6

Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /home/elreloj/public_html/tw-objects.js.php on line 9

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/elreloj/public_html/tw-objects.js.php on line 9

Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/elreloj/public_html/tw-objects.js.php on line 12
var text="original text"; var delay=50; var stop=false; var currentChar=1; var counter=0; var destination="[not defined]"; var first_stop=true; var a_text=new Array(); function stop() { if(first_stop) { stop=true; first_stop = false; } else { stop = false; first_stop = true; } } function type() { if (document.getElementById) { var dest=document.getElementById(destination); if (dest)// && dest.innerHTML) { dest.innerHTML="" + text.text.substr(0, currentChar) + ""; //dest.innerHTML+=text[currentChar-1]; currentChar++ if (currentChar>text.text.length) { if(stop) { currentChar = text.text.length; setTimeout("type()", delay); } else { counter++ currentChar=1; if (counter>=a_text.length) { counter=0; } text=a_text[counter]; setTimeout("type()", delay); } } else { setTimeout("type()", delay); } } } } function startTyping(textParam, delayParam, destinationParam) { text=textParam; delay=delayParam; currentChar=1; destination=destinationParam; type(); }