Simple javascript to calculate prayer times using Australian postcode lookup

Job ID: 30812660

Budget: $30 – $250 AUD

Design a simple javascript that does the following:
1) Allows user to enter a four digit Australian postcode
2) Stores this as a cookie so that if the person comes back to the page, it defaults to that postcode
3) Looks up this postcode in a list and retrieves the suburb name, state, latitude and longitude (I already have this list in javascript in a table)
4) Using an existing javascript library (which I have), runs the prayer time function using the current date, latitude and longitude which then outputs all the prayer times for that day. But I want each prayer time separately addressible so that we can use them on different parts of a web page (e.g. they can update different span IDs or something so that the prayer times can change in the HTML)
5) It should also output the suburb and state as well e.g. "Prayer times for Sutherland, NSW" etc.

I can provide:
1) The prayer times calculator - see http://praytimes.org/manual. You can download the library JS file here for this.
2) My attempt at coding it - it didn't work well. THis file contains a JS table with all the postcodes, suburb names and latitude/longitubdes.

It doesn't have to look pretty. It just has to work with a change postcode field and a button to change the postcode if the current postcode displayed is wrong. It should also display an alert if the user enters the wrong postcode. Note that all Australian postcodes are four number digits, like 2224 so you should restrict the entry field to that also.
Related categories: JavaScript HTML5 HTML jQuery / Prototype