caloutput = ""; var imajq = jQuery.noConflict(); imajq(document).ready(function(){ imajq("#calDisplay").html(""); imajq("#calDisplay").append(caloutput); imajq(".cal_hover").mouseenter(function() { var off = imajq("#Calendar1").offset(); var width = imajq("#Calendar1").css("width"); width= parseInt(width); width = off.left - 190; imajq(".mup_eventDispBkg").css("left", width ) imajq(".mup_eventDispBkg").css("top", off.top ) ts = setTimeout(function(){ imajq(".mup_eventDispBkg").show();},700); },function() { var b = setTimeout(function(){ imajq(".mup_eventDispBkg").hide();},100); }); imajq(".cal_hover").mouseleave(function() { imajq(".mup_eventDispBkg").hide(); clearTimeout(ts); //clearTimeout(b); }); }); function upDateCal(month,year) { var loc = "http://www.bostonballet.org/site/services/smallcalendar.aspx?monthupwithevent&sDate="+month+"/1/"+year; imajq("#calDisplay").html("
"); } function showDaysEventsIMA(month, day, year) { t = setTimeout(function(){ if(document.getElementById('day_' + month + '_'+ day +'_'+ year)) { //alert(document.getElementById('day_' + month + '_'+ day +'_'+ year).innerHTML); document.getElementById('eventplaceholder').className = ''; sbr =/\^/g; var s = document.getElementById('day_' + month + '_'+ day +'_'+ year).innerHTML; imajq("#eventplaceholder").html(s.replace(sbr,"
")); }},700); } function stopTimer() { clearTimeout(t); }