I need something very simple

I need something very simple


<script>
$(window).load(function () {
if ($("div:first").is(":hidden")) {
$("div").show("slow");
} else {
$("div").slideUp();
}
});
</script>








I am interested in how this can happen so that code can not take all divove a working example, only a few wild with id th.