﻿/**
*	Site-specific configuration settings for Highslide JS
*/
hs.graphicsDir = 'http://www.powerinn.net/gallery/highslide/graphics/';
hs.showCredits = false;
hs.outlineType = 'custom';
hs.fadeInOut = true;
hs.align = 'center';
hs.allowMultipleInstances = false;
hs.captionEval = 'this.a.title';
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
});



// Add the slideshow controller

// Gallery : universe
hs.addSlideshow({
	slideshowGroup: 'group1',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		className: 'text-controls',
		opacity: '0.75',
		position: 'bottom center',
		offsetX: '0',
		offsetY: '-2',
		hideOnMouseOut: true
	}
});

// Gallery :mars
hs.addSlideshow({
	slideshowGroup: 'group2',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		className: 'text-controls',
		opacity: '0.75',
		position: 'bottom center',
		offsetX: '0',
		offsetY: '-2',
		hideOnMouseOut: true
	}
});


// Gallery :UFO in history 

hs.addSlideshow({
	slideshowGroup: 'group3',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		className: 'text-controls',
		opacity: '0.75',
		position: 'bottom center',
		offsetX: '0',
		offsetY: '-2',
		hideOnMouseOut: true
	}
});


// Gallery : witchcraft
hs.addSlideshow({
	slideshowGroup: 'group4',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		className: 'text-controls',
		opacity: '0.75',
		position: 'bottom center',
		offsetX: '0',
		offsetY: '-2',
		hideOnMouseOut: true
	}
});



// Gallery : kamal art
hs.addSlideshow({
	slideshowGroup: 'group5',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: 'fit',
	overlayOptions: {
		className: 'text-controls',
		opacity: '0.75',
		position: 'bottom center',
		offsetX: '0',
		offsetY: '-2',
		hideOnMouseOut: true
	}
});


// Arabic language strings
hs.lang = {
	cssDirection: 'rtl',
	loadingText: 'جاري التحميل ...',
	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: 'إيقاف مؤقت للعرض التلقائي (spacebar)',
	previousTitle: 'السابق (السهم الايسر)',
	nextTitle: 'التالي (السهم الايمن)',
	moveTitle: 'تحريك',
	fullExpandText: 'الحجم الاصلي',
	number: 'الصورة رقم  %1 من  %2',
	restoreTitle: 'إضغط لإغلاق الصورة, الضغط مع السحب لتحريك الصورة. إستخدم الاتجاهات لعرض الصور.'
};

// gallery config object: hubble
var config1 = {
	slideshowGroup: 'group1',
	thumbnailId: 'thumb1',
	numberPosition: 'caption',
	transitions: ['expand', 'crossfade']
}

// gallery config object : mars
var config2 = {
	slideshowGroup: 'group2',
	thumbnailId: 'thumb2',
	numberPosition: 'caption',
	transitions: ['expand', 'crossfade']

};



// gallery config object :ufo 
var config3 = {
	slideshowGroup: 'group3',
	thumbnailId: 'thumb3',
	numberPosition: 'caption',
	transitions: ['expand', 'crossfade']

};


// gallery config object :witchcraft 
var config4 = {
	slideshowGroup: 'group4',
	thumbnailId: 'thumb4',
	numberPosition: 'caption',
	transitions: ['expand', 'crossfade']

};

// gallery config object :kamal art 
var config5 = {
	slideshowGroup: 'group5',
	thumbnailId: 'thumb5',
	numberPosition: 'caption',
	transitions: ['expand', 'crossfade']

};

