Вот этот очень хороший рецепт
http://blogs.mail.ru/mail/loravo/6CAACDDA84F2C81C.html