    
    tags = new Array();
    tags["advertising"] = "1-3-4-5-6-7-10";
    tags["affiliate marketing programs"] = "1-5-6-9-10";
    tags["agile programming"] = "1-2-3";
    tags["android"] = "3";
    tags["augmented reality"] = "1-2-3-5-10";
    tags["banner campaign"] = "1-3-4-10";
    tags["blackberry"] = "3";
    tags["blog"] = "1-5";
    tags["brand awareness measurement"] = "-8-9-11";
    tags["brand equity analysis"] = "-8";
    tags["branding"] = "1-2-3-4-5-6-7-8-9-10-11";
    tags["print design"] = "-6-7-10";
    tags["community management"] = "1-2-5";
    tags["company profile"] = "8-9";
    tags["copywriting"] = "1-4-5-6-7-10";
    tags["crm"] = "1-2-3-5-6-11";
    tags["e-mail marketing"] = "-5-10";
    tags["eai"] = "1-2-3";
    tags["enterprise 2.0"] = "1-2-3";
    tags["erp"] = "1-2-3";
    tags["event organization"] = "1-5-6-10";
    tags["extreme programming"] = "1-2-3";
    tags["flash mob"] = "5-6";
    tags["digital photography"] = "-4-5-6-7";
    tags["retouching"] = "-4-5-6-7";
    tags["guerrilla marketing"] = "-6-10";
    tags["in-store promotion"] = "-6-10";
    tags["internet telephony architecture"] = "2";
    tags["iphone apps"] = "3";
    tags["javascript"] = "1-3";
    tags["linux/bsd"] = "1-2";
    tags["logo design"] = "-4-5-6-7-10";
    tags["mac osx"] = "1-2-3";
    tags["marketing analysis"] = "-8-9-11";
    tags["marketing research"] = "-8-9-11";
    tags["media booking"] = "-7-10";
    tags["media planning"] = "-7-9-10";
    tags["merchandising"] = "-6-10";
    tags["micro-blogging"] = "1-2-5";
    tags["mobile"] = "2-3";
    tags["packaging"] = "-6-10";
    tags["payoff definition"] = "-4-5-6-7-10";
    tags["press agency"] = "-5-6-10";
    tags["press campaign"] = "-7-10";
    tags["public relation"] = "-5-6-10";
    tags["python"] = "1-2";
    tags["qr code"] = "1-2-3-4-5-6-7-10";
    tags["radio spot"] = "-4-7-10";
    tags["ria"] = "1-2-3";
    tags["ruby"] = "1-2";
    tags["search engine marketing"] = "1-5-10-11";
    tags["search engine optimization"] = "1-5-10";
    tags["soa"] = "1-2-3";
    tags["social network presence"] = "-4-5-8-10-11";
    tags["*sound design*"] = "0-0-0";
    tags["stationery"] = "-6-10";
    tags["strategic marketing consultancy"] = "1-3-4-5-6-7-8-9-10-11";
    tags["tactical marketing consultancy"] = "-10";
    tags["tv spot"] = "-7-10";
    tags["unconventional marketing"] = "1-3-5-6-10";
    tags["user interface design"] = "1-2-3";
    tags["video production"] = "-4-5-6-7-10";
    tags["viral marketing"] = "1-5-6-10";
    tags["voip"] = "2";
    tags["web 2.0"] = "1-2-3-4-5-6-7-8-9-10-11";
    tags["web marketing plan"] = "1-4-5-8-9-10-11";
    tags["web popularity"] = "1-8-11";    
    tags["web service"] = "1-2";
    tags["web site design"] = "1-2-3-5-10";
    tags["windows"] = "1-2-3";
    tags["web presence"] = "1-5-6-10";
    tags["stand design"] = "-6-7-10";        

$(document).ready(function() {

/*$('#company-en').hide();
$('a#company-en-show').click(function() {
    $('#company-it').hide();
    $('#company-en').fadeIn('slow');
    return false;
    });

$('a#company-en-hide').click(function() {
    $('#company-en').hide();
    $('#company-it').fadeIn('slow');
    return false;
    });

$('#marley-en').hide();
$('a#marley-en-show').click(function() {
    $('#marley-it').hide();
    $('#marley-en').fadeIn('slow');
    return false;
    });

$('a#marley-en-hide').click(function() {
    $('#marley-en').hide();
    $('#marley-it').fadeIn('slow');
    return false;
    });

$('#lightstone-en').hide();
$('a#lightstone-en-show').click(function() {
    $('#lightstone-it').hide();
    $('#lightstone-en').fadeIn('slow');
    return false;
    });

$('a#lightstone-en-hide').click(function() {
    $('#lightstone-en').hide();
    $('#lightstone-it').fadeIn('slow');
    return false;
    });*/




$('.tagcloud a').mouseout( function() {
    for (y=1; y<12; y++) {
        c = ".srvc" + y;
        $(c).addClass("off");
    }
    });

$('.tagcloud a').mouseover( function() {
    var tag = $(this).text().toLowerCase();
    if (tags[tag]) {
        ids = tags[tag].split('-');
        // spegne tutti
        for (y=1; y<12; y++) {
            c = ".srvc" + y;
            $(c).addClass("off");
        }
        // accende selezionati con fadein
        for (y=0; y<ids.length; y++) {
            c = ".srvc" + ids[y];
            $(c).removeClass("off", 1000);
        }
    }
    });



   $(".case-row").mouseover(function() {
        var cid = "#" + $(this).attr("id");
        $(cid + " > td.exp-col-1 > img").removeClass("logopac");
        $(cid + " > td.exp-col-6 > div").removeClass("none");
        $(cid + " > td.exp-col-3 > p > a > img").show();
    });

    $(".case-row").mouseout(function() {
        var cid = "#" + $(this).attr("id");
        $(cid + " > td.exp-col-1 > img").addClass("logopac");
        $(cid + " > td.exp-col-6 > div").addClass("none");
        $(cid + " > td.exp-col-3 > p > a > img").hide();
    }); 
    
}); // document.ready


 

