/*I HAVE COMBINED THE VIDEO TEXT FILE AND THE ASJAV FUNCTIONS..*/

/* When the user clicks the play button i call the playVideo() function within the SWF, passing it the URL of the FLV file. */
	function callFlashPlayVideo(url,description) {
		window.document.videoPlayer.playVideo(url,description);
		var obj = document.getElementById("vidDescription");
		vDescription=this[description+"_description"];
		if (vDescription==undefined){
			obj.innerHTML=null;
			}
		else{
			obj.innerHTML=vDescription;
			}
	}
	
	function whichVid(description){
		vDescription=this[description+"_description"];
		if (vDescription==undefined){
			document.getElementById('vidDescription').innerHTML=vid_1_description;
			}
		else{
			document.getElementById('vidDescription').innerHTML=vDescription;
			}
		}

	// Call the pauseResume() function within the SWF.
	function callFlashPlayPauseVideo() {
		window.document.videoPlayer.pauseResume();
	}

	function vidComplete(){
	 $(document).ready(function(){
			$('div.vidAssigned').removeClass('vidAssigned');
			});
	 }
	 
$(document).ready(function(){
  $('.vids a.getVid').click(
		function() {  
			$('div.vidAssigned').removeClass('vidAssigned');
			$(this).parent().addClass('vidAssigned');
 			}
		); 
	
	 $('a.stop').click(
	 	function() {  
	 		$('div.vidAssigned').removeClass('vidAssigned');
			$(this).parent().removeClass('vidAssigned');
 			}
		); 
   
});
//for tabbing
	/*$(function () {
			var tabContainers = $('div.tabs div.videoChooser');
			tabContainers.hide().filter(':first').show();
			
			$('div.tabs  a.tabNav').click(function () {
				tabContainers.hide();
				tabContainers.filter(this.hash).show();
				$('div.tabs a.tabNav').removeClass('selected');
				$(this).addClass('selected');
				return false;
			}).filter(':first').click();
		});*/
/*VIDEO TEXT*/
/*SEASON 09/10*/

var vid_1_description="<p>Faith</p>";
var vid_2_description="<p>As</p>";
var vid_3_description="<p>Fast Love</p>";
var vid_4_description="<p>Flawless</p>";
var vid_5_description="<p>Freak</p>";
var vid_6_description="<p>Jesus To A Child</p>";
var vid_7_description="<p>Killer</p>";
var vid_8_description="<p>Outside</p>";
var vid_9_description="<p>Round Here</p>";
var vid_10_description="<p>Shot The Dog</p>";
var vid_10_description="<p>To Funky</p>";
