Hi!

I am new at JavaScript and would like some help pls..
I want to write out weekday, date and month for 2013.
exempel it should write:

tisdag 1 januari
onsdag 2 januari
torsdag 3 januari
fredag 4 januari

Excuse my English, stil Learning.. =)

______________________

function nameOfDay() {

var day=new Array(7);
day [0]="Sunday";
day[1]="monday";
day[2]="tuesday";
day[3]="wendsday";
day[4]="thuersday";
day[3]="friday";
day[4]="saturday";

return day;
{


function nameOfMonth()
}
var month=new Array(12);
month[0]="January";
month[1]="February";
month[2]="March";
month[3]="April";
month[4]="May";
month[5]="June";
month[6]="July";
month[7]="August";
month[8]="September";
month[9]="October";
month[10]="November";
month[11]="December";
}
return month;
}

function DayInMonth (month, year) {
var date = new Date(year, month, 1);
var days = [;
console.log('month', month, 'date.getMonth()', date.getMonth())
while (date.getMonth() === month) {
days.push(new Date(date));
date.setDate(date.getDate() + 1);

}
return days;
}

for (var day = 0; i < 7; i++)
for(var month = 0; i <= 11; i++)
(j=1; j<month; j++)

document.writeln(day + month + daysInmonth(j));