Dear All,

I have tried to resolve this by reference to the forum but cannot find a posting that covers this.

IE 7 is giving an error on page error when the page incorporates a xara generated js script.

The script works perfectly. But the warning icon shows in the browser - bottom left corner.

I enclose the offending line of script from the roe.js file.

function rx(){var ww=document.documentElement.clientWidth;dx=(ww-parseInt(xr.style.width))/2;i=-parseInt(xr.style.width)/2;if(dx<0){i-=dx;dx=0;};xr.style.marginLeft=i+"px";document.bod y.style.backgroundPosition=dx+"px 0px";}


Any advice gratefully received.