/*
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
CONFIGURATION SETTINGS
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
*/
var _DEF_LIBRARY			= ['_all'];	// List of function libraries to preload
var _DEF_PG_NAME			= 'home';	// Default page name
var _ENABLE_EPU				= 1;		// Enable the EPU (Element Processing Unit) (highly recommended)
var _IMAGE_BUTTON_PREFIX	= 'b\\.';	// Naming prefix for 'rollover' images
var _TXT_HYPHENATE			= 0;		// *EXPERIMENTAL* Hyphenate applicable text wrappers (elements with CSS class "x-hyph")
var _RANDOM_ID_PREFIX		= 'id_';	// Global prefix for dynamically generated element ID's
var _ONLOAD					= [];		// List of functions to call as soon as the website is loaded

/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/

var _AJAX_SUBJ	= 'DEFAULT';	// Default subject for Ajax requests (e.g., "DEFAULT" = "default.php)
var _AJAX_METH	= 'DEFAULT';	// Default method/behavior for Ajax requests
var _AJAX_DELAY	= 0;			// Amount of time (in milliseconds) to wait before sending an Ajax request
var _AJAX_WAIT	= 1;			// Wait for an Ajax request to complete before executing a response? (recommended)
var _AJAX_CALL = null;			// This function will be executed in sync with EVERY Ajax request

/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/

var _PG_LOCK_OPACITY	= 25;	// Default lock opacity (0-100)
var _PG_LOCK_TWEEN		= 0;	// Enable lock animation
var _PG_LOCK_DELAY		= 0;	// Delay (in milliseconds) before initiating lock
var _PG_LOCK_CLASS		= null;	// Custom CSS class to apply before use

/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/

var _SHADOW_OPACITY	= 50;	// Default shadow opacity (0-100)
var _SHADOW_TWEEN	= 0;	// Enable shadow animation
var _SHADOW_DELAY	= 0;	// Delay (in milliseconds) before casting shadow
var _SHADOW_CLASS	= null;	// Custom CSS class to apply before use
var _SHADOW_STYLE	= null;	// Custom CSS attributes to apply before use
var _SHADOW_COLOR	= '#000';	// Shadow color (you can use hexadecimal colors)

/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/

var _DWIN_W			= 640;				// DWIN size (width)
var _DWIN_H			= 480;				// DWIN size (height)
var _DWIN_URL		= 'about:blank';	// Default URL for DWIN iframe
var _DWIN_TWEEN		= 0;				// Enable DWIN animation (may not work in all browsers)
var _DWIN_XPOS		= -1;				// DWIN x-position (-1 = "centered")
var _DWIN_YPOS		= 150;				// DWIN y-position
var _DWIN_DELAY		= 500;				// DWIN loading compensation (in milliseconds)
var _DWIN_XCLICK	= 0;				// Auto-close DWIN after it's clicked (only works outside iframe)
var _DWIN_PRELOAD	= 1;				// Preload DWIN url (recommended)
var _DWIN_TITLE		= null;				// Default title for opened windows (null = current URL)
var _DWIN_TOOLBAR	= 1;				// Enable standard DWIN toolbar (recommended)
var _DWIN_HOVER		= 1;				// Allow DWIN to follow the scrollbar
var _DWIN_CLASS		= null;				// Custom CSS class to apply before use
var _DWIN_SCROLLING	= 0;				// Allow scrolling?

/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/

var _DLG_W		= 518;	// Default dialog width
var _DLG_H		= 80;	// Default dialog height (minimim = 68)
var _DLG_TWEEN	= 0;	// Enable dialog animation (may not work in all browsers)
var _DLG_XPOS	= -1;	// Dialog x-position (-1 = "centered")
var _DLG_YPOS	= 100;	// Dialog y-position
var _DLG_DELAY	= 500;	// Delay (in milliseconds) before opening dialog
var _DLG_HOVER	= 0;	// Allow dialog to follow the scrollbar
var _DLG_MSG	= "";	// Default dialog message (if no other message is given)
var _DLG_CLASS	= null;	// Custom CSS class to apply before use
var _DLG_CALL	= null;	// This function will be executed in sync with every opened dialog

/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/

var _WIDGETS=
{
	SHADOW	: 1,	// Page Shadow
	DLG		: 1,	// Enhanced Dialog Box
	DWIN	: 1		// Dynamic Windows
};

/*
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
*/

var _EPU=
{
	A			: 1,	// Anchor tags and hyperlinks
	IMG			: 1,	// Images
	SELECT		: 1,	// Drop-down boxes
	TEXTAREA	: 1,	// Multi-line text boxes
	INPUT		: 1,	// Various form elements (text boxes, checkboxes, etc.)
	FORM		: 1,	// Forms
	TABLE		: 1,	// Tables
	TBODY		: 1,	// Table body
	TR			: 1,	// Table rows
	TD			: 1,	// Table columns
	OPTION		: 1,	// Drop-down selections
	DIV			: 1		// Layers
};


/*
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
MISC. SETTINGS
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
*/
AC_FL_RunContent = 0; // Flash-related
