function loadMenu() {

    var navigation = document.getElementById( 'navigation' );
    var shortcut = document.getElementById( 'shortcut' );

    if( navigation && shortcut ) {

        navigation.onmouseover = function() {
        shortcut.style.display = 'block';

        };

        navigation.onmouseout = function() {

            shortcut.style.display = 'none';

        };

        shortcut.onmouseover = function() {

            this.style.display = 'block';
            navigation.style.background = '#ffffff';

        };

        shortcut.onmouseout = function() {

            this.style.display = 'none';
            navigation.style.background = 'transparent';

        };

        var shortcutLen = shortcut.getElementsByTagName( 'a' ).length;

        for( var i = 0; i < shortcutLen; i++ ) {

            shortcut.getElementsByTagName( 'a' )[i].onmouseover = function() {

                this.style.color = '#ffffff';
                this.style.background = '#003366';

            };

            shortcut.getElementsByTagName( 'a' )[i].onmouseout = function() {

                this.style.color = '#003366';
                this.style.background = '#ffffff';

            };

        }

    }

    var q = document.getElementById( 'q' );

    if ( q ) {

        var v = q.value;

        q.onfocus = function() {

            q.value = '';

        };

        q.onblur = function() {

            q.value = v;

        };

    }

}

loadMenu();
