Yes. They have to take sides, but the military is largely conscript, is it not? It may be like in Portugal – not the generals, but the rank and file who decide which side they take.
There are several scenerios, the rank and file deserting is least likely. Not least because if this thing falls apart the individual soldier gets shot. and there is no evidence that the military is anything but unified and disciplined. Rank and file desertions are the usually the final act of a social revolution and I don't think we are anywhere near that here.
Rather what is happening is a political revolution. A movement aimed at changing the political regime and as such it is a movement that can be appeased without sacrificing the existing power structures. Dump Mubarak and the wind is taken out of this movement. At least for now.
The army know that Mubarak can go without substantially altering the existing power structure and that whatever the outcome the military will remain a unified force. This is the lesson of Tunisia where the military as a whole, dumped Ben Ali to save their skins of the ruling elite.
There exists a way out of this for Egyptian ruling class. It is sitting there on a plate. his name is Mohamed ElBaradei. He is perfect for them. He is pro western and would probably be acceptable to the west. The military could dump Mubarak and make a big deal about freeing Elbaradie and declare victory for the revolution and still get their 1.2 billion a year from the US. An ElBaredei government would probably not be too hard on Israel either.In short he is the perfect pro western puppet.
To replace Mubarak would probably not challenge the ruling power structure too much and Elbaredei has all the bells and whistles of liberal democracy that the west can wave around.
The question is will the military take this option or is their loyalty to Mubarak so great they will drown their country in blood to save his skin? One thing is for sure. This will only get worse unless Mubarak goes.
This is the question that will decide the fate of the Egyptian revolution over the next 24 hours.