/*
Daily information feed script
By JavaScript Kit (http://javascriptkit.com)
Over 400+ free scripts here!
*/
var dailyinfo=new Array()
var dailyinfolink=new Array()

//define the messages below, where the first one is for the 1st of this month, second is for the 2nd of this month, and so on. You do NOT have to define all of them at once. For example, you can just define enough to cover up to a week.

dailyinfo[1]=''
dailyinfo[2]=''
dailyinfo[3]='Banco Central de Chile da a conocer Imacec de diciembre'
dailyinfo[4]='Banco Central de Chile da a conocer Imacec de diciembre'
dailyinfo[5]='Banco Central de Chile da a conocer Imacec de diciembre'
dailyinfo[6]=''
dailyinfo[7]=''
dailyinfo[8]=''
dailyinfo[9]=''
dailyinfo[10]=''
dailyinfo[11]=''
dailyinfo[12]=''
dailyinfo[13]=''
dailyinfo[14]=''
dailyinfo[15]=''
dailyinfo[16]=''
dailyinfo[17]=''
dailyinfo[18]=''
dailyinfo[19]=''
dailyinfo[20]=''
dailyinfo[21]=''
dailyinfo[22]=''
dailyinfo[23]=''
dailyinfo[24]=''
dailyinfo[25]=''
dailyinfo[26]=''
dailyinfo[27]=''
dailyinfo[28]='Enersis SA ADS Earnings Call scheduled for Thu, Jan 28 - '
dailyinfo[29]=''
dailyinfo[30]=''
dailyinfo[31]=''

//if any one of the daily messages above should click through to a URL, specify them here:


dailyinfolink[5]="http://www.bcentral.cl/"



var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()+1
if (month<10)
month="0"+month
var daym=mydate.getDate()


document.dailyinfo.cdate.value=daym+"/"+month+"/"+year

document.dailyinfo.dailycontent.value=dailyinfo[daym]

function moreinfo(){
if (dailyinfolink[daym])
window.location=dailyinfolink[daym]
else
alert("Lo sentimos pero no hay más Información en este momento")
}
