function buscar(){
	document.formulario1.action = "/buscador/buscador.asp";
	document.formulario1.submit();
}
function buscar2(){
	document.formulario1.action = "/buscador/buscador2.asp";
	document.formulario1.submit();
}
function abreVentana(w,h,u) {
  window.open(u,'ventana','width=' + w + ',height=' + h + ',scrollbars=yes');
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function abreCallejero() {
  callejero = window.open('/callejeronuevo/apps/callejero/default2.asp','callejero','width=800,height=470')
}

function imprimirbus(s) {
    ventabus = window.open(s,'ventabus','width=600,height=400,scrollbars=yes');
    ventabus.print();
  }
  
function verHorario(s) {
  horario = window.open('/html/gc/File/Horarios_transportes/' + s,'horario','width=650,height=400,scrollbars=yes,resizable=yes');
  horario.focus();
}
  
 function VerEncuesta(){
 	svoto=window.open('/encuesta/web/encuesta.asp?id_encuesta=','svoto',"TOOLBAR=NO,SCROLLBARS=YES,MENU=NO,STATUS=NO,RESIZABLE=NO,TOP=150,LEFT=400,width=410,height=450")
 }
 
 function abrePuzzle(){
  ventanaNueva=window.open('/pintopuzzle/index.html','ventanapuzzle','width=670,height=368,scrollbars=no');
}

function abreSopa(s){
  ventanaNueva=window.open('/juegos/sopadeletras.asp?j='+s,'ventanasopa','width=640,height=432,scrollbars=no');
}

function abreDiferencias(s){
  ventanaNueva=window.open('/juegos/7diferencias.asp?j='+s,'ventanasopa','width=700,height=432,scrollbars=no');
}

function abreOficinas() {
  oficinas =  window.open('/html/sac/oficinas.asp','oficinas','width=710,height=300');
}

function abrePgou() {
  winPgou = window.open('/pgou/','pgou','width=800,height=500,scrollbars=yes') 
}

function plano(s) {
  plano = window.open('/html/gc/Image/CIUDAD/parques/' + s,'plano','width=640,height=494');
  plano.focus();
}
// Aumentar y disminuir letra

var tamanoLetrapordefecto = 5;
var tamanoLetra = tamanoLetrapordefecto;
var tamanoLetraminimo = 5;
var tamanoLetramaximo = 7;
var identidadLetra;

function aumentaLetra() {
    if (tamanoLetra < tamanoLetramaximo) {
    tamanoLetra += 1;
    identidadLetra = document.getElementById('tamano');
    identidadLetra.className = 'tamanoletra' + tamanoLetra;
    }
}

function disminuyeLetra() {
    if (tamanoLetra > tamanoLetraminimo) {
    tamanoLetra -= 1;
    identidadLetra = document.getElementById('tamano');
    identidadLetra.className = 'tamanoletra' + tamanoLetra;
    }
}

// FIN Aumentar y disminuir letra