
	//	---------------  EONX VARIABLES  ---------------
	//  We recommend that you use one eonx_variable.js file for all your EON applications
	//  on your website. Then you will only have one place to update to the latest version.
	//	This script contains all variables used by EonX and EONInsert(). Some variables 
	//  might be changed in your specific sim script, while some should not be changed.
	//					Template Last modified Feb 1st, 2003.
	//	Enter your default EONX Settings below:

	//  Basic EonX properties
	var eonxHeight 			= 300;
	var eonxWidth 			= 445;
	var eonxAutoPlay 		= 1;
	var eonxProgressbar 	= 1;
	var eonxBackground 		= "#000000,";

	// Obsolete variables, are not used anymore.
	var eonxToolbar 		= 0;
	var eonxSettingsButton	= 0;

	// Note that this variable MUST be changed on the script on your local page!!!
	var eonxSimulationFile 	= "203EBNEW.edz";

	//  EON Server settings
	var eonxPrototypebaseURL = "";  
	var eonxTrackerURL = "";

	//  EON Configuration settings. For example: to force the use of OpenGL rendering.
	var eonxConfigurationScheme = "";    //"OpenGLRendering";
	var eonxSchemeValues = "";    //"Render.EnableGL=1,Render.Dithering=1,Render.AdvancedQuality=1,Render.QualityLevel=3,Render.RenderQuality=1161,Render.TextureQuality=5";
	//  Use empty values since EonX automatically forces OpenGL now. Of course you may use other values, 
	//  but remember these values are forced, and settings like stereo will NOT work if not included here!!!



	//  ----- WHEN EONX IS NOT INSTALLED -----
	var LatestEONVersion  = "5,0,0,704"; // This is the required version of EON Runtime
	var eonxClassid = "CLSID:AAD68411-5B98-11D3-9B52-00001C0007B3";
	var eonxCreateObject = "Eon.EonX.2";
	
	//  Choose what should happen when EonX is not installed or old version installed.
	//  For info on methods (0 - 13) contact:  support @ eonreality.com
	var CheckAndHandleEonXStatus = 1;	// recommend 1
	// Choose a different method for Netscape
	var CheckAndHandleEonXStatusNN = 1;		// recommend 1
	
	//  DocumentCodebase is calculated to return the absolute path of this document. Do not alter this!
	var DocumentCodebase= document.location.href.substring(0,document.location.href.lastIndexOf("/")+1);
	
	//  EonX codebase and plugin page depend on if local or Internet distribution 
	var LocalDistribution = true;

	var LatestEONDirectory;
	var eonxfileIE;
	var eonxfileNN;
	var eonxPluginsPage;

	if (LocalDistribution) // CD distribution
	{
		LatestEONDirectory = DocumentCodebase + "redist/"; //"redist/";
		eonxfileIE = "eonx_loc.cab"; // "eonx_loc.cab";
		eonxfileNN = "eonx2loc.jar"; // "eonx2loc.jar";
		eonxPluginsPage = DocumentCodebase + "plugin/eonx_plugin_page.html";
	}
	else // Internet distribution
	{	
		LatestEONDirectory = "redist/";
		eonxfileIE = "eonx_loc.cab"; //"eonx.cab";
		eonxfileNN = "eonx2loc.jar"; //"eonx2.jar";
		eonxPluginsPage = "redist/" + "eonx_plugin_page.html";
	}
	var eonxCodebaseIE = LatestEONDirectory + eonxfileIE + "#Version=" + LatestEONVersion; // Do not alter
	var eonxCodebaseNN = LatestEONDirectory + eonxfileNN + "#Version=" + LatestEONVersion; // Do not alter


	//  --- FINDING DLLs, SIMULATIONS and BACKGROUND IMAGES---
	//	Simulations files and Background image files (.bmp) should be relative to the 
	//	document or any of the codebases in eonxCodebase2. eg "../sim/chair5.eoz" is OK.
	var DLLsCodebase    = LatestEONDirectory;
	var OtherCodebases  = "";
	var eonxCodebase2   = DocumentCodebase + ";" + DLLsCodebase + ";" + OtherCodebases; // Do not alter



	//  --- WEBEON TOOL ---
	//  The WEBEON Tool allows developers to see information about the running EON Application when
	//  they press "555" (IE only). The file, WEBEON_Tool.html must exist in the same directory 
	//  as the web page containing the EON Application and this variable must be set to true.
	var EnableWEBEON_Tool = false;
