$(function(){var a=1;var h=0;var d=$("#mycarousel ul li").size();var b=5;var c=100;var e=135;var f=75;var i=e*d;var g=e*b;$("#mycarousel ul").css("width",i+"px").css("left",-(h*e)).css("position","absolute");$("#mycarousel").css("width",g+"px").css("height",f+"px").css("visibility","visible").css("overflow","hidden").css("position","relative");$(".next").click(function(){if(h+a<0||h+a>d-b){return}else{h=h+a;$("#mycarousel ul").animate({left:-(e*h)},c,null)}return false});$(".prev").click(function(){if(h-a<0||h-a>d-b){return}else{h=h-a;$("#mycarousel ul").animate({left:-(e*h)},c,null)}return false})});$(function(){var a=1;var h=randomnumber=Math.floor(Math.random()*16);var d=$("#fellowcarousel ul li").size();var b=4;var c=100;var e=160;var f=168;var i=e*d;var g=600;$("#fellowcarousel ul").css("width",i+"px").css("left",-(h*e)).css("position","absolute");$("#fellowcarousel").css("width",g+"px").css("height",f+"px").css("visibility","visible").css("overflow","hidden").css("position","relative");$(".next").click(function(){if(h+a<0||h+a>d-b){return}else{h=h+a;$("#fellowcarousel ul").animate({left:-(e*h)},c,null)}return false});$(".prev").click(function(){if(h-a<0||h-a>d-b){return}else{h=h-a;$("#fellowcarousel ul").animate({left:-(e*h)},c,null)}return false})});

