init=function()
    {
        $('ul.mv-menu>li').click(
            function(){
                if (opened) {
                {
                    $('.mv-descr'+opened).hide().width(0)
                }
                }

                opened=$(this).attr('t');
                $('.mv-descr'+opened).css({
                    'margin-top':opened*63-opened*-1.4
                });
                $('.mv-descr'+opened).show().animate(
                {
                    width:"417px"
                },
                {
                    duration:200,
                    easing:'easeOutSine'
                });
                if($('ul.mv-menu>li.selected')[0]){
                    $('ul.mv-menu>li.selected')[0].className='';
                }
                $(this)[0].className='selected';

            }).mouseover(
            function()
            {
                o=$(this).attr('t');
                if (o != null && o != opened) {
                    $('.mv-descr'+opened).hide().width(0)
                }
                $('.mv-inner').animate(
                {
                    backgroundPosition: -417*o+'px 0'
                },
                {
                    queue:false,
                    duration:200,
                    easing:'easeOutSine'
                });
            }
            );
    }

selectOpened = function() {
    if (opened != null) {
        $('.mv-descr'+opened).css({
            'margin-top':opened*63-opened*-1.4
        });
        $('.mv-descr'+opened).show().animate(
        {
            width:"417px"
        },
        {
            duration:200,
            easing:'easeOutSine'
        });
        $('.mv-inner').animate(
        {
            backgroundPosition: -417 * opened + 'px 0'
        },
        {
            queue:false,
            duration:200,
            easing:'easeOutSine'
        });
    }
}