Nobody attacked Hamas because they built their base of operation next to civilians... they were attacked because they shot rockets at an area holding 500K Israeli civilians (Jews, Duze, Arabs, and other). They went as far as declaring war just a week ago and launched 150 rockets within 3 days... possibly because they were losing ground in the polls for the upcoming Palestinian elections in January.
Anyways, the reported casualty figures (reliability is questionable) say 1 out of 6 casualties are civilians.. which is not good, but pretty amazing considering how Hamas operates - dispatching "civilians" to support their people by acting as human shields ->
[link]Anyways, I don't blame the religion since this "Martyrdom Seeking" thing is like an anomaly that ends up biting back at those who support it.
See my first Joy and Enthusiasm piece -
[link] - it is a bit "angry" but the artist comments make my sentiments clearer.