/**
*	Site-specific configuration settings for Highslide JS
*/
/*	hs.graphicsDir = 'highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.8;
	hs.wrapperClassName = 'borderless floating-caption';
	//hs.captionEval = 'this.thumb.alt';
	hs.captionEval = 'this.a.title';
	hs.marginLeft = 100; // make room for the thumbstrip
	hs.marginBottom = 80 // make room for the controls and the floating caption
	

//hs.outlineType = 'custom';
//hs.captionOverlay.position = 'below';

hs.registerOverlay({
	html: '<div class="closebutton" onclick="return hs.close(this)" title="关闭"></div>',
	position: 'top right',
	useOnHtml: true,
	fade: 2 // fading the semi-transparent overlay looks bad in IE
});
hs.numberPosition = 'caption';
hs.lang.number = '%1/%2';



// Add the slideshow controller
hs.addSlideshow({
	slideshowGroup: 'viewpic',
	interval: 3000,
	repeat: true,
	useControls: true,
	fixedControls: false,
	overlayOptions: {
		className: 'text-controls',
		opacity: '1',
		position: 'bottom center',
		offsetX: '50',
		offsetY: '-5',
		relativeTo: 'viewport',
		hideOnMouseOut: false
	},
	thumbstrip: {
		mode: 'vertical',
		position: 'middle left',
		relativeTo: 'viewport'
	}

});*/

// Chinese simplified language strings
hs.lang = {
	cssDirection: 'ltr',
	loadingText: 'Loading...',
	loadingTitle: '取消',
	focusTitle: '置于最前',
	fullExpandTitle: '原始尺寸',
	creditsText: '',
	creditsTitle: '查看 Highslide JS 官方首页',
	previousText: '上一张',
	nextText: '下一张',
	moveText: '移动',
	closeText: '关闭',
	closeTitle: '关闭 (退出键)',
	resizeTitle: '调整尺寸',
	playText: '播放',
	playTitle: '播放幻灯片 (空格键)',
	pauseText: '暂停',
	pauseTitle: '暂停幻灯片 (空格键)',
	previousTitle: '上一张 (左方向键)',
	nextTitle: '下一张 (右方向键)',
	moveTitle: '移动',
	fullExpandText: '1:1',
	restoreTitle: '可拖动图片，使用方向键进行图片切换。'
};

// gallery config object
var iview = {
	slideshowGroup: 'viewpic',
	autoplay: true,
	transitions: ['expand', 'crossfade']
};
