sleeptime = 1000;
sleeptime = SLEEP_INTERVAL;
	public void run() {		long sleeptime = ANIMATION_INTERVAL;		int animationCounter = 0;		while ( true ) {			try {				Thread.sleep(sleeptime);				Screen screen = StyleSheet.currentScreen;				if (screen != null ) {					if (screen.animate()) {						sleeptime = ANIMATION_INTERVAL;						animationCounter = 0;					} else {						animationCounter++;						if (animationCounter > 10) {							sleeptime = 1000;							animationCounter = 0;						}					}				} else {					sleeptime = 1000;				}			} catch (InterruptedException e) {				// ignore			} catch (Exception e) {				//#debug error				Debug.debug("unable to animate screen", e );			}		}	}