Loading the same page part in jQuery

this is the page where I’m having problem

creative3idea.com/anypctrouble/registration.php

here log in and registration pages are placed side by side. When first loaded it shows the login form then when “Don’t Have An Account? →” is clicked you will be taken to the registration form.

The problem I’m facing is when some one finishes the registration (correctly or wrongly) it refreshes and goes to the same page and the LOGIN form appears. But after registration (specially when it is failed) I want it to show the registration form again.

Any idea?

Thanks
Ameer