Page Titles Change Using a Function