﻿function show(id) {
    var sub_id = document.getElementById(id);
    sub_id.style.display = "block";
}
function hide(id) {
    var sub_id = document.getElementById(id);
    sub_id.style.display = "none";
}
function HighlightSelectedItem() {
    if (document.title == "Home" || document.title == "Industry Trends" || document.title == "Business Value" || document.title == "Downloads" || document.title == "About") {
        lnk = document.getElementById(document.title);
        lnk.className = "currentMenuSelected";
        /*lnk.setAttribute("class", "currentMenuSelected");*/
    }
    if (document.title == "User Experience" || document.title == "Search" || document.title == "Integrated Communications" || document.title == "Web and Social Computing" || document.title == "ECM and Collaboration" || document.title == "Business Intelligence" || document.title == "SOA and BPM" || document.title == "Data" || document.title == "Infrastructure" || document.title == "IT Process") {
        //set div class
        div = document.getElementById(document.title);
        div.className = "selected-list-item";
        /* div.setAttribute("class", "selected-list-item");*/
        //Set the inline style of anchor tag
        lnk = document.getElementById(document.title + " lnk");
        lnk.style.color = "#000000";
    }
}

