How to go to the next page in Skim?

I’ve found this script that will show page # 100 of a PDF opened in Skim:


set pageIndex to 100 as integer

tell application "Skim"
	tell front document
		--set nextPage to (current page + 1) as number
		set current page to (page pageIndex)
	end tell
end tell

I’m trying to create two scripts: one to navigate to the next page, and one to navigate to the previous page.

How can I do this?

Many thanks. This is great.