function testhem(var1){
	hemselect = "";
	hem = var1.op5.value;

	if (hem && isNaN(hem) == true){
		alert("Inseam length must be a number");
		return false;
	}

	for(x=0; x< var1.item_1.length;x++){
		if (var1.item_1[x].checked && x==0){
			hemselect = "YES";
		}
	}
	if (hem){
		var1.item_1[0].checked = true;
		hemselect = "YES";
	}

	if (hemselect && !hem){
		alert('Please enter your hemmed inseam length');
		return false;
	}

	return true;
}