adjusted to be used as part of a wp template.
fixed odd/even issue on results page
fixed wp issues