function OpenBrWindow(theURL,winName,features){ 
	//v2.0
	var new_window = window.open(theURL,winName,features);
	new_window.focus();
}
function searchSubmit(sform){
	//disable form after submit so that it can't be submitted multiple times
	sform.onsubmit='javascript:void(0);';
	sform.btnGO.onclick='javascript:void(0);';
	var saction = sform.action;
	
	if(saction.indexOf('?') != -1){saction	= saction + '&' ;}
	else{saction	= saction + '?' ;}					
	sform.action = saction + 'st=' + escape(sform.SearchTerm.value);
	sform.submit();
}            
function moreButtonClicked(objectID){
    var object = document.getElementById('menu' + objectID);
    object.style.display = 'block';
    object = document.getElementById('more' + objectID);
    object.style.display = 'none';

    for (x = 1; x <= 100; x++){
        if (x.toString() != objectID){
            var obj2 = document.getElementById('menu' + x.toString());

            if (obj2 != null){
                obj2.style.display = 'none';
                obj2 = document.getElementById('more' + x.toString());
                obj2.style.display = 'block';
                }
            }
        }
    return;
}     
