function getID(strID)
{
	return strID.replace(/[^0-9]/gi, '');
}

$(document).ready( function()
{
	$('textarea').each( function()
	{
		if (' '==$(this).text())
		{
			$(this).text('');
		}
	});
});

$.fn.toggleStudentNum = function(destination) {

  var $this = this;

  var cb = function() {

    var optValue = $this.find("option:selected").val();
    var doCollect = (empCats[optValue] ? true : false) || false;
    if (doCollect)
    {
      $(destination).show();
    }
    else
    {
      $(destination).hide();
    }
  };

  $this.live("change", cb);

  // and fire on first load

  $(document).ready(function() { $this.trigger("change") });
};

