The cash was handed over in Israel or in hotel suites during visits that Mr Olmert made to New York before becoming Prime Minister in 2006 , after his predecessor , Ariel Sharon , suffered a debilitating stroke .