ns=(navigator.appName=="Netscape");

function openjsdetails() {
	nwin = MM_openDBWindow('blank.html', 'jsview', 'width="700,height=400');
	nwin.document.writeln(show_props((ns) ? 'document' : 'document.all'));
}

function show_props(objname) {   
	var result = "";
	obj = eval(objname);
	result = '<html><head><title>' + objname + '</title><script language=javascript type="text/javascript" src=debug.js></script></head><body>';
	for (var i in obj) {
		result += "<a href='#' onclick=\"nwin=MM_openDBWindow('blank.html','','height=400,width=600');nwin.document.writeln(show_props('opener." + objname + "." + i + "')); if (opener != NULL) { nwin.opener = opener;}\">" + objname + "." + i + " = " + obj[i] + "</a><BR>"; 
	}
	result += '</body></html>';
	return result;
}

function MM_openDBWindow(theURL,winName,dimentions) { 
	features = 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,' + dimentions;
	return window.open(theURL,winName,features);
}


function hackfunc(obj) {
	b = eval('document.all.' + obj);
	b.style.backgroundAttachment = 'none';
}
