I have narrowed down exactly what the auction winning bid email is doing. It finds the highest bid out of all the auctions you currently have on your site and that guy gets the winning email. they keep getting it until someone puts a higher bid than anyone else from all the auctions and then they will get the emails.

so the help i need is does anyone have any idea of where i should start looking in order to find where the current highest bid is being found in the code