window.defaultStatus='';

function genRandom(num) {
 var tempString = ""
 tempString += (Math.random() * num) + 1
 rstring = parseInt(tempString)
 return rstring
}
var offsets = new Array();
var today = new Date();
month = today.getMonth() + 1;
day = today.getDate();
year = today.getYear();
hour = today.getHours();
for(var offset = 0; offset< 10; offset++){
 tempmonth = month
 tempday = day
 tempday = tempday - offset
 if (tempday< 1) {
  tempmonth = tempmonth - 1;
  tempday = tempday + 31;
 }
 if (tempmonth < 10) {tempmonth="0"+tempmonth};
 if (tempday < 10) {tempday="0"+tempday};
 offsets[offset] = tempmonth + "/" + tempday
}
function gengals (days) {
  document.write(' <font size=-1><b>(' + offsets[days] + ')</b></font> ')
}
