@Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   mp = new MidPlayer(getActivity());
   lights = new ArrayList<Integer>();
   lights.add(R.raw.light1);
   lights.add(R.raw.light2);
   lights.add(R.raw.light3);
   lights.add(R.raw.light4);
   lights.add(R.raw.light5);
 }
 @Override
 public void onDestroy() {
   super.onDestroy();
   mp.freeMidPlayer();
 }
 @Override
 public void onResume() {
   super.onResume();
   MobclickAgent.onPageEnd("LightFragmnet");
 }
 @Override
 public void onPause() {
   super.onPause();
   MobclickAgent.onPageStart("LightFragmnet");
 }
 @Override
 public void onActivityCreated(Bundle savedInstanceState) {
   super.onActivityCreated(savedInstanceState);
 }