Div changes to position absolute once user scrolls but it flickers!

I think it’s popping back and forth between “position: fixed” and “position: static” every other scroll.

This happened before I added the else statement.

A live example is at: http://fbookhire.me/index2.php

I fixed it if anyone cares! http://jsfiddle.net/md7Ae/2/