var Tools = {
    start: function() {

	//var box = new MultiBox('mb', {descClassName: 'multiBoxDesc', useOverlay: false});

	if($$('.tr').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('tr', {
			descClassName: 'trDesc',//the class name of the description divs
			path: './Files/',//path to mp3 and flv players
			useOverlay: true,//use a semi-transparent background. default: false;
			maxWidth: false,//max width (set to false to disable)
			maxHeight: false,//max height (set to false to disable)
			showControls: false,
			showNumbers: false,
			contentColor: '#252525',
			addDownload: false,//do you want the files to be downloadable?
			pathToDownloadScript: './Scripts/ForceDownload.asp',//if above is true, specify download script
			addRollover: true,//add rollover fade to each multibox link
			addOverlayIcon: true,//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
		});
	};


	if($$('.cv').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('cv', {
			descClassName: 'cvDesc',//the class name of the description divs
			path: './Files/',//path to mp3 and flv players
			useOverlay: true,//use a semi-transparent background. default: false;
			maxWidth: false,//max width (set to false to disable)
			maxHeight: false,//max height (set to false to disable)
			showControls: false,
			showNumbers: false,
			contentColor: '#252525',
			addDownload: false,//do you want the files to be downloadable?
			pathToDownloadScript: './Scripts/ForceDownload.asp',//if above is true, specify download script
			addRollover: true,//add rollover fade to each multibox link
			addOverlayIcon: true,//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
		});
	};



links = $$('.moreinfo');
toggles = $$('.toggle');
togs = {};
links.each(function(el, idx) {
  togs[idx] = new Fx.Slide(toggles[idx]).hide();
  el.addEvent('click', function(e) {
  var e = new Event(e).stop();    
  togs[idx].toggle();
});
});

         
                 
}

};
window.addEvent('load', Tools.start);