//jsCalendarDropdown.js//NEW 01Dec2006 *DS*//this is an "extension" to the code in "jsCalendar.js" -- and it is IGNORED if the following flag is not true...window.bDropdownFlag=true;		//you may comment this line out to revert to the OLD way.//IMPORTANT: *nothing* will happen unless the following CHANGE is made (to the script inside "jsCalendar.js" ).../*Calendar.prototype.show = function() {...	this.wwriteA("<FONT FACE='" + fontface + "' SIZE=2><B>");	this.wwriteA(this.gMonthName + " " + this.gYear);	this.wwriteA("</B><BR>");... >> *MUST* BE CHANGED TO >>Calendar.prototype.show = function() {...	this.wwriteA("<FONT FACE='" + fontface + "' SIZE=2><B>");				if(!window.bDropdownFlag){	this.wwriteA(this.gMonthName + " " + this.gYear);	this.wwriteA("</B><BR>");				} else {this.wwriteA(this.gMonthName + "</B>&nbsp; " + getDropdownCode(this.gYear) + "<BR>")};		...*/function getDropdownCode(intCurrentYear){	if(!intCurrentYear)intCurrentYear=new Date().getFullYear();	var intStartYear=(1*intCurrentYear)-30;	var intEndYear=(1*intCurrentYear)+30;	rv='<select style="font-weight:bold; font-family:Verdana; font-size:85%;" name="cboYear" id="cboYear" onchange="self.opener.handleDropdownChange(this)">';	for(var intIndex=intStartYear;intIndex<=intEndYear;intIndex++)	{		rv+="<option ";		if(intIndex==intCurrentYear)rv+="selected ";		rv+="value='" + intIndex + "'>" + intIndex + "</option>";	};	rv+="</select>";		setTimeout("focusDropdown()",50);	return rv;};function focusDropdown(){	var o=gCal.gWinCal;	if(!o || !o.document || !o.document.getElementById)return false;	o=o.document.getElementById("cboYear");	if(o)o.focus();};function handleDropdownChange(o){	if(!o || !self.Build)return false;	if(!o.type || o.type!="select-one")return false;	var intNewYear=o[o.selectedIndex].value;	Build(gCal.gReturnItem,gCal.gMonth,intNewYear,gCal.gFormat);};
