<html>
<body>
<form action="main.asp">
<select name="color">
<option value="white.html">White</option>
<option value="red.html">Red</option>
<option value="green.html">Green</option>
<option value="blue.html">Blue</option>
</select>
<br>
<input type=checkbox name="target" value="One">One
<input type=checkbox name="target" value="Two">Two
<input type=checkbox name="target" value="Three">Three
<input type=checkbox name="target" value="Four">Four
<br>
<input type=submit>
</form>
<%=Request.QueryString("color")%>
<br>
<% for each item in Request.QueryString("target") %>
Target: <%=item%><br>
<script language="vbscript">
parent.<%=item%>.location.href = "<%=Request.QueryString("color")%>"
</script>
<%next%>
</body>
</html>
Figure 2 Client HTML
Red.html
<html><body bgcolor="red">RED</body></html>
White.html
<html><body bgcolor="white">WHITE</body></html>
Blue.html
<html><body bgcolor="blue">BLUE</body></html>
One.html
<html>
<body>
ONE
</body>
</html>
Two.html
<html>
<body>
TWO
</body>
</html>
Three.html
<html>
<body>
THREE
</body>
</html>
Four.html
<html>
<body>
FOUR
</body>
</html>