added ajax functionality. silkysmooth