Inside the page (in your link) you will find the following code.......
<html><head><title>Kona Europe</title><framesetrows="92,*"><framename="enterpart"scrolling="no"noresize><framesetcols="310,*"><framename="treeframe"src="http://www.konaeuropeadmin.com/getcountry.htm"><framename="basefrm"src="http://www.konaeuropeadmin.com/website/rightframe.htm"></frameset><noframes><body><p>This page uses frames, but your browser doesn't support them.</p></body></noframes></frameset></html>
in THAT page (the page in your link - or even ANY other page you wish)
first assess if the FRAME or IFRAME tag is present and if it is then load the SRC file that the individual FRAME SRC points to and then run your code for EACH frame and treat each frame as a separate html document.
If the fields your looking for are there then your code will do what its supposed to and if not then your code shouldnt do anything and you simply continue to the next frame.
If theres NO frames then your code will operate as normal....
See the pseudo code below
'1 Get the ORIGINAL document
'2 look for the FRAME tag (if no frame tags jump to step 10)
'3 in the frame tag look for the SRC attribute/element
'4 load the document using the SRC as the file to load pointer
'5 == YOUR CODE HERE ==
'6 we are done with this document
'7 we are done with this frame
'8 move to the next frame (and repeat till no more frames)
'9 All done - jump to step 12
'10 == YOUR CODE HERE ==
'11 All done - jump to step 12
Last Visit: 31-Dec-99 18:00 Last Update: 30-Aug-14 9:37