/* =================================
 state.js
 belenus interparts
 generate:2002.09.12
 modified:2006.03.06
================================== */


/* =================================
	javascript and java settings
================================== */ 

var xmlBuiltIn = false;
var canLiveConnect = true;


/* =================================
	reference to the frames, respectively to the applets
================================== */ 

var modules = new Array();


/* =================================
	oci-interface
================================== */ 

//if this flag is set to true, oci will enabled in the whole ip application
//it will be changed by the oci_init.js (only by this)
var oci_interface = false;

//this flag enables or disables, that the Shoppingcart window could open
var openCartWindowEnabled = true;


/* =================================
	properties of the frameset/frames
================================== */

var oldTreeFrameWidth = belenusHome.treeFrameWidth // init (this var is define in preferences.js)


/* =================================
	properties for the basket
================================== */

var whereIsTheForm=null; // don't change...

var mailto = "";

var shipCost = 0; 

// true -> the basket is included in the main frameset (the basket button is hidden)
// false -> the basket isn't included in the main frameset, instead it will be shown in an own popup
var includedOrPopupBasket = false;


/* =================================
	properties for the print 
================================== */

// this flag is used by the toolbar.js, it's important to decide, which print function should be used
var printCutout = false;


/* =================================
	internal flag, to activate or inactivate the printserver usability
================================== */

var printServer = false;


/* =================================
	caches the information about the current Label which is shown
================================== */

var currentLabel = "";  


 /* =================================
	is holding the information about the current treepath
================================== */

var currentTreePath = "/";


 /* =================================
   this contains the data of the current basket
 ================================== */

var belenusBasket; 
var belenusBasketUserDatas; 


 /* =================================
   ||
 ================================== */

 var showImageState = null;
 
 var donePopupBlockerTest = false;
 
 
 /* =================================
   || activate xvl extra buttons
 ================================== */
var shownBtns = (XVLActive==true) ? shownBtnsWithXVL : shownBtnsWithoutXVL;


 /* =================================
   ||
 ================================== */
var searchBelowSelectedTreeEntryState = false;

 /* =================================
   || horizontal | vertical
 ================================== */
 var detailFrameArrangement = 'horizontal';
 
 var footnoteFrameSize = 0;
 
 var mediaFrameSize = 0;
 
 var LoadAdditionalDeviceHeaderFails = 0;