// JavaScript Document
// Example:
// randomImage(['0.gif',50,50,'1.gif',25,25,'2.gif',50,25]); 

// * Dependencies * 
// this function requires the following snippet:
// JavaScript/Randomizers/randomNumber

function randomImage(imgArr)
{
  var imgSrc, imgW, imgH, r;
  r = randomNumber(imgArr.length / 3)-1;
  
  imgSrc = imgArr[r * 3];
  imgW = imgArr[(r * 3)+1];
  imgH = imgArr[(r * 3)+2];
}
function randomNumber(limit){
  return Math.floor(Math.random()*limit);
}
//randomImage(['../../images/logos/nasplex_logo.jpg',50,50,'../../images/logos/ms.gif',50,50,'../../images/logos/hp.gif',50,50]);