
/**
 * File "effects.js"
 * Fancy Javascript effects
 */

/**
 * Function "lightUp"
 * Highlight links to the blog
 */

function lightUp (which) {

    if (document.getElementById)

        switch (which) {

            case 1:
                document.getElementById ("mainLink1").className = "link1Active";
                break;

            case 2:
                document.getElementById ("mainLink2").className = "link2Active";
                break;

        }

}

/**
 * Function "turnOff"
 * Remove highlight from links to the blog
 */

function turnOff (which) {

    if (document.getElementById)

        switch (which) {

            case 1:
                document.getElementById ("mainLink1").className = "";
                break;

            case 2:
                document.getElementById ("mainLink2").className = "";
                break;

        }

}

// EOF

