function get_data(points_no) { var point_value=new Array(3); for (var i=0; i<3; i++) { point_value[i]=new Array(points_no) } for (var i=0; i=points_no; i++) { point_value[0][i]=i+1} for (var i=0,j=0,k=1,n=2; i=points_no; i++,j=j+3,k=k+3,n=n+3) { point_value[1][i]=window1.document.dat.elements[k].value point_value[2][i]=window1.document.dat.elements[n].value } return point_value; }
w=window.open("", null, "width=700,height=500,status=no,location=no," +"toolbar=no,menubar=yes,scrollbars=yes,resizable=yes"); doc=w.document.open("text/html"); doc.writeln("..."); doc.close();