<!-- 
// Enter your menu items here in the following format 
// [nodeId] | parentId | pageName | fileName 
// nodeId goes up in 10's so you can add a parent page easily in between 
// nodeId is optional, only add if it is a parent 
// Only use spaces in the Page name, no where else. This is important!! 
// This script currently only works when all pages are located in the same directory 

var NODE_ID = 0; 
var PARENT_ID = 1; 
var PAGE_NAME = 2; 
var FILE_NAME = 3; 

var aTree = new Array; 

var nodes = new Array(); 
var nCurrentNodeId; 
var sCurrentFileName; 
var nodeValues; 
var childValues; 

var nTreeId = -1; 

// -- top and menu properties start -- 

aTree[++nTreeId] = "10|0|Home|index2.html"; 

aTree[++nTreeId] = "21|0|Best Paper Award|bestpaper.html"; 

aTree[++nTreeId] = "22|0|Post-Conference Article|http://ieeexplore.ieee.org/search/freesrchabstract.jsp?arnumber=1573660&isnumber=33274&punumber=6294&k2dockey=1573660@ieeejrns&query=(edoc)+%3Cin%3E+freesrch&pos=3"; 

aTree[++nTreeId] = "23|0|Proceedings|proceedings.html"; 
aTree[++nTreeId] = "24|23|Table of Contents|http://csdl2.computer.org/persagen/DLAbsToc.jsp?resourcePath=/dl/proceedings/&toc=comp/proceedings/edoc/2005/2441/00/2441toc.xml"; 
aTree[++nTreeId] = "25|23|Search the Proceedings|http://ieeexplore.ieee.org/xpl/RecentCon.jsp?punumber=10337"; 
aTree[++nTreeId] = "38|0|Photos|photos.html";

aTree[++nTreeId] = "39|0||"; 

aTree[++nTreeId] = "40|0|Program|program.html";
aTree[++nTreeId] = "42|0|Technical Sessions|sessions.html";

aTree[++nTreeId] = "50|0|Keynote Speakers|keynotes.html";
aTree[++nTreeId] = "51|50|Frank Leymann|keynotes.html#leymann";
aTree[++nTreeId] = "52|50|Fabio Casati|keynotes.html#casati";
aTree[++nTreeId] = "53|50|Thomas Greene|keynotes.html#greene";

aTree[++nTreeId] = "30|0|Workshops|workshops.html"; 
aTree[++nTreeId] = "31|30|MWS 2005|workshops.html#MWS_2005"; 
aTree[++nTreeId] = "32|30|WODPEC 2005|workshops.html#WODPEC_2005"; 
aTree[++nTreeId] = "33|30|INTEROP 2005|workshops.html#INTEROP_2005"; 
aTree[++nTreeId] = "35|30|VORTE 2005|workshops.html#VORTE_2005"; 
aTree[++nTreeId] = "36|30|CoALa 2005|workshops.html#CoALa_2005"; 

aTree[++nTreeId] = "59|0||"; 

aTree[++nTreeId] = "80|0|Venue and Travel|venue.html"; 

aTree[++nTreeId] = "100|0||"; 

aTree[++nTreeId] = "110|0|Organizing Committee|committee.html"; 

aTree[++nTreeId] = "120|0|Sponsors and Supporters|sponsors.html"; 

aTree[++nTreeId] = "130|0|Past EDOC conferences|previous.html"; 

aTree[++nTreeId] = "140|0|EDOC Hall of Fame|halloffame.html"; 

aTree[++nTreeId] = "150|0|Associated Journals|journals.html"; 

aTree[++nTreeId] = "180|0|Related Events|related.html"; 

// -- top and menu properties end -- 


function w(sString) { 
	document.write(sString); 
} 

function getFileName(sUrl) { 
var sPath, aPathElements, nLength; 
sPath = new String(sUrl); 
aPathElements = sPath.split("/"); 
nLength = aPathElements.length; 
return aPathElements[nLength-1].toLowerCase(); 
} 

function getTopNodeId() { 

var nNodeId; 
var nParentId; 
for (i=0; i<nodes.length; i++) { 
nodeValues = nodes[i].split("|"); 
if (nodeValues[FILE_NAME].toLowerCase()==sCurrentFileName) { 
nParentId = nodeValues[PARENT_ID]; 
nNodeId = nodeValues[NODE_ID]; 
} 
} 
if (nParentId==0) { 
// page is parent, return node id 
return nNodeId; 
} 
else { 
// page is child 
for (i=0; i<nodes.length; i++) { 
nodeValues = nodes[i].split("|"); 
if (nodeValues[NODE_ID]==nParentId) { 
return nodeValues[NODE_ID]; 
} 
} 
} 
} 

// Create the tree 
function createTree(arrName,sPage) { 
	nodes = arrName; 
	sCurrentFileName = new String(sPage); 
	nCurrentNodeId = getTopNodeId(); 

	if (nodes.length > 0) { 
		for (i=0; i<nodes.length; i++) { 
		nodeValues = nodes[i].split("|"); 
			if (nodeValues[PARENT_ID]==0) { 
				if ((nodeValues[NODE_ID]==40) || (nodeValues[NODE_ID]==40)){
					//w("<tr><td align=\"right\" height=\"17\" valign=\"middle\"><a class=\"menulinknew\" href=\"" + nodeValues[FILE_NAME] + "\" onmouseover=\"window.status='" + nodeValues[PAGE_NAME] + "';return true;\" onmouseout=\"window.status=' ';return true;\">new: </a><a class=\"menulink\" href=\"" + nodeValues[FILE_NAME] + "\" onmouseover=\"window.status='" + nodeValues[PAGE_NAME] + "';return true;\" onmouseout=\"window.status=' ';return true;\">" + nodeValues[PAGE_NAME] + "</a></td></tr>");
					w("<tr><td align=\"right\" height=\"17\" valign=\"middle\"><a class=\"menulinknew\" href=\"" + nodeValues[FILE_NAME] + "\" onmouseover=\"window.status='" + nodeValues[PAGE_NAME] + "';return true;\" onmouseout=\"window.status=' ';return true;\">" + nodeValues[PAGE_NAME] + "</a></td></tr>");
				}else{
					w("<tr><td align=\"right\" height=\"17\" valign=\"middle\"><a class=\"menulink\" href=\"" + nodeValues[FILE_NAME] + "\" onmouseover=\"window.status='" + nodeValues[PAGE_NAME] + "';return true;\" onmouseout=\"window.status=' ';return true;\">" + nodeValues[PAGE_NAME] + "</a></td></tr>");
				}
				w("<tr><td height=\"1\" bgcolor=\"#cccccc\"><img alt=\"\" src=\"spacer.gif\" width=\"1\" height=\"1\" border=\"0\"></td></tr>");
				if (nCurrentNodeId == nodeValues[NODE_ID]) { 
					for (j=0; j<nodes.length; j++) { 
						childValues = nodes[j].split("|"); 
						if (childValues[PARENT_ID]==nCurrentNodeId) { 
							w("<tr><td align=\"right\" height=\"17\" valign=\"middle\"><a class=\"menulink\" href=\"" + childValues[FILE_NAME] + "\" onmouseover=\"window.status='" + childValues[PAGE_NAME] + "';return true;\" onmouseout=\"window.status=' ';return true;\"><font color=\"#B9B9B9\">" + childValues[PAGE_NAME] + "</font>&nbsp;&nbsp;&nbsp;&nbsp;</a></td></tr>"); 
							w("<tr><td height=\"1\" bgcolor=\"#cccccc\"><img alt=\"\" src=\"spacer.gif\" width=\"1\" height=\"1\" border=\"0\"></td></tr>");
						} 
					} 
				} 
			} 
		} 
	} 
} 

//--> 
