I thought you wanted space for ads there. Anyhow, to make the iframe stretch from the extreme left to the extreme right, replace:
Code:
document.write('<div style="position:absolute; left:150px;top: 100px; right: 150px; bottom: 100px"><iframe style="position:absolute;width:100%;height:100%; border:1px solid black;background:white;" frameborder=0 src="' + contentURL + '"><\/iframe><\/div>');
with:
Code:
document.write('<div style="position:absolute; left:1px;top: 100px; right: 1px; bottom: 100px"><iframe style="position:absolute;width:100%;height:100%; border:1px solid black;background:white;" frameborder=0 src="' + contentURL + '"><\/iframe><\/div>');
You can stretch the header and footer in the same way (see the css in the head section).
===
Arie.
EDIT: Sorry, I made a mistake. Since you only want the extreme right area, you should do:
style="position:absolute; left:150px;top: 100px; right: 1px; bottom: 100px"
Bookmarks