I have heard that getting javascript out of your pages and putting it on a separate page is good for SEO. The following code is before my content text on my homepage. Is this type of code something I should put in a separate page aswell? <th width="113" scope="col"><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image15','','images/home-50grey-dark.gif',1)"><img src="images/home-50grey.gif" name="Image15" width="113" height="28" border="0" id="Image15" /></a></th> <th width="1" scope="col"><img src="images/topban_11.gif" width="1" height="28" /></th> <th width="175" scope="col"><a href="properties.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image16','','images/topban_12-dark.gif',1)"><img src="images/topban_12.gif" name="Image16" width="175" height="28" border="0" id="Image16" /></a></th> <th width="1" scope="col"><img src="images/topban_11.gif" width="1" height="28" /></th> <th width="174" scope="col"><a href="about.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image17','','images/topban_14-dark.gif',1)"><img src="images/topban_14.gif" name="Image17" width="174" height="28" border="0" id="Image17" /></a></th> <th width="1" scope="col"><img src="images/topban_11.gif" width="1" height="28" /></th> <th width="173" scope="col"><a href="contact.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image18','','images/topban_16-dark.gif',1)"><img src="images/topban_16.gif" name="Image18" width="173" height="28" border="0" id="Image18" /></a></th> <th width="1" scope="col"><img src="images/topban_11.gif" width="1" height="28" /></th> <th scope="col"><a href="links.htm" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image19','','images/links-50grey-dark.gif',1)"><img src="images/links-50grey.gif" name="Image19" width="111" height="28" border="0" id="Image19" /></a></th>
Yeah - the general rule is if you don't like looking at it (not counting whitespace characters, of course), neither do the spiders. But then again, it looks like you need some CSS action, not javascript.
You might even try a CSS menu rollover instead of javascript, that would be quite a bit cleaner looking than javascript.