
jQuery(function($){
$(".box").css({overflow:"hidden"});
$('.box').hover(function(){
$(this).css({overflow:"hidden"});
$(this).stop().animate({height:"130px"},1000,function(){});
}, 
function(){
$(this).css({overflow:"hidden"});
$(this).stop().animate({height:"65px"},1000,function(){});
}); //hover handler ends

$('.news-ticker').cycle({
pause: 1,
sync: 0,
speed: 1000,
timeout: 5000,
height: 100,
fx: 'fade'
}); 

$(".tb-date").datepicker();
$(".accordion").accordion({ header: 'div.Head', active:false, collapsible: true, autoHeight: false });

});

// Tool Tip
$(function()
{	   
$('#map a').each(function(index){
$(this).click(function(){
$('#Overlay').fadeIn();	
$('#DialogueBox').fadeIn();
$('#DialogueBox').html($('.EventsDialogue').eq(index).html());
$(".dial-close").click(function(){
$('#DialogueBox').fadeOut();	
$('#Overlay').fadeOut();			
return false;					  
});
})						  
$(this).hover(function(){
$(this).find('span').css('display','block');
$(this).find('span').hide().show();
$(this).css("zIndex","8888");
}, 			   
function(){
$(this).find('span').hide();	
$(this).css("zIndex","0");
})						  
})

});


