I've been messing with offsets but don't know if that will cut mustard.

Does anyone know of a script that will return true/false whether a specified element is FULLY within the browser window?