function get_baddatesObject(index){var tempObj=baddates[index];if (tempObj.message==null){tempObj.message="Sorry our next available delivery date is Friday the 28th of December";}return tempObj;}var baddates=new Array();baddates[0]=new Object();baddates[0].date=new Date(2011,11, 25);baddates[0].message="Sorry our next available delivery date is Thursday the 29th of December";baddates[1]=new Object();baddates[1].date=new Date(2011,11, 26);baddates[1].message="Sorry our next available delivery date is Thursday the 29th of December";baddates[2]=new Object();baddates[2].date=new Date(2011,11, 27);baddates[2].message="Sorry our next available delivery date is Thursday the 29th of December";baddates[3]=new Object();baddates[3].date=new Date(2011,11, 28);baddates[3].message="Sorry our next available delivery date is Thursday the 29th of December";baddates[4]=new Object();baddates[4].date=new Date(2012,0, 2);baddates[4].message="Sorry our next available delivery date is Wednesday the 4th of January";baddates[5]=new Object();baddates[5].date=new Date(2012,0, 3);baddates[5].message="Sorry our next available delivery date is Wednesday the 4th of January";baddates[6]=new Object();baddates[6].date=new Date(2012,3, 6);baddates[6].message="Sorry due to the Easter Bank Holiday our next available delivery date is Wednesday the 11th of April";baddates[7]=new Object();baddates[7].date=new Date(2012,3, 7);baddates[7].message="Sorry due to the Easter Bank Holiday our next available delivery date is Wednesday the 11th of April";baddates[8]=new Object();baddates[8].date=new Date(2012,3, 9);baddates[8].message="Sorry due to the Easter Bank Holiday our next available delivery date is Wednesday the 11th of April";baddates[9]=new Object();baddates[9].date=new Date(2012,3, 10);baddates[9].message="Sorry due to the Easter Bank Holiday our next available delivery date is Wednesday the 11th of April";baddates[10]=new Object();baddates[10].date=new Date(2012,4, 7);baddates[10].message="Sorry due to the Bank Holiday our next available delivery date is Wednesday the 9th of May";baddates[11]=new Object();baddates[11].date=new Date(2012,4, 8);baddates[11].message="Sorry due to the Bank Holiday our next available delivery date is Wednesday the 9th of May";baddates[12]=new Object();baddates[12].date=new Date(2012,5, 4);baddates[12].message="Sorry due to the Bank Holiday our next available delivery date is Thursday the 7th of June";baddates[13]=new Object();baddates[13].date=new Date(2012,5, 5);baddates[13].message="Sorry due to the Queen's Diamond Jubilee our next available delivery date is Thursday the 7th of June";baddates[14]=new Object();baddates[14].date=new Date(2012,5, 6);baddates[14].message="Sorry due to the Queen's Diamond Jubilee our next available delivery date is Thursday the 7th of June";baddates[15]=new Object();baddates[15].date=new Date(2012,7, 27);baddates[15].message="Sorry due to the Summer Bank Holiday our next available delivery date is Wednesday the 29th of August";baddates[16]=new Object();baddates[16].date=new Date(2012,7, 28);baddates[16].message="Sorry due to the Summer Bank Holiday our next available delivery date is Wednesday the 29th of August";baddates[17]=new Object();baddates[17].date=new Date(2012,11, 24);baddates[18]=new Object();baddates[18].date=new Date(2012,11, 25);baddates[19]=new Object();baddates[19].date=new Date(2012,11, 26);baddates[20]=new Object();baddates[20].date=new Date(2012,11, 27);baddates[21]=new Object();baddates[21].date=new Date(2012,11, 31);baddates[21].message="Sorry our next available delivery date is Friday the 3rd of January";baddates[22]=new Object();baddates[22].date=new Date(2013,0, 1);baddates[22].message="Sorry our next available delivery date is Friday the 3rd of January";baddates[23]=new Object();baddates[23].date=new Date(2013,0, 2);baddates[23].message="Sorry our next available delivery date is Thursday the 3rd of January";
