var x,y;
if (self.innerHeight) {
	x = self.innerWidth;
	y = self.innerHeight;
}

theObjects = document.getElementsByTagName("object");

for (var i = 0; i < theObjects.length; i++) {
	theObjects[i].outerHTML = theObjects[i].outerHTML;
	theObjects[i].style.width=x;
	theObjects[i].style.height=y;
	theObjects[i].style.position="absolute";
	theObjects[i].style.top="0px";
}