- line_top = find(document.body[i],"\\line_top")
- line_bot = find(document.body[i],"\\line_bottom")
- pb_top = find(document.body[i],"\\pagebreak_top")
- pb_bot = find(document.body[i],"\\pagebreak_bottom")
- vspace_top = find(document.body[i],"\\added_space_top")
- vspace_bot = find(document.body[i],"\\added_space_bottom")
+ line_top = document.body[i].find("\\line_top")
+ line_bot = document.body[i].find("\\line_bottom")
+ pb_top = document.body[i].find("\\pagebreak_top")
+ pb_bot = document.body[i].find("\\pagebreak_bottom")
+ vspace_top = document.body[i].find("\\added_space_top")
+ vspace_bot = document.body[i].find("\\added_space_bottom")