var lastSlideObj = null;
var thisSlideObj = null;

function changeLeftItem(calledFrom){
	thisSlideObj = calledFrom.parentNode.parentNode;
	// do nothing if is manually expanded item
	if(thisSlideObj.id != "openItem"){
		if(thisSlideObj.id == "slideOpenItem"){
			thisSlideObj.id = "";
		}
		else{
			thisSlideObj.id = "slideOpenItem";
			if(lastSlideObj != null) lastSlideObj.id = "";
		}
		if(lastSlideObj != thisSlideObj){
			lastSlideObj = thisSlideObj;
		}
		else{
			lastSlideObj = null;
		}
	}
	else{
		if(lastSlideObj != null) lastSlideObj.id = "";
		lastSlideObj = null;
	}
	// remove focus from clicked link
	calledFrom.blur();
}