function confirm_ex()
	{ 
		if (confirm("Para poder utilizar esta función, Usted debe de ser un usuario registrado."))
			{ location.replace("registrese.asp"); } 
	} 

function verificar() 
	{  
	answer = confirm("Esta opcion es solo para usuario registrados, Desea contactarse con el Admnistrador del portal ? ")
	if (answer ==1)  
		{   
			location.replace('suggestions.php'); 	
		}  	else  	if (answer==0)   
		{   location.replace('index.php');  
		} 
	} 

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function zoomText(tipo){
	//inicializaciones
	obj=document.getElementById("Lectura");
	if (obj.style.fontSize==""){
		obj.style.fontSize="100%";
	}
	actual=parseInt(obj.style.fontSize);
	incremento=20;
	
	//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+"%"
	}
	
}

function CallPrint(strid)
{
	
	 var prtContent = document.getElementById(strid);
 
	var WinPrint = window.open('','','letf=0,top=0,width=620,height=500,toolbar=0,scrollbars=1,status=0');
	WinPrint.document.write(prtContent.innerHTML);
	WinPrint.document.write("<link href='css/estilo.css' rel='stylesheet' type='text/css'><title>PRINT</title>");
	
	WinPrint.document.close()
	 WinPrint.focus();
	 WinPrint.print();
	 WinPrint.close();
	
}

function ventanaSecundaria (URL){ 
window.open(URL,"HETS","width=400, height=250, scrollbars=no, menubar=no, location=no, resizable=no") 
} 