window.addEvent('domready', function() {

	/**
	* That CSS selector will find all <a> elements with the
	* attribute rel="boxed"
	*
	* The second argument sets additional options.
	*/
	SqueezeBox.assign($$('a[rel=boxed]'), {
		size: { x: 300, y: 300 },
		sizeLoading: { x: 300, y: 0 },
		overlayOpacity: 0,
		overlayFx: {},
		resizeFx: {},


		ajaxOptions: {
			method: 'get' // we use GET for requesting plain HTML
		}
	});

});

