2 onload scripts and conflict

I have two scripts that work when both not on the page, but when I try to combine them, one stops working

HOW can I combine both scripts to work to gether??

1. <BODY onLoad="<% If (Session("APPROVED") <> "Yes") Then
 %> BodyLoad(); <%
End If %>">
which when compiled and viewed =  <BODY onLoad="">

2.  is for a dhtml and vertical list
startList = function() {
if (document.all&&document.getElementById) {
  navRoot = document.getElementById("nav1");
.................
}
window.onload=startList;
sahromAsked:
Who is Participating?
 
ITBGConnect With a Mentor Commented:
put them in a script run at server tag
define private sub
call that sub onload...
[;¬)
0
All Courses

From novice to tech pro — start learning today.