$(document).ready(function(){
	
		$('#transcript-extra').hide('fast');
		$('.close-transcript-link').hide('fast');
	
		// load the first movie when the page is ready	
		$.fn.media.defaults.flashvars = { plugins:'googlytics-1'};
//		$('.VideoPlayer').attr('href', '/swf/mediaplayer_white.swf?file=/projects/blackandwhite/mp4/blackandwhite_SHOWstudio.mp4&image=/projects/blackandwhite/img/film_still.jpg&hd.file=/projects/blackandwhite/mp4/blackandwhite_HD_SHOWstudio.mp4&autostart=true&screencolor=0x000000');	
//		$('.VideoPlayer').media( {   width: 640, height: 383, params:{allowFullScreen:true}, bgColor:'#FFFFFF', flashVersion:'9'  });	
		$('.VideoPlayer').attr('href', '/projects/antonypriceforyourpleasure/swf/player.swf?streamer=rtmp://red5.showstudio.com/streaming&amp;file=/projects/talkingfashiongiles/flv/giles_vanda_final_468x266.flv&amp;autostart=true');	
		$('.VideoPlayer').media( {   width: 640, height: 384, params:{allowFullScreen:true}, bgColor:'#FFFFFF', flashVersion:'9'  });	
		$.gaTracker('UA-7210865-1');
		$.gaTracker('UA-7210865-1');	
		
	     // shows the slickbox DIV on clicking the link with an ID of "slick-show"
        $('a.transcript-link').click(function() {
          	$('#transcript-extra').slideDown('slow');
			$('.close-transcript-link').show('fast');
			$('.transcript-link').hide('fast');			
          	return false;
        });


		// shows the slickbox DIV on clicking the link with an ID of "slick-show"
		  $('a.close-transcript-link').click(function() {
		    	$('#transcript-extra').slideUp('slow');
				$('.close-transcript-link').hide('fast');
				$('.transcript-link').show('fast');			
		    	return false;
		  });

	   
});

