﻿hs.graphicsDir = 'highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.outlineWhileAnimating = true;

function waitDisplay()
{
    document.getElementById("Navigation").style.visibility = "hidden";
    document.getElementById("CategoryList").style.visibility = "hidden";
    
    if (document.getElementById("Event") != null)
    {
        document.getElementById("Event").style.visibility = "hidden";
    }
    
    if (document.getElementById("Day") != null)
    {
        document.getElementById("Day").style.visibility = "hidden";
    }
    
    if (document.getElementById("Week") != null)
    {
        document.getElementById("Week").style.visibility = "hidden";
    }
    
    if (document.getElementById("Month") != null)
    {
        document.getElementById("Month").style.visibility = "hidden";
    }
    
    document.getElementById("loadEvent").style.visibility = "visible";
    
}

function pageLoad()
{
    $("a").removeAttr("style");
    $(".Container td, .Container th").removeAttr("align");
    $(".Container table, .Container td, .Container th").removeAttr("style");
    $(".Container table").removeAttr("cellpadding");
    //$(".Container table").removeAttr("cellspacing");
    $(".Container table").removeAttr("border");
    // add in the extra classes we want to identify elements with css
    $("#MonthResultsData tr:first").addClass("monthnav");
	
    // mark the next and prev buttons
    $("#MonthResultsData table td:first").addClass("prev");
    $("#MonthResultsData table td:last").addClass("next");
    $("#MonthResultsData tr:last").addClass("last");
    $("#MonthResultsData tr").find("td:last").addClass("last");
    $("#MonthResultsData tr th:last").addClass("last");
    
	$("#EventsResultsData table").addClass("fixit")
	
    // category list
    $("#CategoryList li:first").addClass("first");
    $("#CategoryList li:last").addClass("last");
    
    // stripe rows if classed
    $("table.stripe tr:even").addClass("oddrow");
}
