// enable circular scrollables with a click handler
 $(document).ready(function(){
   $('a').focus(function(){
    $(this).blur();
  });
$(function() {
     var zIndexNumber = 5000;
           $('div').each(function() {
          $(this).css('zIndex', zIndexNumber);
          zIndexNumber -= 10;
      });
  });

  
  
  
  
  
  
  
  $("#send_mm #name").val($("#send_mm #name").attr("alt")); 
  $("#send_mm #name").focus(function() {
    var imp_txt=$("#send_mm #name").val();
    if (imp_txt==$("#send_mm #name").attr("alt"))
     $("#send_mm #name").val(''); 
  });
  $("#send_mm #name").blur(function() {
   var imp_txt=$("#send_mm #name").val();
   if (imp_txt=="")
     $("#send_mm #name").val($("#send_mm #name").attr("alt")); 
   });
   
   
  $("#send_mm #email").val($("#send_mm #email").attr("alt")); 
  $("#send_mm #email").focus(function() {
    var imp_txt=$("#send_mm #email").val();
    if (imp_txt==$("#send_mm #email").attr("alt"))
     $("#send_mm #email").val(''); 
  });
  $("#send_mm #email").blur(function() {
   var imp_txt=$("#send_mm #email").val();
   if (imp_txt=="")
     $("#send_mm #email").val($("#send_mm #email").attr("alt")); 
   });
   
   
  $("#send_mm #fmessage").val($("#send_mm #fmessage").attr("alt")); 
  $("#send_mm #fmessage").focus(function() {
    var imp_txt=$("#send_mm #fmessage").val();
    if (imp_txt==$("#send_mm #fmessage").attr("alt"))
     $("#send_mm #fmessage").val(''); 
  });
  $("#send_mm #fmessage").blur(function() {
   var imp_txt=$("#send_mm #fmessage").val();
   if (imp_txt=="")
     $("#send_mm #fmessage").val($("#send_mm #fmessage").attr("alt")); 
   });
   $("#send_mm").validate();
$(".gal_main .gall_holder").jCarouselLite({
    btnNext: "#gal_prev",
    btnPrev: "#gal_next",
    visible: 5,
    speed: 400,
    easing: "backout"




});  
        
$(".widget img").click(function() {
  //alert($('#img_click').attr("src"));
    $('#img_click').attr("src", $(this).attr("src"));
})


$(".imageSlider .jCarouselLite").jCarouselLite({
    btnNext: ".left_arrow_small #prev",
    btnPrev: ".right_arrow_small #next",
    visible: 1,
    speed: 500,
    easing: "easeinout"
}); 


$(".inside_contacts5 ul li").click(function() {
  var id_li='#'+($(this).attr("title"));
  $('#div_cont_').children('div').css('display','none');
  $(id_li).css('display','');
})
  
    
}); 

