		window.addEvent('domready', function() {			

	    var data = {
	      '1.png': {caption: 'Quick Detatchable Scope Rings',
	      					thumbnail: '1t.jpg' }, 
	      '2.png': {caption: 'Fixed Scope Rings',
	      					thumbnail: '2t.jpg'}, 
	      '3.png': {caption: 'Light Weight Scope Rings',
	      					thumbnail: '3t.jpg' }, 
	      '4.png': {caption: 'Scope Ring Bases',
	      					thumbnail: '4t.jpg' }
	    };
	    
	    var myShow = new Slideshow('show', data, {controller: false, delay:8000, height: 350, hu: 'img/slideshow/', thumbnails: true, width: 1000});
			var morphTabs = new MorphTabs('morphTabs',{width: '940px', height:'250px',panelStartFx: 'fade',panelEndFx:'appear',changeTransition: {transition: 'linear',duration: 'normal'}});
			var selectTransitions = new selectTrans('morphtabs_transitions', morphTabs);

 			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: './',//path to mp3 and flv players
					useOverlay: true,//use a semi-transparent background. default: false;
					maxWidth: false,//600,//max width (set to false to disable)
					maxHeight: false,//400,//max height (set to false to disable)
					addDownload: false,//do you want the files to be downloadable?
					pathToDownloadScript: './cgi-bin/forceDownload.cgi',//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: false//subtract the height of controls panel from top position
				});
			};
		});