// insert a images file in the current document, instead of popping up a new
// window when "cover photo" is clicked.
// if no script available, then still create new window with image
// remove the link that was clicked on to get image
function insert_image(node, image)
{
	var newnode = document.createElement("img");
	newnode.setAttribute("src",image);
	node.parentNode.insertBefore(newnode,node);
	node.parentNode.removeChild(node);
}
