Consider the following code:
GoTo Label2 ... [content here] ... More content
you can just open the new URL with the name appended, for instance http://www.example.com/mypage.htm#label2
http://www.example.com/mypage.htm#label2
In JavaScript,
location.href = location.href + '#label2';