Very basic request, unless I am misunderstanding your question which is very vague anyways, would look similar to below. Obviously you need to get the actual index values from the page yourself.
Record Window Declarations will give you this info.
<font class="small">Code:</font><hr /><pre>
window BrowserChild PageName
tag "PageName Tag"
Then in testcase you would have say something like