$(document).ready(function(){$('#carousel_ul li:first').before($('#carousel_ul li:last'));$('#right_scroll img').click(function(){var item_width=$('#carousel_ul li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul').css('left'))-item_width;$('#carousel_ul:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul li:last').after($('#carousel_ul li:first'));$('#carousel_ul').css({'left':'-110px'})})});$('#left_scroll img').click(function(){var item_width=$('#carousel_ul li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul').css('left'))+item_width;$('#carousel_ul:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul li:first').before($('#carousel_ul li:last'));$('#carousel_ul').css({'left':'-110px'})})})});$(document).ready(function(){$('#carousel_ul1 li:first').before($('#carousel_ul1 li:last'));$('#right_scroll1 img').click(function(){var item_width=$('#carousel_ul1 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul1').css('left'))-item_width;$('#carousel_ul1:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul1 li:last').after($('#carousel_ul1 li:first'));$('#carousel_ul1').css({'left':'-110px'})})});$('#left_scroll1 img').click(function(){var item_width=$('#carousel_ul1 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul1').css('left'))+item_width;$('#carousel_ul1:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul1 li:first').before($('#carousel_ul1 li:last'));$('#carousel_ul1').css({'left':'-110px'})})})});$(document).ready(function(){$('#carousel_ul2 li:first').before($('#carousel_ul2 li:last'));$('#right_scroll2 img').click(function(){var item_width=$('#carousel_ul2 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul2').css('left'))-item_width;$('#carousel_ul2:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul2 li:last').after($('#carousel_ul2 li:first'));$('#carousel_ul2').css({'left':'-110px'})})});$('#left_scroll2 img').click(function(){var item_width=$('#carousel_ul2 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul2').css('left'))+item_width;$('#carousel_ul2:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul2 li:first').before($('#carousel_ul2 li:last'));$('#carousel_ul2').css({'left':'-110px'})})})});$(document).ready(function(){$('#carousel_ul3 li:first').before($('#carousel_ul3 li:last'));$('#right_scroll3 img').click(function(){var item_width=$('#carousel_ul3 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul3').css('left'))-item_width;$('#carousel_ul3:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul3 li:last').after($('#carousel_ul3 li:first'));$('#carousel_ul3').css({'left':'-110px'})})});$('#left_scroll3 img').click(function(){var item_width=$('#carousel_ul3 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul3').css('left'))+item_width;$('#carousel_ul3:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul3 li:first').before($('#carousel_ul3 li:last'));$('#carousel_ul3').css({'left':'-110px'})})})});$(document).ready(function(){$('#carousel_ul4 li:first').before($('#carousel_ul4 li:last'));$('#right_scroll4 img').click(function(){var item_width=$('#carousel_ul4 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul4').css('left'))-item_width;$('#carousel_ul4:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul4 li:last').after($('#carousel_ul4 li:first'));$('#carousel_ul4').css({'left':'-110px'})})});$('#left_scroll4 img').click(function(){var item_width=$('#carousel_ul4 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul4').css('left'))+item_width;$('#carousel_ul4:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul4 li:first').before($('#carousel_ul4 li:last'));$('#carousel_ul4').css({'left':'-110px'})})})});$(document).ready(function(){$('#carousel_ul5 li:first').before($('#carousel_ul5 li:last'));$('#right_scroll5 img').click(function(){var item_width=$('#carousel_ul5 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul5').css('left'))-item_width;$('#carousel_ul5:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul5 li:last').after($('#carousel_ul5 li:first'));$('#carousel_ul5').css({'left':'-110px'})})});$('#left_scroll5 img').click(function(){var item_width=$('#carousel_ul5 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul5').css('left'))+item_width;$('#carousel_ul5:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul5 li:first').before($('#carousel_ul5 li:last'));$('#carousel_ul5').css({'left':'-110px'})})})});$(document).ready(function(){$('#carousel_ul6 li:first').before($('#carousel_ul6 li:last'));$('#right_scroll6 img').click(function(){var item_width=$('#carousel_ul6 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul6').css('left'))-item_width;$('#carousel_ul6:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul6 li:last').after($('#carousel_ul6 li:first'));$('#carousel_ul6').css({'left':'-110px'})})});$('#left_scroll6 img').click(function(){var item_width=$('#carousel_ul6 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul6').css('left'))+item_width;$('#carousel_ul6:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul6 li:first').before($('#carousel_ul6 li:last'));$('#carousel_ul6').css({'left':'-110px'})})})});$(document).ready(function(){$('#carousel_ul7 li:first').before($('#carousel_ul7 li:last'));$('#right_scroll7 img').click(function(){var item_width=$('#carousel_ul7 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul7').css('left'))-item_width;$('#carousel_ul7:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul7 li:last').after($('#carousel_ul7 li:first'));$('#carousel_ul7').css({'left':'-110px'})})});$('#left_scroll7 img').click(function(){var item_width=$('#carousel_ul7 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul7').css('left'))+item_width;$('#carousel_ul7:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul7 li:first').before($('#carousel_ul7 li:last'));$('#carousel_ul7').css({'left':'-110px'})})})});


$(document).ready(function(){$('#carousel_ul9 li:first').before($('#carousel_ul9 li:last'));$('#right_scroll9 img').click(function(){var item_width=$('#carousel_ul9 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul9').css('left'))-item_width;$('#carousel_ul9:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul9 li:last').after($('#carousel_ul9 li:first'));$('#carousel_ul9').css({'left':'-110px'})})});$('#left_scroll9 img').click(function(){var item_width=$('#carousel_ul9 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul9').css('left'))+item_width;$('#carousel_ul9:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul9 li:first').before($('#carousel_ul9 li:last'));$('#carousel_ul9').css({'left':'-110px'})})})});







$(document).ready(function(){$('#carousel_ul8 li:first').before($('#carousel_ul8 li:last'));$('#right_scroll8 img').click(function(){var item_width=$('#carousel_ul8 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul8').css('left'))-item_width;$('#carousel_ul8:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul8 li:last').after($('#carousel_ul8 li:first'));$('#carousel_ul8').css({'left':'-110px'})})});$('#left_scroll8 img').click(function(){var item_width=$('#carousel_ul8 li').outerWidth()+10;var left_indent=parseInt($('#carousel_ul8').css('left'))+item_width;$('#carousel_ul8:not(:animated)').animate({'left':left_indent},500,function(){$('#carousel_ul8 li:first').before($('#carousel_ul8 li:last'));$('#carousel_ul8').css({'left':'-110px'})})})});function changecss(theClass,element,value){var cssRules;if(document.all){cssRules='rules'}else if(document.getElementById){cssRules='cssRules'}for(var S=0;S<document.styleSheets.length;S++){for(var R=0;R<document.styleSheets[S][cssRules].length;R++){if(document.styleSheets[S][cssRules][R].selectorText==theClass){document.styleSheets[S][cssRules][R].style[element]=value}}}}
