var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
 
function countup(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var paststring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round(((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)+1)
document.write(""+difference+"")
}

var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
 
function noobprotection1(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var paststring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round(((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)+1)
var noobprotection=(Math.round(Math.sqrt(difference)))
if (noobprotection > 14)
noobprotection=14
if (noobprotection < 3)
noobprotection=3
document.write(""+noobprotection+"")
}

var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
 
function noobprotection3(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var paststring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round(((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)+1)
var noobprotection3x=(Math.round((Math.sqrt(difference/3))))
if (noobprotection3x > 14)
noobprotection3x=14
if (noobprotection3x < 1)
noobprotection3x=1
document.write(""+noobprotection3x+"")
}


var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
 
function noobprotection5(yr,m,d){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy
var paststring=montharray[m-1]+" "+d+", "+yr
var difference=(Math.round(((Date.parse(todaystring)-Date.parse(paststring))/(24*60*60*1000))*1)+1)
var noobprotection5x=(Math.round((Math.sqrt(difference/5))))
if (noobprotection5x > 14)
noobprotection5x=14
if (noobprotection5x < 1)
noobprotection5x=1
document.write(""+noobprotection5x+"")
}
