
function showsubmenu(id){
	
	submenu=document.getElementById('s'+id);
	
	for(i=1;i<=6;i++){
		
	if(i==id){
			
	submenu.style.display="block";
		
	} else{
			
	document.getElementById('s'+i).style.display="none";
		
	}}}
	
function hidesubmenu(id){
	
	submenu=document.getElementById('s'+id);
	
	for(i=1;i<=6;i++){
		
	if(i==id){
			
	submenu.style.display="none";
		
	} else{
			
	document.getElementById('s'+i).style.display="none";
		
	}}}


//form tags to omit in NS6+:
var omitformtags=["input", "textarea", "select"]

omitformtags=omitformtags.join("|")

function disableselect(e){
if (omitformtags.indexOf(e.target.tagName.toLowerCase())==-1)
return false
}

function reEnable(){
return true
}

if (typeof document.onselectstart!="undefined")
document.onselectstart=new Function ("return false")
else{
document.onmousedown=disableselect
document.onmouseup=reEnable
}
