rem: YAHOO.widget.Calendar_Core.prototype.setupConfig = function() { /** * Container for the CSS style configuration variables. */ this.Config = new Object();  this.Config.Style = {  CSS_ROW_HEADER: "calrowhead", CSS_ROW_FOOTER: "calrowfoot", CSS_CELL : "calcell", CSS_CELL_SELECTED : "selected", CSS_CELL_RESTRICTED : "restricted", CSS_CELL_TODAY : "today", CSS_CELL_OOM : "oom", CSS_CELL_OOB : "previous", CSS_HEADER : "calheader", CSS_HEADER_TEXT : "calhead", CSS_WEEKDAY_CELL : "calweekdaycell", CSS_WEEKDAY_ROW : "calweekdayrow", CSS_FOOTER : "calfoot", CSS_CALENDAR : "yui-calendar", CSS_CONTAINER : "yui-calcontainer", CSS_2UPWRAPPER : "yui-cal2upwrapper", CSS_NAV_LEFT : "calnavleft", CSS_NAV_RIGHT : "calnavright", CSS_CELL_TOP : "calcelltop", CSS_CELL_LEFT : "calcellleft", CSS_CELL_RIGHT : "calcellright", CSS_CELL_BOTTOM : "calcellbottom", CSS_CELL_HOVER : "calcellhover", CSS_CELL_HIGHLIGHT1 : "highlight1", CSS_CELL_HIGHLIGHT2 : "highlight2", CSS_CELL_HIGHLIGHT3 : "highlight3", CSS_CELL_HIGHLIGHT4 : "highlight4" };  this.Style = this.Config.Style;  this.Config.Locale = {  MONTHS_SHORT : ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], MONTHS_LONG : ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], WEEKDAYS_1CHAR : ["S", "M", "T", "W", "T", "F", "S"], WEEKDAYS_SHORT : ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], WEEKDAYS_MEDIUM : ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], WEEKDAYS_LONG : ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], DATE_DELIMITER : ",", DATE_FIELD_DELIMITER : "/", DATE_RANGE_DELIMITER : "-", MY_MONTH_POSITION : 1, MY_YEAR_POSITION : 2, MD_MONTH_POSITION : 1, MD_DAY_POSITION : 2, MDY_MONTH_POSITION : 1, MDY_DAY_POSITION : 2, MDY_YEAR_POSITION : 3 };  this.Locale = this.Config.Locale;  this.Config.Options = {  MULTI_SELECT : false, SHOW_WEEKDAYS : true, START_WEEKDAY : 0, SHOW_WEEK_HEADER : false, SHOW_WEEK_FOOTER : false, HIDE_BLANK_WEEKS : false, NAV_ARROW_LEFT : YAHOO.widget.Calendar_Core.IMG_ROOT + "us/tr/callt.gif", NAV_ARROW_RIGHT : YAHOO.widget.Calendar_Core.IMG_ROOT + "us/tr/calrt.gif" };  this.Options = this.Config.Options;  this.customConfig();  if (! this.Options.LOCALE_MONTHS) { this.Options.LOCALE_MONTHS=this.Locale.MONTHS_LONG; } if (! this.Options.LOCALE_WEEKDAYS) { this.Options.LOCALE_WEEKDAYS=this.Locale.WEEKDAYS_SHORT; }   if (this.Options.START_WEEKDAY > 0) { for (var w=0;w<this.Options.START_WEEKDAY;++w) { this.Locale.WEEKDAYS_SHORT.push(this.Locale.WEEKDAYS_SHORT.shift()); this.Locale.WEEKDAYS_MEDIUM.push(this.Locale.WEEKDAYS_MEDIUM.shift()); this.Locale.WEEKDAYS_LONG.push(this.Locale.WEEKDAYS_LONG.shift()); } } 
add: YAHOO.widget.CalendarGroup.prototype.setupConfig = function() { /** * The number of pages to include in the CalendarGroup. This value can only be set once, in the CalendarGroup's constructor arguments. * @config pages * @type Number * @default 2 */ this.cfg.addProperty("pages", { value:2, validator:this.cfg.checkNumber, handler:this.configPages } );  /** * The month/year representing the current visible Calendar date (mm/yyyy) * @config pagedate * @type String * @default today's date */ this.cfg.addProperty("pagedate", { value:new Date(), handler:this.configPageDate } );  /** * The date or range of dates representing the current Calendar selection * @config selected * @type String * @default [] */ this.cfg.addProperty("selected", { value:[], handler:this.delegateConfig } );  /** * The title to display above the CalendarGroup's month header * @config title * @type String * @default "" */ this.cfg.addProperty("title", { value:"", handler:this.configTitle } );  /** * Whether or not a close button should be displayed for this CalendarGroup * @config close * @type Boolean * @default false */ this.cfg.addProperty("close", { value:false, handler:this.configClose } );  /** * Whether or not an iframe shim should be placed under the Calendar to prevent select boxes from bleeding through in Internet Explorer 6 and below. * @config iframe * @type Boolean * @default true */ this.cfg.addProperty("iframe", { value:true, handler:this.delegateConfig, validator:this.cfg.checkBoolean } );  /** * The minimum selectable date in the current Calendar (mm/dd/yyyy) * @config mindate * @type String * @default null */ this.cfg.addProperty("mindate", { value:null, handler:this.delegateConfig } );  /** * The maximum selectable date in the current Calendar (mm/dd/yyyy) * @config maxdate * @type String * @default null */ this.cfg.addProperty("maxdate", { value:null, handler:this.delegateConfig  } );    /** * True if the Calendar should allow multiple selections. False by default. * @config MULTI_SELECT * @type Boolean * @default false */ this.cfg.addProperty("MULTI_SELECT",	{ value:false, handler:this.delegateConfig, validator:this.cfg.checkBoolean } );  /** * The weekday the week begins on. Default is 0 (Sunday). * @config START_WEEKDAY * @type number * @default 0 */ this.cfg.addProperty("START_WEEKDAY",	{ value:0, handler:this.delegateConfig, validator:this.cfg.checkNumber  } );  /** * True if the Calendar should show weekday labels. True by default. * @config SHOW_WEEKDAYS * @type Boolean * @default true */ this.cfg.addProperty("SHOW_WEEKDAYS",	{ value:true, handler:this.delegateConfig, validator:this.cfg.checkBoolean } );  /** * True if the Calendar should show week row headers. False by default. * @config SHOW_WEEK_HEADER * @type Boolean * @default false */ this.cfg.addProperty("SHOW_WEEK_HEADER",{ value:false, handler:this.delegateConfig, validator:this.cfg.checkBoolean } );  /** * True if the Calendar should show week row footers. False by default. * @config SHOW_WEEK_FOOTER * @type Boolean * @default false */ this.cfg.addProperty("SHOW_WEEK_FOOTER",{ value:false, handler:this.delegateConfig, validator:this.cfg.checkBoolean } );  /** * True if the Calendar should suppress weeks that are not a part of the current month. False by default. * @config HIDE_BLANK_WEEKS * @type Boolean * @default false */ this.cfg.addProperty("HIDE_BLANK_WEEKS",{ value:false, handler:this.delegateConfig, validator:this.cfg.checkBoolean } );  /** * The image that should be used for the left navigation arrow. * @config NAV_ARROW_LEFT * @type String * @default YAHOO.widget.Calendar.IMG_ROOT + "us/tr/callt.gif" */ this.cfg.addProperty("NAV_ARROW_LEFT",	{ value:YAHOO.widget.Calendar.IMG_ROOT + "us/tr/callt.gif", handler:this.delegateConfig } );  /** * The image that should be used for the left navigation arrow. * @config NAV_ARROW_RIGHT * @type String * @default YAHOO.widget.Calendar.IMG_ROOT + "us/tr/calrt.gif" */ this.cfg.addProperty("NAV_ARROW_RIGHT",	{ value:YAHOO.widget.Calendar.IMG_ROOT + "us/tr/calrt.gif", handler:this.delegateConfig } );    /** * The short month labels for the current locale. * @config MONTHS_SHORT * @type String[] * @default ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"] */ this.cfg.addProperty("MONTHS_SHORT",	{ value:["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], handler:this.delegateConfig } );  /** * The long month labels for the current locale. * @config MONTHS_LONG * @type String[] * @default ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" */ this.cfg.addProperty("MONTHS_LONG",		{ value:["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], handler:this.delegateConfig } );  /** * The 1-character weekday labels for the current locale. * @config WEEKDAYS_1CHAR * @type String[] * @default ["S", "M", "T", "W", "T", "F", "S"] */ this.cfg.addProperty("WEEKDAYS_1CHAR",	{ value:["S", "M", "T", "W", "T", "F", "S"], handler:this.delegateConfig } );  /** * The short weekday labels for the current locale. * @config WEEKDAYS_SHORT * @type String[] * @default ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"] */ this.cfg.addProperty("WEEKDAYS_SHORT",	{ value:["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], handler:this.delegateConfig } );  /** * The medium weekday labels for the current locale. * @config WEEKDAYS_MEDIUM * @type String[] * @default ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"] */ this.cfg.addProperty("WEEKDAYS_MEDIUM",	{ value:["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], handler:this.delegateConfig } );  /** * The long weekday labels for the current locale. * @config WEEKDAYS_LONG * @type String[] * @default ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] */ this.cfg.addProperty("WEEKDAYS_LONG",	{ value:["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], handler:this.delegateConfig } );  /** * The setting that determines which length of month labels should be used. Possible values are "short" and "long". * @config LOCALE_MONTHS * @type String * @default "long" */ this.cfg.addProperty("LOCALE_MONTHS",	{ value:"long", handler:this.delegateConfig } );  /** * The setting that determines which length of weekday labels should be used. Possible values are "1char", "short", "medium", and "long". * @config LOCALE_WEEKDAYS * @type String * @default "short" */ this.cfg.addProperty("LOCALE_WEEKDAYS",	{ value:"short", handler:this.delegateConfig } );  /** * The value used to delimit individual dates in a date string passed to various Calendar functions. * @config DATE_DELIMITER * @type String * @default "," */ this.cfg.addProperty("DATE_DELIMITER",		{ value:",", handler:this.delegateConfig } );  /** * The value used to delimit date fields in a date string passed to various Calendar functions. * @config DATE_FIELD_DELIMITER * @type String * @default "/" */ this.cfg.addProperty("DATE_FIELD_DELIMITER",{ value:"/", handler:this.delegateConfig } );  /** * The value used to delimit date ranges in a date string passed to various Calendar functions. * @config DATE_RANGE_DELIMITER * @type String * @default "-" */ this.cfg.addProperty("DATE_RANGE_DELIMITER",{ value:"-", handler:this.delegateConfig } );  /** * The position of the month in a month/year date string * @config MY_MONTH_POSITION * @type Number * @default 1 */ this.cfg.addProperty("MY_MONTH_POSITION",	{ value:1, handler:this.delegateConfig, validator:this.cfg.checkNumber } );  /** * The position of the year in a month/year date string * @config MY_YEAR_POSITION * @type Number * @default 2 */ this.cfg.addProperty("MY_YEAR_POSITION",	{ value:2, handler:this.delegateConfig, validator:this.cfg.checkNumber } );  /** * The position of the month in a month/day date string * @config MD_MONTH_POSITION * @type Number * @default 1 */ this.cfg.addProperty("MD_MONTH_POSITION",	{ value:1, handler:this.delegateConfig, validator:this.cfg.checkNumber } );  /** * The position of the day in a month/year date string * @config MD_DAY_POSITION * @type Number * @default 2 */ this.cfg.addProperty("MD_DAY_POSITION",		{ value:2, handler:this.delegateConfig, validator:this.cfg.checkNumber } );  /** * The position of the month in a month/day/year date string * @config MDY_MONTH_POSITION * @type Number * @default 1 */ this.cfg.addProperty("MDY_MONTH_POSITION",	{ value:1, handler:this.delegateConfig, validator:this.cfg.checkNumber } );  /** * The position of the day in a month/day/year date string * @config MDY_DAY_POSITION * @type Number * @default 2 */ this.cfg.addProperty("MDY_DAY_POSITION",	{ value:2, handler:this.delegateConfig, validator:this.cfg.checkNumber } );  /** * The position of the year in a month/day/year date string * @config MDY_YEAR_POSITION * @type Number * @default 3 */ this.cfg.addProperty("MDY_YEAR_POSITION",	{ value:3, handler:this.delegateConfig, validator:this.cfg.checkNumber } );  
context: YAHOO.widget.Calendar_Core.prototype.setupConfig = function() {	/**	* Container for the CSS style configuration variables.	*/	this.Config = new Object();		this.Config.Style = {		// Style variables		CSS_ROW_HEADER: "calrowhead",		CSS_ROW_FOOTER: "calrowfoot",		CSS_CELL : "calcell",		CSS_CELL_SELECTED : "selected",		CSS_CELL_RESTRICTED : "restricted",		CSS_CELL_TODAY : "today",		CSS_CELL_OOM : "oom",		CSS_CELL_OOB : "previous",		CSS_HEADER : "calheader",		CSS_HEADER_TEXT : "calhead",		CSS_WEEKDAY_CELL : "calweekdaycell",		CSS_WEEKDAY_ROW : "calweekdayrow",		CSS_FOOTER : "calfoot",		CSS_CALENDAR : "yui-calendar",		CSS_CONTAINER : "yui-calcontainer",		CSS_2UPWRAPPER : "yui-cal2upwrapper", 		CSS_NAV_LEFT : "calnavleft",		CSS_NAV_RIGHT : "calnavright",		CSS_CELL_TOP : "calcelltop",		CSS_CELL_LEFT : "calcellleft",		CSS_CELL_RIGHT : "calcellright",		CSS_CELL_BOTTOM : "calcellbottom",		CSS_CELL_HOVER : "calcellhover",		CSS_CELL_HIGHLIGHT1 : "highlight1",		CSS_CELL_HIGHLIGHT2 : "highlight2",		CSS_CELL_HIGHLIGHT3 : "highlight3",		CSS_CELL_HIGHLIGHT4 : "highlight4"	};	this.Style = this.Config.Style;	this.Config.Locale = {		// Locale definition		MONTHS_SHORT : ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],		MONTHS_LONG : ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],		WEEKDAYS_1CHAR : ["S", "M", "T", "W", "T", "F", "S"],		WEEKDAYS_SHORT : ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],		WEEKDAYS_MEDIUM : ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],		WEEKDAYS_LONG : ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],		DATE_DELIMITER : ",",		DATE_FIELD_DELIMITER : "/",		DATE_RANGE_DELIMITER : "-",		MY_MONTH_POSITION : 1,		MY_YEAR_POSITION : 2,		MD_MONTH_POSITION : 1,		MD_DAY_POSITION : 2,		MDY_MONTH_POSITION : 1,		MDY_DAY_POSITION : 2,		MDY_YEAR_POSITION : 3	};	this.Locale = this.Config.Locale;	this.Config.Options = {		// Configuration variables		MULTI_SELECT : false,		SHOW_WEEKDAYS : true,		START_WEEKDAY : 0,		SHOW_WEEK_HEADER : false,		SHOW_WEEK_FOOTER : false,		HIDE_BLANK_WEEKS : false,		NAV_ARROW_LEFT : YAHOO.widget.Calendar_Core.IMG_ROOT + "us/tr/callt.gif",		NAV_ARROW_RIGHT : YAHOO.widget.Calendar_Core.IMG_ROOT + "us/tr/calrt.gif"	};	this.Options = this.Config.Options;	this.customConfig();	if (! this.Options.LOCALE_MONTHS) {		this.Options.LOCALE_MONTHS=this.Locale.MONTHS_LONG;	}	if (! this.Options.LOCALE_WEEKDAYS) {		this.Options.LOCALE_WEEKDAYS=this.Locale.WEEKDAYS_SHORT;	}	// If true, reconfigure weekday arrays to place Mondays first	if (this.Options.START_WEEKDAY > 0) {		for (var w=0;w<this.Options.START_WEEKDAY;++w) {			this.Locale.WEEKDAYS_SHORT.push(this.Locale.WEEKDAYS_SHORT.shift());			this.Locale.WEEKDAYS_MEDIUM.push(this.Locale.WEEKDAYS_MEDIUM.shift());			this.Locale.WEEKDAYS_LONG.push(this.Locale.WEEKDAYS_LONG.shift());				}	}};
meta: 4707	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4707/50c3492c4c3c825dbd3401e134a19ed46799c456/calendar-debug.js/buggy/www/resources/yui/calendar/calendar-debug.js