<!-- Julian Day function


var now  = new Date()
var yr   = now.getYear() + 1900 // y2k fix needed as the year 2000 is returned
                                // as 100 by Netscape for getYear() function
var dat  = new Date(yr, now.getMonth(), now.getDate())
var ny   = new Date(yr-1, 11, 31)

function daysToDay(inTime)
{
return (Math.floor(inTime.getTime() / (1000 * 60 * 60 * 24)))
}

function jDat(inDat)
{
return  daysToDay(dat) - daysToDay(inDat)
}
// -->
