var ie=document.all //is it IE?
var timeout = null;
function showSubMenu(el,noshow){
	if (ie){ //do anything only if working on IE, other browsers will use css rollover
	
		if ( !noshow )  {
			clearTimeout(timeout);
			var aReturn=document.getElementsByTagName("select");
			for ( i=0; i<aReturn.length; i++ ) { aReturn[i].style.visibility='hidden'; }
		}

		collection=el.getElementsByTagName('ul');
		if (collection[0]){
		  collection[0].style.display='block';
		}
	}
 return true;
}


function hideSubMenu(el,noshow){
	if (ie){ //do anything only if working on IE, other browsers will use css rollover
		if ( !noshow ) timeout = setTimeout(function(){showSelect();},300);
		collection=el.getElementsByTagName('ul');
		if (collection[0]){
		  collection[0].style.display='none';
		}	
	}
	return true;
}

function showSelect() {
	var aReturn=document.getElementsByTagName("select");
	for ( i=0; i<aReturn.length; i++ ) { aReturn[i].style.visibility='visible'; }
}
