binders = function() {
	$("#pagNext").click(function() {
		$("#videoListing li.active").next().toggleClass('active');
		$("#videoListing li.active").prev().removeClass('active');
		$("#videoTarget").load(this.href,function(){ binders(); });
		return false;
	});
	$("#pagPrev").click(function() {
		$("#videoListing li.active").prev("#videoListing li").toggleClass('active');
		$("#videoListing li.active").next("#videoListing li").removeClass('active');
		$("#videoTarget").load(this.href,function(){ binders(); });
		return false;
		// var prevVidURL = $("#videoListing li.active").children('a').attr("href");
		// $("#videoTarget").load(prevVidURL,function(){ binders(); });
	});
	$("#fullscreen span").click(function(event){
		$("#fullscreen").hide();
	});
}
$(function() {
	$("#videoListing li a").click(function() {
		$("#videoTarget").load(this.href,function(){ binders(); });
		$("#videoListing li").removeClass('active')
		$(this).parent().toggleClass('active')
		return false;
	});
});		
