function getList(path){if(path==null)path="project"; var theBaseURL="/_"+path+"_search.asp?"; var theForm=document.getElementById("universalForm"); var theFields=theForm.getElementsByTagName("select"); for(var i=0; i<theFields.length; i++){theBaseURL=theBaseURL+(theFields[i].name+"="+theFields[i].value+"&");}theBaseURL=theBaseURL.substr(0, theBaseURL.length-1); grabFile(theBaseURL);}function getForm(){var theSubmitButton=document.getElementById("fsubmit"); if(theSubmitButton != null){theSubmitButton.onclick=function(){getList();}}}function getHTTPOject(){var xhr=false; if(window.ActiveXObject){try{xhr=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{xhr=new ActiveXObject("Microsoft.XMLHTTP");}catch(e){xhr=false;}}}else if(window.XMLHttpRequest){try{xhr=new XMLHttpRequest();}catch(e){xhr=false;}}return xhr;}function grabFile(file){var request=getHTTPOject(); if(request){request.onreadystatechange=function(){displayResponse(request);}; request.open("GET", file, true); request.send(null);}}function displayResponse(request){if(request.readyState==4){document.getElementById("universalForm").innerHTML=request.responseText;}}