      //var Box;
      var SlideBox;
      function resizeBox () {
        if(SlideBox!=undefined) {
          var Box = document.getElementById('box');
          if (Box!=undefined){
            SlideBox.size = window.getWidth();
            var nombre = Box.childNodes.length;
            for (i=0; i<nombre; i++){
              if ((Box.childNodes[i]!=undefined) && (Box.childNodes[i].style!=undefined) && (Box.childNodes[i].style.width!=undefined)){
                Box.childNodes[i].style.width = (window.getWidth())+"px";
                //Box.childNodes[i].style.height = (window.getHeight()-50)+"px";
              }
            }
          }
        }
      }
      function scrollDiv (YN) {
        var Box = document.getElementById('box');
        if (Box!=undefined){
          var nombre = Box.childNodes.length;
          for (i=0; i<nombre; i++){
            if ((Box.childNodes[i]!=undefined) && (Box.childNodes[i].style!=undefined)){
              Box.childNodes[i].style.height = window.getHeight()+"px";
              if(YN) Box.childNodes[i].style.overflow = "auto";
              else Box.childNodes[i].style.overflow = "hidden";
              if (window.console) console.log("hidden");
            }
          }
        }
      }
      window.addEvent('domready',function(){
    		//SAMPLE 4 (walk to item)
    		SlideBox = new noobSlide({
    			box: $('box'),
    			items: $ES('div','box'),
    			size: window.getWidth(),
    			handles: $ES('span','BarreMenu'),
    			onWalk: function(currentItem,currentHandle){
//    				$('info4').setHTML(currentItem.getFirst().innerHTML);
    				this.handles.removeClass('btn_act');
    				this.handles.addClass('btn');
    				//this.handles.parentNode.removeClass('btn_act');
    				//this.handles.parentNode.addClass('btn');
    				currentHandle.addClass('btn_act'); 
            //currentHandle.parentNode.addClass('btn_act');
    			}
    		});
        resizeBox();
        //SlideBox.next();
    	});

