Finally developed the dropdown script and the redirect page