var fotowalk1="images/photowalk.gif";
var fotowalk2="images/photowalk.png";
var fotowalk3="images/photowalk2.png";
var fotowalk4="images/photowalk1.png";

var family1="images/family.gif";
var family2="images/family.png";
var family3="images/family2.png";
var family4="images/family1.png";

var studia1="images/studia.gif";
var studia2="images/studia.png";
var studia3="images/studia2.png";
var studia4="images/studia1.png";

var wedding1="images/wedding.gif";
var wedding2="images/wedding.png";
var wedding3="images/wedding2.png";
var wedding4="images/wedding1.png";

var prochee1="images/prochee.gif";
var prochee2="images/prochee.png";
var prochee3="images/prochee2.png";
var prochee4="images/prochee1.png";

	
$(document).ready(function(){
	$("img.photowalk-image").hover(function() {
	$("img.photowalk-image").attr({src: fotowalk1});
	$("img.photowalk-podpis").attr({src: fotowalk3});
    },function() {
	$(this).oneTime(2500, function() {
	$("img.photowalk-image").attr({src: fotowalk2});
	});
	$("img.photowalk-podpis").attr({src: fotowalk4});
	});
	
	$("img.photowalk-podpis").hover(function() {
	$("img.photowalk-image").attr({src: fotowalk1});
	$("img.photowalk-podpis").attr({src: fotowalk3});
    },function() {
	$(this).oneTime(2500, function() {
	$("img.photowalk-image").attr({src: fotowalk2});
	});
	$("img.photowalk-podpis").attr({src: fotowalk4});
	});
//
	$("img.family-image").hover(function() {
	$("img.family-image").attr({src: family1});
	$("img.family-podpis").attr({src: family3});
    },function() {
	$(this).oneTime(2500, function() {
	$("img.family-image").attr({src: family2});
	});
	$("img.family-podpis").attr({src: family4});
	});
	
	$("img.family-podpis").hover(function() {
	$("img.family-image").attr({src: family1});
	$("img.family-podpis").attr({src: family3});
    },function() {
	$(this).oneTime(2500, function() {
	$("img.family-image").attr({src: family2});
	});
	$("img.family-podpis").attr({src: family4});
	});
//
	$("img.studia-image").hover(function() {
	$("img.studia-image").attr({src: studia1});
	$("img.studia-podpis").attr({src: studia3});
    },function() {
	$(this).oneTime(2500, function() {
	$("img.studia-image").attr({src: studia2});
	});
	$("img.studia-podpis").attr({src: studia4});
	});
	
	$("img.studia-podpis").hover(function() {
	$("img.studia-image").attr({src: studia1});
	$("img.studia-podpis").attr({src: studia3});
    },function() {
	$(this).oneTime(2500, function() {
	$("img.studia-image").attr({src: studia2});
	});
	$("img.studia-podpis").attr({src: studia4});
	});
//
	$("img.wedding-image").hover(function() {
	$("img.wedding-image").attr({src: wedding1});
	$("img.wedding-podpis").attr({src: wedding3});
    },function() {
	$(this).oneTime(2500, function() {
	$("img.wedding-image").attr({src: wedding2});
	});
	$("img.wedding-podpis").attr({src: wedding4});
	});
	
	$("img.wedding-podpis").hover(function() {
	$("img.wedding-image").attr({src: wedding1});
	$("img.wedding-podpis").attr({src: wedding3});
    },function() {
	$(this).oneTime(2500, function() {
	$("img.wedding-image").attr({src: wedding2});
	});
	$("img.wedding-podpis").attr({src: wedding4});
	});
//
	$("img.prochee-image").hover(function() {
	$("img.prochee-image").attr({src: prochee1});
	$("img.prochee-podpis").attr({src: prochee3});
    },function() {
	$(this).oneTime(2500, function() {
	$("img.prochee-image").attr({src: prochee2});
	});
	$("img.prochee-podpis").attr({src: prochee4});
	});
	
	$("img.prochee-podpis").hover(function() {
	$("img.prochee-image").attr({src: prochee1});
	$("img.prochee-podpis").attr({src: prochee3});
    },function() {
	$(this).oneTime(2500, function() {
	$("img.prochee-image").attr({src: prochee2});
	});
	$("img.prochee-podpis").attr({src: prochee4});
	});		
	
});