I don't have a lot of experince with this stuff, but you might be able to use an external javascript file. This is what I've played around with.
// JAVASCRIPT.JS - FOOTER TEXT
function footercolor(BGcolor, FONTcolor){
var BGcolor2="LIGHTGREEN";
var FONTcolor2="RED";
var SIZE1=" SIZE=-1";
if(BGcolor>""

BGcolor2=BGcolor;
if(FONTcolor>""

FONTcolor2=FONTcolor;
var xA, xB;
xA = "<TD><B><A HREF="
xB = "</A></B></TD>"
document.write('<p><center><FONT COLOR=' + FONTcolor2 + 'SIZE=3>');
document.write('<table border=6 BGcolor=' + BGcolor2 + '><tr>');
document.write(xA +'"#TOPOFPAGE">Top of Page'+xB);
document.write(xA +'\'JavaScript:window.location="view-source:"+window.location.href\'>View Source'+xB);
document.write('</tr></border></table>');
document.write('<nohref></FONT><FONT COLOR=' + FONTcolor2 + SIZE1 + '>');
document.write('<a href="mailto:countryfan@your.com">countryfan@your.com</a><BR>');
document.write(document.title + '<br>');
var m = "Page updated " + document.lastModified;
var p = m.length-8;
document.write(m.substring(p, 0));
document.write();
document.write('</FONT></center></p>');
}
Then put this in your html:
<SCRIPT LANGUAGE="JavaScript" src="footer.js"></SCRIPT>
<SCRIPT>footercolor('LIGHTGREEN', 'BLUE');</SCRIPT>