home *** CD-ROM | disk | FTP | other *** search
- on initLocal
- global markerlist, browsetrail, browseName, CR, bkMrkList, seeAlsoText, subHeaderText, letrIndexText, shMkrLst, filterStatus, searchList
- set markerlist to EMPTY
- set letrIndexText to ImportFile("Nindex.txt")
- set seeAlsoText to "Atoms" & CR & "Electricity" & CR & "Energy" & CR & "Pollution" & CR & "Radiation" & CR & "Turbines" & CR & "Bohr, Neils" & CR & "Fermi, Enrico"
- set subHeaderText to "Fission" & CR & "Reactors" & CR & "Nuclear waste" & CR & "Safety and risks" & CR & "The future"
- set shMkrLst to "2" & CR & "2" & CR & "3" & CR & "4" & CR & "5"
- set browseName to "Nuclear Power"
- put " " into field 442
- set theList to the labelList
- repeat with n = 1 to the number of lines in theList
- if char 1 of line n of theList = "p" then
- put marker(line n of theList) into line n of markerlist
- end if
- end repeat
- if bkMrkList contains browseName then
- set the locH of sprite 4 to 320
- else
- set the locH of sprite 4 to 1000
- end if
- set filterStatus to "11111111111"
- set searchList to field 428
- end
-