/*hs.isUnobtrusiveAnchor = function(el) {
	if (el.href && /\.jpg$/.test(el.href)) return 'image';
	if (el.href && /\.gif$/.test(el.href)) return 'image';
	if (el.href && /\.png$/.test(el.href)) return 'image';
}
*/
hs.isUnobtrusiveAnchor = function(el) {
	if (el.href && /\.jpg$/.test(el.href)) {
		el.className = 'highslide'; // for the zoom-in cursor
		return 'image';
	}
	if (el.href && /\.gif$/.test(el.href)) {
		el.className = 'highslide'; // for the zoom-in cursor
		return 'image';
	}
	if (el.href && /\.png$/.test(el.href)) {
		el.className = 'highslide'; // for the zoom-in cursor
		return 'image';
	}
}
/**
*	Site-specific configuration settings for Highslide JS
*/
hs.graphicsDir = 'scripts/graphics/';
hs.showCredits = false;
hs.outlineType = 'glossy-dark';
hs.dimmingOpacity = 0.5;
hs.fadeInOut = true;
hs.align = 'center';
hs.allowMultipleInstances = false;


// Add the slideshow controller
hs.addSlideshow({
	//slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		className: 'large-dark',
		opacity: '0.6',
		position: 'bottom center',
		offsetX: '0',
		offsetY: '-15',
		hideOnMouseOut: true
	}
});

// Japanese language strings
hs.lang = {
	cssDirection: 'ltr',
	loadingText: 'Loading...',
	loadingTitle: 'クリックでキャンセル',
	focusTitle: 'クリックで手前に表示',
	fullExpandTitle: '元のサイズで表示 (f キー)',
	creditsText: 'Powered by <i>Highslide JS</i>',
	creditsTitle: 'Go to the Highslide JS homepage',
	previousText: '戻る',
	nextText: '進む',
	moveText: '移動',
	closeText: '閉じる',
	closeTitle: '閉じる (esc キー)',
	resizeTitle: 'リサイズ',
	playText: '再生',
	playTitle: 'スライドショー開始 (スペースキー)',
	pauseText: '停止',
	pauseTitle: 'スライドショー停止 (スペースキー)',
	previousTitle: '戻る (← キー)',
	nextTitle: '進む (→ キー)',
	moveTitle: '移動',
	fullExpandText: '元のサイズ',
	number: 'Image %1 of %2',
	restoreTitle: 'クリックで閉じます。ドラッグで動かせます。矢印キーで前後の画像へ移動します。'
};

// gallery config object
/* var config1 = {
	slideshowGroup: 'group1',
	transitions: ['expand', 'crossfade']
};
*/
