var ie=document.all
var dom=document.getElementById

//Specify IFRAME display attributes
var iframeprops='width=500 height=5500 marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"'

//Specify 31 URLs to display inside iframe, one for each day of the current month
//If this month has less than 31 days, the last few URLs won't be used.
var daycontent=new Array()
daycontent[1]="dailys/1.html"
daycontent[2]="dailys/2.html"
daycontent[3]="dailys/3.html"
daycontent[4]="dailys/4.html"
daycontent[5]="dailys/5.html"
daycontent[6]="dailys/6.html"
daycontent[7]="dailys/7.html"
daycontent[8]="dailys/8.html"
daycontent[9]="dailys/9.html"
daycontent[10]="dailys/10.html"
daycontent[11]="dailys/11.html"
daycontent[12]="dailys/12.html"
daycontent[13]="dailys/13.html"
daycontent[14]="dailys/14.html"
daycontent[15]="dailys/15.html"
daycontent[16]="dailys/16.html"
daycontent[17]="dailys/17.html"
daycontent[18]="dailys/18.html"
daycontent[19]="dailys/19.html"
daycontent[20]="dailys/20.html"
daycontent[21]="dailys/21.html"
daycontent[22]="dailys/22.html"
daycontent[23]="dailys/23.html"
daycontent[24]="dailys/24.html"
daycontent[25]="dailys/25.html"
daycontent[26]="dailys/26.html"
daycontent[27]="dailys/27.html"
daycontent[28]="dailys/28.html"
daycontent[29]="dailys/29.html"
daycontent[30]="dailys/30.html"
daycontent[31]="dailys/31.html"

//No need to edit after here
if (ie||dom)
document.write('<iframe id="dynstuff" src="" '+iframeprops+'></iframe>')

var mydate=new Date()
var mytoday=mydate.getDate()

function dayofmonth_iframe(){
if (ie||dom){
var iframeobj=document.getElementById? document.getElementById("dynstuff") : document.all.dynstuff
iframeobj.src=daycontent[mytoday]
}
}

window.onload=dayofmonth_iframe


