window.addEvent('domready',function(){

//select array of a elements in list container
var listLinks = $$('.news-list-item').getElements('a');
//add &type=44 to each link and class mb
listLinks.each(function(myLink) {
        myLink.setProperties({
                rel: 'width:950,height:500',
                "class": 'mb'
        });
        myLink.set('href', myLink.get('href')+"&type=44");
});

//multibox
var box = {};
box = new multiBox('mb', {descClassName: 'multiBoxDesc', useOverlay: true});

//Noobslide
    //first list view
       var nS1 = new noobSlide({
        mode: 'vertical',
        box: $('box1'),	
        items: $$('#box1 div'),
        size: 119,
        handles: $$('#handles1 span'),
        addButtons: {
            previous: $('prev1'),
            next: $('next1')
        }
        });
    //second list view
       var nS2 = new noobSlide({
        mode: 'vertical',
        box: $('box2'),
        items: $$('#box2 div'),
        size: 119,
        handles: $$('#handles2 span'),
        addButtons: {
            previous: $('prev2'),
            next: $('next2')
        }
        });
    //third list view
       var nS3 = new noobSlide({
        mode: 'vertical',
        box: $('box3'),
        items: $$('#box3 div'),
        size: 119,
        handles: $$('#handles3 span'),
        addButtons: {
            previous: $('prev3'),
            next: $('next3')
        }
        });
   });


