function favoritos()
{        
	if ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4))
  {
		window.external.addFavorite('http://www.mecahost.com','MecaHost - Hosting y Housing');
  }
  else
  { 
    if(navigator.appName == "Netscape") 
      alert("Presione Crtl+D para agregar este sitio en sus Bookmarks"); 
  }
}


function zoomText(Accion,Elemento)
{
	//inicializacion de variables y parámetros 
	var obj=document.getElementById(Elemento);
	var max = 200 //tamaño máximo del fontSize
	var min = 70 //tamaño mínimo del fontSize
	
	if (obj.style.fontSize=="")
	{
	obj.style.fontSize="100%";
	}
	actual=parseInt(obj.style.fontSize); //valor actual del tamaño del texto 
	incremento=10;// el valor del incremento o decremento en el tamaño 
	
	//accion sobre el texto 
	if( Accion=="reestablecer" )
	{
	obj.style.fontSize="100%"
	}
	if( Accion=="aumentar" && ((actual+incremento) <= max ))
	{
	valor=actual+incremento;
	obj.style.fontSize=valor+"%"
	}
	if( Accion=="disminuir" && ((actual+incremento) >= min ))
	{
	valor=actual-incremento;
	obj.style.fontSize=valor+"%"
	}
}

/***************************************************************************
*                                                                          *
* NOBMRE:      ocultar                                                     *
*                                                                          *
* PARAMETROS:  id. Id del elemento.                                        *
*                                                                          *
* FECHA:       22/01/2008                                                  *
*                                                                          *
* AUTOR:       José Alberto Coronado                                       *
*                                                                          *
* DESCRIPCIÓN: Función que oculta el campo de formulario que se le pasa    *
*              como parámetro.                                             *
*                                                                          *
***************************************************************************/ 
function ocultar(id)
{
		  //if (navigator.appName=="Microsoft Internet Explorer")
		   document.all[id].style.visibility = "hidden";
		  //else
		  //	document.layers[id].visibility = "hide";
}


	
/***************************************************************************
*                                                                          *
* NOBMRE:      mostrar                                                     *
*                                                                          *
* PARAMETROS:  id. Id del elemento.                                        *
*                                                                          *
* FECHA:       22/01/2008                                                  *
*                                                                          *
* AUTOR:       José Alberto Coronado                                       *
*                                                                          *
* DESCRIPCIÓN: Función que muestra el campo de formulario que se le pasa   *
*              como parámetro.                                             *
*                                                                          *
***************************************************************************/ 
function mostrar(id)
{
		  //if (navigator.appName=="Microsoft Internet Explorer")
		   document.all[id].style.visibility = "visible";
		  //else
		  //	document.layers[id].visibility = "show";
}


function ventanaInfoVisa1()
{
	switch("1"){
		case "3":
			window.open("https://sis.sermepa.es/sis/html/verifiedByVisa_3.html","Info","width=500,height=500");		
			break;
		case "2":
		case "4":
		case "5":
		case "6":
		case "7":
		case "8":
		case "9":
		case "643":
			window.open("https://sis.sermepa.es/sis/html/verifiedByVisa_2.html","Info","width=500,height=500");		
			break;
		default:
			window.open("https://sis.sermepa.es/sis/html/verifiedByVisa_1.html","Info","width=500,height=500");
			break;
	}						
}
