var picL_width=418;   /*change to match the height of all your images */
var picL_height=213;   /* change to match the width of all your images */
var border_size=0;   /* change to the border size you want on the images */

/* define image urls */

if (document.images)
 {
     picL1= new Image(picL_width,picL_height);
     picL1.src="../data/1l.jpg";  
     picL2= new Image(picL_width,picL_height); 
     picL2.src="../data/2l.jpg"; 
	 picL3= new Image(picL_width,picL_height);
     picL3.src="../data/3l.jpg";  
 }    


/* define alt and title tag contents */

var altL1="Focus Environment";
var altL2="Focus Environment";
var altL3="Focus Environment";


function get_random(maxNum)
{
  if (Math.random && Math.round)
  {
    var ranNum= Math.round(Math.random()*(maxNum-1));
    ranNum+=1;
    return ranNum;
  }
  else
  {
  today= new Date();
  hours= today.getHours();
  mins=   today.getMinutes();
  secn=  today.getSeconds();
  if (hours==19)
   hours=18;
  var ranNum= (((hours+1)*(mins+1)*secn)%maxNum)+1;
  return ranNum;
  }
}

function get_ImageL()
{
 if (document.images)
 {
  var choose_one= get_random(3);  
  choose_one--;

  var picL= new Array(3) 
   picL[0]=picL1.src;
   picL[1]=picL2.src;
   picL[2]=picL3.src; 
   
  var altL = new Array(3)
  altL[0]=altL1;
  altL[1]=altL2;
  altL[2]=altL3;
  

  document.write("<IMG SRC='"+picL[choose_one]+"' alt='"+altL[choose_one]+"' title='"+altL[choose_one]+"' width='"+picL_width+"' height='"+picL_height+"' border='"+border_size+"'>");
 }

 
}


