Yahoo japan auction auto login and auto bid

I am creating yahoo japan auction bidding website using php. I am almost finish 70% of work. but now i am totally stuck in automate bidding. because yahoo japan does not provide yahoo bid url so i am unable to bid. The bid process in yahoo japan is login before only bid. so i am try to use curl and many more methods but its not working please guide me. Now i got yahoo auction script in java format. how can i convert into php. my java script url is given below.

Please help me i am already post this question in many forums

My stackoverflow questions are give below