title: javascript running fine in mozilla but gives unknown runtime error in IE6,why?
body: <p>iam using simple blow up trick in my page . first the div is set as hidden and then when we click the image ,a blow up opens with a overlay image in the background. The javascript function simply seta innerhtml. This all runs fine in mozilla but it gives unknown runtime error when i try to see it in IE6 and thats why image blow up doesnt work.what could be the possible reason for this???</p>
  
  <p>EDIT : this is the example of the code im using :- </p>
  
  <pre><code>function Blowups(arrs,flag,nums,img_nm)
  {
  var h = window.pageYOffset || document.body.scrollTop || document.documentElement.scrollTop;
  var pheight = document.getElementsByTagName('html')[0].scrollHeight;
  var myHeight = document.documentElement.clientHeight;
  var div1 = document.getElementById('mr');
  var div2 = document.getElementById('disp');
  var prev='';
  var nxt='';
  var scr2='';
  var scr3='';
      var imgs=arrs.split(',');
      var i=(flag)-1;
      var k=0;
      var m=0;
      src1='/img/'+imgs[i];
              if(flag != 1)
                  prev="&lt;a href=\"javascript:Blowups('"+arrs+"',"+(flag-1)+","+nums+")\" class=\"sdf\"&gt;last&lt;/a&gt;";
              if(flag != nums)
                  nxt="&lt;a href=\"javascript:Blowups('"+arrs+"',"+(flag+1)+","+nums+")\" class=\"sdf\"&gt;Next &lt;/a&gt;";
  document.getElementById('large').innerHTML='&lt;td colspan="2"&gt;&lt;img src='+src1+' class="sdf"&gt;&lt;div class="sdf"&gt;&lt;p class="sdf"&gt;'+nxt+'&lt;/p&gt;&lt;p class="sdf"&gt;'+prev+'&lt;/p&gt;&lt;p class="sdf"&gt;&lt;/p&gt;&lt;/div&gt;&lt;/td&gt;';
  div2.className ='sdf';div2.style.height =pheight+'px';
  div1.style.marginTop =h+'px';div1.style.height =myHeight+'px';
  }
  </code></pre>