$(document).ready(function() {
    	    
    var tabContainers = $(".module-downloads-container");
    
    $(".module-downloads-nav a").click(function () {
        tabContainers.hide().filter(this.hash).show();
        
        $(".module-downloads-nav a").removeClass("selected");
        $(this).addClass("selected");
        
        return false;
    }).filter(":first").click();
    
   	var tabContainers2 = $(".module-videos-container");
   	
   	$(".module-videos-nav a").click(function () {
   	    tabContainers2.hide().filter(this.hash).show();
   	    
   	    $(".module-videos-nav a").removeClass("selected");
   	    $(this).addClass("selected");
   	    
   	    return false;
   	}).filter(":first").click();

	$('.thumb-round').corner();

    //$("#slider-downloads-articles").easySlider({
    //	numericId: "pages-downloads-articles",
    //	prevId: "controls-prev-downloads-articles",
    //	nextId: "controls-next-downloads-articles"
    //});	
    //
    //$("#slider-downloads-presentations").easySlider({
    //	numericId: "pages-downloads-presentations",
    //	prevId: "controls-prev-downloads-presentations",
    //	nextId: "controls-next-downloads-presentations"
    //});	

	//$("div#main div#content").wrapInner("<div class='inner'></div>");

    
});


