var lhpInit = function(){
      if( $('block') ){
    		var ns = new noobSlide({
    			box: $('blockCont'),
    			items: $('block').getElements('.scheineCont'),
    			size: 521,    			
    			
//    			addButtons: {
//    				previous: $('btnLeft'),    				
//    				next: $('btnRight')
//    			},

    			onWalk: function(currentItem,currentHandle){
    			}

    		});
    		
    		ns.addActionButtons('next',$$('#block .btnRight'));
    		ns.addActionButtons('previous',$$('#block .btnLeft'));
    		
      	var el = $('slider');
      	new Slider(el, el.getElement('.slide'), {
      		steps: 11,
      		range: [0],
      		onChange: function(value){
      		  ns.walk(this.step,false,false);
      		}
      	}).set(0);
      }
      
      
    	//create our Accordion instance
    	var myAccordion = new Accordion($('archive'), 'h2.gewinne_acc', 'div.scheines', {
    		opacity: false,
    		show: 2000000000,
    		alwaysHide: true,
    		onActive: function(toggler, element){
    		},
    		onBackground: function(toggler, element){
    		}
    	});
    	
    	//create our Accordion instance
    	var myAccordion = new Accordion($('archive'), 'h2.gewinne_accx', 'div.scheinesx', {
    		opacity: false,
    		show: 2000000000,
    		alwaysHide: true,
    		onActive: function(toggler, element){
    		},
    		onBackground: function(toggler, element){
    		}
    	});      
      
    }
    
window.addEvent('domready', lhpInit);
