function hide_menus()
{
	var s = document.getElementsByName('submenu');
	for(var j=0; j<s.length; j++)
	{
		if (s[j].parentNode && s[j].parentNode.lastChild.style) s[j].parentNode.lastChild.style.visibility = "hidden";
	}
}
startList = function()
{
	// code for IE
	if(!document.body.currentStyle) return;
	var menu = document.getElementsByName('menu');
	var subs = document.getElementsByName('submenu');
	for(var i=0; i<subs.length; i++) {
		var li = subs[i].parentNode;
		if(li && li.lastChild.style) {
			li.onmouseout = function() {
				t = setTimeout("hide_menus();", 500);
			}
			li.onmouseover = function() {
				try {if (t) clearTimeout(t);}
				catch(e) { t = 0; }
				// make all others hidden
				hide_menus();
				this.lastChild.style.visibility = 'visible';
				this.style.visibility = 'visible';
				this.parentNode.style.visibility = 'visible';
			}
		}
	}
}
window.onload=startList;

function selectproduct()
{
var x = document.forms['productform'].search.selectedIndex;
if (x == 0) return(false);
else document.forms['productform'].submit();	

}