jQuery.fn.initMenu = function () {
    return this.each(function () {
        var theMenu = $(this).get(0);
        $('ul', this).hide();
        $('li.current > ul', this).show();
        $('li.currentcollapsible  > ul', this).prev().addClass('active');
        $('li a', this).hover(

        function (e) 
		{
			try
			{
				e.stopImmediatePropagation();
				var theElement = $(this).next();
				var parent = this.parentNode.parentNode;
				if ($(parent).hasClass('noaccordion')) {
					if (theElement[0] === undefined) {
						window.location.href = this.href;
					}
					$(theElement).slideToggle('normal', function () {
						if ($(this).is(':visible')) {
							$(this).prev().addClass('active');
						} else {
							$(this).prev().removeClass('active');
						}
					});
					return false;
				} else {
					if ((theElement.is('ul')) && theElement.is(':visible')) {
						if ($(parent).hasClass('collapsible')) {
							$('ul:visible', parent).first().slideUp('normal', function () {
								$(this).prev().removeClass('active');
							});
							return false;
						}
						return false;
					}
					if ((theElement.is('ul')) && !theElement.is(':visible')) {
						$('ul:visible', parent).first().slideUp('normal', function () {
							$(this).prev().removeClass('active');
						});
						theElement.slideDown('normal', function () {
							$(this).prev().addClass('active');
						});
						return false;
					}
				}
			}
			catch (err)
			{
				alert(err.message);
			}
        });
    });
};
$(document).ready(function () {
	//$('.secondLevelNav').initMenu();
	
	$("#ContentFull #articles .article:nth-child(3n+3)").addClass("third");
});
