$().ready(function() {
	            var sPath;
            var i = Math.floor(Math.random()*4);
            
            switch(i)
            {
            case 0:
            sPath = "8Abugy1dL6g";
            break;
            case 1:
            sPath = "UFUeu3Hh7mk";
            break;
            case 2:
            sPath = "8Abugy1dL6g";
            break;
            case 3:
            sPath = "UFUeu3Hh7mk";
            break;					
            }
                $('body').tubular(sPath,'wrapper');
				
	// f-UGhWj1xww cool sepia hd
	// 49SKbS7Xwf4 beautiful barn sepia
	
	// Play/Pause
	$('#videoPause').click(function() {
		if ($(this).hasClass('videoPaused')) {
			ytplayer.playVideo();
			$(this).removeClass('videoPaused');
		} else {
			ytplayer.pauseVideo();
			$(this).addClass('videoPaused');
		}
		return false;
	});
	
	// Mute/Unmute
	$('#videoMute').click(function() {
		if ($(this).hasClass('videoMute')) {
			ytplayer.mute();
			$(this).removeClass('videoMute');
		} else {
			ytplayer.unMute();
			$(this).addClass('videoMute');
		}
		return false;
	});
	
	// Nuke video (for slow connections -- stops loading entirely)
	$('#videoStop').click(function() {
		ytplayer.stopVideo();
		ytplayer.clearVideo();
		$('#yt-container').hide();
		return false;
	});
});
