Spontaneous casting

DnD 3.5 Spontaneous casting
A character with spontaneous casting can "lose" a spell they've prepared in exchange for casting a specific spell of the same level or lower.

Clerics
Which spells a Clerics can sponatenous cast is dependant on their (or their diety's) alignment. They may not "lose" a domain spell for this purpose.
 * A good cleric (or a neutral cleric of a good deity) can spontaneously cast any cure spell.
 * An evil cleric (or a neutral cleric of an evil deity) can spontaneously cast any inflict spell.
 * A cleric who is neither good nor evil and whose deity is neither good nor evil can convert spells to either cure spells or inflict spells (player's choice). Once the player makes this choice, it cannot be reversed. This choice also determines whether the cleric turns or commands undead.