function loadAtlas(videoWidth,videoRatio,variableArray){
	// to overright one of the variables below... add the following line to the SWFOBJECT script
	// =================================================
	// /////////////////////////////////////////////////
	/*
		flashvars['VariableName'] = 'Value';
	*/
	// /////////////////////////////////////////////////
	// =================================================
	// loadPath :				The main path for loading all atlas components, relative to swf 
	//							hosting page
	//							Default: 'atlas/'
	// ----------------------------------------------------------------------------------------
	// atlasType :				Used to pull both the main image skin and to pull the 
	//							current topics from the XML file	
	//							Default: 'Human'
	//							Options: Cancer, Circulatory, Digestive, Ear, Endocrine, Eye, 
	//									Human, Immune, Muscular, Nervous, Pediatric, Reproductive,
	//									Respiratory, Skeletal, Skin, Urinary
	// ----------------------------------------------------------------------------------------
	// atlasLanguage			Selects the correct folder to pull your assets from. it also 
	//							lets the text section know whether it needs to handle 
	//							characters in a special way (ie. arabic text)
	//							Default:  'english'
	// ----------------------------------------------------------------------------------------
	// globalPath				Sets the path for 'model','slides','thumbnails'
	//							Default: loadPath + 'global/'
	// ----------------------------------------------------------------------------------------
	// assetPath				Sets the path for 'video','definitions','topics.xml','text'
	//							Default: loadPath + 'assets/' + atlasLanguage + '/'
	// ----------------------------------------------------------------------------------------
	// autoLoadClip				Designates which section should run automatically when a topic
	//							is selected
	//							Default: 'video'
	//							Options: video, text, model, slides
	// ----------------------------------------------------------------------------------------
	// selected_topic			If selected topic is set to a topic id that exists in the xml
	//							that is loaded, the topic will begin playing automatically
	//							when the atlas launches. This is most useful when clicking 
	//							an html link for a specific topic, which will then send
	//							the correct JS variable upon launching the atlas
	//							Default: null
	// ----------------------------------------------------------------------------------------
	// rtmpServer				Designates an absolute path to an rtmp server
	//							Default: null
	// ----------------------------------------------------------------------------------------
	// videoFolder				Selects the folder from which to load the video files, relative
	//							to the assetPath/videos
	//							Default: 'default'
	// ----------------------------------------------------------------------------------------
	// videoBufferTime			Designates the number (in seconds) for how long you want a
	//							video to buffer before playing
	//							Default: 0
	// ----------------------------------------------------------------------------------------
	// videoLoadPercent			Designates the number (in seconds) for how long you want a
	//							video to buffer before playing
	//							Default: 25
	// ----------------------------------------------------------------------------------------
	// videoType				Designates whether the video is an flv or swf format (swf for
	//							backwards compatibility)
	//							Default: 'flv'
	//							Options: flv, swf
	// ----------------------------------------------------------------------------------------
	// videoAR					Designates whether a video is 16x9 ('wide') or 4x3 ('standard')
	//							Default: 'wide'
	//							Options: wide, standard
	// ----------------------------------------------------------------------------------------
	// modelType				Designates whether the qtvr model rorates on one axis or more
	//							if set to standar, the model only rotates on the x axis
	//							Default: 'standard'
	// ----------------------------------------------------------------------------------------
	// modelAspectRatio			Designates whether the qtvr is 4x3 or 16x9
	//							Default: 'standard'
	//							Options: standard, widescreen
	// ----------------------------------------------------------------------------------------
	// slidesType				Type of slides (old for backwards compatability)
	//							Default: 'new'
	//							Options: new, old 
	// ----------------------------------------------------------------------------------------
	// skinColor				Designates the folder to pull the background skins from
	//							also used to add external movie clips that are named with the
	//							'_skinColor' suffix
	//							Default: 'white'
	//							Options: white, black
	// ----------------------------------------------------------------------------------------
	// skinBuild				Designates the folder from which to pull all skins from
	//							Custom skin builds can be in the 'skins/custom/' folder
	//							Default: globalPath + 'skins/builds/' + skinColor
	// ----------------------------------------------------------------------------------------
	// screenImage				Designates the path for the main image loaded to screenLoader
	//							Usually the name of the atlas being loaded
	//							Default: globalPath + 'skins/screen/' + atlasType + '.jpg'
	// ----------------------------------------------------------------------------------------
	// XMLPath					Designates the path for the topic xml file being loaded
	//							Default: assetPath + 'xml/'
	// ----------------------------------------------------------------------------------------
	// localizationFile			Designates the path for the localization xml file being loaded, located in the assetPath
	//							Default: 'localization.xml'
	// ----------------------------------------------------------------------------------------
	// topicCallBack			Designates javascript function for callback when topic is launched
	//							for hosting page interaction
	//							Default: null
	// ----------------------------------------------------------------------------------------
	// customPath				Designates the path for the custom intro and outro assets
	//							Default: globalPath + 'skins/custom/'
	// ----------------------------------------------------------------------------------------
	// introClip				Content to play before video launches, either FLV or JPG
	//							Located in the customPath 
	//							Default: null
	// ----------------------------------------------------------------------------------------
	// introMessage				Message to display while intro content is displayed
	//							Default: 'Please wait while video loads...'
	// ----------------------------------------------------------------------------------------
	// introURL					external URL for introClip
	//							Default: null
	// ----------------------------------------------------------------------------------------
	// introDelay				display time in seconds for introClip, if image
	//							Default: 5
	// ----------------------------------------------------------------------------------------	
	// outroClip				Content to play after video plays, either FLV or JPG
	//							Located in the customPath
	//							Default: null
	// ----------------------------------------------------------------------------------------
	// outroMessage				Message to display while outro plays
	//							Default: ''
	// ----------------------------------------------------------------------------------------
	// outroURL					external URL for outroClip
	//							Default: null
	// ----------------------------------------------------------------------------------------
	// outroDelay				display time in seconds for outroClip, if image
	//							Default: 5
	// ----------------------------------------------------------------------------------------	
	// disableRelated			Hides the "Home" button and "Related Animations" screen at the
	//							end of selected animation					
	//							Default: false
	// ----------------------------------------------------------------------------------------	
	// =================================================	
	// /////////////////////////////////////////////////
	
	// set sizing
	if(videoRatio == 'widescreen')	var videoHeight = Math.round(videoWidth/1.78);
	else							var videoHeight = Math.round(videoWidth/1.33);	
	videoWidth += 358;
	videoHeight += 109;	
	var i;
	var flashvars = {
			outroClip: 'iphone.jpg',
			outroMessage: 'Available on the iPhone',
			outroURL: 'http://www.blausen.com/iphone'
		};
	var params = {};
	params['menu'] = 'false';
	var attributes = {};
	for(i=0;i<variableArray.length;++i){
		flashvars[variableArray[i][0]] = variableArray[i][1];
	}	
	params['wmode'] = "transparent";
	params['allowFullScreen'] = "true";
	swfobject.embedSWF("wp-content/blausen-atlas/mainLoader.swf", "atlas", 600, 361, "8","", flashvars, params, attributes);

}