/**
 * @author     Tom Malone
 * @email      tmalone@leadingstar.com
 */

// Toggle staff bio display in content div
$(document).ready(function() {
     $("#meeting").click(function() {
          $.get("/lem/event_and_media_services/details/meeting_and_conference_management.html", '',
          function(response){
               $('#showhide').fadeOut("fast");                     
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });
          
     $("#tech").click(function() {
          $.get("/lem/event_and_media_services/details/technology_solutions.html", '',
          function(response){
               $('#showhide').fadeOut("fast");                     
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });
     
     $("#consulting").click(function() {
          $.get("/lem/event_and_media_services/details/consulting_services.html", '',
          function(response){
               $("#showhide").fadeOut("fast");
               setTimeout("finishAjax('showhide', '"+escape(response)+"')", 400);
          });
     });          
});	

function finishAjax(id, response) {
     $('#'+id).html(unescape(response));
     $('#'+id).fadeIn();
} //finishAjax