A sample of 378 patients , aged 18 to 75 years old with ASA physical status I or II , scheduled for elective surgery under general anesthesia with endotracheal intubation , were randomized into 2 groups .