window.addEvent('domready', function(){
	
	// multibox pour mootools 1.2
	var box = new multiBox({
		mbClass: '.mb',//class you need to add links that you want to trigger multiBox with (remember and update CSS files)
		container: $(document.body),//where to inject multiBox
		descClassName: 'multiBoxDesc',//the class name of the description divs
		path: './Files/',//path to mp3 and flv players
		useOverlay: false,//use a semi-transparent background. default: false;
		maxSize: {w:600, h:800},//max dimensions (width,height) - set to null to disable resizing
		addDownload: false,//do you want the files to be downloadable?
		pathToDownloadScript: './Scripts/forceDownload.asp',//if above is true, specify path to download script (classicASP and ASP.NET versions included)
		addRollover: false,//add rollover fade to each multibox link
		addOverlayIcon: false,//adds overlay icons to images within multibox links
		addChain: true,//cycle through all images fading them out then in
		recalcTop: true,//subtract the height of controls panel from top position
		addTips: false,//adds MooTools built in 'Tips' class to each element (see: http://mootools.net/docs/Plugins/Tips)
		autoOpen: 0//to auto open a multiBox element on page load change to (1, 2, or 3 etc)
	});
	
	
	// noobslide pour mootools 1.2
	var startItem = 3; //or   0   or any
	var thumbs_mask7 = $('thumbs_mask7').setStyle('left',(startItem*60-568)+'px').set('opacity',0.8);
	var fxOptions7 = {property:'left',duration:1000, transition:Fx.Transitions.Back.easeOut, wait:false}
	var thumbsFx = new Fx.Tween(thumbs_mask7,fxOptions7);
	var nS7 = new noobSlide({
		box: $('box7'),
		size: 200,
		items: [0,1,2,3,4,5,6,7],
		handles: $$('#thumbs_handles7 span'),
		fxOptions: fxOptions7,
		onWalk: function(currentItem){
			thumbsFx.start(currentItem*60-568);
		},
		startItem: startItem
	});
	//walk to first with fx
	nS7.walk(0);
	
});
