function toggleDisplay(el) {
	try {
		if (el) {
			let target = document.getElementById(el);
			if (target.style.display != 'none') {
				setVisible(el, false);
			} else {
				setVisible(el, true);
			}
		} else {
			throw new Error('No Element Defined');
		}
	} catch (e) {
		console.log(`${e.name}: ${e.message}`);
	}
}
/**
 * Check and toggle an elements visability,
 * @param {string} el the Element ID
 */
Check and toggle an elements visability,
@param {string} el the Element ID
Check and toggle an elements visability @param { string } el the Element ID
function toggleDisplay(el) {
	try {
		if (el) {
			let target = document.getElementById(el);
			if (target.style.display != 'none') {
				setVisible(el, false);
			} else {
				setVisible(el, true);
			}
		} else {
			throw new Error('No Element Defined');
		}
	} catch (e) {
		console.log(`${e.name}: ${e.message}`);
	}
}
function toggleDisplay ( el ) { try { if ( el ) { let target = document . getElementById ( el ) ; if ( target . style . display != 'none' ) { setVisible ( el , false ) ; } else { setVisible ( el , true ) ; } } else { throw new Error ( 'No Element Defined' ) ; } } catch ( e ) { console . log ( ` ${ e . name } ${ e . message } ` ) ; } }
Check and toggle an elements visability,
 @param {string} el the Element ID
Check and toggle an elements visability @param { string } el the Element ID