function buildCal(m, y, cM, cH, cDW, cD, brdr){
var mn=['January','February','March','April','May','June','July','August','September','October','November','December'];
var dim=[31,0,31,30,31,30,31,31,30,31,30,31];

var oD = new Date(y, m-1, 1); //DD replaced line to fix date bug when current day is 31st
oD.od=oD.getDay()+1; //DD replaced line to fix date bug when current day is 31st

var todaydate=new Date() //DD added
var scanfortoday=(y==todaydate.getFullYear() && m==todaydate.getMonth()+1)? todaydate.getDate() : 0 //DD added

dim[1]=(((oD.getFullYear()%100!=0)&&(oD.getFullYear()%4==0))||(oD.getFullYear()%400==0))?29:28;
var t='<div class="'+cM+'">';
	
t+='<table class="'+cM+'" cols="7" cellpadding="0" border="'+brdr+'" cellspacing="0"><tr align="center">';
t+='<td colspan="7" align="center" class="'+cH+'">'+mn[m-1]+' - '+y+'</td></tr><tr align="center">';
for(s=0;s<7;s++)t+='<td class="'+cDW+'">'+"SMTWTFS".substr(s,1)+'</td>';
t+='</tr><tr align="center">';
for(i=1;i<=42;i++){
var x=((i-oD.od>=0)&&(i-oD.od<dim[m-1]))? i-oD.od+1 : '&nbsp;';
var y=null;

//if (x==scanfortoday) //DD added
//x='<span id="today">'+x+'</span>' //DD added

//-------------------------------------------------------------------------------------------
// JANUARY
//-------------------------------------------------------------------------------------------


if((m==1)&&(x==3))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Black Belt Kokoro Training 9am - 3pm\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';
}

else if((m==1)&&(x==4))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==1)&&(x==11))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group B\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==1)&&(x==16))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Ik-Kyu and Jr. Black Belt class 2-4pm\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}


else if((m==1)&&(x==18))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==1)&&(x==23))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'San-Kyu and Ni-Kyu Class 2-4pm\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==1)&&(x==25))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

//-------------------------------------------------------------------------------------------
// FEBRUARY
//-------------------------------------------------------------------------------------------
else if((m==2)&&(x==1))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==2)&&(x==8))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group B\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==2)&&(x==15))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==2)&&(x==22))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==2)&&(x==13))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kids Night Out 5-9pm\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

//-------------------------------------------------------------------------------------------
// MARCH
//-------------------------------------------------------------------------------------------

else if((m==3)&&(x==1))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==3)&&(x==8))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group B\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==3)&&(x==15))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==3)&&(x==22))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==3)&&(x==27))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Yudansha Kai Class 9am\ SHIAI 11am\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==3)&&(x==29))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
//---------------------------------------------------------------------------------------------------
//APRIL 
//---------------------------------------------------------------------------------------------------
else if((m==4)&&(x==5))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group B\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==4)&&(x==10))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'NAGA Tournament for BJJ\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==4)&&(x==11))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'NAGA Tournament for BJ\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==4)&&(x==12))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==4)&&(x==17))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kids Night Out 5-9pm\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==4)&&(x==18))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Karate Tournament\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==4)&&(x==19))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==4)&&(x==26))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}


//-----------------------------------------------------------------------------------------------------
//  MAY
//-----------------------------------------------------------------------------------------------------

else if((m==5)&&(x==3))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group B\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==5)&&(x==10))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==5)&&(x==17))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==5)&&(x==22))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'BJJ Seminar Featuring Dr. Mario Roberto\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==5)&&(x==24))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==5)&&(x==28))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holiday\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==5)&&(x==29))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holiday\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==5)&&(x==31))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Dojo Closed\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

//-----------------------------------------------------------------------------------------------------
//  JUNE
//-----------------------------------------------------------------------------------------------------

else if((m==6)&&(x==5))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kids Night Out\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}


else if((m==6)&&(x==7))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group B\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==6)&&(x==11))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Gasshuku - Overnight Camp 1\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
else if((m==6)&&(x==12))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Gasshuku - Overnight Camp 1\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
else if((m==6)&&(x==13))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Gasshuku - Overnight Camp 1\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==6)&&(x==14))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==6)&&(x==21))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week One and Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
else if((m==6)&&(x==22))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week One\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
else if((m==6)&&(x==23))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week One\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
else if((m==6)&&(x==24))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week One\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
else if((m==6)&&(x==25))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week One\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==6)&&(x==28))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

//-----------------------------------------------------------------------------------------------------
//  JULY
//-----------------------------------------------------------------------------------------------------

else if((m==7)&&(x==5))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group B\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}


else if((m==7)&&(x==10))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Dojo Family Picnic at Peace Valley Park\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==7)&&(x==12))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week Two and Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
else if((m==7)&&(x==13))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week Two\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
else if((m==7)&&(x==14))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week Two\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
else if((m==7)&&(x==15))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week Two\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
else if((m==7)&&(x==16))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week Two\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==7)&&(x==19))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==7)&&(x==26))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

//-----------------------------------------------------------------------------------------------------
//  AUGUST
//-----------------------------------------------------------------------------------------------------

else if((m==8)&&(x==2))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group B\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}


else if((m==8)&&(x==9))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week Three and Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==8)&&(x==10))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week Three\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==8)&&(x==11))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week Three\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==8)&&(x==12))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week Three\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==8)&&(x==13))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Day Camp Week Three\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==8)&&(x==16))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==8)&&(x==20))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Gasshuku - Overnight Camp 2\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==8)&&(x==21))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Gasshuku - Overnight Camp 2, CLASSES CANCELLED\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}



else if((m==8)&&(x==22))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Gasshuku - Overnight Camp Two\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==8)&&(x==23))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==8)&&(x==28))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kids Night Out\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}



//-----------------------------------------------------------------------------------------------------
//  SEPTEMBER
//-----------------------------------------------------------------------------------------------------
else if((m==9)&&(x==3))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holiday\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==9)&&(x==4))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holiday\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}


else if((m==9)&&(x==6))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Dojo Closed\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==9)&&(x==13))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==9)&&(x==20))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==9)&&(x==27))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
//-----------------------------------------------------------------------------------------------------
//  OCTOBER
//-----------------------------------------------------------------------------------------------------
else if((m==10)&&(x==4))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group B\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==10)&&(x==9))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'SHIAI - Simmons Elementary School\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==10)&&(x==11))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==10)&&(x==18))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==10)&&(x==25))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==10)&&(x==30))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kids Night Out\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

//-----------------------------------------------------------------------------------------------------
//  NOVEMBER
//-----------------------------------------------------------------------------------------------------
else if((m==11)&&(x==1))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group B\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==11)&&(x==8))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==11)&&(x==15))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==11)&&(x==22))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==11)&&(x==25))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for Thanksgiving\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==11)&&(x==26))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for Thanksgiving\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==11)&&(x==27))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for Thanksgiving\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==11)&&(x==29))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group B\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}
//-----------------------------------------------------------------------------------------------------
//  DECEMBER
//-----------------------------------------------------------------------------------------------------


else if((m==12)&&(x==6))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group C\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==12)&&(x==13))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group D\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==12)&&(x==20))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Kobudo Class Group A\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==12)&&(x==24))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holidays\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==12)&&(x==25))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holidays\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==12)&&(x==26))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holidays\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==12)&&(x==27))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holidays\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==12)&&(x==28))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holidays\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==12)&&(x==29))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holidays\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==12)&&(x==30))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holidays\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else if((m==12)&&(x==31))
{

	t+='<td class="'+cD+'"><a onmouseover="popup(\'Closed for holidays\')" onmouseout="kill()" title="" onfocus="this.blur()" href="#">'+x+'</a></td>';

}

else
{
	t+='<td class="'+cD+'">'+x+'</td>';
}
if(((i)%7==0)&&(i<36))t+='</tr><tr align="center">';

}
t+='</tr></table></div>';
return t;
}

