//BigBlock;;Author:ar-
if(!AR_s)var AR_s={};
AR_s.Class={start:function(){var c=$("div.movedG > div:first"),a=$("div.movedG > div"),b=a.length;a=a.width();a=b*a;c.addClass("start");$("div.movedG").css("width",a);if(b>=2){$("a.in_photoGR").attr("href","javascript:AR_s.Class.right()").css("cursor","pointer");$("a.in_photoGR span").css("display","block")}},right:function(){var c=$("div.movedG > div").index($("div.start")),a=$("div.movedG"),b=$("div.movedG > div").length,d=$("div.movedG > div").width();$("div.movedG > div.start").next().addClass("start").prev().removeClass("start");$("a.in_photoGL").attr("href",
"javascript:void(0)");$("a.in_photoGR").attr("href","javascript:void(0)");c!=b-2?a.animate({marginLeft:"-="+d},"slow",function(){$("a.in_photoGL").attr("href","javascript:AR_s.Class.left()").css("cursor","pointer");$("a.in_photoGR").attr("href","javascript:AR_s.Class.right()").css("cursor","pointer");$("a.in_photoGL span").css("display","block")}):a.animate({marginLeft:"-="+d},"slow",function(){$("a.in_photoGL").attr("href","javascript:AR_s.Class.left()").css("cursor","pointer");$("a.in_photoGL span").css("display",
"block");$("a.in_photoGR").css("cursor","auto");$("a.in_photoGR span").hide()})},left:function(){var c=$("div.movedG > div").index($("div.start")),a=$("div.movedG");$("div.movedG > div");var b=$("div.movedG > div").width();$("div.movedG > div.start").prev().addClass("start").next().removeClass("start");$("a.in_photoGL").attr("href","javascript:void(0)");$("a.in_photoGR").attr("href","javascript:void(0)");c!=1?a.animate({marginLeft:"+="+b},"slow",function(){$("a.in_photoGL").attr("href","javascript:AR_s.Class.left()").css("cursor",
"pointer");$("a.in_photoGR").attr("href","javascript:AR_s.Class.right()").css("cursor","pointer");$("a.in_photoGR span").css("display","block")}):a.animate({marginLeft:"+="+b},"slow",function(){$("a.in_photoGR").attr("href","javascript:AR_s.Class.right()").css("cursor","pointer");$("a.in_photoGR span").css("display","block");$("a.in_photoGL").css("cursor","auto");$("a.in_photoGL span").hide()})}};$(document).ready(function(){AR_s.Class.start()});