function turnBlue(e) {
	e.style.background = '#DEEFF1';
	e.style.cursor = 'pointer';
}

function turnGrey(e) {
	e.style.background = '#F2F2F2';
}

// pass in the 'created_at' string returned from twitter //
// stamp arrives formatted as Tue Apr 07 22:52:51 +0000 2009 //
function parseTwitterDate($stamp)
{		
// convert to local string and remove seconds and year //		
	var date = new Date(Date.parse($stamp)).toLocaleString().substr(0, 16);
// get the two digit hour //
	var hour = date.substr(-5, 2);
// convert to AM or PM //
	var ampm = hour<12 ? 'am' : 'pm';
	if (hour>12) hour-= 12;
	if (hour==0) hour = 12;
// Strip the leading zero
	//if (hour.substr(0,1) == 0) hour = hour.substr(1,2);
// return the formatted string //
	//return date.substr(0, 11)+' ¥ ' + hour + date.substr(13) + ampm;
	return hour + date.substr(13) + ampm;
}
