I have a JavaScripted data tree that fails to open in IE 8 and Firefox. I get no errors on the console when I run in Firefox, it just doesn't open, Everything works in IE 6 and IE 7, so I assume it's a problem with the script. Please let me know if you have any suggetions.

The link to the page is:

https://www.westernreserve.com/wps/p...VFLzZfMjZfMzVP

Thanks,


Code:
<SCRIPT language="JavaScript">
		
		var head="display:''"
		img1=new Image()
		img1.src="<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/images/plus.gif") %>"
		img2=new Image()
		img2.src="<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/images/minus.gif") %>"
		
		var ns6=document.getElementById&&!document.all
		var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1
		
		function checkcontained(e){
		var iscontained=0
		cur=ns6? e.target : event.srcElement
		i=0
		if (cur.id=="foldheader")
		iscontained=1
		else
		while (ns6&&cur.parentNode||(ie4&&cur.parentElement)){
		if (cur.id=="foldheader"||cur.id=="foldinglist"){
		iscontained=(cur.id=="foldheader")? 1 : 0
		break
		}
		cur=ns6? cur.parentNode : cur.parentElement
		}
		
		if (iscontained){
		var foldercontent=ns6? cur.nextSibling.nextSibling : cur.all.tags("UL")[0]
		if (foldercontent.style.display=="none"){
		foldercontent.style.display=""
		cur.style.listStyleImage="url(<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/images/minus.gif") %>)"
		}
		else{
		foldercontent.style.display="none"
		cur.style.listStyleImage="url(<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/images/plus.gif") %>)"
		}
		}
		}
		
		if (ie4||ns6)
		document.onclick=checkcontained

</SCRIPT>

<SCRIPT language="javascript">
	function submitCode(code,title) {
		dcsMultiTrack("DCS.dcsuri","/duv/"+code+".exe","WT.ti",code);
		document.duv_products.product.value = code;
		document.duv_products.title.value=title;
		document.duv_products.submit();
	}
</SCRIPT>

<H1>Daily Unit Values</H1>
<p>DUVs are generally updated each business day between 7pm and 9pm ET.</p>

<%
	if (sessionBean.isDataNotFound()) {
%>
No data found for this request.
<%}%>

<form name="duv_products" method="post" action="<portlet:actionURL/>" >
<input type="hidden" name="<%=Constants.PRODUCT_CODE%>">
<input type="hidden" name="<%=Constants.PRODUCT_TITLE%>">
<DIV id="duvmenu">
<ul>
<%= sessionBean.getMarkup() %>
</ul>
</DIV>
</form>