rem: YAHOO.widget.Calendar2up.prototype.renderHeader = function() { if (! this.title) { this.title = ""; } if (! this.titleDiv) { this.titleDiv = document.createElement("DIV"); if (this.title == "") { this.titleDiv.style.display="none"; } }  this.titleDiv.className = YAHOO.widget.Calendar2up.CSS_2UPTITLE; this.titleDiv.innerHTML = this.title;  if (this.outerContainer.style.position == "absolute") { var linkClose = document.createElement("A"); linkClose.href = "javascript:void(null)"; YAHOO.util.Event.addListener(linkClose, "click", this.hide, this);  var imgClose = document.createElement("IMG"); imgClose.src = YAHOO.widget.Calendar_Core.IMG_ROOT + "us/my/bn/x_d.gif"; imgClose.className = YAHOO.widget.Calendar2up.CSS_2UPCLOSE;  linkClose.appendChild(imgClose);  this.linkClose = linkClose;  this.titleDiv.appendChild(linkClose); }  if (this.titleDiv != this.innerContainer.firstChild) { this.innerContainer.insertBefore(this.titleDiv, this.innerContainer.firstChild); } } 
add: YAHOO.widget.CalendarGroup.prototype.renderHeader = function() {}; 
context: YAHOO.widget.Calendar2up.prototype.renderHeader = function() {	if (! this.title) {		this.title = "";	}	if (! this.titleDiv)	{		this.titleDiv = document.createElement("DIV");		if (this.title == "")		{			this.titleDiv.style.display="none";		}	}	this.titleDiv.className = YAHOO.widget.Calendar2up.CSS_2UPTITLE;	this.titleDiv.innerHTML = this.title;	if (this.outerContainer.style.position == "absolute")	{		var linkClose = document.createElement("A");		linkClose.href = "javascript:void(null)";		YAHOO.util.Event.addListener(linkClose, "click", this.hide, this);		var imgClose = document.createElement("IMG");		imgClose.src = YAHOO.widget.Calendar_Core.IMG_ROOT + "us/my/bn/x_d.gif";		imgClose.className = YAHOO.widget.Calendar2up.CSS_2UPCLOSE;		linkClose.appendChild(imgClose);		this.linkClose = linkClose;		this.titleDiv.appendChild(linkClose);	}	if (this.titleDiv != this.innerContainer.firstChild) {		this.innerContainer.insertBefore(this.titleDiv, this.innerContainer.firstChild);	}}
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/calendar.js/buggy/www/resources/yui/calendar/calendar.js