/** * Initialize InputfieldToggle Inputfields * */ function InputfieldToggleInit() { // this becomes true when we are in a click event, used to avoid double calls to handler var isClick = false; // classes for checked input and label var inputCheckedClass = 'InputfieldToggleChecked'; var labelCheckedClass = 'InputfieldToggleCurrent'; // get