var dates = new Array();