function toggleDivState(toggleButton, toggleDiv, backgroundImagePlusPath, backgroundImageMinusPath, backgroundPositionPath) {
    if ($(toggleButton).siblings(toggleDiv).css('display') == "none") {
        $(toggleButton).css('background', 'url("' + backgroundImageMinusPath + '") no-repeat ' + backgroundPositionPath + '  #FFFFFF');
    }
    else {
        $(toggleButton).css('background', 'url("' + backgroundImagePlusPath + '") no-repeat ' + backgroundPositionPath + '  #FFFFFF');
    }
    $(toggleButton).siblings(toggleDiv).slideToggle('slow');
}

function closeDiv(toggleButton, toggleDiv, backgroundImagePlusPath, backgroundPositionPath) {
    $(toggleButton).siblings(toggleDiv).slideUp('slow');
    $(toggleButton).css('background', 'url("' + backgroundImagePlusPath + '") no-repeat ' + backgroundPositionPath + ' #FFFFFF');
}

function openDiv(toggleButton, toggleDiv, backgroundImageMinusPath, backgroundPositionPath) {
    $(toggleButton).siblings(toggleDiv).slideDown('slow');
    $(toggleButton).css('background', 'url("' + backgroundImageMinusPath + '") no-repeat ' + backgroundPositionPath + ' #FFFFFF');
}
