%[@ IncludeFile "Code/Util.vbs" ]%>
<%[@ IncludeFile "Code/Lang.vbs" ]%>
<%[If Session("Book") Then Report.AbortTemplate]%>
<%[
If Not Session("Timelines") Then Report.AbortPage
If Session("cTocExpand") = -1 Or Session("cTocExpand") >= SocialEntities.Count Then
fTreeOpen = true
strToggle="collapse"
Else
fTreeOpen = false
strToggle = "expand"
End If
]%>
@[ Report.WriteFormatted StrDicExt("FmtTitleTocEntities","","{0} - Social Entity Index","",""), Session("Title")]@
<%[If Session("fUseTreeIndexes") Then]%>
<%[If Session("fUseCurvyBoxes") Then
CurvyBoxOpen()
Else
Report.WriteLn "
"
End if ]%>
@[WriteHtmlButtonToggle("Entries")]@
<%[Else]%>
<%[If Session("fUseCurvyBoxes") Then
CurvyBoxOpen()
Else
Report.WriteLn "