Write a script that calculates the product of the odd integers from 1 to 15 then outputs XHTML text that displays the results.

<?xml version = "1.0" encoding = "utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title> Multiply It </title>
</head>
<body>
<h1> Multiply It </h1>
<hr />

<p>Press F5 or Refresh to load script again.</p>
<script type="text/javascript">
<!--
var number;
var i;
var ans=1;
number = window.prompt("Enter any odd number between 1 and 35:");
var count = parseInt(number);
if(count % 2 == 0)
{
document.writeln( "<h1> Your input number " + number + " is not an odd number</h1>" );
}
else if(count >= 1 && count <= 35)
{
for(i=1;i<=count;i=i+1)
{
ans=ans*i;
}
document.writeln( "<h1> The product of 1 to " + number + " is: " + ans + "</h1>" );
}
else
{
document.writeln( "<h1> Input Odd number " + number + " doesn't seems to be in range between 1 and 35 </h1>" );
}

// -->
</script>

</body>
</html>