
/***********************************************
* Random Video Script- ?
* Author: Raymond Angana
* rangana in AHFB2000.com
* modified last May 2, 2008
* This notice MUST stay intact for legal use
***********************************************/
var v1,v2,v3,v4,v5,rangVideo;
/********************************Edit this part for the videos*********************************/
v1='<object width="350" height="325"><param name="movie" value="350Randoms/350x325CookieBook.swf"><embed src="350Randoms/350x325CookieBook.swf" width="350" height="325"></embed></object>';

v2='<object width="350" height="325"><param name="movie" value="350Randoms/350x325JewlryTree.swf"><embed src="350Randoms/350x325JewlryTree.swf" width="350" height="325"></embed></object>';

v3='<object width="350" height="325"><param name="movie" value="350Randoms/350x325Moose.swf"><embed src="350Randoms/350x325Moose.swf" width="350" height="325"></embed></object>';

v4='<object width="350" height="325"><param name="movie"value="350Randoms/350x325VB01.swf"><embed src="350Randoms/350x325VB01.swf" width="350" height="325"></embed></object>';

v5='<object width="350" height="325"><param name="movie"value="350Randoms/350x325VP02b.swf"><embed src="350Randoms/350x325VP02b.swf" width="350" height="325"></embed></object>';



/********************************************************************************************/
rangVideo=[v1,v2,v3,v4,v5]; // This depends on the number of videos you have.
window.onload=function() 
{
   rangProc=Math.floor(Math.random()*rangVideo.length);
   document.getElementById('display').innerHTML=rangVideo[rangProc];
 }
