﻿	function  func4(e,area1,small1,null1,krel) {
	 	e = e || window.event;
	 	coordbx=e.clientX-15;
	 	coordby=e.clientY-15;
	 	coorx=coordbx+25;
	 	coory=coordby;
	 	coordx=coordbx+25;
	 	coordy=coordby-185;
		null1.css({'left':coordbx+'px','top':coordby+'px','visibility':'visible'});
		null1.mouseover  (function() {
		 	small1.css({'left':coordx+'px','top':coordy+'px','visibility':'visible'});
			$("#hand1").css({'left':coorx+'px','top':coory+'px','visibility':'visible'});
		});
		null1.mouseout  (function() {
		 	small1.css({'left':coordx+'px','top':coordy+'px','visibility':'hidden'});
			$("#hand1").css({'left':coorx+'px','top':coory+'px','visibility':'hidden'});
			null1.css({'visibility':'hidden'});
		});
		krel.fancybox({
				'width'				:	'100%',
				'height'			:	'100%',
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'titlePosition' 	: 'inside',   // 'outside', 'inside' or 'over'
				'speedIn'		:1000,
				'speedOut'		:1000,
				'changeSpeed'	:300,
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">სურათი ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; <b>' + title : '') + '</b></span>';
				}
		});
	};
	function  fancy0(krel) {
		krel.fancybox({
				'width'				:	'100%',
				'height'			:	'100%',
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'titlePosition' 	: 'inside',   // 'outside', 'inside' or 'over'
				'speedIn'		:3000,
				'speedOut'		:2000,
				'changeSpeed'	:100,
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">რუკა ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; <b>' + title : '') + '</b></span>';
				}
		});
	};


