// Aumentar y Disminuir Tamaņo de Texto
function zoomText(Accion,Elemento) 
	{
		//inicializaciones
		obj=document.getElementById(Elemento);
		if (obj.style.fontSize=="") {
			obj.style.fontSize="100%";
		}
		actual=parseInt(obj.style.fontSize); //valor actual del tamaņo del texto
		incremento=6;// el valor del incremento o decremento en el tamaņo
		
		//accion sobre el texto
		if(Accion=="reestablecer") {
			obj.style.fontSize="100%"
		}
		if(Accion=="aumentar") {
		 	valor=actual+incremento;
			if (valor<115) { obj.style.fontSize=valor+"%" }
		}
		if(Accion=="disminuir") {
			valor=actual-incremento;
			if (valor>85) { obj.style.fontSize=valor+"%" }
		}
	}

// Div Flotante
function OverDiv(id,flagit) {
	if (flagit=="1") {
		if (document.layers) document.layers[''+id+''].visibility = "show"
		else if (document.all) document.all[''+id+''].style.visibility = "visible"
		else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "visible"
	}
	else
	if (flagit=="0") {
		if (document.layers) document.layers[''+id+''].visibility = "hide"
		else if (document.all) document.all[''+id+''].style.visibility = "hidden"
		else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "hidden"
	}
}

// Agregar a Favoritos
function add_favoritos(){
   if ((navigator.appName=="Microsoft Internet Explorer") && 
         (parseInt(navigator.appVersion)>=4)) {
      var url="http://www.cartagonoticias.com/"; 
      var titulo="CartagoNoticias.com - Periodismo Independiente";
      window.external.AddFavorite(url,titulo);
   }
   else { alert("Presione Ctrl + D para agregar a CartagoNoticias.com en tus Favoritos"); }
}

// ImagesHide
function makevisible(cur,which){
strength=(which==0)? 1 : 0.6

if (cur.style.MozOpacity)
cur.style.MozOpacity=strength
else if (cur.filters)
cur.filters.alpha.opacity=strength*100
}