javascript/general.js
// that is associated with this checkbox. The image name is the actual name of the image.

that is associated with this checkbox. The image name is the actual name of the image.
that is associated with this checkbox . The image name is the actual name of the image .
function MM_toggleItem(form, itemName, imageName, theme) {
		if (form.selectedItems == null)
			form.selectedItems = new Array();
		if (MM_arrayContainsString(form.selectedItems, itemName)) {
			form.selectedItems = MM_removeStringFromArray(form.selectedItems, itemName);
			document[imageName].src = '../themes/'+theme+'/checkbox_off_16.gif';
		} else {
			form.selectedItems[form.selectedItems.length] = itemName;
			document[imageName].src = '../themes/'+theme+'/checkbox_on_16.gif';
		}
		MM_updateButtons2(form, form.selectedItems);
	}
function MM_toggleItem ( form , itemName , imageName , theme ) { if ( form . selectedItems == null ) form . selectedItems = new Array ( ) ; if ( MM_arrayContainsString ( form . selectedItems , itemName ) ) { form . selectedItems = MM_removeStringFromArray ( form . selectedItems , itemName ) ; document [ imageName ] . src = '../themes/' + theme + '/checkbox_off_16.gif' ; } else { form . selectedItems [ form . selectedItems . length ] = itemName ; document [ imageName ] . src = '../themes/' + theme + '/checkbox_on_16.gif' ; } MM_updateButtons2 ( form , form . selectedItems ) ; }
that is associated with this checkbox.
that is associated with this checkbox .
//MM_swapImage(imageName, '', '../themes/'+theme+'/checkbox_off_16.gif', '1');
 //MM_swapImage(imageName, '', '../themes/'+theme+'/checkbox_on_16.gif', '1');
