  bv = parseInt(navigator.appVersion);
  
  if (bv >= 3) ver = "n3"
  else ver = "n2"
	
  if (ver == "n3")
  {
    menuon = new Image();
	  menuoff = new Image();
						
		menuon.src = "images/menuon.gif";
		menuoff.src = "images/space.gif";		
	}	
	
	function itemon(index)
  {
    if (ver == "n3") 
    {
      imgOn = eval("menuon.src");
      document.images[index].src = imgOn;
    }
  }
	
	function itemoff(index)
  {
    if (ver == "n3") 
    {
      imgOff = eval("menuoff.src");
      document.images[index].src = imgOff;
    }
  }
	
  function showstatus(text) 
  {
    window.status= text;
  }
  
  function shdefst()
  {
    window.status= 'www.chessbookshop.com';
  }

  function ShowHide(objelement, obrazek) {

	        imgplus = new Image(10,10)
	        imgplus.src = "/images/plus.gif"

	        imgminus = new Image(10,10)
	        imgminus.src = "/images/minus.gif"

		if (objelement.style.display == "") {
			objelement.style.display = "none";
	                obrazek.src = imgplus.src;
			obrazek.alt = "[+]";
		} else {
			objelement.style.display = "";
	                obrazek.src = imgminus.src;
			obrazek.alt = "[-]";
		}
  }


