//var videos = new Array("http%3A//www.hawaiiproduktion.se/wus/WUS_org3.mp4", "http%3A//www.hawaiiproduktion.se/wus/WUS_About.mp4", "http%3A//www.hawaiiproduktion.se/wus/WUS_Arena.mp4", "http%3A//www.hawaiiproduktion.se/wus/WUS_Training_Camp.mp4", "http%3A//www.hawaiiproduktion.se/wus/WUS_Viktor_P.mp4", "http%3A//www0.c00928.cdn.qbrick.com/00928/kluster/20100509/abc-kungsanwakeboard-0509.flv", "http%3A//www.hawaiiproduktion.se/wus/WUS_ThankU.mp4");
var videos = new Array("http%3A//www.brickpark.se/vid/WUS/large/01_org3.mp4", "http%3A//www.brickpark.se/vid/WUS/large/02_About.mp4", "http%3A//www.brickpark.se/vid/WUS/large/03_Arena.mp4", "http%3A//www.brickpark.se/vid/WUS/large/04_Training.mp4", "http%3A//www.brickpark.se/vid/WUS/large/05_ThankU.mp4");
// The id of the Video that should be played back first
var videoID = 0;

function nextVideo(){
	//videoID++;
	//if(videoID == videos.length){
		videoID = 0;
	//}
	playVideo(videoID);
}

function playVideo($videoID){
	videoID = $videoID;
	sendToNonverBlaster("switch:" + videos[videoID]);
}

// Use this function if you want to automatically play the next video if the last was finished
function computeEnd(){
	nextVideo();
}

