/* howards one line img swap!!

 USAGE:

<a href="blah.html" onMouseOver="imgAct('home','jpg');  onMouseOver="imgInAct('home','jpg');">
<img src='./images/home.jpg' name='home'>
</a>

this will swap "(root)/images/home.jpg" with "(root)/images/homeon.jpg"

	or

<a href="blah.html" onMouseOver="imgAct('home','gif');  onMouseOver="imgInAct('home','gif');">
<img src='./images/home.gif' name='home'>
</a>

this will swap "(root)/images/home.gif" with "(root)/images/homeon.gif"

hell - you can even

<a href="blah.html" onMouseOver="imgAct('home','gif');  onMouseOver="imgInAct('home','jpg');">
<img src='./images/home.gif' name='home'>
</a>

which will swap "(root)/images/home.gif" with "(root)/images/homeon.gif", then when you mouseout, it'll swap to home.jpg

with a bit of work you can get it to swap different images to the linking image. is cool ja?

	*/
function imgAct(whichImg,ext)
{
	eval("document.images['" + whichImg + "'].src = './images/menu/menu_" + whichImg + "." + ext + "';");
}
function imgInAct(whichImg,ext)
{
	eval("document.images['" + whichImg + "'].src = './images/menu/menu_on_" + whichImg + "." + ext + "';");
}
