// JavaScript Document  



function isDefined(variable)
{
return eval('(typeof('+variable+') != "undefined");');
}
/*
if ( isDefined("parent.parent.parent.parent.GCS") )
{
	//alert("Creating GCS");
	GCS = parent.parent.parent.parent.GCS;
}
else if ( isDefined("parent.parent.parent.GCS") )
{
	//alert("Creating GCS");
	GCS = parent.parent.parent.GCS;
}
else if ( isDefined("parent.parent.GCS") )
{
	//alert("Creating GCS");
	GCS = parent.parent.GCS;
}
else if ( isDefined("parent.GCS") )
{
	//alert("Getting GCs from Parent");
	GCS = parent.GCS;
}
else
{
		GCS = new gcs();
		//var TempTopWindow=GCS.Document.createElement("div");
		//TempTopWindow.setAttribute("id", "TopWindow");
		//GCS.Body.appendChild(TempTopWindow);
}*/
	GCS = new gcs();
  function gcs()
  {
	this.id="ll";
	this.Debug=false;
	this.Tools = new classTools();
	this.Windows = new classWindows();
	this.Document=document;
	this.Window=window;
	this.Body=document.body;
	this.Navigator=navigator;
	//this.Tabs = new classTabs();
	//this.Menu = new classMenu();
	//this.Layout = new classLayout();
	//this.Menus = new classMenus();
	this.Ajax = new classAjax();
	
	this.getWindow = function(id)
	{
		return new classWindow(id);
	}
  }

 
  
  
  
  
							

