/**
 * @author     Tom Malone
 * @email      tmalone@leadingstar.com
 */

// Toggle staff bio display in content div
$(document).ready(function() {
     $('#seymour').click(function() {
          $.get("/cmc/staff/bios/christopher.seymour.html", '',
          function(response){
               $('#showhide').fadeOut("fast");                     
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });
          
     $('#sirdevan').click(function() {
          $.get("/cmc/staff/bios/nicola_sirdevan.html", '',
          function(response){
               $('#showhide').fadeOut("fast");                     
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });
     
     $("#kent").click(function() {
          $.get("/cmc/staff/bios/karen.kent.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });
     
     $("#goode").click(function() {
          $.get("/cmc/staff/bios/sandra_goode.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });
     
     $("#sosnoski").click(function() {
          $.get("/cmc/staff/bios/daniel.sosnoski.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });       
     
     $("#sheridan").click(function() {
          $.get("/cmc/staff/bios/shannon.sheridan.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     }); 
     
     $("#otto").click(function() {
          $.get("/cmc/staff/bios/lindsay_otto.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });   
     
     $("#lingerfelt").click(function() {
          $.get("/cmc/staff/bios/erin_lingerfelt.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     }); 
     
     $("#morgan").click(function() {
          $.get("/cmc/staff/bios/clark.morgan.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     }); 
     
     $("#schaefer").click(function() {
          $.get("/cmc/staff/bios/maggie_schaefer.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });   
     
     $("#foy").click(function() {
          $.get("/cmc/staff/bios/brian.foy.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });
     
     $("#mackowiak").click(function() {
          $.get("/cmc/staff/bios/patricia.mackowiak.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });         
     
     $("#filbert").click(function() {
          $.get("/cmc/staff/bios/colleen.filbert.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });    
     
     $("#bilyayeva").click(function() {
          $.get("/cmc/staff/bios/tetiana.bilyayeva.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });             
    
     $("#hart").click(function() {
          $.get("/cmc/staff/bios/brian.hart.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     }); 
      
      $("#hunter").click(function() {
          $.get("/cmc/staff/bios/brenda.hunter.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     }); 
      
     $("#moore").click(function() {
          $.get("/cmc/staff/bios/cynthia.moore.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     }); 
     
     $("#seery").click(function() {
          $.get("/cmc/staff/bios/megan.seery.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });     
     
     $("#waller").click(function() {
          $.get("/cmc/staff/bios/amy.waller.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });  
     
     $("#nuland").click(function() {
          $.get("/cmc/staff/bios/christopher.nuland.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     }); 
     
     $("#smith").click(function() {
          $.get("/cmc/staff/bios/katie.smith.html", '',
          function(response) {
             $("#showhide").fadeOut("fast");
             setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });  
     
     $("#kellerman").click(function() {
          $.get("/cmc/staff/bios/tad.kellerman.html", '',
          function(response) {
             $("#showhide").fadeOut("fast");
             setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });  
     
      $("#meide").click(function() {
          $.get("/cmc/staff/bios/meredith.meide.html", '',
          function(response) {
             $("#showhide").fadeOut("fast");
             setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });  
     
     $("#walker").click(function() {
          $.get("/cmc/staff/bios/deborah.walker.html", '',
          function(response) {
             $("#showhide").fadeOut("fast");
             setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });  
     
     $("#weber").click(function() {
          $.get("/cmc/staff/bios/lori.weber.html", '',
          function(response) {
             $("#showhide").fadeOut("fast");
             setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });                                                                                  
});  

function finishAjax(id, response) {
     $('#'+id).html(unescape(response));
     $('#'+id).fadeIn();
} //finishAjax

