function showInfo(where, what)
{
        var output = what;
        var myObj = document.getElementById(where);
        myObj.innerHTML = output;
}

function newImage(arg) 
{
        if (document.images) 
        {
	        rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function fetchParentWindow(URL)
{
        opener.location.href = URL;
}

function popupPicture(whatPicture, popupName)
{
        var popup;
        /*thisImage = new Image(); 
        thisImage.src = whatPicture;
        xDim = thisImage.width; 
        yDim = thisImage.height;*/
        
        popup = window.open(whatPicture, popupName, "height=600, width=600, dependent=yes, location=no, menubar=no, resizable=yes, scrollbars=yes, status=no, toolbars=no, top=100, left=100");
        
        if (window.focus)
        {
                popup.focus();
        }
}

function startList() 
{
        if (document.all&&document.getElementById) 
        {
                navRoot = document.getElementById("nav");
                for (i=0; i<navRoot.childNodes.length; i++) 
                {
                        node = navRoot.childNodes[i];
                        if (node.nodeName=="LI") 
                        {
                                node.onmouseover=function() 
                                {
                                        this.className+=" over";
                                }
                                node.onmouseout=function() 
                                {
                                        this.className=
                                        this.className.replace(" over", "");
                                }
                        }
                }
        }
}

window.onload=startList;

