var Navigation = {
    setRollovers : function() {
        $( ".rollover" ).each( function() {
            var iIndex = $( this ).attr( "src" ).indexOf( "_" );
            var iLength = $( this ).attr( "src" ).length;
            if ( iIndex > 0 ) {
                $( this ).bind( "mouseover", function() {
                    $( this ).attr( "src", "/images/btn_" + $( this ).attr( "src" ).substring( iIndex + 1, iLength - 4 ) + "_over.png" );
                } ).bind( 'mouseout', function() {
                    $( this ).attr( "src", "/images/btn_" + $( this ).attr( "src" ).substring( iIndex + 1, iLength - 4 ) + ".png" );
                } );
            }
        } );
    }
}

