Write a JavaScript program to scroll and move window using "scrollTo()" and "moveTo()" methods.
<html>
<head>
<title>Scroll webpage window example</title>
<script>
var x = 0, y=0
function scrollFunction()
{
window.scrollTo(0, 100)
}
function moveFunction()
{
x += 10
y += 10
window.moveTo(x, y)
}
</script>
</head>
<body>
<form name="myform">
<input type="button" value="Scroll" onclick="scrollFunction()"/>
<input type="button" value="Move" onclick="moveFunction()"/>
</form>
</body>
</html>
