var slide_duration = 1.1;
var scrolling_div_height = 420;
function loadjs(){
            
    var nextbuttons = $$('img.nxtbtn');
            
    for(var i = 0 ; i < nextbuttons.length; i++){
        nextbuttons[i].observe('click', function(event) {
        
 
            
            try{
              
                new Effect.Scroll($(this.id).ancestors()[0].next('.scrollable_container'), { y: scrolling_div_height,  duration: slide_duration });
               
            }
            catch(e){
               
                new Effect.Scroll($(this.id).ancestors()[0].previous('.scrollable_container'), { y: scrolling_div_height,  duration: slide_duration });
            }
            
            Event.stop(event);
         
		    
        });
    }
 
    var previbuttons = $$('img.prvbtn');

    for(var j = 0 ; j < previbuttons.length; j++){
        previbuttons[j].observe('click', function(event) {
 
            try{
                
                new Effect.Scroll($(this.id).ancestors()[0].next('.scrollable_container'), { y: -scrolling_div_height,  duration: slide_duration });
               
            }
            catch(e){
            
                new Effect.Scroll($(this.id).ancestors()[0].previous('.scrollable_container'), { y: -scrolling_div_height,  duration: slide_duration });
            }
            
            Event.stop(event);
         
		    
        });
    }
	 
}
		