/* one line img swap!! works in IE4+, NS4+ (including NS6) and possibly lower version of IE

Please remove this comment block in active sites - it's a waste of space except to developers.

 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/navigation/" + whichImg + "_f2." + ext + "';");
}
function imgInAct(whichImg,ext)
{
	eval("document.images['" + whichImg + "'].src = './images/navigation/" + whichImg + "." + ext + "';");
}

//   java.js
// controls images swapping, puts pages into frames, checks user input for html or escape characters
//
// Designed by Freetimers.com


function checkFrame(page)
{
	if(self.location == parent.location)
	{
		self.location = "./index.html?" + page;
	}
}

browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);

if ((browserName == "Netscape" && browserVer >= "3")||(browserName == "Microsoft Internet Explorer" && browserVer >= "4"))
{
	version = "OK";
}
else
{
	version = "OLD";
}
