if (navigator.appName.toLowerCase().indexOf("explorer") > -1) {
	var mdi=textSizes[1], sml=textSizes[2];
}
else {
	var mdi=textSizes[3], sml=textSizes[4];
}

function reDisplay(currentNumber,currentIsExpanded, prikaz) {
	toc.document.open();
	toc.document.write("<html>\n<head>\n<title>MENI</title>\n</head>\n<body bgcolor=\"#E5E5E5\" TOPMARGIN=0 LEFTMARGIN=0>\n<table border=0 cellspacing=0 width=200 cellpadding=0 bgcolor=\"#B2B2B2\" height=\"100%\">\n");
	var currentNumArray = currentNumber.split(".");
	var currentLevel = currentNumArray.length-1;
	var scrollY=0, addScroll=false, theHref="";
	for (i=0; i<tocTab.length; i++) {
		thisNumber = tocTab[i][0];
		var isCurrentNumber = (thisNumber == currentNumber);
		if (isCurrentNumber) theHref=tocTab[i][2];
		var thisNumArray = thisNumber.split(".");
		var thisLevel = thisNumArray.length-1;
		var toDisplay = true;
		if (thisLevel > 0) {
			for (j=0; j<thisLevel; j++) {
				toDisplay = (j>currentLevel)?false:toDisplay && (thisNumArray[j] == currentNumArray[j]);
			}
		}
		thisIsExpanded = toDisplay && (thisNumArray[thisLevel] == currentNumArray[thisLevel])
		if (currentIsExpanded) {
			toDisplay = toDisplay && (thisLevel<=currentLevel);
			if (isCurrentNumber) thisIsExpanded = false;
		}
		
		if (toDisplay) {
			if (i==0) {
				}
			else {
				if (addScroll) scrollY+=((thisLevel<2)?mdi:sml)*25;
				if (isCurrentNumber) addScroll=false;
				var isLeaf = (i==tocTab.length-1) || (thisLevel >= tocTab[i+1][0].split(".").length-1);
				img = (isLeaf)?"leaf":(thisIsExpanded)?"minus":"plus";
				for (k=1; k<=thisLevel; k++) {
				}
				if (thisLevel<1) {
                       		   if (isCurrentNumber) {
				      toc.document.writeln("<tr><td colspan=2 width=\"150\" bgcolor=\"#FFFFFF\" height=\"1\"><img src=\"spacer.gif\" height=\"1\" width=\"150\"></td><td bgcolor=\"#E5E5E5\" width=\"50\"><img src=\"spacer.gif\" height=\"1\" width=\"50\"></td></tr><tr><td align=left width=150 colspan=" + (nCols-thisLevel) + ">\&nbsp\;\&nbsp\;<a href=\"javaScript:\parent.reDisplay('" + thisNumber + "'," + thisIsExpanded + ", '0')\" style=\"font-family: " + fontLines + ";" + "font-weight:" + ((isCurrentNumber)?currentLink:normalLink) + "; font-size: 16px; color: " + ((isCurrentNumber)?currentColor:normalColor) + "; text-decoration:none\" onMouseOver=\"javaScript:\parent.StopTheClock()\" onMouseOut=\"javaScript:\parent.InitializeTimer()\">" + tocTab[i][1] + "</a></td><td bgcolor=\"#E5E5E5\" width=\"50\"><img src=\"spacer.gif\" height=\"1\" width=\"50\"></td></tr>");
				   } else {
				      toc.document.writeln("<tr><td colspan=2 width=\"150\" bgcolor=\"#FFFFFF\" height=\"1\"><img src=\"spacer.gif\" height=\"1\" width=\"150\"></td><td bgcolor=\"#E5E5E5\" width=\"50\"><img src=\"spacer.gif\" height=\"1\" width=\"50\"></td></tr><tr><td align=left width=150 colspan=" + (nCols-thisLevel) + ">\&nbsp\;\&nbsp\;<a href=\"javaScript:\parent.reDisplay('" + thisNumber + "'," + thisIsExpanded + ", '0')\" style=\"font-family: " + fontLines + ";" + "font-weight:" + ((isCurrentNumber)?currentLink:normalLink) + "; font-size: 16px; color: " + ((isCurrentNumber)?currentColor:normalColor) + "; text-decoration:none\" onMouseOver=\"javaScript:\parent.StopTheClock()\" onMouseOut=\"javaScript:\parent.InitializeTimer()\">" + tocTab[i][1] + "</a></td><td bgcolor=\"#E5E5E5\" width=\"50\"><img src=\"spacer.gif\" height=\"1\" width=\"50\"></td></tr>");
				   }
				} else {
				      toc.document.writeln("<tr><td align=left width=\"150\" colspan=2>\&nbsp\;\&nbsp\;\&nbsp\;\&nbsp\;<a href=\"javaScript:\parent.reDisplay('" + thisNumber + "'," + thisIsExpanded + ", '0')\" style=\"font-family: " + fontLines + ";" + "font-weight:" + ((isCurrentNumber)?currentLink:normalLink) + "; font-size: 12px; color: " + ((isCurrentNumber)?currentColor:normalColor) + "; text-decoration:none\" onMouseOver=\"javaScript:\parent.StopTheClock()\" onMouseOut=\"javaScript:\parent.InitializeTimer()\">" + tocTab[i][1] + "</a></td><td bgcolor=\"#E5E5E5\" width=\"50\"><img src=\"spacer.gif\" height=\"1\" width=\"50\"></td></tr>");
				}
			}
		}
	}
	toc.document.writeln("<tr><td height=\"100%\" width=150 colspan=2></td><td bgcolor=\"#E5E5E5\" width=\"50\"><img src=\"spacer.gif\" height=\"1\" width=\"50\"></td></tr></table>\n</body>");
	toc.document.close();
	toc.scroll(0,scrollY);
	
	if (theHref != "") content.location.href = theHref;
}