I wrote a simple code for opening and closing a youtube video after 9 seconds.
How to create a LOOP and to repeat the same operation for 100 times?
can anyone to write me such code?

<!DOCTYPE html>

<html>
<head>
<title>Page 1</title>

<script type="text/javascript">


function winClose() {
myWindow.close()
}
myWindow = window.open("http://www.youtube.com/watch?v=5tUHGZmrvkA&feature=plcp&context=C3c64dcdUDOEgsToPDskLe5_G5h3f28OrxPjVjEeOv",
"window", "width=750, height=710");
self.setTimeout('winClose()', 9000)

</script>
</head>
<body>

</body>
</html>