var mobjFrame_DA;

function CheckComponent_Acrobat() {
	
	mobjFrame_DA = parent.frmTestArea
	mobjFrame_DA.location.href = 'CheckModules/DetectAcrobat.htm';
}

function CheckComponent_Acrobat_Passed() {

	strStatus = 'Passed';
	strResult = 'Yes';
	strDisplayStatus = 'Passed';
	strNotes = 'Requirement met';
	ComponentChecked('Acrobat',strStatus,strDisplayStatus,strResult,strNotes);
	CheckComponent_Acrobat_Cleanup();
}

function CheckComponent_Acrobat_Failed() {

	strStatus = 'Failed';
	strResult = 'No';
	strDisplayStatus = 'Failed';
	strNotes = '<table class="info"><tr><td class="infotext">Missing or broken Acrobat Reader detected.</td><td class="moreinfo" width="100px" onclick="javascript:MoreInfo(\'CheckModules/Help/Acrobat.html\')"><img align="absmiddle" border="0" src="images/Help.gif">&nbsp More Info...</td></tr></table>';
	ComponentChecked('Acrobat',strStatus,strDisplayStatus,strResult,strNotes);
	CheckComponent_Acrobat_Cleanup();
}

function CheckComponent_Acrobat_Warning() {

	strStatus = 'Warning';
	strDisplayStatus = 'Warning';
	strResult = 'Not detected';
	strNotes = '<table class="info"><tr><td class="infotext">Will not be able to view any PDFs in training resources.</td><td class="moreinfo" width="100px" onclick="javascript:MoreInfo(\'CheckModules/Help/Acrobat.html\')"><img border="0" align="absmiddle" src="images/Help.gif">&nbsp More Info...</td></tr></table>';
	ComponentChecked('Acrobat',strStatus,strDisplayStatus,strResult,strNotes);
	CheckComponent_Acrobat_Cleanup();
}

function CheckComponent_Acrobat_Cleanup() {

	mobjFrame_DA.location.href = 'CheckModules/NoWindow.htm';
}


