<html>
<head>
</head>
<body>
<form>
<input type=button value="Open Windows" onclick="open_win()">
</form>
<script type="text/javascript">
function open_win()
{
window.open("https://www.google.com/", "_new1");
//window.open("https://www.ebay.com/", "_new2");
//window.open("https://www.amazon.com/", "_new3");
setTimeout(function () {window.open("https://www.yahoo.co.jp/", "_new2");}, 500);
setTimeout(function () {window.open("https://www.amazon.co.jp/", "_new3");}, 5000);
}
</script>
</body>
</html>