randomSrc = new Array('library_white.jpg','bookshelf_black.jpg','handshake_black.jpg');
randomAlt = new Array('The Signet Library','','');



function randomNumber(limit){ 
  return Math.floor(Math.random()*limit); 
}

function swapStripPic() {
  x = randomNumber(randomSrc.length);
  thePic = document.getElementById('stripPic');
  thePic.src = "/images/hppics/" + randomSrc[x];
  thePic.alt = randomAlt[x];
  
  //if ( randomSrc[x].indexOf('black') != -1 ) {
   // newBG = "url(/images/hp_strip_black.gif)";
    //document.getElementById('stripBG').style.backgroundImage = newBG;
  //}
  
  
}
