Index: lams_tool_images/web/includes/javascript/imageGalleryitem.js =================================================================== RCS file: /usr/local/cvsroot/lams_tool_images/web/includes/javascript/imageGalleryitem.js,v diff -u -r1.1 -r1.2 --- lams_tool_images/web/includes/javascript/imageGalleryitem.js 11 Oct 2008 12:04:14 -0000 1.1 +++ lams_tool_images/web/includes/javascript/imageGalleryitem.js 25 Dec 2008 14:28:02 -0000 1.2 @@ -27,3 +27,20 @@ function cancelImageGalleryItem(){ window.top.hideMessage(); } + /** + * Launches the popup window for the instruction files + */ + function showMessage(url) { + var area=window.top.document.getElementById("reourceInputArea"); + if(area != null){ + area.style.width="650px"; + area.style.height="100%"; + area.src=url; + area.style.display="block"; + } + var elem = window.top.document.getElementById("saveCancelButtons"); + if (elem != null) { + elem.style.display="none"; + } + location.hash = "reourceInputArea"; + }