$(document).ready(function() {
      
       $("#quick-contact").validate();

      // swapValue = [];
      // $("form input,form textarea").each(function(i){
      //    swapValue[i] = $(this).val();
      //    $(this).focus(function(){
      //       if ($(this).val() == swapValue[i]) {
      //          $(this).val("");
      //       }
      //       $(this).addClass("focus");
      //    }).blur(function(){
      //       if ($.trim($(this).val()) == "") {
      //          $(this).val(swapValue[i]);
      //   $(this).removeClass("focus");
      //       }
      //    });
      // });
      // 



      		$(".jcarousellite-ticker").jCarouselLite({
      			vertical: true,
      			hoverPause:false,
      			visible: 3,
      			auto:4000,
      			speed:1000
      		});





  	// applying margins to floated images correctly, used little extra code for IE's bugs.
  	if($.browser.msie){
  		$('img').each(function(){
  		    obj = $(this);
  		    if (obj.attr('style').indexOf('left') > 0) {
  		        obj.addClass('img-left');
  		    }
  				if (obj.attr('style').indexOf('right') > 0) {
  		        obj.addClass('img-right');
  		    }
  		});
  	}else{
  		$('img[style*="left"]').each(function(){
  			$(this).addClass('img-left');
  		});
  		$('img[style*="right"]').each(function(){
  			$(this).addClass('img-right');
  		});
  	}


  

  });
