//Protección de los datos
var message="CLUB BIBLIOTECA\n¡Por el buen hábito de la lectura!\n\n© René Blas\nMéxico, 2005-2007";
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
 
document.oncontextmenu=new Function("alert(message);return false")

// Efecto para una nueva ventana
function arrastrar(dir) {
var velocidadheight = 10; // Esta es la velocidad con se abre de ancho
var velocidadwidth = 10; // Esta es la velocidad con se abre de alto
var situacionleft = 0; // Esta es la situación respecto a la parte izquierda
var situaciontop = 0; // Esta es la situación respecto a la parte derecha
if (document.all) {
var winwidth = window.screen.availWidth - situacionleft;
var winheight = window.screen.availHeight - situaciontop;
var ventana = window.open("","","left=" + situacionleft + ",top=" + situaciontop + ",width=1,height=1,scrollbars=yes,"); // En esta linea puedes editar las cualidades de la ventana que se abre

for (myheight = 1; myheight < winheight; myheight += velocidadheight) {
ventana.resizeTo("1", myheight);
}
for (mywidth = 1; mywidth < winwidth; mywidth += velocidadwidth) {
ventana.resizeTo(mywidth, myheight);
}
ventana.location = dir;
}
else
window.location = dir;
}

// Texto en la Barra de Estado
<!--
var current = 0
var x = 0
var speed = 50
var speed2 = 3000

function initArray(n) {
  this.length = n;
  for (var i =1; i <= n; i++) {
    this[i] = ' '
  }
}

typ = new initArray(6)
typ[0]="www.clubbiblioteca.mx.gs"
typ[1]="¡¡ Bienvenid@ a nuestro Club de Lectores !!"
typ[2]="Te ofrecemos muchísimas herramientas para hacer más amenos tus ratos de lectura."
typ[3]="Disfruta de las diferentes secciones; seguro encontrarás lo que buscas!!"
typ[4]="Comentarios, críticas, colaboraciones y demás... webmaster@clubbiblioteca.zzn.com"
typ[5]="Si esto te gustó... recomiendanos con todos tus cuates!"
function typewrite() {
var m = typ[current]

window.status = m.substring(0, x++) + "_"

if (x == m.length + 1) {
x = 0
current++

if (current > typ.length - 1) {
current = 0
}

setTimeout("typewrite()", speed2)
}

else {
setTimeout("typewrite()", speed)
}
}
typewrite()
//-->

