USER GUIDE: If your computer is set up with the appropriate software (see the COMPILE/SETUP INSTRUCTIONS section) then you open index.php in a modern graphical web browser that supports javascript, such as Mozilla Firefox. This will load the page after a few moments of load time while we wait for the BHE and CMP pages to load so we can scrape their outage data. Once that is done you will be presented with a google map of the State of Maine. You can pan and zoom the map, and click on a marker to see the town it represents. You can also click on a town in the sidebar to pop up it's label the map. Below the outages lists is the reports section. These buttons let you view historical data on outages, such as the towns that have had the most outages, or the most recent outages. The next section down is the Add/Update section. Here you can add a town if it is not in the database, by manually entering it's latitude and longitude and (optionally) it's zip code. The zip codes may be auto updated at a later date and will be used to pull in weather information for areas with outages, as this is the most common reason for the power to be out in this state. You must enter at least the town name and 1 other piece of info to update a record, or all fields but the zip code to add a new record. The final section lets you delete a town record. This should only be done when a name has been added wrong or a new record was created by user error. COMPILE/SETUP INSTRUCTIONS: You don't need to compile anything, but you do need to have MySQL, PHP, an Javascript installed if you are not running this demo from http://euicho.com/powermap. Once you do have the required software, you need to import the database by using the dbinitstate.sql file. You can either use phpMyAdmin's import function, or use any method that is easier for you, such as wrapping it in php and executing that. Once that is done just open the .php files and make sure your specific database info (user/pass/host) is correct.