// ------------- Flash Embedding ------------- //
NGS.onload(function(){

	// General
	if (document.getElementById("topCarousel")){
		ngsEmbed.flash({ 	
  			src: "av/carousel.swf", 
  			width: "620",
  			height: "212",			
  			version:"8",
			id:"flashtest",
			name:"flashtest",
			wmode:"transparent",
			flashvars: "xmlLocation=" + encodeURI("xml/feed.xml") + "&CarouselTitle=Animals Featured in WildCam Africa"
  		}, "carousel", "test");		
	};
	
	// Notes
	// if (document.getElementById("_ID of Element You Want to Replace_")){
	// 	ngsEmbed.flash({ 	
	// 		src: "/flash/carousel.swf", 
	// 		width: "",
	// 		height: "",			
	// 		version:"8",
	// 		wmode:"transparent",
	// 		flashvars: "xmlLocation=" + encodeURI("http://www.nationalgeographic.com/xmlfeedURL")
	// 		}, "_ID of Element You Wanted to Replace (change or don't - up to you)_","_class you want to add to distinguish this from previous style - the default naming convention is flash-content-replaced_");
	// };
});