Дополнение к этому посту - http://wh.reactor.cc/post/1005606