Thanks, that did manage to fix the issue. One strange thing i'm finding when using the live site now is that the code keeps flashing up on the screen whenever a button is clicked. It is only very briefly, but doesn't look good. Is there a reason for this? And any way to fix it?