I think the problem lies in the document.write line,<br>
<br>
here is what I think it should read:<br>
document.write('<ilayer src=\"prueba.htm<b>\"></b></ilayer>')<br>
notice the backslash before the second " (section highlighted in bold.)<br>
<br>
with that in mind, try this:<br>
<br>
<i><body><br>
<script language="javascipt"><br>
if ((navigator.appName.toLowerCase().indexOf('micros')!=-1) &&<br>
(parseInt(navigator.appVersion)>=4))<br>
{<br>
document.write('<iframe src=\"prueba.htm\"></iframe>');<br>
}<br>
else <br>
if ((navigator.appName.toLowerCase().indexOf('netscape') &&<br>
(parseInt(navigator.appVersion)>=4))<br>
{<br>
document.write('<ilayer src=\"prueba.htm\">');<br>
}<br>
</script> <br>
</body><br>
</i><br>
all I changed was the backshash before the second quote.<br>
<br>
<br>
<br>
also, try this:<br>
<i><body><br>
<script language="javascipt"><br>
if (document.all){<br>
document.write('<iframe src=\"prueba.htm"></iframe>');<br>
}<br>
else if (document.layers)<br>
{<br>
document.write('<ilayer src=\"prueba.htm">');<br>
}<br>
</script> <br>
</body><br>
</i><br>
the second example deals with object detection, instead of browser detection. This may prove more or less effective, depending on your situation.<br>
<br>
Try it, and see if it fixes it.<br>
<p>theEclipse<br><a href=mailto: > </a><br><a href=robacarp.webjump.com>robacarp.webjump.com</a><br>