In outer document... ... In inner document... Blue Ridge Festival Faulty programming would be: ... var aP=parent.document.getElementById('artPicture'); alert(''+aP)" gives alert box showing null No real fault in this line, but bad idea to use variable for such a specific. Better to make it an object, so the same variable can be used for the ".src" part. var aP=parent.document.getElementById('artPicture').name; alert(''+aP)" gives no alert box if there is no "id" tag. Only problem with this line is if "frame" tag doesn't contain "id" attribute... var aP=parent.document.getElementById('artPicture'); alert(''+aP.name); alert(''+aP.src)" gives no alert box if there is no "id" attribute. For element referencing to work, the frame tag should contain both the "id" and "name" attributes. Otherwise, nothing might show up, 'coz of JavaScript error. In the example above, note the "frame" tag. To note also: 1. The alert function must not be empty - alert() should be alert('') 2. If JavaScript is embedded in html tag content, need "javascript:" before it, e.g. 3: Don't forget the "parent." part before the "document." part. Leaving out this again means Javascript errors that don't show. Can test this by using an alert, even the alert won't show if the variable definition is wrong. 4. Don't use apostrophes or quotation marks within intended text, this will stop the Javascript working because the parser will think these mean the end of the attribute or parameter. Use %027 and %022 respectively. Note the leading zeroes to make a 3-unit-columns hex character. 5. For titles, use ' for apostrophe (decimal 39): title="Trivvoth's back garden" 6. For URLs, use %27 (hex) for apostrophe: Trivvoth%27s%20back%20garden-836x620.png alert(''+aP.name); alert(''+aP.src);