/**
 * This code works with the Iron Star Media Components and is required for some of the stateful components to function correctly.
 */

function ismCheckBoxClick(sender) {
	var fieldID = sender.id.substring(3);
	var fieldElement = document.getElementById(fieldID);
	fieldElement.value = (sender.checked) ? 'On' : 'Off';
}
