Reload Parent Window from its Child window in Javascript

This simple example is used to reload the parent window from its child window.

Just click on the link "Click here for New window" and a child pop up window displays and after 5 seconds it closes and refreshes its parent window.

Live Demonstration:

Click here for New window

Code for Parent window:

New window

Code for Child Pop up window:

This popup window closes after 5 seconds and reloads its parent window....