Thanks Anas, I've downloaded the latest ajax tool. However, I don't think the problem was because of the version. The code I posted previously will work fine if you add the following line: <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...