//[Begin]UK10704 index.aspx 620 only
//hide & show "read more" "read less"
$(document).ready(function() {
  
  var read = $('#read');
  var more = $('#more').hide().css('opacity','0');
  
  $(read).click(function(){
    
    if($(more).is(':visible')) {
      $(this).fadeOut().fadeIn().html('Read more');
      $(more).animate({ opacity: "0" }, 500);
      $(more).slideUp();
    } else {
      $(this).fadeOut().fadeIn().html('Read less');
      $(more).slideDown(function(){
        $(more).animate({ opacity: "1" }, 1000);
      });
    }
    return false;
  });

	//smooth page scrolling
  $('a[href*=#]').click(function() {
    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
      var $target = $(this.hash);
      $target = $target.length && $target || $('[name=' + this.hash.slice(1) +']');
      if ($target.length) {
        var targetOffset = $target.offset().top;
        $('html,body').animate({scrollTop: targetOffset}, 1000);
        return false;
      }
    }
  });
	//open links in new window  
  $("a[href^='http']").attr('target','_blank');
});        
//[End]UK10704 index.aspx 620 only
