// Stylesheet switcher
		jQuery(function()
			{
				// Call stylesheet init so that all stylesheet changing functions 
				// will work.
				jQuery.stylesheetInit();
				
				// When one of the styleswitch links is clicked then switch the stylesheet to
				// the one matching the value of that links rel attribute.
				jQuery('.schemes a').bind(
					'click',
					function(e)
					{
						jQuery.stylesheetSwitch(this.getAttribute('rel'));
						return false;
					}
				);
			}
		);
// choose colors panel
		jQuery(function() {
			var offset = jQuery(".schemes").offset();
			var topPadding = 50;
			jQuery(window).scroll(function() {
				if (jQuery(window).scrollTop() > offset.top) {
					jQuery(".schemes").stop().animate({
						marginTop: jQuery(window).scrollTop() - offset.top + topPadding
					});
				} else {
					jQuery(".schemes").stop().animate({
						marginTop: 0
					});
				};
			});
		});
