public static void SetToggleButtonValue(GuiControl ctrl, string value)
 {
     if (ctrl.getValue() != value)
         ctrl.call("performClick");
 }
 public bool getEnableResultFromControl(GuiControl control)
 {
     return (control.getValue().AsInt() == 1);
 }