");
}
//---------------------------------------------------------------------------------------
function ventana_powershota480()
{
// abrimos nueva ventana con el url pasado como parámetro
var ventana_formulario;// la nueva ventana tendrá un tamaño u otro en función de la resolución del cliente
var window_width=400;
var window_height=300;
var window_left=20;
var window_top=30;
// detección de resolución
if((screen.width==800)&&(screen.height==600)){
window_left=100;
window_top=16;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1024)&&(screen.height==768)){
window_left=10;
window_top=20;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==1024)){
window_left=50;
window_top=20;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==800))
{
window_left=20;
window_top=50;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1440)&&(screen.height==900))
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1680)&&(screen.height==1050))
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1920)&&(screen.height==1080))
{
window_left=150;
window_top=200;
window_width=600;
window_height=650;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
atributos=atributos+", width="+window_width+", height="+window_height;
ventana_formulario=window.open("","ventana_formulario",atributos);
ventana_formulario.document.write("
Generando formulario. Por favor espere...
");
ventana_formulario.document.write("");
ventana_formulario.document.write("");
}
//---------------------------------------------------------------------------------------
function ventana_ixus210()
{
var ventana_formulario;// la nueva ventana tendrá un tamaño u otro en función de la resolución del cliente
var window_width=400;
var window_height=300;
var window_left=20;
var window_top=30;
// detección de resolución
if((screen.width==800)&&(screen.height==600)){
window_left=100;
window_top=16;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1024)&&(screen.height==768)){
window_left=10;
window_top=20;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==1024)){
window_left=50;
window_top=20;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==800))
{
window_left=20;
window_top=50;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1440)&&(screen.height==900))
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1680)&&(screen.height==1050))
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1920)&&(screen.height==1080))
{
window_left=150;
window_top=200;
window_width=600;
window_height=650;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
atributos=atributos+", width="+window_width+", height="+window_height;
ventana_formulario=window.open("","ventana_formulario",atributos);
ventana_formulario.document.write("
Generando formulario. Por favor espere...
");
ventana_formulario.document.write("");
ventana_formulario.document.write("");
}
//---------------------------------------------------------------------------------------
function ventana_powershot_sx_210()
{
var ventana_formulario;// la nueva ventana tendrá un tamaño u otro en función de la resolución del cliente
var window_width=400;
var window_height=300;
var window_left=20;
var window_top=30;
// detección de resolución
if((screen.width==800)&&(screen.height==600)){
window_left=100;
window_top=16;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1024)&&(screen.height==768)){
window_left=10;
window_top=20;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==1024)){
window_left=50;
window_top=20;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==800))
{
window_left=20;
window_top=50;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1440)&&(screen.height==900))
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1680)&&(screen.height==1050))
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1920)&&(screen.height==1080))
{
window_left=150;
window_top=200;
window_width=600;
window_height=650;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
atributos=atributos+", width="+window_width+", height="+window_height;
ventana_formulario=window.open("","ventana_formulario",atributos);
ventana_formulario.document.write("
Generando formulario. Por favor espere...
");
ventana_formulario.document.write("");
ventana_formulario.document.write("");
}
//-----------------------------------------------------------------
function activar()
{
vent=open("https://www.setelsa.es/activacion_serplus/formulario_activacion_serplus.php","serplus", "width=1000,top=center,height=630,status=no,toolbar=no,menubar=no,scrollbars=no,resizable=1");
}
//---------------------------------------------------------------------------------------
// Funciones para capas
// --------------------
// variables globales para las funciones de capas
browser=navigator.appName; //obtener tipo de navegador
netscape="Netscape";
netver=parseFloat(navigator.appVersion); //obtener versión de netscape
function mostrar(nombre_capa)
{
if(browser==netscape)
{
if(netver>=5)
{
// NS6
document.getElementById(nombre_capa).style.visibility='visible';
}
else
{
document.layers[nombre_capa].visibility='visible';
}
// NS4
}
else
{
// IE OP
document.all[nombre_capa].style.visibility='visible';
}
}
function ocultar(nombre_capa)
{
if(browser==netscape)
{
if(netver>=5)
{
// NS5 o superior
document.getElementById(nombre_capa).style.visibility='hidden';
}
else
{
document.layers[nombre_capa].visibility='hidden';
} // NS4
}
else
{
// IE OP
document.all[nombre_capa].style.visibility='hidden';
}
}
//-------------------------------------------------------------------
// Control de tiempo de la capa de anuncios
// ----------------------------------------
var timerID = 0;
var tiempo = 10000; // 10000 milisegundos = 10 segundos, es el tiempo que se mostrará la publicidad principal
function timerTime()
{
if(timerID!=0)
{
clearTimeout(timerID);
}
// Acción a ejecutar pasado el tiempo establecido
ocultar('publicidad_0');ocultar('publicidad_1');
timerID = setTimeout("timerTime()", tiempo);
}
function Start()
{
timerID = setTimeout("timerTime()", tiempo);
}
function Stop()
{
if(timerID!=0)
{
clearTimeout(timerID); timerID = 0;
}
}
function nueva_ventana_grande(url)
{
// abrimos nueva ventana con el url pasado como parámetro
var ventana;// la nueva ventana tendrá un tamaño u otro en función de la resolución del cliente
var window_width=400;
var window_height=300;
var window_left=20;
var window_top=30;
// detección de resolución
if((screen.width==800)&&(screen.height==600)){
window_left=100;
window_top=16;
window_width=750;
window_height=550;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1024)&&(screen.height==768)){
window_left=10;
window_top=20;
window_width=1000;
window_height=700;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==1024)){
window_left=50;
window_top=20;
window_width=1200;
window_height=1000;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==800))
{
window_left=50;
window_top=20;
window_width=1200;
window_height=750;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1440)&&(screen.height==900))
{
window_left=50;
window_top=20;
window_width=1440;
window_height=850;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1680)&&(screen.height==1050))
{
window_left=50;
window_top=20;
window_width=1600;
window_height=1000;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1920)&&(screen.height==1080))
{
window_left=50;
window_top=20;
window_width=1080;
window_height=1000;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else
{
window_left=50;
window_top=20;
window_width=700;
window_height=670;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
atributos=atributos+", width="+window_width+", height="+window_height;
ventana=window.open("","ventana_nueva_grande",atributos);
// asignamos los parámetros pasados a variables PHP
// llama al script "url" en la misma ventana
ventana.document.location.href=url;
}
//---------------------------------------------------------------------------------------
function ventana_resultado_encuesta()
{
// abrimos nueva ventana con el url pasado como parámetro
var ventana_resultado_encuesta;// la nueva ventana tendrá un tamaño u otro en función de la resolución del cliente
var window_width=400;
var window_height=300;
var window_left=20;
var window_top=30;
// detección de resolución
if((screen.width==800)&&(screen.height==600)){
window_left=100;
window_top=16;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1024)&&(screen.height==768)){
window_left=10;
window_top=20;
window_width=700;
window_height=700;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==1024)){
window_left=50;
window_top=20;
window_width=700;
window_height=700;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==800))
{
window_left=20;
window_top=50;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1440)&&(screen.height==900))
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1680)&&(screen.height==1050))
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1920)&&(screen.height==1080))
{
window_left=150;
window_top=200;
window_width=700;
window_height=700;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
atributos=atributos+", width="+window_width+", height="+window_height;
ventana_resultado_encuesta=window.open("","ventana_resultado_encuesta",atributos);
ventana_resultado_encuesta.document.write("
Cargando datos de los resultados. Por favor espere...
");
ventana_resultado_encuesta.document.write("");
ventana_resultado_encuesta.document.write("");
}
// ------------------------------------------------
function ventana_ofertas_trabajo()
{
var ventana_ofertas_trabajo;// la nueva ventana tendrá un tamaño u otro en función de la resolución del cliente
var window_width=400;
var window_height=300;
var window_left=20;
var window_top=30;
// detección de resolución
if((screen.width==800)&&(screen.height==600)){
window_left=100;
window_top=16;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1024)&&(screen.height==768)){
window_left=10;
window_top=20;
window_width=1000;
window_height=1000;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==1024)){
window_left=50;
window_top=20;
window_width=1000;
window_height=1000;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==800))
{
window_left=20;
window_top=50;
window_width=1000;
window_height=1000;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1440)&&(screen.height==900))
{
window_left=150;
window_top=200;
window_width=1000;
window_height=1000;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1680)&&(screen.height==1050))
{
window_left=150;
window_top=200;
window_width=1000;
window_height=700;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1920)&&(screen.height==1080))
{
window_left=150;
window_top=200;
window_width=1000;
window_height=700;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else
{
window_left=150;
window_top=200;
window_width=1000;
window_height=1000;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
atributos=atributos+", width="+window_width+", height="+window_height;
ventana_ofertas_trabajo=window.open("","ventana_ofertas_trabajo",atributos);
ventana_ofertas_trabajo.document.write("
Cargando la bolsa de trabajo. Por favor espere...
");
ventana_ofertas_trabajo.document.write("");
ventana_ofertas_trabajo.document.write("");
}
// -------------------------------------------------------
function ventana_donacion_equipos()
{
// abrimos nueva ventana con el url pasado como parámetro
var ventana_resultado_encuesta;// la nueva ventana tendrá un tamaño u otro en función de la resolución del cliente
var window_width=400;
var window_height=300;
var window_left=20;
var window_top=30;
// detección de resolución
if((screen.width==800)&&(screen.height==600)){
window_left=100;
window_top=16;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1024)&&(screen.height==768)){
window_left=10;
window_top=20;
window_width=700;
window_height=700;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==1024)){
window_left=50;
window_top=20;
window_width=700;
window_height=700;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==800))
{
window_left=20;
window_top=50;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1440)&&(screen.height==900))
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1680)&&(screen.height==1050))
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1920)&&(screen.height==1080))
{
window_left=150;
window_top=200;
window_width=700;
window_height=700;
var atributos="resizable=1,scrollbars=0,menubar=0,left="+window_left+",top="+window_top;
}
else
{
window_left=150;
window_top=200;
window_width=600;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
atributos=atributos+", width="+window_width+", height="+window_height;
ventana_resultado_encuesta=window.open("","ventana_resultado_encuesta",atributos);
ventana_resultado_encuesta.document.write("
Cargando formulario.... Por favor espere...
");
ventana_resultado_encuesta.document.write("");
ventana_resultado_encuesta.document.write("");
}
// ----------------------------------------------------------------------------------------------------
function ventana_conciencia_social()
{
// abrimos nueva ventana con el url pasado como parámetro
var ventana_formulario;// la nueva ventana tendrá un tamaño u otro en función de la resolución del cliente
var window_width=400;
var window_height=300;
var window_left=20;
var window_top=30;
// detección de resolución
if((screen.width==800)&&(screen.height==600)){
window_left=100;
window_top=16;
window_width=800;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1024)&&(screen.height==768)){
window_left=10;
window_top=20;
window_width=900;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==1024)){
window_left=50;
window_top=20;
window_width=900;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1280)&&(screen.height==800))
{
window_left=20;
window_top=50;
window_width=900;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1440)&&(screen.height==900))
{
window_left=150;
window_top=200;
window_width=900;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1680)&&(screen.height==1050))
{
window_left=150;
window_top=200;
window_width=900;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else if((screen.width==1920)&&(screen.height==1080))
{
window_left=150;
window_top=200;
window_width=900;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
else
{
window_left=150;
window_top=200;
window_width=900;
window_height=600;
var atributos="resizable=1,scrollbars=1,menubar=0,left="+window_left+",top="+window_top;
}
atributos=atributos+", width="+window_width+", height="+window_height;
ventana_formulario=window.open("","ventana_formulario",atributos);
ventana_formulario.document.write("
SETELSA - Servicios Técnicos Electrónicos, S.A. - SERFOTO - Servicio Técnico de Fotoelectrónica, S.L.
2005-2012 Todos los derechos reservados. Web creada por el Dpto. de Tecnologías de la Información.