var Salonpalaver = {
	skew: function (container, h, w, lineheight) {
		var c = Math.floor(h/lineheight);
		var increment = Math.round(w/c, 2);
		for (i=c, width=w; i>0; i--, width-=increment) {
			var d = new Element('div').setStyle({
				cssFloat: 'left',
				clear: 'left',
				width: width+'px',
				height: lineheight+'px'
			});
			$(container).insertBefore(d, $(container).down());
		}
	},
	fixPadding: function() {
		var h = $('content-middle').getHeight();
		if (h > 20000)
			$('filler').setStyle({height: (h-20010-650)+'px'});
	}
};

var FormOptions = { 
	highlightColor: '#e0001a'
};

var SlideshowOptions = {
	frameInterval: 5,
	effectDuration: 3,
	loop: true,
	skipFirst: true
};
