var undef;

function showDetails (rid) {
	var TRow=findObj(rid);
	if (TRow!=null){
		if (TRow.style.display=='none') { TRow.style.display='';} else { TRow.style.display='none';}
	}
}

function findObj(s,n){
	var obj=MM_findObj(s,n);
	return obj;
}
	
function MM_findObj(n, d) { 
	if(!d) d=document;
	var p,i,x; if((p=n.indexOf("?"))>0&&parent.frames.length) {
	d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
	if(!(x=d[n])&&d.all) x=d.all[n]; if (d.forms!=undef) {
		for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
	}
	for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
	if(!x && d.getElementById) x=d.getElementById(n); return x;
}
