(2006•湛江)如图,AB是⊙O的直径,AE平分∠BAF,交⊙O于点E,过点E作直线ED⊥AF,交AF的延长线于点D,交AB的延长线于点C.
(1)求证:CD是⊙O的切线;
(2)若CB=2,CE=4,求AE的长.