
<!--
/*By George Chiang (WA's JavaScript tutorial)
http://www.wsabstract.com
Credit MUST stay intact for use*/
var dn;
/*c1=new Image(); c1.src="http://www.cyberiapc.com/aascripter/samples/Clocks/c1.gif";
c2=new Image(); c2.src="http://www.cyberiapc.com/aascripter/samples/Clocks/c2.gif";
c3=new Image(); c3.src="http://www.cyberiapc.com/aascripter/samples/Clocks/c3.gif";
c4=new Image(); c4.src="http://www.cyberiapc.com/aascripter/samples/Clocks/c4.gif";
c5=new Image(); c5.src="http://www.cyberiapc.com/aascripter/samples/Clocks/c5.gif";
c6=new Image(); c6.src="http://www.cyberiapc.com/aascripter/samples/Clocks/c6.gif";
c7=new Image(); c7.src="http://www.cyberiapc.com/aascripter/samples/Clocks/c7.gif";
c8=new Image(); c8.src="http://www.cyberiapc.com/aascripter/samples/Clocks/c8.gif";
c9=new Image(); c9.src="http://www.cyberiapc.com/aascripter/samples/Clocks/c9.gif";
c0=new Image(); c0.src="http://www.cyberiapc.com/aascripter/samples/Clocks/c0.gif";
cb=new Image(); cb.src="http://www.cyberiapc.com/aascripter/samples/Clocks/cb.gif";
cam=new Image(); cam.src="http://www.cyberiapc.com/aascripter/samples/Clocks/cam.gif";
cpm=new Image(); cpm.src="http://www.cyberiapc.com/aascripter/samples/Clocks/cpm.gif";
*/
function extract(h,m,s,type){
	if (!document.images)
		return;
	if (h<=9){
		document.images.a.src=cb.src;
		document.images.b.src=eval("c"+h+".src");
	}
	else {
		document.images.a.src=eval("c"+Math.floor(h/10)+".src");
		document.images.b.src=eval("c"+(h%10)+".src");
	}
	if (m<=9){
		document.images.d.src=c0.src;
		document.images.e.src=eval("c"+m+".src");
	}
	else {
		document.images.d.src=eval("c"+Math.floor(m/10)+".src");
		document.images.e.src=eval("c"+(m%10)+".src");
	}
	if (s<=9){
		document.g.src=c0.src;
		document.images.h.src=eval("c"+s+".src");
	}
	else {
		document.images.g.src=eval("c"+Math.floor(s/10)+".src");
		document.images.h.src=eval("c"+(s%10)+".src");
	}
	if (dn=="AM") 
		document.j.src=cam.src;
	else 
		document.images.j.src=cpm.src;
}

function show3(){
	if (!document.images)
		return;
	var Digital=new Date();
	var hours=Digital.getHours();
	var minutes=Digital.getMinutes();
	var seconds=Digital.getSeconds();
	dn="AM" ;
	if ((hours>=12)&&(minutes>=1)||(hours>=13)){
		dn="PM";
		hours=hours-12;
	}
	if (hours==0)
		hours=12;
	extract(hours,minutes,seconds,dn);
	setTimeout("show3()",1000);
}
//-->
	
	
function zoomText(tipo){
//inicializaciones
obj=document.getElementById("Lectura");
if (obj.style.fontSize==""){
obj.style.fontSize="100%";
}
actual=parseInt(obj.style.fontSize);
incremento=10;

//operacion
if(tipo=="normal"){
obj.style.fontSize="100%"
}
if(tipo=="aumentar"){
valor=actual+incremento;
obj.style.fontSize=valor+"%"
}
if(tipo=="disminuir"){
valor=actual-incremento;
obj.style.fontSize=valor+"%"
}
}


var url="http://www.agrupasionxelgallo.com.ar" 
var titulo="AgruPasion por el Gallo"
function agregar(){
if (document.all)
window.external.AddFavorite(url,titulo)
}



function UltimaActualizacion() {   
  
  var fecha = new Date( document.lastModified )   
  
  document.write("<p>Ultima actualización: <b>")   
  MostrarFecha( fecha )   
  document.write("</b></p>")   
}   
  
function MostrarFecha( fecha ) {   
   var nombres_dias = new Array("Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado")   
   var nombres_meses = new Array("Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre")   
  
   var dia_mes = fecha.getDate()    //dia del mes   
   var dia_semana = fecha.getDay()  //dia de la semana   
   var mes = fecha.getMonth() + 1   
   var anio = fecha.getFullYear()   //año de 4 digitos   
  
   //escribe en pagina   
   document.write(nombres_dias[dia_semana] + ", " + dia_mes + " de " + nombres_meses[mes - 1] + " de " + anio)   
}   
  
var speed = 100 
var pause = 3000
var timerID = null
var bannerRunning = false
var ar = new Array()
ar[0] = "<<<<< AgruPasion Por el gallo >>>>>"
ar[1] = "..... Siempre junto al Club Deportivo Moron ....."
ar[2] = "..... Ayudanos a ayudar ....."
ar[3] = "..... agrupasionporelgallo@hotmail.com ....."
ar[4] = "..... agrupasion_comunidad@hotmail.com ....."

var currentMessage = 0
var offset = 0
function stopBanner() {
	if (bannerRunning)
		clearTimeout(timerID)
	bannerRunning = false
}
function startBanner() {
	stopBanner()
	showBanner()
}
function showBanner() {
	var text = ar[currentMessage]
	if (offset < text.length) {
		if (text.charAt(offset) == " ")
			offset++ 
		var partialMessage = text.substring(0, offset + 1) 
		window.status = partialMessage
		offset++ // IE sometimes has trouble with "++offset"
		timerID = setTimeout("showBanner()", speed)
		bannerRunning = true
	} else {
		offset = 0
		currentMessage++
		if (currentMessage == ar.length)
			currentMessage = 0
		timerID = setTimeout("showBanner()", pause)
		bannerRunning = true
	}
}
startBanner();
// -->


<!--
//Derechos Reservados
//var message="AgruPasion por el gallo  - Derechos Reservados";
//function click(e) {
//	if (document.all) {
//		if (event.button==2||event.button==3) {
//			alert(message);
//			return false;
//		}
//	}
//	if (document.layers) {
//		if (e.which == 3) {
//			alert(message);
//			return false;
//		}
//	}
//}
//if (document.layers) {
//	document.captureEvents(Event.MOUSEDOWN);
//}
//document.onmousedown=click;
-->
  


 
  
  
