<!--
function jumpmenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

//****************************************************************************************************//

  function callShowDiv(select,mit) {
				
	if(select.value==0)
	{
		showDiv(mit);
	}
	if(select.value>0){
		showDiv('groups');
		hideDiv(mit);
	}
	
	}
	
  function showDiv(mit) {
      document.getElementById(mit).style.display = 'block';
			/*
			document.getElementById(mit).style.backgroundImage = 'url(images/textbgright.jpg)';
			document.getElementById(mit).style.backgroundPosition = 'left top';
			document.getElementById(mit).style.backgroundRepeat = 'repeat-y';
			*/
  }

  function hideDiv(mit) {
      document.getElementById(mit).style.display = 'none';
			document.getElementById(mit).style.backgroundColor = 'transparent';
  }

  function destroyDiv(mit) {
      var div = document.getElementById(mit);
      div.parentNode.removeChild(div);
  }

  function showHideDiv(mit) {
    var id = document.getElementById(mit);
    if (id.style.display == "block" || id.style.display == "") {
      id.style.display='none';
    } else {
      id.style.display='block';
    }
  }

/**
/* Programmed by Shawn Olson
/* Copyright (c) 2006-2007
/* Updated on August 12, 2007
/* Permission to use this function provided that it always includes this credit text
/* http://www.shawnolson.net
/* Find more JavaScripts at http://www.shawnolson.net/topics/Javascript/
	
/* theElements is an array of objects designated as a comma separated list of their IDs
/* If an element in theElements is not a checkbox, then it is assumed
/* that the function is recursive for that object and will check/uncheck
/* all checkboxes contained in that element
*/

	function checkUncheckAll(theElement) {
     var theForm = theElement.form, z = 0;
			 for(z=0; z<theForm.length;z++){
					if(theForm[z].type == 'checkbox' && theForm[z].name != 'checkall'){
						theForm[z].checked = theElement.checked;
					}
			 }
  }

	function checkUncheckSome(controller,theElements) {	
		 var formElements = theElements.split(',');
		 var theController = document.getElementById(controller);
		 for(var z=0; z<formElements.length;z++){
			theItem = document.getElementById(formElements[z]);
			if(theItem.type){
				if (theItem.type=='checkbox') {
					theItem.checked=theController.checked;
				}
			} else {
					theInputs = theItem.getElementsByTagName('input');
			for(var y=0; y<theInputs.length; y++){
			if(theInputs[y].type == 'checkbox' && theInputs[y].id != theController.id){
				 theInputs[y].checked = theController.checked;
				}
			}
			}
			}
	}

