var xmlHttp
function runNav()
{ 

		var url="/nav.asp";
		xmlHttp=GetXmlHttpObject();
		xmlHttp.open("GET", url , false);
		xmlHttp.send(null);
		
		var tac = xmlHttp.responseText;
		document.writeln(tac);
		//pass to flash
		//alert(xmlHttp.responseText);
		//window.document.textholder.SetVariable('inmessage',tac);
		//document.getElementById("innertext").innerHTML=xmlHttp.responseText; 
} 



function GetXmlHttpObject()
{
    var objXmlHttp = null;

    try
    {
        objXmlHttp = new ActiveXObject("MSXML2.XMLHTTP");
    }
    catch (E)
    {
        try
        {
            objXmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        catch (E)
        {
          objXmlHttp = null;
        }
    }

    if ((objXmlHttp == null) && (typeof(XMLHttpRequest) != 'undefined'))
    {
        objXmlHttp = new XMLHttpRequest();
    }

    return objXmlHttp;
}

runNav()
