//call multiBox for gallery
window.addEvent('domready', function(){
	if($$('.mb').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('mb', {
			descClassName: 'multiBoxDesc',//the class name of the description divs
			path: './images/videos/',//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)
			addRollover: true,//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
		});
	};
});

//call multiBox Refer a friend
window.addEvent('domready', function(){
	if($$('.mbNew').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('mbNew', {
			
			path: './images/videos/',//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)
			addRollover: true,//add rollover fade to each multibox link
			addOverlayIcon: false,//adds overlay icons to images within multibox links
			addChain: false,//cycle through all images fading them out then in
			recalcTop: true,//subtract the height of controls panel from top position
			showcontrols:false,shownumber:false
			
		});
	};
});

//call multiBox Animation Reporter
window.addEvent('domready', function(){
	if($$('.mbNew1').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('mbNew1', {
			
			path: './images/videos/',//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)
			addRollover: true,//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
		});
	};
});


//call multiBox DemoReel
window.addEvent('domready', function(){
	if($$('.dreel').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('dreel', {
			descClassName: 'multiBoxDesc',//the class name of the description divs
			path: './images/videos/',//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)
			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
		});
	};
});

window.addEvent('domready', function(){
	if($$('.vids').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('vids', {
			descClassName: 'multiBoxDesc',//the class name of the description divs
			path: './images/videos/',//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)
			addRollover: false,//add rollover fade to each multibox link
			addOverlayIcon: false,//adds overlay icons to images within multibox links
			addChain: false,//cycle through all images fading them out then in
			recalcTop: true//subtract the height of controls panel from top position
		});
	};
});

//call multiBox for Srijan 
window.addEvent('domready', function(){
	if($$('.srijan').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('srijan', {
			descClassName: 'multiBoxDesc',//the class name of the description divs
			path: './video/',//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)
			addRollover: true,//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
		});
	};
});


//call multiBox for Srijan 
window.addEvent('domready', function(){
	if($$('.srijanN').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('srijanN', {
			descClassName: 'multiBoxDesc',//the class name of the description divs
			path: './video/',//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)
			addRollover: true,//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
		});
	};
});

//call multiBox for Srijan banglore2009
window.addEvent('domready', function(){
	if($$('.srijanB').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('srijanB', {
			descClassName: 'multiBoxDesc',//the class name of the description divs
			path: './video/',//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)
			addRollover: true,//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
		});
	};
});


//call multiBox for Srijan Hyderabad2009
window.addEvent('domready', function(){
	if($$('.srijanHyd').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('srijanHyd', {
			descClassName: 'multiBoxDesc',//the class name of the description divs
			path: './video/',//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)
			addRollover: true,//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
		});
	};
});


window.addEvent('domready', function(){
	if($$('.open').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('open', {
			descClassName: 'multiBoxDesc',//the class name of the description divs
			path: './video/',//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)
			addRollover: true,//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
		});
	};
});


window.addEvent('domready', function(){
	if($$('.industry').length > 0)//only triggered if 'mb' class found on page
	{
		var initMultiBox = new multiBox('industry', {
			descClassName: 'multiBoxDesc',//the class name of the description divs
			path: './video/',//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)
			addRollover: true,//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
		});
	};
});


