function debug( aStr ) {
//	document.getElementById("debug").innerHTML=aStr;
//	document.body.innerHTML="<PRE>" + aStr + "<PRE>";
	var w = window.open("Authenticating.asp");
	w.document.write(aStr);
}
function show_props(obj, obj_name) {
	var result = "props:<BR>";
	for (var i in obj) {
		try {
			if( typeof obj[i] == "object" ) {
				result += obj_name + "." + i + " = Nested OBject <BR>\n";
			}
			else {
				result += obj_name + "." + i + " = " + obj[i] + "<BR>\n" ;
			}
		}catch(e) {
			result += i + " = Security Exception<BR>\n";
		}
	}

	return result;
}



// Jeff G.  2003-04-20.  Used to read menu from wei-pipeline or from XML file on LINK server.
function readURL(targetURL) {
    var xmlHttpMenu = new ActiveXObject("Microsoft.XMLHTTP");

    xmlHttpMenu.open("GET", targetURL, false);
    xmlHttpMenu.send();
    return xmlHttpMenu.responseText;
}