$(document).ready(function() {
  /*$(".foo-content").hide();*/
  // Test for IE 6
  if( $.browser.msie() && $.browser.version.number() < 7 ) {
    /* add some bite me ie6 code here if needed */
  }else{
    /* provided a tooltip on events classed as eventpop */
    $('.eventpop').bt({
      /*contentSelector: "$('.fo-content').html()", get text of inner content of hidden div*/
      ajaxPath: ["$(this).attr('id')", 'div.ajaxtip-content'],
      ajaxCache: false,
      cornerRadius: 10,
      strokeStyle: '#999',
      strokeWidth: 1,
      spikeGirth: 10,
      spikeLength: 30,
      shadow: true,
      shadowOffsetX: 3,
      shadowOffsetY: 3,
      shadowBlur: 8,
      shadowColor: 'rgba(0,0,0,.9)',
      shadowOverlap: true,
      noShadowOpts: {strokeStyle: '#999', strokeWidth: 1},
      positions: ['top', 'bottom'],
      clickAnywhereToClose: true,
      closeWhenOthersOpen: true,
      shrinkToFit: true,
      fill: '#f5f1e4',
		  trigger:	[ 'mouseover', 'blur' ]
      });// end tooltip
  }// end IE6 test
});// end document ready function
