$(document).ready(function($){$('#close').on('click',function(){location.href="./?k=5#oferta";});$(document).keyup(function(event){if(event.which==27){$(document).off("keyup");location.href="./?k=5#oferta";}});var p='picture?id=';$('#right img').on('click',function(){$('#content').stop().animate({left:"+=-100%"},250,function(){location.href=p+"89fcd07f20b6785b92134bd6c1d0fa42&k=5&pk=0&r3=r3";});});$('#left img').on('click',function(){$('#content').stop().animate({left:"+=100%"},250, function(){location.href=p+"58e4d44e550d0f7ee0a23d6b02d9b0db&k=5&pk=0&r3=r3";});});$(document).keydown(function(event){if(event.which==37){$('#content').stop().animate({left:"+=100%"},250,function(){location.href=p+"58e4d44e550d0f7ee0a23d6b02d9b0db&k=5&pk=0&r3=r3";});}});$(document).keydown(function(event){if(event.which==39){$('#content').stop().animate({left:"+=-100%"},250,function(){location.href=p+"89fcd07f20b6785b92134bd6c1d0fa42&k=5&pk=0&r3=r3";});}});$('#lightbox').swipe({swipeRight:function(event,direction,distance,duration,fingerCount){$('#content').stop().animate({left:"+=100%"},250,function(){location.href=p+"58e4d44e550d0f7ee0a23d6b02d9b0db&k=5&pk=0&r3=r3";});},});$('#lightbox').swipe({swipeLeft:function(event,direction,distance,duration,fingerCount){$('#content').stop().animate({left:"+=-100%"},250,function(){location.href=p+"89fcd07f20b6785b92134bd6c1d0fa42&k=5&pk=0&r3=r3";});},});});