function imgover(imgName, imgLoc) {
  imgName.src = imgLoc;    
  imgName.border = "0";
}

function imgout(imgName, imgLoc) {  
  imgName.src = imgLoc;   
  imgName.border = "0";  
}

function img_random(imgName) {  
  var picture = new Array("index_files/random0.jpg", "index_files/random1.jpg", "index_files/random2.jpg", "index_files/random3.jpg", "index_files/random4.gif");
  imgName.src = picture[Math.round(Math.random()*picture.length)];     
  imgName.border = "0";  
}

var fileContent='';
var theLocation='';

function readFileViaApplet(n) {
 document.f1.t1.value='Reading in progress...';
 document.ReadURL.readFile(theLocation);
 setTimeout("showFileContent()",100);
}

function showFileContent() {
 if (document.ReadURL.finished==0) {
  setTimeout("showFileContent()",100);
  return;
 }
 fileContent=document.ReadURL.fileContent;
 document.form1.textarea1.value=fileContent;
}

