updated index define checks

git-svn-id: http://webauctionplus.googlecode.com/svn/trunk@353 c41ed8a6-1c15-8a3d-a996-777bd911872f