<!--
var frames_rotativa; 
images_rotativa=new Array(6); 
links=new Array(6);
titulos=new Array(6);
imagenes_portada=new Array(2);
/*links2=new Array(5);*/

images_rotativa[0]=new Image(); 
images_rotativa[0].src="./imagenes/aerea_r.jpg";
images_rotativa[1]=new Image();
images_rotativa[1].src="./imagenes/administracion_490_r.jpg";
images_rotativa[2]=new Image();
images_rotativa[2].src="./imagenes/salon_verde490_r.jpg";
images_rotativa[3]=new Image(); 
images_rotativa[3].src="./imagenes/blanco_r.jpg";
images_rotativa[5]=new Image();
images_rotativa[5].src="./imagenes/personal_490_r.jpg";
images_rotativa[4]=new Image();
images_rotativa[4].src="./imagenes/comision_r.jpg";

links[0]=new String(); 
links[0].value="http://www.amuc.org.ar/galeria/aereas.php";
links[1]=new String();
links[1].value="http://www.amuc.org.ar/varios/oficinas_administracion.php";
links[2]=new String();
links[2].value="http://www.amuc.org.ar/salonverde/";
links[3]=new String();
links[3].value="http://www.amuc.org.ar/salonblanco/";
links[5]=new String();
links[5].value="http://www.amuc.org.ar/personal/";
links[4]=new String();
links[4].value="http://www.amuc.org.ar/comision/";

titulos[0]=new String();
titulos[0].value="Vista a&eacute;rea: Avenida Argentina 1501";
titulos[1]=new String();
titulos[1].value="Oficinas de administraci&oacute;n de la Mutual";
titulos[2]=new String();
titulos[2].value="Sal&oacute;n Verde de A.M.U.C.";
titulos[3]=new String();
titulos[3].value="Sal&oacute;n Blanco: Conferencias, seminarios y cursos"
titulos[5]=new String();
titulos[5].value="Conozca al personal de la Mutual";
titulos[4]=new String();
titulos[4].value="Comisi&oacute;n Directiva Asociaci&oacute;n Mutual Universitaria Comahue";

imagenes_portada[0]=new Image(); 
imagenes_portada[0].src="http://www.amuc.org.ar/imagenes/salon_verde_portada_d.jpg";
imagenes_portada[1]=new Image();
imagenes_portada[1].src="http://www.amuc.org.ar/imagenes/salon_blanco_portada_d.jpg";


/*
links2[0]=new String();
links2[0].enlace="http://www.sitio1.dominio/";
links2[0].sugerencia="sugerencia 1";
links2[0].contenido="contenido 1";

links2[1]=new String();
links2[1].enlace="http://www.sitio2.dominio";
links2[1].sugerencia="sugerencia 2";
links2[1].contenido="contenido 2";

links2[2]=new String();
links2[2].enlace="http://www.sitio3.dominio";
links2[2].sugerencia="sugerencia 3";
links2[2].contenido="contenido 3";

links2[3]=new String();
links2[3].enlace="http://www.sitio4.dominio";
links2[3].sugerencia="sugerencia 4";
links2[3].contenido="contenido 4";

links2[4]=new String();
links2[4].enlace="http://www.sitio5.dominio";
links2[4].sugerencia="sugerencia 5";
links2[4].contenido="contenido 5";
*/

frames_rotativa=Math.floor(Math.random()*6);
frames_portada_index=0;
function animateImages() { 
	
	document.getElementById('image_placeholder').src=images_rotativa[frames_rotativa].src;
	/*document.getElementsByName('image_placeholder').src=images_rotativa[frames_rotativa].src;*/
	document.getElementById('book_link').href=links[frames_rotativa].value;
	document.getElementById('titulo_foto').innerHTML=titulos[frames_rotativa].value;
	document.getElementById('titulo_foto').href=links[frames_rotativa].value;
	
/*
	document.getElementById('enlace1').innerHTML = links2[frames_rotativa].contenido;
	document.getElementById('enlace1').setAttribute('title', links2[frames_rotativa].sugerencia);
	document.getElementById('enlace1').setAttribute('href', links2[frames_rotativa].enlace);

	document.getElementById('enlace2').innerHTML = links2[frames_rotativa].contenido;
	document.getElementById('enlace2').setAttribute('title', links2[frames_rotativa].sugerencia);
	document.getElementById('enlace2').setAttribute('href', links2[frames_rotativa].enlace);
*/


	frames_rotativa=(frames_rotativa+1)%6;
	timeout_id=setTimeout("animateImages()",6000);
	
	document.getElementById('imagen_portada_index').src=imagenes_portada[frames_portada_index].src;
	frames_portada_index=(frames_portada_index+1)%2;

} 


frames_portada=1;
function animateImagesPortada() { 
	document.getElementById('imagen_portada').src=imagenes_portada[frames_portada].src;
	frames_portada=(frames_portada+1)%2;
	timeout_id=setTimeout("animateImagesPortada()",7000);
} 


function t_sh(element_id)
{
    var estado;
    estado = document.getElementById(element_id).style.visibility;

    if(estado=="hidden")
        document.getElementById(element_id).style.visibility = "visible";
    else
        document.getElementById(element_id).style.visibility = "hidden";

}

function t_d(element_id)
{
    var estado;
    estado = document.getElementById(element_id).style.display;

    if(estado=="none"){
        document.getElementById(element_id).style.display = "block";
        }
    else
        document.getElementById(element_id).style.display = "none";

}



// fade imagenes
// (C) 2000 www.CodeLifter.com
// Ver andando en http://www.interpatagonia.com/
if (!Pic) {
	var Pic = new Array()
}
var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}


function runSlideShow(){

// IE7, Mozilla, Opera
if (typeof document.body.style.maxHeight != "undefined") {
	FadeMozzImages()
} else {
// IE6, navegadores antiguos


   if (document.all){
      document.images.SlideShow.style.filter="blendTrans(duration=2)"
      document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()      
   }
   document.images.SlideShow.src = preLoad[j].src
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}

}


var jMozz = 1
var ValorFade = 100;
function FadeMozz(opacity) { 
		
		if (ValorFade <= 0){
		 document.images.SlideShow.src = preLoad[jMozz].src;
		 
		 j = j + 1
		 if (j > (p-1)) j=0
		 jMozz = jMozz + 1
		 if (jMozz > (p-1)) jMozz=0
		 t = setTimeout('FadeMozzImages(100)', 2000)
		 

		 
	} else {
		ValorFade = ValorFade - 6;
		t = setTimeout('FadeMozz('+ValorFade+')', 20)
	}
	
	var object=document.getElementById('SlideShow').style; 
	object.opacity=(opacity/100); 
	object.MozOpacity=(opacity/100); 
	object.KhtmlOpacity=(opacity/100);
	object.filter="alpha(opacity="+opacity+")"; 
} 
function FadeMozzImages(opacity) {

	var object=document.getElementById('SlideShow').style; 
	object.opacity=(opacity/100); 
	object.MozOpacity=(opacity/100); 
	object.KhtmlOpacity=(opacity/100);
	object.filter="alpha(opacity="+opacity+")"

document.getElementById('SlideShowBack').style.backgroundImage = "url(" + preLoad[jMozz].src + ")";
ValorFade = 100;
	t = setTimeout('FadeMozz()', 3000)

}

/*
     <div class="contenedor_imagen_top">
				<div id="SlideShowBack" style="background-position: 0px 0px; background-repeat:no-repeat">
	        <a href="../index.html"><img src="../imagenes/top/aventura03.jpg"  name="SlideShow" id="SlideShow" width="763" height="128" alt="Inter Patagonia - Guía de la Patagonia Argentina y Chilena" title="Inter Patagonia - Guía de la Patagonia Argentina y Chilena" border="0"></a>
				</div>

      </div>
*/

//-->
