function CheckComponent_OS()
{

	var strOS;

	blnIsWindows = IsWindows();

	if(blnIsWindows)
	{
		strTemp=navigator.appVersion.split("Windows");
		strTemp=strTemp[1].split(")");
		strOS='Windows' + strTemp[0];

		strStatus = 'Passed';
		strDisplayStatus = 'Passed';
		strResult = strOS;
		strNotes = 'Requirement met';
	} else {
		strOS=navigator.platform;
		strStatus = 'Failed';
		strDisplayStatus = 'Failed';
		strResult = strOS;
		switch(navigator.platform) {
			case 'Win16':
				strNotes = 'Windows 3.11 or lower not supported. Please upgrade to a more recent version of windows.';
				break;
			case 'WinCE':
				strNotes = 'Handheld Windows devices are not supported.';
				break;
			case 'SunOS','HP-UX':
				strNotes = 'There are no plans at this time to support ' + navigator.platform + '.';
				break;
			case 'Mac68K':
				strNotes = 'There are no plans to support 68K based Macintosh computers.';
				break;
			case 'MacPPC':
				strNotes = 'Macintosh computers are not supported at this time. Macintosh compatible versions may be developed as demand requires.';
				break;
			default	:
				strNotes = 'Unable to detect operating system.';
		}
	}

	ComponentChecked('OS',strStatus,strDisplayStatus,strResult,strNotes);

}

function IsWindows()
{
	return (navigator.platform == 'Win32');
}

