﻿

/// <reference path="jquery-1.3.2-vsdoc2.js" />


$(document).ready(function() {

    //Highlight the relevant main navigation link for the current page. This will be the class name of the content element.
    var currentPage = $("#content").attr("class");
    $("#a" + currentPage).addClass("active");

});



















































/*Main navigation*/
//    function showDropDown(dropDownNum){
//        $get('sn' + dropDownNum).style.display = 'block';
//        //showTransparency(dropDownNum);
//        
//    }
//    function hideDropDown(dropDownNum){
//        $get('sn' + dropDownNum).style.display = 'none';
//        //$get('navTrans' + dropDownNum).style.display = 'none';
//    }
//    function activateTab(tabNum){
//        $get('pn' + tabNum).className = 'active';
//    }
//    function deActivateTab(tabNum){
//        $get('pn' + tabNum).className = '';
//    }
//    
//    
//    
//    
//    
//    
//    function overElement(elem){
//        if($get(elem).className == 'active')
//                $get(elem).className = 'active';
//            else
//                $get(elem).className = 'over';
//        }
//        function outElement(elem){
//            if($get(elem).className != 'active')
//                $get(elem).className = '';
//    } 
//    function showTransparency(dropDownNum){

//        height = $get('dropDown' + dropDownNum).offsetHeight;
//            $get('navTrans' + dropDownNum).style.height = height + "px"; 
//        $get('navTrans' + dropDownNum).style.display = 'block';     
//    }
//    //Display the relevant tab on click
//    function showHideTab(showTab, hideTab){
//    
//        //hide and show the relevant tabs
//        $get('memTab' + showTab).style.display = '';
//        $get('memTab' + hideTab).style.display = 'none';
//        
//        //make the relevant link active
//        $get('memLink' + showTab).className = 'active';
//        $get('memLink' + hideTab).className = '';
//        
//    }