protected static void add(DoItLater c) {
		if (isHtmlOutput()) {
			getInstance().actionQueue.add(new DoItLater() {

				@Override
				public void doIt() {
					try {
						Thread.sleep(50);
					} catch (InterruptedException e) {
					}
				}
			});
			getInstance().actionQueue.add(c);
		}
	}