Fix bug for old intInRange with a class_exists check

git-svn-id: https://svn.typo3.org/TYPO3v4/Extensions/perfectlightbox/trunk@85330 735d13b6-9817-0410-8766-e36946ffe9aa