/*function showHide(elementID){	var theElement = document.getElementById(elementID);	var elementStyle = theElement.style.display;	//theElement.style.display = 'none';	//alert('***'+theElement.style.display+'***');	if(elementStyle == '' || elementStyle == 'none')		theElement.style.display = 'block';	else		theElement.style.display = 'none';}function hideTRWithRadio(radioItem, elementID){	var theElement = document.getElementById(elementID);	var elementStyle = theElement.style.display;	if(radioItem.checked)		theElement.style.display = 'none';}function showTRWithRadio(radioItem, elementID){	var theElement = document.getElementById(elementID);	var elementStyle = theElement.style.display;	// check if the radio is checked	if(radioItem.checked)		theElement.style.display = 'table-row';}function flipEnabledFields(){	var i, a=flipEnabledFields.arguments; 	for(i=0; i<a.length; i++)	{		if (a[i].indexOf("#")!=0)		{ 				theField = document.getElementById(a[i]);			if(theField.disabled) 				theField.disabled = false; // flip the enabled			else				theField.disabled = true;		}	}}/* function that is called from the checkbox onclick handler * to show a target Div when checked * passed the checkbox item itself and the id of the element to show/hide *function showHideRadio(radioItem, prefix, suffix){	radioItem = document.getElementsByName(radioItem); // get the radio item	radioSize = radioItem.length; // get the number of radio elements	for(i=0; i < radioSize; i++) // loop through each element	{		radioBox = document.getElementById(prefix+radioItem[i].getAttribute('id')+suffix); // grab the associated box		if(radioItem[i].checked)		{			radioBox.style.display = "block"; // show the associated box		}		else		{			radioBox.style.display = "none";  // hide the associated box		}	}}*//* function to bring up a window do double check if a delete was supposed to happen * passed the page to refer to if it is true */function verifyDelete(success_page, item_name, action, undo){	if(item_name == null || item_name == false)	{		item_name = 'this';	}		if(action == null || action == false)	{		action = 'delete';	}		confirm_text = 'Are you sure you want to '+action+' '+item_name+'?';	if(undo)	{		confirm_text += ' This cannot be undone.';	}	if(window.confirm(confirm_text))	{		location.href=success_page;	}	}/* function to bring up a window do double check if a suspend was supposed to happen * passed the page to refer to if it is true */function verifySuspend(page){	if(window.confirm('Are you sure you want to suspend this account?\nAccounts cannot be deleted from the system.'))	{		location.href=page;	}	}