Updated Search code. This should fix the Cross Domain issues.