﻿function switchItem(p){

	var ul = p.parentNode.getElementsByTagName("ul")[0];
	
	if(ul.style.display == "" || ul.style.display == "block"){
		ul.style.display = "none";
	}else{
		ul.style.display = "block";
	}
}

var selectedLi;
function changeStyle(li){	
	if(typeof selectedLi == "object"){
		selectedLi.style.backgroundColor = "#fff";
		selectedLi.style.fontWeight = "normal";
	}	
	li.style.backgroundColor = "#c9ffff";
	li.style.fontWeight = "bold";
	selectedLi = li;
}

function showCalendar(obj){
	
}
