function imagen() 
{ 

total=12; 
imagen = Math.floor(Math.random() * total); 

switch(imagen) 
{ 
case 0: 
document.write("<IMG SRC='fotos/imagenes/01.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;
case 1:
document.write("<IMG SRC='fotos/imagenes/02.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;
case 2: 
document.write("<IMG SRC='fotos/imagenes/03.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;
case 3: 
document.write("<IMG SRC='fotos/imagenes/04.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;
case 4: 
document.write("<IMG SRC='fotos/imagenes/05.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;
case 5: 
document.write("<IMG SRC='fotos/imagenes/06.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;
case 6: 
document.write("<IMG SRC='fotos/imagenes/07.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;
case 7: 
document.write("<IMG SRC='fotos/imagenes/08.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;
case 8: 
document.write("<IMG SRC='fotos/imagenes/09.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;
case 9: 
document.write("<IMG SRC='fotos/imagenes/10.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;
case 10: 
document.write("<IMG SRC='fotos/imagenes/11.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;
case 11: 
document.write("<IMG SRC='fotos/imagenes/12.jpg' WIDTH='230' HEIGHT='150' BORDER='0'>"); 
break;

}

}

