function imagenes_index(){

	if(document.images){
	 
	  //para barra superior
	 ahome= new Image(102,34); ahome.src ="imagenes/ahome.gif";
	 bhome= new Image(102,34); bhome.src ="imagenes/bhome.gif";
	 //
	 anosotros= new Image(102,34); anosotros.src ="imagenes/anosotros.gif";
	 bnosotros= new Image(102,34); bnosotros.src ="imagenes/bnosotros.gif";
	  //
	 aproductos= new Image(102,34); aproductos.src ="imagenes/aproductos.gif";
	 bproductos= new Image(102,34); bproductos.src ="imagenes/bproductos.gif";
	   //
	 acontactos= new Image(102,34); acontactos.src ="imagenes/acontactos.gif";
	 bcontactos= new Image(102,34); bcontactos.src ="imagenes/bcontactos.gif";
	 	 
		 
	}
}
//----------------------------------------------------------------------------------
function imagenes_nosotros(){
	if(document.images){
	  //para barra superior
	 ahome= new Image(52,23); ahome.src ="imagenes/ahome_1.gif";
	 bhome= new Image(52,23); bhome.src ="imagenes/bhome_1.gif";
	 //
	 anosotros= new Image(102,23); anosotros.src ="imagenes/anosotros_1.gif";
	 bnosotros= new Image(102,23); bnosotros.src ="imagenes/bnosotros_1.gif";
	  //
	 aproductos= new Image(102,23); aproductos.src ="imagenes/aproductos_1.gif";
	 bproductos= new Image(102,23); bproductos.src ="imagenes/bproductos_1.gif";
	   //
	 acontactos= new Image(102,23); acontactos.src ="imagenes/acontactos_1.gif";
	 bcontactos= new Image(102,23); bcontactos.src ="imagenes/bcontactos_1.gif";	 
	 //---------------------------------------
	 
	 
	}
}

//----------------------------------------------------------------------------------
function cambiar(imgName,imgObjName){
  if(document.images){ document.images[imgName].src=eval(imgObjName+".src");}
 } 
//----------------------------------------------------------------------------------
function nada(){ }
//----------------------------------------------------------------------------------
function preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//----------------------------------------------------------------------------------
// para memu informacion
function mOvr(src,clrOver) {
 if (!src.contains(event.fromElement)) 
 {src.style.cursor = 'hand';
  src.bgColor = clrOver;}
 }
function mOut(src,clrIn) {
 if (!src.contains(event.toElement))
  {src.style.cursor = 'default';
   src.bgColor = clrIn;
  }
}
//----------------------------------------------------------------------------------