changed layout to search barand added jquery functions