function ampliarImage(imagen, titulo){
 ventana=window.open('','Img','resizable=yes,scrollbars=no');
	ventana.document.write('<html><head><title>' + titulo + '</title></head><body style="overflow:hidden" marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0" scroll="no" onUnload="opener.cont=0"><img src="' + imagen + '" onLoad="opener.redimensionar(this.width, this.height)" /><div style="text-align:center; margin-top:8px; color:gray; font-size:11px; font-weight:bold; font-family:arial;">' + titulo + '</div></body></html>');
ventana.document.close();
}

function redimensionar(ancho, alto){
	ventana.resizeTo(ancho+1, alto+60);
	ventana.moveTo((screen.width - ancho)/2,(screen.height - alto)/2);
}




function cerrar (cerrar) {
thisMenu = document.getElementById(cerrar).style;
		thisMenu.display = "none";
}



function spand (div){

if (document.getElementById) {
		thisMenu = document.getElementById(div).style;
		thisMenu.display = "block";
}
}





function toggleMenu(currMenu, op) {
			if (document.getElementById) {
				thisMenu = document.getElementById(currMenu).style;
				if (thisMenu.display == "block") {
					thisMenu.display = "none";
				}
				else {
					thisMenu.display = "block";
				}
				return false;
			}
			else {
				return true;
			}
		}




function newWindow(pag)
{
bookWindow = window.open(pag, "producto", "width=500,height=250");
bookWindow.focus();
}


function newWindowEdit(pag)
{
bookWindow = window.open(pag, "producto", "width=800,height=750, scrollbars=yes");
bookWindow.focus();
}





function  addBar () {

if (navigator.appName == "Netscape"){

window.sidebar.addPanel( 'Lanbi, Vestuario de Seguridad y Protecci&oacute;n Laboral', 'http://www.lanbi.com', '' )


}else{
	if (navigator.appName.indexOf("Explorer") != -1) {

	window.external.AddFavorite( 'http://www.lanbi.com', 'Vestuario de Seguridad y Protecci&oacute;n Laboral' )

	}
}

}



function navApp() {

	if (navigator.appName.indexOf("Explorer") != -1 || navigator.appName == "Netscape") {

 		document.getElementById ('fav') .innerHTML= '<a class="linkboton"  href="javascript:addBar();" title="Aņadir a Favoritos"><img src="imagenes/favoritos.jpg" alt="a&ntilde;adir a favoritos" /></a>';
	}

		if (navigator.appName.indexOf("Explorer") != -1) {
		 document.getElementById ('Init') .innerHTML= '<a class="linkboton"  href="#" onclick="this.style.behavior=\'url(#default#homepage)\'; this.setHomePage(\'http://www.lanbi.com\');"><img src="imagenes/inicio.jpg" alt="Lanbi como p&aacute;gina de Inicio" /></a>';
		}

}



function updateParent (newURL) {
opener.document.location = newURL;
}




<!-- GOOGLE MAPS -->
window.onload = load;

    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.addControl(new GSmallMapControl());
        map.addControl(new GMapTypeControl());
        map.setCenter(new GLatLng(43.25054, -2.903641), 16);

        var point = new GLatLng(43.25054, -2.903641);


function createMarker(point, number) {
  var marker = new GMarker(point);
  GEvent.addListener(marker, "click", function() {
    marker.openInfoWindowHtml("<strong style='color:red;'>LANBI</strong><br />Avda. Julian Gayarre, 10<br />48004 Bilbao (Spain)<br />tel. (+34) 946 070 481, fax. (+34) 944 001 181<br /><br /><a class='mnu' href='mailto:lanbiseg@euskalnet.net'>lanbiseg@euskalnet.net</a>");
  });
  return marker;
}



        map.addOverlay(createMarker(point));

        document.getElementById("direccion").style.visibility = "hidden";


      }
      else {
      document.getElementById("aviso").innerHTML = "<span style=\"color:red;\">Su navegador no es compatible con <b>Google Maps</b></span>.<br /><br />Le ofrecemos mas abajo una versi&oacute;n est&aacute;tica del plano donde se representa la situaci&oacute;n geogr&aacute;fica de nuestras oficinas. <br /><br />Le recomendamos actualizar su navegador para poder disfrutar del mapa interactivo.";

      document.getElementById("map").innerHTML = "<img src='imagenes/Situacionlanbi.jpg' width='475' height='300' alt='Lanbi - Plano de Siutacion' />";

    }
 }
<!-- GOOGLE MAPS -->





  var DHTML = (document.getElementById || document.all || document.layers);
  function ap_getObj(nam) {
    if (document.getElementById){
      return document.getElementById(nam).style;
    } else if (document.all){
      return document.all[nam].style;
    } else if (document.layers){
      return document.layers[nam];
    }
  }



  function ap_showWaitMessage(div,flag){
    if (!DHTML) return;
    var x = ap_getObj(div);
    x.visibility = (flag) ? 'visible':'hidden';
    if(!document.getElementById){
      if(document.layers){
        x.left=280/2;
        return true;
      }
    }
  }
  ap_showWaitMessage('waitDiv', 3);
