
    $(window).load(function() {

	var maxh = 0;
	$('.threecolumn > div').each(function() {
	    $(this).find('a:last').addClass('button');
	    if($(this).height() > maxh) {
		maxh = $(this).height();
	    }
	});
	
	
	$('.threecolumn > div').css('height', maxh);

	Cufon.replace('h1,h2,h3,h4,h5,h6,.button,#navigation a');
	
    hs.graphicsDir = '/js/highslide/highslide/graphics/';
    hs.showCredits = false;
    hs.creditsPosition = 'below';
    hs.outlineType = 'custom';
    hs.fadeInOut = true;
    hs.marginBottom = 70;
    hs.marginLeft = 100;
    hs.allowMultipleInstances = false;
    hs.blockRightClick = true;
    hs.registerOverlay({
	html: '<div class="closebutton" onclick="return hs.close(this)" title="Close"></div>',
	position: 'top right',
	useOnHtml: true,
	fade: 2 // fading the semi-transparent overlay looks bad in IE
    });

    // Add the slideshow controller
    hs.addSlideshow({
	slideshowGroup: 'group1',
	interval: 5000,
	repeat: true,
	useControls: true,
	fixedControls: false,
	overlayOptions: {
		opacity: 1,
		position: 'bottom center',
		offsetX: 50,
		offsetY: -10,
		relativeTo: 'viewport',
		hideOnMouseOut: false
	}
    });


    });

    // gallery config object
    var config1 = {
	    slideshowGroup: 'group1',
	    transitions: ['expand', 'crossfade']
    };

