When a person clicks on a link, the script should check whether the person is online (his internet connection is live). If he is not online or he been disconnected a message should pop up 'To view this feature please go online. You are not connected to internet'. This message should contain 2 links - 'Connect' and 'Do not Connect'. If he clicks on 'connect' button his dial up window should open. If he clicks on 'Do not connect' button the popup alert/window should close and he should remain on the same page.