// JavaScript Document


 function loadImage(){
		 num=aleatorio(1,8);
		 img1="img/foto01.jpg";
		 img2="img/foto02.jpg";
		 img3="img/foto03.jpg";
		 img4="img/foto04.jpg";
		 img5="img/foto05.jpg";
		 img6="img/foto06.jpg";
		 img7="img/foto07.jpg";
		 img8="img/foto08.jpg";
		 
		
		 switch(num){
		 case 1: document.foto_pr.src=img1;break;
		 case 2: document.foto_pr.src=img2;break;
		 case 3: document.foto_pr.src=img3;break;
		 case 4: document.foto_pr.src=img4;break;
		 case 5: document.foto_pr.src=img5;break;
		 case 6: document.foto_pr.src=img6;break;
		 case 7: document.foto_pr.src=img7;break;
		 case 8: document.foto_pr.src=img8;break;
		 }
 }

 function aleatorio(inferior,superior){
		 numPosibilidades = superior - inferior;
		 aleat = Math.random() * numPosibilidades;
		 aleat = Math.round(aleat);
		 return parseInt(inferior) + aleat;
 }
 
 
 function menu01(){
	document.getElementByID("menu_ops").style.bottom = "100px";

 }