	function menushow(item) {
            eval("document.getElementById('sub"+item+"').style.display = 'inline-block';");
        }
        function menuhide(item) {
            eval("document.getElementById('sub"+item+"').style.display = 'none';");
        }

        //We're going to use simple js to load into the iframe
	function showPageinFrame(page){
		document.getElementById("txtHere").src = "content/"+page;
	}

        var xmlHttp;
	//use ajax to load a page
        function showPage(str){
                xmlHttp=GetXmlHttpObject();
                if (xmlHttp==null){
                        alert ("We're sorry, your browser does not support the AJAX technology employed by this website.");
                        return;
                }
                var url=str;
                alert("The url passed in is: " + url);
                xmlHttp.onreadystatechange=stateChanged;
                xmlHttp.open("GET",url,true);
                xmlHttp.send(null);
        }

        function showHome(){
                xmlHttp=GetXmlHttpObject();
                if (xmlHttp==null){
                        alert ("We're sorry, your browser does not support the AJAX technology employed by this website.");
                        return;
                }
                var url="content/home.htm";
                xmlHttp.onreadystatechange=stateChanged;
                xmlHttp.open("GET",url,true);
                xmlHttp.send(null);
        }

        function stateChanged(){
                if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){
                        document.getElementById("txtHere").innerHTML=xmlHttp.responseText;
                }
        }
        function GetXmlHttpObject(){
                var xmlHttp=null;
                try{
                        // Firefox, Opera 8.0+, Safari
                        xmlHttp=new XMLHttpRequest();
                }
                catch (e){
                        //Internet Explorer
                        try{
                                xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
                        }
                        catch (e){
                                xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
                        }
                }
                return xmlHttp;
        }

