// JavaScript Document
/*
$(document).ready(function(){
        $(".teaser-list").children("li").mouseover(function(){
            //console.log('over');
             $(this).children("div.hidden").css("display", "block");
        }).mouseout(function(){
                              // console.log($(".teaser-list").children("li").children("div.hidden"));
                                $(".teaser-list").children("li").children("div.hidden").css("display", "none");
                              });

});
*/

$(document).ready(function() {
    $('li.tooltip').each(function() {
	if($('div.hidden ul li', $(this)).length === 0) { return; }
        var tooltipContent = $(this).children('div.hidden').html();
//	$(this).easyTooltip({
/*
	$(this).simpletip({
		content: tooltipContent,
		fixed: true,
		position: [55, 0]
	});
*/
   });

    $('.map').maphilight();
    function attachEvent(i) {
        $('#hilightregion' + i).mouseover(function(e) {
            $('#region' + i).mouseover();
        }).mouseout(function(e) {
            $('#region' + i).mouseout();
        });
    }

    for(var i=1;i<=6;i++){
        attachEvent(i);
    }
  
$('#btnFirst').val('');
$('#btnPrev').val('');
$('#btnLast').val('');
$('#btnNext').val('');

$('#btnFirstDep').val('');
$('#btnPrevDep').val('');
$('#btnLastDep').val('');
$('#btnNextDep').val('');

$('#btnFirstDepBott').val('');
$('#btnPrevDepBott').val('');
$('#btnLastDepBott').val('');
$('#btnNextDepBott').val('');

$('#btnFirstAlph').val('');
$('#btnPrevAlph').val('');
$('#btnLastAlph').val('');
$('#btnNextAlph').val('');

$('#btnFirstTop').val('');
$('#btnPrevTop').val('');
$('#btnLastTop').val('');
$('#btnNextTop').val('');

$('#btnFirstBott').val('');
$('#btnPrevBott').val('');
$('#btnLastBott').val('');
$('#btnNextBott').val('');

});

