/**
    * shows or hide the div
    */
    function showHideDiv(div)
    {   
        $("#"+div).toggle("slow");
        
        $('html, body').animate({
            scrollTop: $("#"+div).offset().top
        }, 2000);
         
        /*if(document.getElementById(div).style.visibility != 'hidden')
        {        
            core__hideDiv(div);
        }
        else
        {                                        
            core__showDiv(div);
            $('html, body').animate({
            scrollTop: $("#"+div).offset().top
            }, 2000);
        }*/
            
    }
