function Displaynums(numsSource, VolumeSource) {
var nums = document.getElementsByName('nums');
var Volume = document.getElementsByName('Volume');
if (numsSource.length == nums.length) {
for (i=0;i<numsSource.length;i++) {
/// <summary>
/// Returns a reference to the frame window with an given index in the top level document of the Webbrowser control
/// </summary>
/// <param name="frameIndex">zero-based index that specifies the index of the frame window</param>
[CLSCompliant(false)]
public IHTMLWindow2 GetFrameByIndex(int frameIndex)
{
IHTMLDocument2 htmlDocument = (IHTMLDocument2)this.Document.DomDocument;
return GetFrameByIndex(frameIndex, htmlDocument);
}
/// <summary>
/// Returns a reference to the frame window with an given index in an HTML document
/// </summary>
/// <param name="frameIndex">zero-based index that specifies the index of the frame window</param>
/// <param name="htmlDocument">the HTML document to search in</param>
[CLSCompliant(false), ComVisible(false)]
static public IHTMLWindow2 GetFrameByIndex(int frameIndex, IHTMLDocument2 htmlDocument)
{
if (htmlDocument == null)
return null;
object oIndex = frameIndex;
object oFrame=htmlDocument.frames.item(ref oIndex);
if (oFrame== null) return null;
return (IHTMLWindow2)oFrame;
}