/******************************************************************************
 *
 *                   INDIGEN SOLUTIONS CODE PROPERTY
 *       The present javascript code is property of Indigen Solutions. This 
 *     code can only be used inside Internet/Intranet web sites located on 
 *  *web servers*, as the outcome of a licensed Indigen Solutions application 
 *  only. Any unauthorized use, reverse-engineering, alteration, transmission, 
 * transformation, facsimile, or copying of any means (electronic or not) is 
 *     strictly prohibited and will be prosecuted. Removal of the present 
 *              copyright notice is strictly prohibited
 *         Copyright (c) 2004 Indigen Solutions. All Rights Reserved.
 *
 * RCS Id                       $Id: main.js,v 1.9 2005/05/04 15:33:06 jerome Exp $
 * RCS Revision                 $Revision: 1.9 $
 * RCS Check in date            $Date: 2005/05/04 15:33:06 $
 * 
 ******************************************************************************/

/* Constants. */

/* Globals. */

// Main.
var myLanguage;             // The current language.
var myMode;                 // Navigation mode.
var myObjid;                // The current object id.
var myNavigationType;       // The navigation type.

// The main navigation.
var myMainNavigationObjid;  // The topology id.
var myMainPath;             // Path.

// The sub navigation.
var mySubNavigationObjid;   // The topology id.
var mySubPath;              // Path.

// The tranversal navigation.
var myTransNavigationObjid; // The topology id.
var myTransPath;            // Path.

// Admin management.
var myFunction;             // The function.
var myNextLink;             // The next link.
var myHistoryThreadid;      // The thread id.
var myFunctionContext;      // The function context.

/* functions. */

function main_init(m, l, t, i,
		   mt, mp, st, sp, tt, tp,
		   x, n, h, e) {
  myMode = m;
  myLanguage = l;
  myObjid = i;
  myNavigationType = t;
  myMainNavigationObjid = mt;
  myMainPath = mp;
  mySubNavigationObjid = st;
  mySubPath = sp;
  myTransNavigationObjid = tt;
  myTransPath = tp;
  myFunction = x;
  myNextLink = n;
  myHistoryThreadid = h;
  myFunctionContext = e;
}

