Based on the Pavlov's Dog Theory, Jim offers Dwight a seemingly innocent altoid every time his computer reboots and makes the patented bell sound. Jim continues this for weeks and waits for the perfect time to strike.
Learn Science experiments at 5min

Here is a funny clip about Pavlov's Cat on youtube:
http://www.youtube.com/watch?v=ruCqn8yXjjQ