<!-- hide from non-JavaScript Browsers
function hiLight() 
{
    document.fgColor = "#ffffff";
    return true;
}
function loLight() 
{
    document.fgColor = "#000000";
    return true;
}

function replaceDoc()
{
    if (window.location.pathname.indexOf("/news") == 0)
    {
	window.location.assign("./?news");
    }
    else if (window.location.search == "?news")
    {
	//window.location.replace("http://docs.google.com/Doc?id=");
	window.location.replace("./news.htm");
    }
    else if (window.location.pathname.indexOf("/goals") == 0)
    {
	window.location.assign("./?goals");
    }
    else if (window.location.search == "?goals")
    {
	//window.location.replace("http://docs.google.com/Doc?id=dgzkc3d8_6dcx7hw");
	window.location.replace("goals.htm");
    }
    else if (window.location.pathname.indexOf("/projects") == 0)
    {
	window.location.assign("http://www.impeachwi.org/?projects");
    }
    else if (window.location.search == "?projects")
    {
	//window.location.replace("http://docs.google.com/View?docid=dgzkc3d8_0dqfv3h");
	window.location.replace("projects.htm");
    }
    else if (window.location.pathname.indexOf("/daneco") == 0)
    {
	window.location.assign("http://www.impeachwi.org/?daneco");
    }
    else if (window.location.search == "?daneco")
    {
	//window.location.replace("http://docs.google.com/Doc?id=dgzkc3d8_3g6tr7x");
	window.location.replace("daneco.htm");
    }
    else if (window.location.pathname.indexOf("/resources") == 0)
    {
	window.location.assign("http://www.impeachwi.org/?resources");
    }
    else if (window.location.search == "?resources")
    {
	//window.location.replace("http://docs.google.com/View?docid=dgzkc3d8_0dqfv3h");
	window.location.replace("resources.htm");
    }
    else if (window.location.pathname.indexOf("/about") == 0)
    {
	window.location.assign("http://www.impeachwi.org/?about");
    }
    else if (window.location.search == "?about")
    {
	//window.location.replace("http://docs.google.com/Doc?id=dgzkc3d8_4fnnnfv");
	window.location.replace("about.htm");
    }
//    else if (window.location.pathname.indexOf("/donate") == 0)
//    {
//	window.location.assign("http://www.impeachwi.org/?donate");
//    }
//    else if (window.location.search == "?donate")
//    {
//	//window.location.replace("http://docs.google.com/Doc?id=dgzkc3d8_8g88vbj");
//	
//    }
    else
    {
	//window.document.write(location.search);
	window.document.write(window.location.pathname + "not found");
    }
    return true;
}
// load target frame from arg address
function loadFrame(target, address)
{
    //parent.document.getElementById("content").src = "http://www.impeachwi.org-a.googlepages.com/coalitionprojects";
    //parent.document.getElementById("content").src = "http://docs.google.com/View?docid=dgzkc3d8_0dqfv3h";
    if (parent.document.getElementById(target) != null)
    {
	parent.document.getElementById(target).src = address;
    }
    else
    {
	println("bad target: "+target);
    }
    println("address: "+address);
    return true;	
}
// stop hiding -->

