		// Tell Vimeo what function to call
		var oEmbedCallback = 'embedVideo';
		
		// Set up the URL
		var oEmbedUrl = 'http://www.vimeo.com/api/oembed.json';
		
		// Load the first one in automatically?
		var loadFirst = true;
		
		// This function puts the video on the page
		function embedVideo(video) {
			var videoEmbedCode = video.html;
			videoEmbedCode = videoEmbedCode.replace(/height="(\d+)"/, 'height="168"');
			document.getElementById('embed').innerHTML = unescape(videoEmbedCode);
		}
		
		// This function runs when the page loads and adds click events to the links
		function init() {
			var links = document.getElementById('video_list').getElementsByTagName('a');
			
			// Load in the first video
			if (loadFirst) {
				loadScript(oEmbedUrl + '?url=' + links[0].href + '&width=300&callback=' + oEmbedCallback);
			}
		}
		
		// This function loads the data from Vimeo
		function loadScript(url) {
			var js = document.createElement('script');
			js.setAttribute('type', 'text/javascript');
			js.setAttribute('src', url);
			document.getElementsByTagName('head').item(0).appendChild(js);
		}
		
		// Call our init function when the page loads
		window.onload = init;
		
	getElementsByClassNameAdditional = function(className)
	{   var outArray = new Array();
		var item;
		try {
			var xpathResult = document.evaluate('//*[class = "' + className + '"]', document, null, 0, null);
			while (item = xpathResult.iterateNext())
				outArray[outArray.length] = item;
		}
		catch(err) {
			// ie fix
			var currentIndex = 0;
			var allElements = document.getElementsByTagName('*');
			for(var i=0; i < allElements.length; i++)
			{   if(allElements[i].className.match(className))
				{   outArray[currentIndex] = allElements[i];
					currentIndex++;
				}
			}
		}
		return outArray;
	}