$(document).ready(function(){
		$(".hide").hide();
		var formcontainer = $(".form_faill");

		$('.color.light.formulier').click(function() {
			formcontainer.slideToggle();
		});

		$(".frm_TextBox input, .frm_Numeric input, .frm_TextArea textarea").focus(function() {
			$(this).css({'background-color' : '#feeddf'})
		});	
		$(".frm_TextBox input, .frm_Numeric input, .frm_TextArea textarea").blur(function() {
			$(this).css({'background-color' : '#ffffff'})
		});	
			       
        var aImages = new Array();
        var Counter = 0;
        var Counter1 = 0;
        var Counter2 = 0;
        imageObj = new Image();
        
        $("#content .block div.image ul li img").each(function(){
            aImages[Counter] = $(this).attr('src'); 
            Counter++;   
        });
        
        $("#content .block div.image1 ul li img").each(function(){
            aImages[Counter2] = $(this).attr('src');
            Counter1++;   
        });
        
        $("#content .block div.image2 ul li img").each(function(){
            aImages[Counter2] = $(this).attr('src');
            Counter2++;   
        });
        
         for( i = 0 ; i <= aImages.length; i++ ) 
         {
              imageObj.src = aImages[i];
         }
                
        
         imageObj.onLoad = scrollImages();
});        
        function scrollImages(){
        var cssObj = { 
            'visibility': 'visible',
            'left': '0px'
        }
            if($("#content .block div.image img:first").attr('src') != $("#content .block div.image img:last").attr('src')){
                $("#content .block div.image").jCarouselLite({
                    auto: 4000,
                    speed: 1500    
                });
            } else {
                $("#content .block div.image").css(cssObj);
            }
            if($("#content .block div.image1 img:first").attr('src') != $("#content .block div.image1 img:last").attr('src')){
                $("#content .block div.image1").jCarouselLite({
                    auto: 4000,
                    speed: 1500    
                });
            } else {
                $("#content .block div.image1").css(cssObj);
            }
            if($("#content .block div.image2 img:first").attr('src') != $("#content .block div.image2 img:last").attr('src')){
                $("#content .block div.image2").jCarouselLite({
                    auto: 4000,
                    speed: 1500    
                });
            } else {
                $("#content .block div.image2").css(cssObj);
            }
        }
        
