OK cannot figure out getting the footer to export without the js file so for the moment have gone back to the default footer.tpl and added in the code as mentioned aboved, have also modified the header as suggested, I think I have followed your instruction to the letter, I was very careful to follow them step by step.

The header is all working correctly however it is not alligned at the top, as before it is hovering around the middle of the page?

Thanks

Chris