rem: folderItem.style.backgroundColor = "transparent"; 
add: Element.removeClassName(folderItem, Mail.selectedClassName); 
context: 	setCurrentFolder : function(folder) {		Mail.currentFolder = folder;		if (folder != null) {			Mail.currentFolderId = folder.id;			Mail.getFolderDetails();		}		else {			Mail.currentFolderId = null;		}				var folderPane = document.getElementById("portlet-mail-folder-pane");		var folderList = folderPane.getElementsByTagName("li");				for (var i = 0; i < folderList.length; i++) {			var folderItem = folderList[i];						if (folderItem.id == "folder_management") {				continue;			}			else if (Mail.currentFolderId == folderItem.folder.id) {				folderItem.style.backgroundColor = Mail.colorSelected;				Mail.currentFolder.li = folderItem;			}			else {				folderItem.style.backgroundColor = "transparent";			}		}		var fromTitleText = document.getElementById("portlet-mail-msgs-title-from");		var fromTitle = fromTitleText.getElementsByTagName("span");		var mainToolbar = document.getElementById("portlet-mail-main-toolbar");		var draftsToolbar = document.getElementById("portlet-mail-drafts-toolbar");		var emptyFolder = document.getElementById("portlet-mail-empty-folder");		if (folder == null) {			fromTitle[0].style.display = "none";			fromTitle[1].style.display = "none";			fromTitle[2].style.display = "";		}		else if (Mail.currentFolderId == Mail.SENT_NAME || Mail.currentFolderId == Mail.DRAFTS_NAME) {			fromTitle[0].style.display = "none";			fromTitle[1].style.display = "";			fromTitle[2].style.display = "none";		}		else {			fromTitle[0].style.display = "";			fromTitle[1].style.display = "none";			fromTitle[2].style.display = "none";		}				if (Mail.currentFolderId == Mail.DRAFTS_NAME) {			mainToolbar.style.display = "none";			draftsToolbar.style.display = "block";		}		else {			mainToolbar.style.display = "block";			draftsToolbar.style.display = "none";		}	},
meta: 10143	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10143/8e7d5a3d546d49d37d7604b66c2e60eed8620601/mail.js/buggy/portal-web/docroot/html/js/portlet/mail.js