if [[ -d $HOME/.mozilla/seamonkey ]]; then
    profileArr=( $(grep '[P,p]'ath= $HOME/.mozilla/seamonkey/profiles.ini |
    sed 's/[P,p]ath=//') )
    index=0
    PSNAME="$browser"
    for profileItem in ${profileArr[@]}; do
        if [[ $(echo $profileItem | cut -c1) = "/" ]]; then
            # path is not relative
            DIRArr[index]="$profileItem"
        else
            # we need to append the default path to give a fully
            # qualified path
            DIRArr[index]="$HOME/.mozilla/seamonkey/$profileItem"
        fi
        index=$index+1
    done
fi

check_suffix=1
