$().ready(function() {
	/* Load CSS */
		var docHead = document.getElementsByTagName('head')[0];
		var theCSS = document.createElement('link');
		theCSS.type = 'text/css';
		theCSS.rel = 'stylesheet';
		theCSS.media = 'screen';
		theCSS.href = '/layout/global/js/highslide/4.1.8/css/highslide.css';
		docHead.appendChild(theCSS);
	/* Load Highslide */
	$.getScript('/layout/global/js/highslide/4.1.8/highslide-full.min.js');
	/* Call Highslide with jQuery */
	$('a.enlarge').click(function() {
		return hs.expand(this, {
			captionEval: 'this.thumb.alt'
		});
	});
	$('a.popup').click(function() {
		return hs.htmlExpand(this, {
			objectType: 'ajax',
			wrapperClassName: 'draggable-header'
		});
	});
});
