﻿function getTagLine(type)
{
    ///<summary>
    /// Shows the specific tag line for the item being rolled over.
    ///</summary>
    switch (type) {
        case "career":
            document.getElementById("nav_comments").innerHTML = "<p>Find out more about jobs, training and learning<\/p>";
            document.getElementById("nav_comments").className += "_career";
            break;
        case "health":
            document.getElementById("nav_comments").innerHTML = "<p>Find out more about staying fit and healthy<\/p>";
            document.getElementById("nav_comments").className += "_health";
            break;
        case "safety":
            document.getElementById("nav_comments").innerHTML = "<p>Find out more about staying safe in your local community<\/p>";
            document.getElementById("nav_comments").className += "_safety";
            break;
        case "free":
            document.getElementById("nav_comments").innerHTML = "<p>Find out more about activites and projects you can take part in<\/p>";
            document.getElementById("nav_comments").className += "_free";
            break;
        case "life":
            document.getElementById("nav_comments").innerHTML = "<p>Find out more about things that matter to you<\/p>";
            document.getElementById("nav_comments").className += "_life";
            break;
    }
}

function hideTagLine()
{
    ///<summary>
    /// Hides the black tag line on the home navigation.
    ///</summary>
    document.getElementById("nav_comments").innerHTML = "";
    document.getElementById("nav_comments").className = "nav_comments";
}