// cross feed

jQuery(function()
{
  jQuery("#slideshow li:not(:first)").hide();
  jQuery("#slideshow li:first").addClass("selected");
  var dim=1;
  var count = function(){
  var len =jQuery("#slideshow").children().length;
     if(dim>=len){
         dim=1;
         crossfeadeF();
     }else{
        dim +=1;
     crossfeade();}
  }
  var crossfeade = function(){
jQuery("#slideshow").children(".selected").fadeOut("3300").removeClass().next().fadeIn("slow").addClass("selected");
   };
   var crossfeadeF = function(){
jQuery("#slideshow").children(".selected").fadeOut("3300").removeClass().siblings("li:first").fadeIn("slow").addClass("selected");
   };
   var intervalID = setInterval(count, 5000);
  }
);




// textarea

jQuery(function(){
  jQuery('textarea').keyup(function(){
    var br = jQuery(this).val().split("\n").length + 6;
    br = br * 10;
    jQuery(this).height(br + 'px');
  });
});



// footer

jQuery(document).ready(function() {
  jQuery("#footerLink ul li+li")
  .css("border-left","1px solid #FFF")
})


function show() {
   var now = new Date();
   var year = now.getFullYear();
   document.write(year);
}



