// Java Documentfunction Inicio()

function Inicio()
{
	LINK_ajax('Inicio.php','Texto');
}

function Contacto()
{
	LINK_ajax('Contacto.php','Texto');
}

function Paquetes()
{
	LINK_ajax('Paquetes.php','Texto');
}

function Portafolio()
{
	LINK_ajax('Portafolio.php','Texto');
}

function Hitsuzen()
{
	LINK_ajax('Hitsuzen.php','Web');
}

function Wm()
{
	LINK_ajax('Wm.php','Web');
}

function VTM()
{
	LINK_ajax('VTM.php','Web');
}

if (document.images) {
  var boton1_off = new Image();
  boton1_off.src = "images/inicio.jpg";
  var boton1_on = new Image();
  boton1_on.src = "images/efectosmenu/efectoinicio.jpg";
  var boton2_off = new Image();
  boton2_off.src = "images/contacto.jpg";
  var boton2_on = new Image();
  boton2_on.src = "images/efectosmenu/efectocontacto.jpg";  
  var boton3_off = new Image();
  boton3_off.src = "images/paqetes.jpg";
  var boton3_on = new Image();
  boton3_on.src = "images/efectosmenu/efectopaqetes.jpg";    
  var boton4_off = new Image();
  boton4_off.src = "images/portafolio.jpg";
  var boton4_on = new Image();
  boton4_on.src = "images/efectosmenu/efectoportafolio.jpg";      
}

// Carga de imagen cuando el ratón pasa por encima
function entra(boton) {
  if (document.images) {
    if (boton == 'boton1') {
      document.images[boton].src = boton1_on.src;
    }
    if (boton == 'boton2') {
      document.images[boton].src = boton2_on.src;
    }	
    if (boton == 'boton3') {
      document.images[boton].src = boton3_on.src;
    }		
    if (boton == 'boton4') {
      document.images[boton].src = boton4_on.src;
    }									
  }
}

// Carga de imagen cuando el ratón abandona el área de la imagen
function sale(boton) {
  if (document.images) {
    if (boton == 'boton1') {
      document.images[boton].src = boton1_off.src;
    }
    if (boton == 'boton2') {
      document.images[boton].src = boton2_off.src;
    }	
    if (boton == 'boton3') {
      document.images[boton].src = boton3_off.src;
    }		
    if (boton == 'boton4') {
      document.images[boton].src = boton4_off.src;
    }										
  }
}

function SFE()
{
	LINK_ajax('SFE.php','Web');
}