$(document).ready(function(e) {
	$('.cform-left input[type="text"],.side-contact input[type="text"]').each(function(index) {
	  $(this).attr("title",$(this).attr("value"));
	});
    $('.cform-left input[type="text"],.side-contact input[type="text"]').focus(function(){
     if($(this).attr("value")==$(this).attr("title")) $(this).attr("value","");
    }).focusout(function(){
       if($(this).attr("value")=='') $(this).attr("value",$(this).attr("title"));
    });
});



 $(document).ready(function() {
 	window.totalcustomer=$('.selected-customers .inner .hiddenimg').length;
 	window.currentcustomer=1;
 	                 window.c=setInterval('slidecustomers()',2500); 
                           });
                          
                             function slidecustomers(){
 
                          	$(".selected-customers .inner .hiddenimg").css('z-index',0);
                          	  $(".selected-customers .inner .hiddenimg.img"+window.currentcustomer).css('z-index','2');
                          	 $(".selected-customers .inner .hiddenimg.img"+window.currentcustomer).fadeOut(500, function(){
                          	 	      window.currentcustomer++;
  if(window.currentcustomer>window.totalcustomer) window.currentcustomer=1;
                          $(".selected-customers .inner .hiddenimg.img"+window.currentcustomer).css('z-index','1');
                               $(".selected-customers .inner .hiddenimg.img"+window.currentcustomer).fadeIn(500);
                                  
                                                                       
                                });  
                             	    
                        
                        
                          
                         
                           }

