<html>
<body>
<script>
function cd ()
{
var week = (((60 * 60) * 24) * 7) * 1000;
var my_week = parseInt(document.pica_frm.pica_txt.value) * week;
var my_date = new Date();
PICA_DATE.innerHTML += 'now: ' + my_date.getTime() + '<br/>';
PICA_DATE.innerHTML += '_my: ' + my_week + '<br/>';
PICA_DATE.innerHTML += my_date + '<br/>';
my_date.setTime(my_week);
PICA_DATE.innerHTML += my_date + '<br/>';
}
</script>
<form name="pica_frm">
<input type="text" name="pica_txt" value="1765"/>
<input type="button" value="countDate" onclick="cd();"/>
<span id="PICA_DATE"><br/></span>
</body>
</html>