﻿function changeIt(counter){
    $(".lead").each(function(){
        $(this).css("display","none");
    });
    $(".subMenu").each(function(){
        $(this).css("display","none");
    });
     $(".changer").each(function(){
        $(this).css({
            cursor: "pointer",
            borderBottom: "1px dotted white",
            fontWeight: "normal"
        });
    });
    $(".changer").eq(parseInt(counter)-1).css({
        fontWeight: "bold",
        borderBottom: "none",
        cursor: "arrow"
    });
    $(".lead").eq(parseInt(counter)-1).css("display","block");
    $(".subMenu").eq(parseInt(counter)-1).css("display","block");
}

