Line 22 Char 1 says object expected in the following code.  For the life of me I can't figure out what it is.  I'm sure I'm just overlooking some stupid bit of formatting or something.
	
							
						
					Code:
	<html><head>
<script type="text/javascript">
function ZoomIn() {
if document.getElementById('MyIFrame').style.zoom!='100%' {
  newZoom= parseInt(MyIFrame.style.zoom)+10+'%';
      MyIFrame.style.zoom =newZoom;
	ZoomInID=window.setTimeout("ZoomIn()",1000);}
else  window.clearTimeout(ZoomInID);
  } 
function ZoomOut() {
if document.getElementById('MyIFrame').style.zoom!='50%' {
  newZoom= parseInt(MyIFrame.style.zoom)-10+'%';
      MyIFrame.style.zoom =newZoom;
	ZoomOutID=window.setTimeout("ZoomIn()",1000);}
else  window.clearTimeout(ZoomOutID);
  } 
</script>
</head><body>
<iframe src="MyIFrame.htm" ID="MyIFrame" Name="MyIFrame" style="zoom:50%" onmouseover="ZoomIn();" onmouseout="ZoomOut();"></iframe>
</body></html>
Comment