ADDED:PopupLayer with CCScale9Sprite and PopupLayer source code and code example