layer = "document.getElementById('L'+menu).style";
var timer;
function Show() {if(layer) {
	if(timer) clearTimeout(timer);
	for(menu=0; menu<Layer.length; menu++) {if(Layer[menu]) {eval(layer).visibility="hidden";}}
	for(i=0; i<arguments.length; i++) {menu=arguments[i]; eval(layer).visibility="visible";}
  } 
}
function replaceBlanks(s) {
var temp=""
for (var i=0;i<s.length;++i) {
  var c=s.charAt(i)
  if (c==" ") c="+";
  if (c!=" ") temp += c
  }
 return temp
}
function Hide() {timer=setTimeout("Show()", 500);}
if(!background) {background=bgcolour;} else {background="url("+background+")";} 
function LayerSpecs(Left,Top,Width) {
	this.left=Left;
	this.top=Top;
	this.width=Width;
	this.info="";
	for(i=3; i<arguments.length; i++) {
	this.name=arguments[i][0];
	this.num=arguments[i][1];
	this.linkStr=replaceBlanks(this.name);
      this.link=this.name.link("product.php?pagetitle="+this.linkStr+"");
this.info+="<tr><td width=\""+this.width+"\" onMouseOver=\"this.bgColor='"+hovercolour+"',Show(1,"+this.num+")\" onMouseOut=\"this.bgColor='"+bgcolour+"'\"><table border=\"0\" height=\""+mainbutheight+"\" cellpadding=\""+pad2+"\" cellspacing=\"0\" class=\"button\"><tr><td width=\""+this.width+"\" class=\"menu\">"+this.link+"<\/td><\/tr><\/table><\/td><\/tr>";
	}
}

