I'm thinking about going to Morocco, and I would be avoiding the most touristic places.
I've read the question When traveling to a country with a different currency, how should you take your money? which recommends withdrawing cash using a low/no foreign exchange fees card. However, I don't know if that'll be an option for me. What is the availability of ATMs in the country - outside of major cities like Casablanca and Marrakesh?
If a lack of ATM availability means I'll need to take cash with me, I was wondering, what currency should I take? Would it be easy to exchange US dollars or Euro, and which should be more popular? Or maybe I should exchange money before and just bring Morrocan dirhams with me?