$(document).ready(function(){ 
    $(".detail").hide();

    //show/hide detail div
    $("div.showhide").click(function () {
        $(this).next().toggle();
    });                          
});