//================================= CLASS CONSTRUCTOR ========================================
function GFDoc()
{
//MEMBER VARIABLES
//The page reference ...
 this.pageRef = null;
//This event will be called upon FieldsDoc(fdoc) loading at Body->onload()...
 this.eLoaded = null;
//if the user can insert manual protocols
	this.showManualProtocol = false;


//Initializing ...
 this.initialize();
}

//====================================== STATIC ==============================================
//Constants:
GFDoc.FIELDS_FAM = 1;
GFDoc.FIELDS_IN = 2;
GFDoc.FIELDS_OUT = 4;
GFDoc.FIELDS_ALL = 7;


//====================================== MEMBERS =============================================
GFDoc.prototype.setDefaults = function()
{
 this.pageRef = null;
 this.eLoaded = null;
	this.showManualProtocol = null;
}

GFDoc.prototype.initialize = function()
{
 this.setDefaults();
}

GFDoc.prototype.finalize = function()
{
 this.setDefaults();
}
