window.addEvent('domready', function() {
 
	/**
	 * You can run this code as first code to set default options
	 * SqueezeBox.initialize({ ... });
	 */
 
	SqueezeBox.assign($$('a[rel=boxed_image]'));
	
	/**
	 * That CSS selector will find all <a> elements with the
	 * attribute rel="boxed" 	 * and href starting with a #.
	 *
	 * The second argument sets additional options
	 */
	SqueezeBox.assign($$('a[rel=boxed_alert]'), {
		size: {x: 480, y: 200}
	});
	SqueezeBox.assign($$('a[rel=boxed_inline_alert][href^=#]'), {
		size: {x: 200, y: 200}
	});
	SqueezeBox.assign($$('a[rel=boxed_inline_alert_trans][href^=#]'), {
		size: {x: 450, y: 200}
	});
	 
});
