Solved some styles problems and added ajax to accept advert