write a webpage in safari from an applescript variable

Could it be related to the system? I have 10.4.11.

Anyway, thanks a lot for your time.

All in all, the program works and that is what I needed.