function viewObject(name){ 
	var obj = eval(name), i; 
	if(!obj){ 
		alert("\""+name+"\" ia not an object"); 
		return; 
	} 
	var w_Test = open("","Test","width=600,height=500,scrollbars=1"); 
	if(!w_Test){ 
		alert("Cannot open window for "+name); 
		return; 
	} 
	w_Test.document.open(); 
	for(i in obj) 
		w_Test.document.write(name+"."+i+"="+obj[i]+"<br>"); 
	w_Test.document.close(); 
}