// JavaScript Document
function aumentar(){
	document.all.titulnoticia.style.fontSize='40px';
	document.all.subtitulonoticia.style.fontSize='25px';
	document.all.autor.style.fontSize='18px';
	document.all.fecha.style.fontSize='18px';
	document.all.cuerponoticia.style.fontSize='100%';	
}
function disminuir(){
	document.all.titulnoticia.style.fontSize='30px';
	document.all.subtitulonoticia.style.fontSize='16px';
	document.all.autor.style.fontSize='11px';
	document.all.fecha.style.fontSize='11px';
	document.all.cuerponoticia.style.fontSize='11px';
}
function restablecer(){
	document.all.titulnoticia.style.fontSize='35px';
	document.all.subtitulonoticia.style.fontSize='24px';
	document.all.autor.style.fontSize='14px';
	document.all.fecha.style.fontSize='14px';
	document.all.cuerponoticia.style.fontSize='14px';
}

function tamimg(elemento){
	myImage = elemento;
	porcentaje = 0;
	medidaa = 0;
	medidah = 0;
	if(myImage.width > 160){
		medidaa = myImage.width;
		medidah = myImage.height;
		myImage.width = 160;
		porcentaje = (160 * 100) / medidaa;
		myImage.height = (medidah * porcentaje)/100;
	}
	if(myImage.height > 120){
		medidaa = myImage.width;
		medidah = myImage.height;
		myImage.height = 120;
		porcentaje = (120 * 100) / medidah;
		myImage.width = (medidaa * porcentaje)/100;
	}
	/*alert(elemento.id+" ancho : " + myImage.width + "px\nimage1 alto : " + myImage.height + "px");*/
}

function tamimg1(elemento){
	myImage = elemento;
	porcentaje = 0;
	medidaa = 0;
	medidah = 0;
	if(myImage.width > 160){
		medidaa = myImage.width;
		medidah = myImage.height;
		myImage.width = 160;
		porcentaje = (160 * 100) / medidaa;
		myImage.height = (medidah * porcentaje)/100;
	}
	if(myImage.height > 120){
		medidaa = myImage.width;
		medidah = myImage.height;
		myImage.height = 120;
		porcentaje = (120 * 100) / medidah;
		myImage.width = (medidaa * porcentaje)/100;
	}
	/*alert(elemento.id+" ancho : " + myImage.width + "px\nimage1 alto : " + myImage.height + "px");*/
}