/***********************************************
* 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,v6,v7,v8,v9,v10,v12,v13,v14,v15,rangVideo;
/********************************Edit this part for the videos*********************************/

v1='<iframe src="http://www.vrwebdesign.co.uk/wembley5/index-home.html" height="500" width="1000">You need a Frames Capable browser to view this content.</iframe>';

v2='<iframe src="http://www.vrwebdesign.co.uk/wembley2/index-home.html" height="500" width="1000">You need a Frames Capable browser to view this content.</iframe>';


v3='<iframe src="http://www.vrwebdesign.co.uk/wimbledon3/" height="500" width="1000">You need a Frames Capable browser to view this content.</iframe>';

v4='<iframe src="http://www.vrwebdesign.co.uk/range-rover-evoque1/" height="500" width="1000">You need a Frames Capable browser to view this content.</iframe>';


v5='<iframe src="http://www.vrwebdesign.co.uk/Jean-michel-jarre-concert-friday/" height="500" width="1000">You need a Frames Capable browser to view this content.</iframe>';


v6='<iframe src="http://www.vrwebdesign.co.uk/eagles-concert2/" height="500" width="1000">You need a Frames Capable browser to view this content.</iframe>';

v7='<iframe src="http://www.vrwebdesign.co.uk/wimbledon7/" height="500" width="1000">You need a Frames Capable browser to view this content.</iframe>';


v8='<iframe src="http://www.vrwebdesign.co.uk/I-tours/ice-train-deutsche-bahn/db-index.html" height="500" width="1000">You need a Frames Capable browser to view this content.</iframe>';

v9='<iframe src="http://www.vrwebdesign.co.uk/wimbledon7/" height="500" width="1000">You need a Frames Capable browser to view this content.</iframe>';


v10='<iframe src="http://www.vrwebdesign.co.uk/twilight/" height="500" width="1000">You need a Frames Capable browser to view this content.</iframe>';


/********************************************************************************************/
rangVideo=[v1,v2,v3,v4,v5,v6,v7,v8,v9,v10]; // This depends on the number of videos you have.
window.addEventListener?window.addEventListener('load',initRandVid,false):
window.attachEvent('onload',initRandVid);
function initRandVid()
{
   rangProc=Math.floor(Math.random()*rangVideo.length);
   document.getElementById('display').innerHTML=rangVideo[rangProc];
 }
