<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi, </FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>I have a link in a image that I want it to change the src for 
an iframe and for the image itself, but I'm getting the "Object doesn't support 
this property or method" message in IE ( and I'm only worried with this browser 
5.0+ ) </FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Here's the code:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>function blahbox() {<BR>&nbsp;if 
(document.blahbox.location.href.indexOf("i_blahbox") &gt;= 0 
){<BR>&nbsp;&nbsp;document.blahbox.location.href = 
"i_emoticons.cfm";<BR>&nbsp;&nbsp;document.btBlahBox.src = 
"images/bt_blahbox.gif"<BR>&nbsp;} else 
{<BR>&nbsp;&nbsp;document.blahbox.location.href = 
"i_blahbox.cfm";<BR>&nbsp;&nbsp;document.btBlahBox.src = 
"images/bt_emoticon.gif"<BR>&nbsp;}<BR>}</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>and here's the call for it:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&lt;a href="#"&gt;&lt;img src="images/bt_emoticon.gif" alt="" 
name="btBlahBox" id="btBlahBox" width="18" height="19" border="0" 
onClick="blahbox();"&gt;&lt;/a&gt;</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>and here's the iframe code:</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>&lt;iframe src="i_blahbox.cfm" name="blahbox" id="blahbox" 
width="157" height="251" marginwidth="0" marginheight="0" 
frameborder="0"&gt;&lt;/iframe&gt;</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Did this make what I'm trying to accomplish clear? I hope so 
!</FONT></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>TIA</FONT></DIV>
<DIV><FONT size=2>Marcelo Simon</FONT></DIV></BODY></HTML>