*Main Page Id changed to reflect local page id
*Changes made to add the number function
-new function to format number formatnum(number,dec)
-please not that the uncommented line adds a readio button, you might want to remove that