 function iniciox(){
//alert("shit");
document.all.formx4.submit();
}
 function modificaciones(){
document.all.formx2.submit();
}
function paginas(){
document.all.formx3.submit();
}

function modelos(){
document.all.formx5.submit();
}
function perfil(){
document.all.formx6.submit();
}
function fuentes(){
document.all.formx7.submit();
}

// nueva screentest

function screentest(){
var myres=screen.width;
switch(myres){
case 1680:
 document.all.res1680.sw.value=1680;
  document.all.res1680.sh.value=1024;
 document.all.res1680.submit();
break;
case 1600:
 document.all.res1600.sw.value=1600;
  document.all.res1600.sh.value=1024;
 document.all.res1600.submit();
break;
case 1440:
 document.all.res1440.sw.value=1440;
  document.all.res1440.sh.value=1024;
 document.all.res1440.submit();
break;
case 1400:
 document.all.res1400.sw.value=1400;
  document.all.res1400.sh.value=1024;
 document.all.res1400.submit();
break;
case 1280:
 document.all.res1280.sw.value=1280;
  document.all.res1280.sh.value=800;
 document.all.res1280.submit();
break;
case 1024:
 document.all.res1024.sw.value=1024;
  document.all.res1024.sh.value=768;
 document.all.res1024.submit();
break;
case 800:
document.all.res800.sw.value=800;
 document.all.res800.sh.value=600;
 document.all.res800.submit();
break;
case 640:
document.all.res640.sw.value=640;
 document.all.res640.sh.value=480;
 document.all.res640.submit();
break;
}

} // de func screentest
// fin de nueva screentest


 function Exscreentest(){  // antigua screentest
if ((screen.width>=1024) && (screen.height>=768)){
//alert("resolucion de mayor = a 1024 x 768 ");
 document.all.res1024.sw.value=1024;
  document.all.res1024.sh.value=768;
 document.all.res1024.submit();
} else {
  if ((screen.width>=800) && (screen.height>=600)){
//   alert("resolucion de mayor = a 800 x 600  ");
 document.all.res800.sw.value=800;
 document.all.res800.sh.value=600;
 document.all.res800.submit();
  }else{
// alert("resolucion de mayor = a 640 x 480  ");
 document.all.res640.sw.value=640;
 document.all.res640.sh.value=480;
 document.all.res640.submit();
  }    // de screen width 800

} //  de screen width 1024

} // endfunction

