window.OnError = null;

var browserName = navigator.appName;
var version = "";
var browserVer = parseInt(navigator.appVersion);

function on(name) {
 if (version == "ok") {
  document[name].src = eval(name + "on.src");
 }
}

function off(name) {
 if (version == "ok")
  document[name].src = eval(name + ".src");
}

if ((browserName == "Netscape" && browserVer >=3) || 
(browserName == "Microsoft Internet Explorer" && browserVer >= 4)) 
{
	version = "ok";

	img1 = new Image(140,24);
	img1.src = "http://www.yu-nail.com/images/menu/m1.gif";
	img1on = new Image(140,24);
	img1on.src = "http://www.yu-nail.com/images/menu/m1a.gif";

	img2 = new Image(140,24);
	img2.src = "http://www.yu-nail.com/images/menu/m2.gif";
	img2on = new Image(140,24);
	img2on.src = "http://www.yu-nail.com/images/menu/m2a.gif";

	img3 = new Image(140,24);
	img3.src = "http://www.yu-nail.com/images/menu/m3.gif";
	img3on = new Image(140,24);
	img3on.src = "http://www.yu-nail.com/images/menu/m3a.gif";

	img4 = new Image(140,24);
	img4.src = "http://www.yu-nail.com/images/menu/m4.gif";
	img4on = new Image(140,24);
	img4on.src = "http://www.yu-nail.com/images/menu/m4a.gif";

	img5 = new Image(140,24);
	img5.src = "http://www.yu-nail.com/images/menu/m5.gif";
	img5on = new Image(140,24);
	img5on.src = "http://www.yu-nail.com/images/menu/m5a.gif";

	img6 = new Image(100,16);
	img6.src = "http://www.yu-nail.com/images/menu/home.gif";
	img6on = new Image(100,16);
	img6on.src = "http://www.yu-nail.com/images/menu/home-a.gif";

	img7 = new Image(100,16);
	img7.src = "http://www.yu-nail.com/images/menu/blog.gif";
	img7on = new Image(100,16);
	img7on.src = "http://www.yu-nail.com/images/menu/blog-a.gif";
}
