// JavaScript Document
// Kaosweaver Calendar Settings - do not remove
// by Paul Davis - http://www.kaosweaver.com
// KW_lang[English]
// KW_order[0,1,2]
// KW_del1[/]
// KW_del2[/]
// KW_dd[false]
// KW_cWidth[170]
// KW_fd[-1]

var sDate = new Array();
var mName = new Array("January","February","March","April","May","June","July","August","September","October","November","December")
var wName = new Array("Su","Mo","Tu","We","Th","Fr","Sa")
var cFontName = "Verdana, Arial, Helvetica, sans-serif;"
var KW_color = new Array("#ffffff","#cceecc","#cccccc","#ffffff","#cceecc","#dddddd","#556688","#556688")
	/* colors for (Mo and Day Title Headings,Current Day BG,Active Month Weekend BG,Active Month Day BG,UNKN,Inactive Month Day BG,Body BG,Mo title BG)  */
var KW_cl=0;
var KW_od=-1; /* PAST DATES (-1): set to 0 to not allow Past Dates, set to -1 to allow Past Dates */
var KW_tmo=0; /* SURROUNDING MONTHS (0): set to -1 to not show dates from surrounding months, set to 0 to show Dates */
var KW_cWidth=200; /* CALENDAR WIDTH (200): calendar width, in pixels */ 
var KW_fd=-1; /* FUTURE DATES (-1): set to 0 to not allow Past Dates, set to -1 to allow Past Dates */
var KW_ss=0; 
var KW_sw=0; /* WEEKENDS (0): set to -1 to not allow Weekends, set to 0 to allow Weekends */
var descx=-1;
var descy=-1;
var bwNN=(document.captureEvents)?1:0;
function popmousemove(e){descx=(bwNN)?e.pageX:event.x;descy=(bwNN)?e.pageY:event.y}
function KW_mouseInit(){
	if(bwNN)document.captureEvents(Event.MOUSEMOVE);document.onmousemove=popmousemove;
}
function m_class(m,d,y) { 
	this.month=(m<10)?"0"+m:m;if (d) this.day=(d<10)?"0"+d:d;else this.day="";this.year=y;
	this.output=this.month+"/"+this.day+"/"+this.year;	var kd=new Date();this.special=checkDates(this.month,this.day,this.year)
	this.today=((kd.getMonth()+1)==this.month && kd.getDate()==this.day && kd.getFullYear()==this.year)
	var td=new Date(this.year, (this.month-1), Number(this.day)+KW_od);this.past=(KW_od==-1)?0:(kd>td)
	var tf=new Date(kd.getFullYear(),kd.getMonth(),kd.getDate()+KW_fd);
	var d1=new Date(this.year, (this.month-1), this.day);
	this.future=(KW_fd==-1)?0:(tf<d1);this.ss=(this.special && KW_ss);
	this.display=(this.past || this.future || this.ss);
}

// Kaosweaver End of Calendar Settings - do not remove

