function showElement(div, show) {
    //alert('showElement called');
    var div_tag = (document.getElementById)? document.getElementById(div) : eval("document.all[div]");

    if (show) {
        div_tag.style.display="block";
    }else{
        div_tag.style.display="none";
    }



}



function hideForm() {

    //alert('hideForm called');
    var url = parent.window.location.href;
    //var url = 'http://www.sbi.lokal:9090/br07/2/3/5/sbi_regulations_paragraph_view?useful=1&show_useful=1#helpful'

    var show_useful =     url.indexOf('show_useful');
    if (show_useful > 0) {
        //hide form
        showElement('useful', false);
        //show feedback
        showElement('helpful', true);
    }

};
hideForm();
