Ray casting algorithm proof(Point in polygon problem)

Can anyone provide me proof of Ray casting algorithm : http://en.wikipedia.org/wiki/Point_in_polygon

Thanks.