thanks ahead of time for any help...

I have this code
<script type="text/javascript">
var currentTime = new Date()
var year = currentTime.getFullYear() - 1
document.write(year)
</script>
&amp;
<script type="text/javascript">
var currentTime = new Date()
var year = currentTime.getFullYear()
document.write(year)
</script>

which gives me this 2010 & 2011 but I need it based on a fiscal year that switches it to 2011 & 2012 in June of this year instead of Jan, 1st of next year... Is it possible??? I'm new to javascript so any help would be appreciated...

Keith