﻿
$(function () {

    /*
    $('.videoImg').mouseover(
        function(){$(this).children('.playButton').show()}
    );
    */
   
    $('.categoryButton').click(
				function (e) {
				    e.preventDefault();
				    $('.categoriesSubmenu').toggle();
				}
			);
    $('.closeCategory').click(
				function () {
				    $('.categoriesSubmenu').hide();			
				}
			);
    var paginationSize = $('.videoPagination').width();
    var numberswidth = $('.videoPagination ul').width();
    $('.videoPagination ul').css('margin-left', (paginationSize - numberswidth) / 2);
    var commentArea = $('.videoContent');
    $('.openCloseArticle').toggle(
				function () { commentArea.css('height', 'auto') },
				function () { commentArea.css('height', 53) }
			);



});
