function checkCryptAvailability() {
	if(sha1_vm_test()) {
		var e;
		var e2;
		if (e = $('encrypted')) {
			e.value = "1";
		}

		if (e2 = $('encrypted2')) {
			e2.value = "1";
			var cd = $('cryptDisabled');
			cd.parentNode.removeChild(cd);
			$('cryptEnabled').style.display = 'block';
		}
	}
}
__onloadStack.push(checkCryptAvailability);