alert("There is a status"); 
	evaluateCondition: function (iIndex, iTarget)	{		var result = EVALUATE_UNKNOWN;		// Make sure this condition exists		if (iIndex < this.mConditions.length)		{			var cond = this.mConditions[iIndex];						// evaluate the current condtion			if (cond.mCondition == ALWAYS)			{				result = EVALUATE_TRUE;			}			else if (cond.mCondition == NEVER)			{				result = EVALUATE_FALSE;			}			else if (cond.mCondition == SATISFIED)			{				//fix HH 				//if (iTarget.getObjStatus(cond.mObjID, this.mRollup))				if (iTarget.getObjStatus(this.mRollup,{iObjID:cond.mObjID}))				{					//fix HH 					//result = (iTarget.getObjSatisfied(cond.mObjID, this.mRollup))					result = (iTarget.getObjSatisfied(this.mRollup,{iObjID:cond.mObjID}))						? EVALUATE_TRUE						: EVALUATE_FALSE;				}				else				{					result = EVALUATE_UNKNOWN;				}			}			else if (cond.mCondition == OBJSTATUSKNOWN)			{				//fix HH				//result = iTarget.getObjStatus(cond.mObjID, this.mRollup)				result = iTarget.getObjStatus(this.mRollup, {iObjID:cond.mObjID})					? EVALUATE_TRUE					: EVALUATE_FALSE;			}			else if (cond.mCondition == OBJMEASUREKNOWN)			{				//fix HH				//result = iTarget.getObjStatus(cond.mObjID, this.mRollup)				result = iTarget.getObjStatus(this.mRollup, {iObjID:cond.mObjID})					? EVALUATE_TRUE					: EVALUATE_FALSE;			}			else if (cond.mCondition == OBJMEASUREGRTHAN)			{				//fix HH				//if (iTarget.getObjMeasureStatus(cond.mObjID, this.mRollup))				if (iTarget.getObjMeasureStatus(this.mRollup,{iObjID:cond.mObjID}))				{					//fix HH					//result = iTarget.getObjStatus(cond.mObjID, this.mRollup)					result = (iTarget.getObjMeasure(this.mRollup, {iObjID: cond.mObjID}) >						cond.mThreshold )						? EVALUATE_TRUE						: EVALUATE_FALSE;   						        				}				else				{					result = EVALUATE_UNKNOWN;				}			}			else if (cond.mCondition == OBJMEASURELSTHAN)			{				//Fix HH			//	if (iTarget.getObjMeasureStatus(cond.mObjID, this.mRollup))							if (iTarget.getObjMeasureStatus(this.mRollup,{iObjID:cond.mObjID}))				{										//fix HH					//result = iTarget.getObjStatus(cond.mObjID, this.mRollup)					result = (iTarget.getObjMeasure(this.mRollup, {iObjID:cond.mObjID}) <						cond.mThreshold)						? EVALUATE_TRUE						: EVALUATE_FALSE;				}				else				{					result = EVALUATE_UNKNOWN;				}			}			else if (cond.mCondition == COMPLETED)			{				if (iTarget.getProgressStatus(this.mRollup))				{					alert("There is a status");					result = iTarget.getAttemptCompleted(this.mRollup)						? EVALUATE_TRUE						: EVALUATE_FALSE;				}				else				{					result = EVALUATE_UNKNOWN;				}			}			else if (cond.mCondition == PROGRESSKNOWN)			{				result = iTarget.getProgressStatus(this.mRollup)					? EVALUATE_TRUE					: EVALUATE_FALSE;			}			else if (cond.mCondition == ATTEMPTED)			{				result = iTarget.getActivityAttempted()					? EVALUATE_TRUE					: EVALUATE_FALSE;			}			else if (cond.mCondition == ATTEMPTSEXCEEDED)			{				if (iTarget.getAttemptLimitControl())				{					var maxAttempt = iTarget.getAttemptLimit();										// Check if this limit condition exists					if (maxAttempt >= 0)					{						result = (iTarget.getNumAttempt() >= maxAttempt)							? EVALUATE_TRUE							: EVALUATE_FALSE;					}				}			}			else if (cond.mCondition == TIMELIMITEXCEEDED)			{				// add later with other time tracking implementation...				// -+- TODO -+-			}			else if (cond.mCondition == OUTSIDETIME)			{								// add later with other time tracking implementation...				// -+- TODO -+-			}						// Account for condition operator			if (cond.mNot && result != EVALUATE_UNKNOWN)			{								result = (result == EVALUATE_FALSE)					? EVALUATE_TRUE					: EVALUATE_FALSE;								}		}		return result;	}
6251	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6251/84c3ba302eb0dbedde2673fff518e018580641b0/SeqConditionSet.js/buggy/Modules/Scorm2004/scripts/adl2js/SeqConditionSet.js