function setting(name, value, type, options){
	this.name 	= name;
	this.value 	= value;
	this.type	= type;
	this.options	= options;
};

var default_userPrefs = [];
default_userPrefs.push(new setting('widgetBackground','FFFFFF', 'color',{
		display:'widget background', 
		alt:'the background color of the flash calendar'
		}));

default_userPrefs.push(new setting('colorPattern','alternate', 'select',{
		display:'color pattern', 
		alt:'determines the the pattern of colors',
		items:[	{ 'name':'alternate', 'value':'alternate' },
			{ 'name':'gradient', 'value':'gradient' }]
		}));

default_userPrefs.push(new setting('backgroundColor1','FFFFFF', 'color',{
		display:'bg color 1', 
		alt:'the primary background color'
		}));

default_userPrefs.push(new setting('backgroundColor2','F4F4F4', 'color',{
		display:'bg color 2', 
		alt:'the secondary background color'
		}));

default_userPrefs.push(new setting('borderColor1','DDDDDD', 'color',{
		display:'border color 1', 
		alt:'the primary border color'
		}));

default_userPrefs.push(new setting('borderColor2','DDDDDD', 'color',{
		display:'border color 2', 
		alt:'the secondary border color'
		}));

default_userPrefs.push(new setting('textColor1','FF9900', 'color',{
		display:'text color 1', 
		alt:'the secondary text color'
		}));

default_userPrefs.push(new setting('textColor2','FF9900', 'color',{
		display:'text color 2', 
		alt:'the secondary text color'
		}));

default_userPrefs.push(new setting('todayColor','FFF0D0', 'color',{
		display:'today\'s color', 
		alt:'today\'s highlight color'
		}));

default_userPrefs.push(new setting('cornerRounding','0.02', 'float',{
		display:'rounding', 
		alt:'determines how round the corners are.',
		range:{
			min:0,
			max:0.1,
			snap:0.005
		}}));

default_userPrefs.push(new setting('spacing','0.02', 'float',{
		display:'spacing', 
		alt:'determines the spacing between days, months, and years',
		range:{
			min:0,
			max:0.1,
			snap:0.005
		}}));

default_userPrefs.push(new setting('borderWidth','0.005', 'float',{
		display:'border width', 
		alt:'determines the spacing between days, months, and years',
		range:{
			min:0,
			max:0.05,
			snap:0.001
		}}));

var default_userUrls = [];
default_userUrls.push(new setting('iCalFeeds',	
		['http://www.google.com/calendar/ical/2v908cv63cc8je4vqsvp07bomk%40group.calendar.google.com/public/basic.ics'],
		'urlArray',{
		display:'url(ical)', 
		alt:'only google calendars are supported, but others may work'
		}));