void TimList::deleteObject(Handle<TimingObject> timObject) {
  vector< Handle<TimingObject> >::iterator timingObjectIter;
  timingObjectIter = cLayoutList.begin();
  while (timingObjectIter!=cLayoutList.end() && timingObjectIter->Object()!=timObject.Object()) {
    timingObjectIter++;
  }
  cLayoutList.erase(timingObjectIter);  
}
void TimList::addBefore(Handle<TimingObject> newTimingObject, Handle<TimingObject> timObject) {
  vector< Handle<TimingObject> >::iterator TimingObjectIter;
  TimingObjectIter = cLayoutList.begin();
  while (TimingObjectIter!=cLayoutList.end() && TimingObjectIter->Object()!=timObject.Object()) {
    TimingObjectIter++;
  }
  cLayoutList.insert(TimingObjectIter, newTimingObject);
}