function get_baddatesObject(index){var tempObj=baddates[index];if(tempObj.message==null){tempObj.message="Sorry we aren't delivering again until Friday 1st January due to the bank holiday";}return tempObj;}var baddates=new Array();baddates[0]=new Object();baddates[0].date=new Date(2009,11, 25);baddates[0].message="Sorry our next delivery date is Wednesday the 30th of December 2009 ";baddates[1]=new Object();baddates[1].date=new Date(2009,11, 26);baddates[1].message="Sorry our next delivery date is Wednesday the 30th of December 2009 ";baddates[2]=new Object();baddates[2].date=new Date(2009,11, 28);baddates[2].message="Sorry our next delivery date is Wednesday the 30th of December 2009";baddates[3]=new Object();baddates[3].date=new Date(2009,11, 29);baddates[3].message="Sorry our next delivery date is Wednesday the 30th of December 2009";baddates[4]=new Object();baddates[4].date=new Date(2010,0, 1);baddates[4].message="Sorry our next delivery date is Tuesday the 5th of January 2010";baddates[5]=new Object();baddates[5].date=new Date(2010,0, 2);baddates[5].message="Sorry our next delivery date is Tuesday the 5th of January 2010";baddates[6]=new Object();baddates[6].date=new Date(2010,0, 4);baddates[6].message="Sorry our next delivery date is Tuesday the 5th of January 2010";baddates[7]=new Object();baddates[7].date=new Date(2010,3, 2);baddates[7].message="Sorry we aren't delivering again until Wednesday 7th April due to the bank holiday";baddates[8]=new Object();baddates[8].date=new Date(2010,3, 3);baddates[8].message="Sorry we aren't delivering again until Wednesday 7th April due to the bank holiday";baddates[9]=new Object();baddates[9].date=new Date(2010,3, 5);baddates[9].message="Sorry we aren't delivering again until Wednesday 7th April due to the bank holiday";baddates[10]=new Object();baddates[10].date=new Date(2010,3, 6);baddates[10].message="Sorry we aren't delivering again until Wednesday 7th April due to the bank holiday";baddates[11]=new Object();baddates[11].date=new Date(2010,4, 3);baddates[11].message="Sorry we aren't delivering again until Wednesday 5th May due to the bank holiday";baddates[12]=new Object();baddates[12].date=new Date(2010,4, 4);baddates[12].message="Sorry we aren't delivering again until Wednesday 5th May due to the bank holiday";baddates[13]=new Object();baddates[13].date=new Date(2010,4, 31);baddates[13].message="Sorry we aren't delivering again until Wednesday 2nd June due to the bank holiday";baddates[14]=new Object();baddates[14].date=new Date(2010,5, 1);baddates[14].message="Sorry we aren't delivering again until Wednesday 2nd June due to the bank holiday";baddates[15]=new Object();baddates[15].date=new Date(2010,7, 30);baddates[15].message="Sorry we aren't delivering again until Wednesday 1st September due to the bank holiday";baddates[16]=new Object();baddates[16].date=new Date(2010,7, 31);baddates[16].message="Sorry we aren't delivering again until Wednesday 1st September due to the bank holiday";baddates[17]=new Object();baddates[17].date=new Date(2010,11, 25);baddates[18]=new Object();baddates[18].date=new Date(2010,11, 27);baddates[19]=new Object();baddates[19].date=new Date(2010,11, 28);baddates[20]=new Object();baddates[20].date=new Date(2010,11, 29);baddates[21]=new Object();baddates[21].date=new Date(2010,11, 30);