jQuery(document).ready(function(){
//Hide the tooglebox when page load
jQuery(".sub-facsheet-ul").hide();
jQuery(".sub-facsheet-ul li ul").hide();
//slide up and down when click over heading 2
jQuery(".factsheet-hoofd-ul li").click(function(){
// slide toggle effect set to slow you can set it to fast too.
jQuery(this).next(".sub-facsheet-ul").slideToggle("slow");
jQuery(this).attr("id", "selected-type-hoofd");
return true;

});

jQuery(".sub-facsheet-ul li h4").click(function(){
// slide toggle effect set to slow you can set it to fast too.
jQuery(this).next(".sub-facsheet-ul li ul").slideToggle("slow");

return true;
});

jQuery(".sub-facsheet-ul li").click(function(){
// slide toggle effect set to slow you can set it to fast too.

jQuery(this).removeAttr("id", "selected-type-hoofd");
jQuery(this).attr("id", "selected-type-sub");

return true;

});




});

/*
jQuery(document).ready(function(){
jQuery('.normaal').click(function() { $(this).removeClass("normaal"); jQuery(this).addClass("normaal_active"); });
jQuery('.groter').click(function() { $(this).removeClass("groter"); jQuery(this).addClass("groter_active"); });
jQuery('.huge').click(function() { $(this).removeClass("huge"); jQuery(this).addClass("huge_active"); });

jQuery('.normaal_active').live('click', function() {
    // Reverse animation and remove class
    // ... Code to reverse animation goes here ...
    jQuery(this).removeClass('normaal_active');
jQuery(this).addClass('normaal');
});


});

*/

