function showhide(id , option, values){
	if($(id).style.display == null || $(id).style.display == "none"){
		if(option == 'update'){
			resultUpdater( id, "include/getdatescalendar.jsp?"+values );
		}
		//$(id).style.display = "block";
		$(id).setStyle({"display":"block"});
	}else{
		//$(id).style.display = "none";
		//$(id).setStyle({"display":"none"});
		if(option == 'update'){
			resultUpdater( id, "include/getdatescalendar.jsp?"+values );
		}
	}
}

function resultUpdater(id, url){
	new Ajax.Updater(id, url, { method: 'get' });	
}