Vi provo a mandare il codice ma è un ppo complaicato..
praticamente è un heading di una pagina web, il codice era già scritto, io ho provato ad inserire le immagini, che si chiamano "bright.gif", usando frontpage e cliccando sulla x della vecchia immagine e cambiando il percorso mettendo quello della nuova immagine..
non so se è il giusto modo di procedere..

-----------------------------------------------------------------


<HTML>
<HEAD>
<SCRIPT LANGUAGE="javascript">
function Mousin(where){
switch (where){
case 1:
if (document.Image1.src.charAt(document.Image1.src.la stIndexOf(".")-1) == "f")
document.Image1.src = "../images/Wombat_images/con_u.gif";
break;
case 2:
if (document.Image1.src.charAt(document.Image1.src.la stIndexOf(".")-1) == "u")
document.Image1.src = "../images/Wombat_images/con_f.gif";
break;
case 3:
if (document.Image1.src.charAt(document.Image1.src.la stIndexOf(".")-1) == "u"){
document.Image1.src = "../images/Wombat_images/con_d.gif";
document.Image2.src = "../images/Wombat_images/sear_f.gif";
setTimeout("ShowMenu()", 250);
parent.frames['text'].location.reload();
}
break;
case 4:
if (document.Image2.src.charAt(document.Image2.src.la stIndexOf(".")-1) == "f")
document.Image2.src = "../images/Wombat_images/sear_u.gif";
break;
case 5:
if (document.Image2.src.charAt(document.Image2.src.la stIndexOf(".")-1) == "u")
document.Image2.src = "../images/Wombat_images/sear_f.gif";
break;
case 6:
if (document.Image2.src.charAt(document.Image2.src.la stIndexOf(".")-1) == "u"){
document.Image2.src = "../images/Wombat_images/sear_d.gif";
document.Image1.src = "../images/Wombat_images/con_f.gif";
parent.frames["menu"].location = "Search.asp";
}
break;
case 7:
if (document.Image3.src.charAt(document.Image3.src.la stIndexOf(".")-1) == "f")
document.Image3.src = "../images/Wombat_images/sync_u.gif";
break;
case 8:
document.Image3.src = "../images/Wombat_images/sync_f.gif";
break;
case 9:
document.Image3.src = "../images/Wombat_images/sync_d.gif";
break;
case 10:
document.Image3.src = "../images/Wombat_images/sync_f.gif";
document.Image1.src = "../images/Wombat_images/con_d.gif";
document.Image2.src = "../images/Wombat_images/sear_f.gif";
setTimeout("ShowMenu()", 250);
parent.frames['text'].location.reload();
break;
default:
alert ("Error");
}
}

//---- Build the tree menu.
<% Function buildmenu()
Set conn = CreateObject("adodb.connection")
conn.open Session("connectstring")
Set rsX = CreateObject("adodb.recordset")
Set rsY = CreateObject("adodb.recordset")

If Session ("StaffID") > 0 Then
SQLstr1 = "select kbs_id as id, kbs_caption as title, type=1, kbs_order, parent = kbs_parent from kb_struct union " & _
"select kbi_id as id, kbi_title as title, type=2, kbi_order, parent = kbi_folder_id from kb_issue "
SQLstr2 = "select kba_id, kba_title, parent = kba_issue_id from kb_article order by 3, kba_order"
Else
SQLstr1 = "select kbs_id as id, kbs_caption as title, type=1, kbs_order, parent = kbs_parent from kb_struct where kbs_visible = 'Y' union " & _
"select kbi_id as id, kbi_title as title, type=2, kbi_order, parent = kbi_folder_id from kb_issue where kbi_visible = 'Y'"
SQLstr2 = "select kba_id, kba_title, parent = kba_issue_id from kb_article where kba_visible = 'Y' order by 3, kba_order"
End If
SQLstr1 = SQLstr1 & " order by 5,4"

rsX.CursorLocation = 3
rsX.open SQLstr1, conn, 3
rsX.ActiveConnection = nothing

rsY.CursorLocation = 3
rsY.open SQLstr2, conn, 3
rsY.ActiveConnection = nothing

conn.close
Set conn = nothing

TextFrame = "text"
IssueURL = "KBIssue.asp?id="
IssueIMG = "Issue.gif"
IssueID = 0
DflFolder = "menu_folder_open.gif"
TextFrame = "text"
ArticleURL = "KBArticle.asp?id="
ArticleIMG = "Article.gif"
index = 0
PrevParent = -1
%>//---- create root tree node
var menu = null;
var menu = new TheMenu();
//---- creating tree nodes
<% Do While rsX.recordcount > 0 AND Not rsX.eof
'---- keep track of the number of nodes per branch
If PrevParent = rsX("parent") Then
NodeIndex(index) = NodeIndex(index) + 1
Else
index = index + 1
ReDim Preserve NodeIndex(index)
NodeIndex(index) = 0
End If
PrevParent = rsX("parent")
If rsX("parent") > 0 Then
MenuLevel = CStr(rsX("parent"))
Else
MenuLevel = ""
End If
nodeID = CStr(rsX("id"))
If rsX("type") = 1 Then
%>//---- creating folder
var menu<%=nodeID%> = null;
var menu<%=nodeID%> = new TheMenu();
<% Else
%>//---- creating issue
var menuI<%=nodeID%> = new TheMenu ();
<% End If
rsX.movenext()
Loop
'---- Attach nodes
If rsX.recordcount > 0 Then
rsX.movefirst()
Do While not rsX.eof
PrevParent = rsX("parent")
If rsX("parent") > 0 Then
MenuLevel = CStr(rsX("parent"))
Else
MenuLevel = ""
End If
nodeID = CStr(rsX("id"))
If rsX("type") = 1 Then
%>//---- attaching folder
try {menu<%=MenuLevel%>.AttachIt(new Node("<%=replace(rsX("title"), "\","\\")%>", "", "", "", "<%=DflFolder%>"));} catch(oError){}
<% Else
%>//---- attaching issue
try {menu<%=MenuLevel%>.AttachIt(new Node("<%=replace(replace(rsX("title"), Chr(34), "'"), "\","\\")%>", "<%=IssueURL & Cstr (nodeID)%>", "<%=textframe%>", "<%=replace(replace(rsX("title"), Chr (34), "'"), "\","\\")%>", "<%=IssueIMG%>"));} catch(oError){}
<% End If
rsX.movenext()
Loop
End If
'---- Building the tree
If rsX.recordcount > 0 Then
rsX.movelast()
Do While not rsX.bof
If rsX("parent") > 0 Then
MenuLevel = CStr(rsX("parent"))
Else
MenuLevel = ""
End If
nodeID = CStr(rsX("id"))
If rsX("type") = 1 Then
%>//---- Making folder expandable
if (menu<%=nodeID%>.items[0]) menu<%=MenuLevel%>.items[<%=CStr(NodeIndex(index))%>].SubNode (menu<%=nodeID%>, false, "menu_folder_closed.gif","menu_folder_open.gif ");
<% Else
'---- getting the article nodes and attaching them
rsY.filter = "parent = " & nodeID
Acount = rsY.recordcount
If Acount > 0 Then
rsY.movefirst()
%>//---- creating article
try {menu<%=MenuLevel%>.items[<%=CStr(NodeIndex(index))%>].SubNode (menuI<%=Cstr(rsX("id"))%>, false, "Issue.gif", "Issue.gif");} catch(oError){}
<% End If
For x = 0 to Acount - 1
Do While not rsY.eof
%>//---- attaching article
try {menuI<%=nodeID%>.AttachIt(new Node("<%=replace(replace(rsY("kba_title"), Chr (34), "'"), "\","\\")%>", "<%=ArticleURL & CStr(rsY("kba_id"))%>", "<%=textframe%>", "<%=replace(replace(rsY("kba_title"), Chr (34), "'"), "\","\\")%>", "<%=ArticleIMG%>"));} catch(oError){}
<% rsY.movenext()
loop
Next
'---- articles are done
End If
rsX.moveprevious()
If NodeIndex(index) <= 0 Then
index = index - 1
Else
NodeIndex(index) = NodeIndex(index) - 1
End If
loop
End If
rsY.filter = ""
rsX.close
rsY.close
Set rsX = nothing
Set rsY = nothing
End Function
buildmenu ()%>
</SCRIPT>
<base target="heading">
</HEAD>
<BODY ONLOAD="Go();" BGCOLOR="#336699" LINK="#FFA82B" VLINK="#0BA2AB" TEXT="#FFFFFF" TOPMARGIN=2 LEFTMARGIN=2 MARGINWIDTH=2 MARGINHEIGHT=2>
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
<TR>
<TD>
[img]images/bright.gif[/img]

</TD>
<TD>
[img]images/bright.gif[/img]

</TD>
<TD>
[img]images/bright.gif[/img]

</TD>
</TR>
</TABLE>
</BODY>
</HTML>

-----------------------------------------------------------------

grazie a tutti!
zim