function dateformat(arr1){ var x=1; document.write(arr1[x-1]);}