"); bWeekend = false; //Loop to print the days of the week for (i=0; i<7; i++) { sPrint = dayarray[i]; //If this is today, bold it if (i == iToday) { sPrint = "" + sPrint + ""; //Is this a weekend? if ((i == 0) || (i == 6)) bWeekend = true; } Response.Write(sPrint + ""); } if (bWeekend == true) sPrint = "Have a nice weekend!"; else sPrint = "Have a nice day!"; Response.Write(sPrint);