Input signals from a signal input terminal are input to a logic circuit, and a control signal corresponding to states of the input signals is output. In a method for inducing weight loss, the prosthesis is placed in the collapsed position and inserted into a stomach of a patient. The electrolyte layer is provided on the hydrogen permeable metal substrate and has proton conductivity. When the slider is positioned over the flap, the flap is forced to open slightly to allow air to enter the drink cup for venting action. When the request is from a trusted referrer, the circuitry can grant access to the JavaScript.