Primer: An HTML checkbox can be set as indeterminate, which displays it as neither checked nor unchecked. Even in this indeterminate state, the
indeterminate
Well make your own clickable image and use some java(script) to make it behave like that. I doubt dough how many users would understand this state, so be carefull where you use it.