/**
 * @file
 * Custom javascript utilities.
 * 
 * @author Shannon M. Rause <shannon.rause@creativeflavor.com>
 * @version $Revision: 1.2 $
 * @version $Name: DEPAULREIG_2008-12-15_1 $
 * @version $Id: main.js,v 1.2 2008/07/16 18:28:47 smr Exp $
 *
 * These files are copyrighted to Creative Flavor Inc. and are
 * subject to the terms of the applicable Service Agreement.
 * If no service agreement is available you must contact us at
 * legal@creativeflavor.com or 303-379-9450.
 * 
 * These files may be watermarked to ensure traceability.
 */

function enable_level2_users()
{
   var select = document.getElementById('type');

   if (select.value == 'level1')
   {
      document.getElementById('level2Users').disabled = true;
   } // if
   else
   {
      document.getElementById('level2Users').disabled = false;
   } // else
} // enable_level2_users
