function hideCategories($type) {
    $("#creativepractitioner").hide($type);
    $("#teacher").hide($type);
    $("#agent").hide($type);
    $("#young").hide($type);
    $("#curious").hide($type);
    }
$(document).ready(function(){
    
    hideCategories();
    $("#usertype").change(function () {
          var str = "";
          $("#usertype option:selected").each(function () {
                hideCategories('fast');
                if($(this).val()!="null"){
                 str += $(this).text() + " ";
                 if($(this).val()=="practitioner"){
                   $("#creativepractitioner").show('fast');
                 }
                 if($(this).val()=="teacher"){
                   $("#teacher").show('fast');
                 }
                 if($(this).val()=="agent"){
                   $("#agent").show('fast');
                 }
                 if($(this).val()=="young"){
                   $("#young").show('fast');
                 }
                 if($(this).val()=="curious"){
                   $("#curious").show('fast');
                 }
                } 
              });
        })
        .change();

  });
