function redirect( )
    {
        if( parent.frames.length == 0 )
        {
            // pathname was the former calling url
	    //window.location.replace('http://math.lbl.gov/~deschamp'
	    //+ '?' + pathname);
            window.name = "_top";
            //window.document.insertBefore('<p>Go to <a
            //href="http://math.lbl.gov/~deschamp/html/home.html"
            //target="_top">math.lbl.gov/~deschamp/html/home.html</a></p>');
            var parag1 = document.createElement("p");
            parag1.setAttribute("class", "warning");
            parag1.appendChild(document.createTextNode("You loaded this page out of its frameset"));
            
            var parag2 = document.createElement("p");
            parag2.setAttribute("class", "warning");
            var backlink = document.createElement("a");
            backlink.setAttribute("href", 'http://math.lbl.gov/~deschamp' );
            backlink.setAttribute("target", "_top");
            backlink.appendChild(document.createTextNode("Go Back to the main page"));
            parag2.appendChild(backlink);
            //var bar = document.createElement("hr");
            //parag.appendChild(bar);
            //sectionAnchor.appendChild(parag);
            
            var n = window.document.body;
            n.insertBefore(parag2,n.firstChild)
            n.insertBefore(parag1,n.firstChild)
        }
    }
