Added template variable to determine if invite friend button should be displayed.
Altered U_PAGE_URL value.
Added FB functions.