Optimize frame based site for searh engines

Hi everybody
I need some tips and hints on maximizing a frame based site for search engines. does anybody know how to do it ,and how to make crawler find the index page but ignore the frame pages, coz my frame pages contain only banner , footer , logo , menu. I amsur eyou guys know what I am talking about.