The way around this dilemma is to import an html file with an image tag in the document. Oh you didn't know you can import html as well as xml? Well now you know so bob's your uncle. Let us look at the example:
There is nothing extraordinary about the html file. It is just a simple basic html file with an xhtml DTD and contains an image tag. That's it.
Our start_up case in the JavaScript ajaxManager() function has simply changed to reflect to pointing to the correct file to load into the existing document.
case "start_up":
ajaxManager('load_page', 'image1.html',
'contentLYR');
break;