Shadowbox.init({ 
	  animate:'true', //turns on or off all animations
	  animateFade:'true', //turns on of off fading transitions between gallery items
	  animSequence:'sync', //wh=width first, hw=height first, sync=simultaneous
	  autoplayMovies:'true', //tells movies to autoplay after they load
	  continuous:'false', //relates to galleries looping back to the first item
	  counterLimit:10, //limits the number of counter links below the shadowbox ie-1 2 3 4 5
	  counterType:'default', //default="1 of 5", skip="1 2 3 4 5"
	  displayCounter:'true', //turns on or off the counter in lower left-hand corner
	  displayNav:'true', //turns on or off lower right-hand corner gallery nav icons
	  enableKeys:'true', //turns on or off the ability to use arrows keys to cycle through gallery items
	  fadeDuration:0.35, //controls the time it takes to fade from one gallery item to the next (seconds)
	  flashParams:{bgcolor:"#000000"}, //visit shadowbox options page for detailed list of available Flash object params
	  flashVars:{}, //visit shadowbox options page for detailed list of available FlashVars
	  handleOversize:'resize', //none=leaves box at set size and clips items too big, resize=enables on-the-fly resizing, 
	  						   //drag=same as 'none' but allows user to pull image around inside of shadowbox window
	  handleUnsupported:'link', //link=if object requires plug in a link will be provided, remove=will skip unsupported gallery items
	  initialHeight:160, //set initial default shadowbox height, if height is provided in url this will be overridden
	  initialWidth:320, //set initial default shadowbox width, if width is provided in url this will be overridden
	  modal:'false', //turns on or off users ability to click outside the shadowbox to close it and return to site
	  overlayColor:'#000000', //the color to use to dim the website and focus on shadowbox
	  overlayOpacity:0.7, //the amount of opacity to use on above 'overlayColor'
	  showMovieControls:'true', //turns on or off Quicktime and Windows Media player movie control bars
	  slideshowDelay:8, //the slideshow delay for galleries with multiple items, set to 0 to turn off slideshows
	  viewportPadding:20 //this is the amount of padding that should remain around outside of shadowbox if size is bigger than browser window
	  // other items not being used 'onChange', 'onClose', 'onFinish', 'onOpen' as well as 'troubleElements' and 'skipSetup'
	});
 
function pageloadObject(box,boxw,boxh,boxurl) { 
	Shadowbox.open({ 
		 player: box, 
		 height: boxh, 
		 width: boxw,
		 content: boxurl
	  }); 
		
	} 