$ 0 0 Thanks Alex,I did not think about putting a whole <html> document inside a template.Will check and test performance.