$(document).ready(function() {
  $('#search a').cluetip({
    positionBy: 'fixed',
    leftOffset: -222,
    topOffset: 30,
    local: true,
    clickThrough : false,
    sticky: true,
    cursor: 'pointer',
//    arrows: true, // not working with positionBy: 'fixed'
    mouseOutClose: true,
    closeText: '',
    showTitle: false
  });
  
  $('.full').hide();
  $('.more > span').click(function() {
    $(this).parent().next('div.full').slideToggle('fast');
  });
  
  $('.mapPopUpWrap').hide();
  $('.mapPointer').click(function() {
    $('.mapPopUpWrap:visible').slideUp('fast');
    $(this).next('.mapPopUpWrap:hidden').slideDown('fast');
  });
  
  $('.linktopoint > li').click(function() {
    var point = $(this).attr('id');
    $('.mapPopUpWrap:visible').slideUp('fast');
    $('#' + point.substring(1) + ' .mapPopUpWrap:hidden').slideDown('fast');
  });
  
});


