/**	Created by Bernard Frangoulis, last updated on 2010-09-21.*	Copyright (c) 2010 Bernard Frangoulis. All rights reserved.*/function init_highslide() {	hs.graphicsDir = 'highslide/graphics/';	//hs.align = 'center';	hs.blockRightClick = true;	hs.targetX = 'slideshow';	hs.targetY = 'slideshow';	hs.expandCursor = null;	hs.expandDuration = 10;	hs.fullExpandOpacity = 0;	hs.showCredits = false;	hs.easing = 'easeInQuad';	hs.fadeInOut = true;	hs.dragSensitivity = 100000;	hs.outlineType = null;	hs.allowSizeReduction = true;	hs.transitionDuration = 1000;	hs.transitions = ['expand', 'crossfade'];	hs.restoreCursor = null;	hs.useBox = true;	hs.width = 740;	hs.height = 329;	hs.autoPlay = true;	hs.addSlideshow({		//slideshowGroup: 'group1',		interval: 3500,		repeat: true,		useControls: false	});	// Cancel the default action for image click	hs.Expander.prototype.onImageClick = function() {		return hs.next();	}	// Under no circumstances should the static popup be closed	hs.Expander.prototype.onBeforeClose = function() {		return false;	}	// ... nor dragged	hs.Expander.prototype.onDrag = function() {		return false;	}			hs.Expander.prototype.onShowLoading = function() {		return false;	}	// Keep the position after window resize	hs.addEventListener(window, 'resize', function() {		var i, exp;		hs.getPageSize();			for(i = 0; i < hs.expanders.length; i++) {			exp = hs.expanders[i];			if(exp) {				var x = exp.x,					y = exp.y;					// get new thumb positions				exp.tpos = hs.getPosition(exp.el);				x.calcThumb();				y.calcThumb();					// calculate new popup position			 	x.pos = x.tpos - x.cb + x.tb;				x.scroll = hs.page.scrollLeft;				x.clientSize = hs.page.width;				y.pos = y.tpos - y.cb + y.tb;				y.scroll = hs.page.scrollTop;				y.clientSize = hs.page.height;				exp.justify(x, true);				exp.justify(y, true);					// set new left and top to wrapper and outline				exp.moveTo(x.pos, y.pos);			}		}	});		hs.registerOverlay({		thumbnailId: null,		overlayId: 'colombiere_overlay',		position: 'bottom left',		hideOnMouseOut: false	});}
