// JavaScript Document

var popUpWin=0;
function descargarCatalogos()
{
URLStr="/popUp-descarga-catalogo.php"
Swidth=349
Sheight=272
Sleft=(screen.width-Swidth)/2
Stop=(screen.height-Sheight)/2
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'descargaDocumentos', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,width='+Swidth+',height='+Sheight+',left='+Sleft+', top='+Stop+',screenX='+Sleft+',screenY='+Stop+'');
}


var popUpWin2=0;
function formContacto(URLStr2,Swidth,Sheight)
{
Sleft=(screen.width-Swidth)/2
Stop=(screen.height-Sheight)/2
  if(popUpWin2)
  {
    if(!popUpWin2.closed) popUpWin2.close();
  }
  popUpWin2 = open(URLStr2, 'GrupoSolera', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,width='+Swidth+',height='+Sheight+',left='+Sleft+', top='+Stop+',screenX='+Sleft+',screenY='+Stop+'');
}

var popUpWin3=0;
function politica(URLStr3,Swidth,Sheight)
{
Sleft=(screen.width-Swidth)/2
Stop=(screen.height-Sheight)/2
  if(popUpWin3)
  {
    if(!popUpWin3.closed) popUpWin2.close();
  }
  popUpWin3 = open(URLStr3, 'politicaPrivacidad', 'toolbar=no,location=no,directories=no,status=no,menub ar=no,scrollbar=no,resizable=no,width='+Swidth+',height='+Sheight+',left='+Sleft+', top='+Stop+',screenX='+Sleft+',screenY='+Stop+'');
}

function mostrarPubli(){
	document.getElementById("publi1").className="muestra";
	document.getElementById("publi2").className="oculta";
	document.getElementById("publi3").className="oculta";		
}

function ocultarPubli(){
	document.getElementById("publi1").className="oculta";
	document.getElementById("publi2").className="oculta";
	document.getElementById("publi3").className="oculta";
}

function paso2(){
	document.getElementById("publi1").className="oculta";
	document.getElementById("publi2").className="muestra";
	document.getElementById("publi3").className="oculta";
}

function paso3(){
	document.getElementById("publi1").className="oculta";
	document.getElementById("publi2").className="oculta";
	document.getElementById("publi3").className="muestra";
}