Start of PHP code for N-Cube Headline Rotation