var m = document.uniqueID /*IE*/
&& document.compatMode  /*>=IE6*/
&& !window.XMLHttpRequest /*<=IE6*/
&& document.execCommand ;

try{
    if(!!m){
        m("BackgroundImageCache", false, true) /* = IE6 only */
    }
}catch(oh){};

$(document).ready(function(){

    $("table").addClass("coloured_background");
    $("table.no_formatting").removeClass("coloured_background");
    $("table tr").removeClass();
    $("table.coloured_background tr:even").addClass("pale_grey");
    $("table.coloured_background tr:odd").addClass("pale_back");

    $("#home-do").hover(function(){
        $("<p>Events, sports and leisure, eating and drinking, shopping, walks, Salford and beyond</p>").appendTo("#homebreadcrumb");
    },function(){
        $("#homebreadcrumb").empty();
    });

    $("#home-stay").hover(function(){
        $("<p>Short breaks, hotels, self catering, special offers, here on business?</p>").appendTo("#homebreadcrumb");
    },function(){
        $("#homebreadcrumb").empty();
    });

    $("#home-see").hover(function(){
        $("<p>Arts and culture, parks and countryside, music, waterways, heritage, Worsley, The Quays, Chapel Street, the future</p>").appendTo("#homebreadcrumb");
    },function(){
        $("#homebreadcrumb").empty();
    });

    // Heritage hotspots map
    
    // Historic buildings hover
    
    $("#hh-building").hover(function(){
    
        $("#hh-building").css({ cursor: "pointer" });
        $("#hh-wardleyhall span").after("<img src='template/hover-wardley-hall.png' id='hover-wardley' />");
        $("#hh-worsleycourt span").after("<img src='template/hover-worsley-court-house.png' id='hover-worsleycourt' />");
        $("#hh-packethouse span").after("<img src='template/hover-packet-house.png' id='hover-packethouse' />");
        $("#hh-irlamhall span").after("<img src='template/hover-irlam-hall.png' id='hover-irlamhall' />");
        $("#hh-wooldenhall span").after("<img src='template/hover-great-woolden-hall.png' id='hover-wooldenhall' />");
        $("#hh-civiccentre span").after("<img src='template/hover-salford-civic-centre.png' id='hover-civiccentre' />");
        $("#hh-ordsallhall span").after("<img src='template/hover-ordsall-hall.png' id='hover-ordsallhall' />");
        $("#hh-salfordlads span").after("<img src='template/hover-salford-lads-club.png' id='hover-salfordlads' />");
        $("#hh-joule span").after("<img src='template/hover-joule-house.png' id='hover-joule' />");
        $("#hh-crescent span").after("<img src='template/hover-the-crescent.png' id='hover-crescent' />");
        $("#hh-working span").after("<img src='template/hover-working-class-movement-library.png' id='hover-working' />");
        $("#hh-museum span").after("<img src='template/hover-salford-museum.png' id='hover-museum' />");
        $("#hh-peel span").after("<img src='template/hover-peel-building.png' id='hover-peel' />");
    
    },function(){
    
        $("#hh-wardleyhall span + img").fadeOut("slow",function(){
              $("#hh-wardleyhall span + img").remove();
        });

        $("#hh-worsleycourt span + img").fadeOut("slow",function(){
              $("#hh-worsleycourt span + img").remove();
        });

        $("#hh-packethouse span + img").fadeOut("slow",function(){
              $("#hh-packethouse span + img").remove();
        });

        $("#hh-irlamhall span + img").fadeOut("slow",function(){
              $("#hh-irlamhall span + img").remove();
        });

        $("#hh-wooldenhall span + img").fadeOut("slow",function(){
              $("#hh-wooldenhall span + img").remove();
        });

        $("#hh-civiccentre span + img").fadeOut("slow",function(){
              $("#hh-civiccentre span + img").remove();
        });

        $("#hh-ordsallhall span + img").fadeOut("slow",function(){
              $("#hh-ordsallhall span + img").remove();
        });

        $("#hh-salfordlads span + img").fadeOut("slow",function(){
              $("#hh-salfordlads span + img").remove();
        });

        $("#hh-joule span + img").fadeOut("slow",function(){
              $("#hh-joule span + img").remove();
        });

        $("#hh-crescent span + img").fadeOut("slow",function(){
              $("#hh-crescent span + img").remove();
        });

        $("#hh-working span + img").fadeOut("slow",function(){
              $("#hh-working span + img").remove();
        });

        $("#hh-museum span + img").fadeOut("slow",function(){
              $("#hh-museum span + img").remove();
        });

        $("#hh-peel span + img").fadeOut("slow",function(){
              $("#hh-peel span + img").remove();
        });

    });

    // Transport hover
    
    $("#hh-transport").hover(function(){

        $("#hh-transport").css({ cursor: "pointer" });
        $("#hh-chatmoss span").after("<img src='template/hover-chat-moss.png' id='hover-chatmoss' />");
        $("#hh-cityairport span").after("<img src='template/hover-barton-aerodrome.png' id='hover-cityairport' />");
        $("#hh-bartonlocks span").after("<img src='template/hover-barton-locks.png' id='hover-bartonlocks' />");
        $("#hh-bartonaqueduct span").after("<img src='template/hover-barton-aqueduct.png' id='hover-bartonaqueduct' />");
        $("#hh-bridgewatercanal span").after("<img src='template/hover-bridgewater-canal.png' id='hover-bridgewatercanal' />");
        $("#hh-shipcanal span").after("<img src='template/hover-manchester-ship-canal.png' id='hover-shipcanal' />");
        $("#hh-thequays span").after("<img src='template/hover-the-quays.png' id='hover-thequays' />");
    },function(){
    
        $("#hh-chatmoss span + img").fadeOut("slow",function(){
              $("#hh-chatmoss span + img").remove();
        });
        $("#hh-cityairport span + img").fadeOut("slow",function(){
              $("#hh-cityairport span + img").remove();
        });
        $("#hh-bartonlocks span + img").fadeOut("slow",function(){
              $("#hh-bartonlocks span + img").remove();
        });
        $("#hh-bartonaqueduct span + img").fadeOut("slow",function(){
              $("#hh-bartonaqueduct span + img").remove();
        });
        $("#hh-bridgewatercanal span + img").fadeOut("slow",function(){
              $("#hh-bridgewatercanal span + img").remove();
        });
        $("#hh-shipcanal span + img").fadeOut("slow",function(){
              $("#hh-shipcanal span + img").remove();
        });
        $("#hh-thequays span + img").fadeOut("slow",function(){
              $("#hh-thequays span + img").remove();
        });

    });

    // Walk hover
    
    $("#hh-walk").hover(function(){

        $("#hh-walk").css({ cursor: "pointer" });
        $("#hh-worsleyvillage span").after("<img src='template/hover-worsley-village-heritage-trail.png' id='hover-worsleyvillage' />");
        $("#hh-ecclesale span").after("<img src='template/hover-eccles-ale-trail.png' id='hover-ecclesale' />");
        $("#hh-quaystrail span").after("<img src='template/hover-the-quays-heritage-trail.png' id='hover-quaystrail' />");
        $("#hh-chapelheritage span").after("<img src='template/hover-chapel-street-heritage-trail.png' id='hover-chapelheritage' />");
        $("#hh-chapelale span").after("<img src='template/hover-chapel-street-ale-trail.png' id='hover-chapelale' />");

    },function(){
    
        $("#hh-worsleyvillage span + img").fadeOut("slow",function(){
              $("#hh-worsleyvillage span + img").remove();
        });
        $("#hh-ecclesale span + img").fadeOut("slow",function(){
              $("#hh-ecclesale span + img").remove();
        });
        $("#hh-quaystrail span + img").fadeOut("slow",function(){
              $("#hh-quaystrail span + img").remove();
        });
        $("#hh-chapelheritage span + img").fadeOut("slow",function(){
              $("#hh-chapelheritage span + img").remove();
        });
        $("#hh-chapelale span + img").fadeOut("slow",function(){
              $("#hh-chapelale span + img").remove();
        });

    });

    // Church hover
    
    $("#hh-church").hover(function(){

        $("#hh-church").css({ cursor: "pointer" });
        $("#hh-stmarks span").after("<img src='template/hover-st-marks-church.png' id='hover-stmarks' />");
        $("#hh-montongreen span").after("<img src='template/hover-monton-green.png' id='hover-montongreen' />");
        $("#hh-staugustines span").after("<img src='template/hover-st-augustines-church.png' id='hover-staugustines' />");
        $("#hh-philip span").after("<img src='template/hover-st-philips-church.png' id='hover-philip' />");
        $("#hh-cathedral span").after("<img src='template/hover-salford-cathedral.png' id='hover-cathedral' />");
        $("#hh-trinity span").after("<img src='template/hover-sacred-trinity-church.png' id='hover-trinity' />");

    },function(){
    
        $("#hh-stmarks span + img").fadeOut("slow",function(){
              $("#hh-stmarks span + img").remove();
        });

        $("#hh-montongreen span + img").fadeOut("slow",function(){
              $("#hh-montongreen span + img").remove();
        });

        $("#hh-staugustines span + img").fadeOut("slow",function(){
              $("#hh-staugustines span + img").remove();
        });

        $("#hh-philip span + img").fadeOut("slow",function(){
              $("#hh-philip span + img").remove();
        });

        $("#hh-cathedral span + img").fadeOut("slow",function(){
              $("#hh-cathedral span + img").remove();
        });

        $("#hh-trinity span + img").fadeOut("slow",function(){
              $("#hh-trinity span + img").remove();
        });
    
    });

    // Park hover
    
    $("#hh-park").hover(function(){

        $("#hh-park").css({ cursor: "pointer" });
        $("#hh-blackleachcountry span").after("<img src='template/hover-blackleach-country-park.png' id='hover-blackleach' />");
        $("#hh-cliftoncountry span").after("<img src='template/hover-clifton-country-park.png' id='hover-clifton' />");
        $("#hh-victoriapark span").after("<img src='template/hover-victoria-park.png' id='hover-victoriapark' />");
        $("#hh-builehill span").after("<img src='template/hover-buile-hill-hall.png' id='hover-builehill' />");

    },function(){
    
        $("#hh-blackleachcountry span + img").fadeOut("slow",function(){
              $("#hh-blackleachcountry span + img").remove();
        });

        $("#hh-cliftoncountry span + img").fadeOut("slow",function(){
              $("#hh-cliftoncountry span + img").remove();
        });

        $("#hh-victoriapark span + img").fadeOut("slow",function(){
              $("#hh-victoriapark span + img").remove();
        });

        $("#hh-builehill span + img").fadeOut("slow",function(){
              $("#hh-builehill span + img").remove();
        });
    
    });

    // Individual hover elements
    
    $("#hh-chapelale").hover(function(){
        $("#hh-chapelale span").after("<img src='template/hover-chapel-street-ale-trail.png' id='hover-chapelale' />");
    },function(){
        $("#hh-chapelale span + img").fadeOut("slow",function(){
            $("#hh-chapelale span + img").remove();
        });
    });

    $("#hh-philip").hover(function(){
        $("#hh-philip span").after("<img src='template/hover-st-philips-church.png' id='hover-philip' />");
    },function(){
        $("#hh-philip span + img").fadeOut("slow",function(){
              $("#hh-philip span + img").remove();
        });
    });

    $("#hh-chapelheritage").hover(function(){
        $("#hh-chapelheritage span").after("<img src='template/hover-chapel-street-heritage-trail.png' id='hover-chapelheritage' />");
    },function(){
        $("#hh-chapelheritage span + img").fadeOut("slow",function(){
              $("#hh-chapelheritage span + img").remove();
        });
    });

    $("#hh-cathedral").hover(function(){
        $("#hh-cathedral span").after("<img src='template/hover-salford-cathedral.png' id='hover-cathedral' />");
    },function(){
        $("#hh-cathedral span + img").fadeOut("slow",function(){
              $("#hh-cathedral span + img").remove();
        });
    });

    $("#hh-trinity").hover(function(){
        $("#hh-trinity span").after("<img src='template/hover-sacred-trinity-church.png' id='hover-trinity' />");
    },function(){
        $("#hh-trinity span + img").fadeOut("slow",function(){
              $("#hh-trinity span + img").remove();
        });
    });

    $("#hh-peel").hover(function(){
        $("#hh-peel span").after("<img src='template/hover-peel-building.png' id='hover-peel' />");
    },function(){
        $("#hh-peel span + img").fadeOut("slow",function(){
              $("#hh-peel span + img").remove();
        });
    });

    $("#hh-museum").hover(function(){
        $("#hh-museum span").after("<img src='template/hover-salford-museum.png' id='hover-museum' />");
    },function(){
        $("#hh-museum span + img").fadeOut("slow",function(){
              $("#hh-museum span + img").remove();
        });
    });

    $("#hh-crescent").hover(function(){
        $("#hh-crescent span").after("<img src='template/hover-the-crescent.png' id='hover-crescent' />");
    },function(){
        $("#hh-crescent span + img").fadeOut("slow",function(){
              $("#hh-crescent span + img").remove();
        });
    });

    $("#hh-working").hover(function(){
        $("#hh-working span").after("<img src='template/hover-working-class-movement-library.png' id='hover-working' />");
    },function(){
        $("#hh-working span + img").fadeOut("slow",function(){
              $("#hh-working span + img").remove();
        });
    });

    $("#hh-joule").hover(function(){
        $("#hh-joule span").after("<img src='template/hover-joule-house.png' id='hover-joule' />");
    },function(){
        $("#hh-joule span + img").fadeOut("slow",function(){
              $("#hh-joule span + img").remove();
        });
    });

    $("#hh-salfordlads").hover(function(){
        $("#hh-salfordlads span").after("<img src='template/hover-salford-lads-club.png' id='hover-salfordlads' />");
    },function(){
        $("#hh-salfordlads span + img").fadeOut("slow",function(){
              $("#hh-salfordlads span + img").remove();
        });
    });

    $("#hh-ordsallhall").hover(function(){
        $("#hh-ordsallhall span").after("<img src='template/hover-ordsall-hall.png' id='hover-ordsallhall' />");
    },function(){
        $("#hh-ordsallhall span + img").fadeOut("slow",function(){
              $("#hh-ordsallhall span + img").remove();
        });
    });

    $("#hh-quaystrail").hover(function(){
        $("#hh-quaystrail span").after("<img src='template/hover-the-quays-heritage-trail.png' id='hover-quaystrail' />");
    },function(){
        $("#hh-quaystrail span + img").fadeOut("slow",function(){
              $("#hh-quaystrail span + img").remove();
        });
    });

    $("#hh-thequays").hover(function(){
        $("#hh-thequays span").after("<img src='template/hover-the-quays.png' id='hover-thequays' />");
    },function(){
        $("#hh-thequays span + img").fadeOut("slow",function(){
              $("#hh-thequays span + img").remove();
        });
    });

    $("#hh-shipcanal").hover(function(){
        $("#hh-shipcanal span").after("<img src='template/hover-manchester-ship-canal.png' id='hover-shipcanal' />");
    },function(){
        $("#hh-shipcanal span + img").fadeOut("slow",function(){
              $("#hh-shipcanal span + img").remove();
        });
    });

    $("#hh-stmarks").hover(function(){
        $("#hh-stmarks span").after("<img src='template/hover-st-marks-church.png' id='hover-stmarks' />");
    },function(){
        $("#hh-stmarks span + img").fadeOut("slow",function(){
              $("#hh-stmarks span + img").remove();
        });
    });

    $("#hh-worsleycourt").hover(function(){
        $("#hh-worsleycourt span").after("<img src='template/hover-worsley-court-house.png' id='hover-worsleycourt' />");
    },function(){
        $("#hh-worsleycourt span + img").fadeOut("slow",function(){
              $("#hh-worsleycourt span + img").remove();
        });
    });

    $("#hh-packethouse").hover(function(){
        $("#hh-packethouse span").after("<img src='template/hover-packet-house.png' id='hover-packethouse' />");
    },function(){
        $("#hh-packethouse span + img").fadeOut("slow",function(){
              $("#hh-packethouse span + img").remove();
        });
    });

    $("#hh-bridgewatercanal").hover(function(){
        $("#hh-bridgewatercanal span").after("<img src='template/hover-bridgewater-canal.png' id='hover-bridgewatercanal' />");
    },function(){
        $("#hh-bridgewatercanal span + img").fadeOut("slow",function(){
              $("#hh-bridgewatercanal span + img").remove();
        });
    });

    $("#hh-wardleyhall").hover(function(){
        $("#hh-wardleyhall span").after("<img src='template/hover-wardley-hall.png' id='hover-wardley' />");
    },function(){
        $("#hh-wardleyhall span + img").fadeOut("slow",function(){
              $("#hh-wardleyhall span + img").remove();
        });
    });

    $("#hh-worsleyvillage").hover(function(){
        $("#hh-worsleyvillage span").after("<img src='template/hover-worsley-village-heritage-trail.png' id='hover-worsleyvillage' />");
    },function(){
        $("#hh-worsleyvillage span + img").fadeOut("slow",function(){
              $("#hh-worsleyvillage span + img").remove();
        });
    });

    $("#hh-blackleachcountry").hover(function(){
        $("#hh-blackleachcountry span").after("<img src='template/hover-blackleach-country-park.png' id='hover-blackleach' />");
    },function(){
        $("#hh-blackleachcountry span + img").fadeOut("slow",function(){
              $("#hh-blackleachcountry span + img").remove();
        });
    });

    $("#hh-cliftoncountry").hover(function(){
        $("#hh-cliftoncountry span").after("<img src='template/hover-clifton-country-park.png' id='hover-clifton' />");
    },function(){
        $("#hh-cliftoncountry span + img").fadeOut("slow",function(){
              $("#hh-cliftoncountry span + img").remove();
        });
    });

    $("#hh-staugustines").hover(function(){
        $("#hh-staugustines span").after("<img src='template/hover-st-augustines-church.png' id='hover-staugustines' />");
    },function(){
        $("#hh-staugustines span + img").fadeOut("slow",function(){
              $("#hh-staugustines span + img").remove();
        });
    });

    $("#hh-victoriapark").hover(function(){
        $("#hh-victoriapark span").after("<img src='template/hover-victoria-park.png' id='hover-victoriapark' />");
    },function(){
        $("#hh-victoriapark span + img").fadeOut("slow",function(){
              $("#hh-victoriapark span + img").remove();
        });
    });

    $("#hh-civiccentre").hover(function(){
        $("#hh-civiccentre span").after("<img src='template/hover-salford-civic-centre.png' id='hover-civiccentre' />");
    },function(){
        $("#hh-civiccentre span + img").fadeOut("slow",function(){
              $("#hh-civiccentre span + img").remove();
        });
    });

    $("#hh-builehill").hover(function(){
        $("#hh-builehill span").after("<img src='template/hover-buile-hill-hall.png' id='hover-builehill' />");
    },function(){
        $("#hh-builehill span + img").fadeOut("slow",function(){
              $("#hh-builehill span + img").remove();
        });
    });

    $("#hh-ecclesale").hover(function(){
        $("#hh-ecclesale span").after("<img src='template/hover-eccles-ale-trail.png' id='hover-ecclesale' />");
    },function(){
        $("#hh-ecclesale span + img").fadeOut("slow",function(){
              $("#hh-ecclesale span + img").remove();
        });
    });

    $("#hh-montongreen").hover(function(){
        $("#hh-montongreen span").after("<img src='template/hover-monton-green.png' id='hover-montongreen' />");
    },function(){
        $("#hh-montongreen span + img").fadeOut("slow",function(){
              $("#hh-montongreen span + img").remove();
        });
    });

    $("#hh-bartonaqueduct").hover(function(){
        $("#hh-bartonaqueduct span").after("<img src='template/hover-barton-aqueduct.png' id='hover-bartonaqueduct' />");
    },function(){
        $("#hh-bartonaqueduct span + img").fadeOut("slow",function(){
              $("#hh-bartonaqueduct span + img").remove();
        });
    });

    $("#hh-bartonlocks").hover(function(){
        $("#hh-bartonlocks span").after("<img src='template/hover-barton-locks.png' id='hover-bartonlocks' />");
    },function(){
        $("#hh-bartonlocks span + img").fadeOut("slow",function(){
              $("#hh-bartonlocks span + img").remove();
        });
    });

    $("#hh-cityairport").hover(function(){
        $("#hh-cityairport span").after("<img src='template/hover-barton-aerodrome.png' id='hover-cityairport' />");
    },function(){
        $("#hh-cityairport span + img").fadeOut("slow",function(){
              $("#hh-cityairport span + img").remove();
        });
    });

    $("#hh-chatmoss").hover(function(){
        $("#hh-chatmoss span").after("<img src='template/hover-chat-moss.png' id='hover-chatmoss' />");
    },function(){
        $("#hh-chatmoss span + img").fadeOut("slow",function(){
              $("#hh-chatmoss span + img").remove();
        });
    });

    $("#hh-irlamhall").hover(function(){
        $("#hh-irlamhall span").after("<img src='template/hover-irlam-hall.png' id='hover-irlamhall' />");
    },function(){
        $("#hh-irlamhall span + img").fadeOut("slow",function(){
              $("#hh-irlamhall span + img").remove();
        });
    });

    $("#hh-wooldenhall").hover(function(){
        $("#hh-wooldenhall span").after("<img src='template/hover-great-woolden-hall.png' id='hover-wooldenhall' />");
    },function(){
        $("#hh-wooldenhall span + img").fadeOut("slow",function(){
              $("#hh-wooldenhall span + img").remove();
        });
    });

    // Food and drink hotspots map
    
    // Italian hover
    
    $("#fd-italian").hover(function(){

        $("#fd-italian").css({ cursor: "pointer" });
        $("#fd-mambo span").after("<img src='template/hover-fd-mambo.png' id='hover-mambo' />");
        $("#fd-milan span").after("<img src='template/hover-fd-milan.png' id='hover-milan' />");
        $("#fd-felicini span").after("<img src='template/hover-fd-felicini.png' id='hover-felicini' />");
        $("#fd-puccini span").after("<img src='template/hover-fd-pucinni.png' id='hover-pucinni' />");
        $("#fd-isis span").after("<img src='template/hover-fd-isis.png' id='hover-isis' />");
        $("#fd-pizza span").after("<img src='template/hover-fd-pizza.png' id='hover-pizza' />");

    },function(){
    
        $("#fd-mambo span + img").fadeOut("slow",function(){
              $("#fd-mambo span + img").remove();
        });
        $("#fd-milan span + img").fadeOut("slow",function(){
              $("#fd-milan span + img").remove();
        });
        $("#fd-felicini span + img").fadeOut("slow",function(){
              $("#fd-felicini span + img").remove();
        });
        $("#fd-puccini span + img").fadeOut("slow",function(){
              $("#fd-puccini span + img").remove();
        });
        $("#fd-isis span + img").fadeOut("slow",function(){
              $("#fd-isis span + img").remove();
        });
        $("#fd-pizza span + img").fadeOut("slow",function(){
              $("#fd-pizza span + img").remove();
        });
    
    });

    // Modern British hover
    
    $("#fd-british").hover(function(){

        $("#fd-british").css({ cursor: "pointer" });
        $("#fd-bridgewater span").after("<img src='template/hover-fd-bridgewater.png' id='hover-bridgewater' />");
        $("#fd-cromptons span").after("<img src='template/hover-fd-cromptons.png' id='hover-cromptons' />");
        $("#fd-m30 span").after("<img src='template/hover-fd-m30.png' id='hover-m30' />");
        $("#fd-smiths span").after("<img src='template/hover-fd-smiths.png' id='hover-smiths' />");
        $("#fd-punters span").after("<img src='template/hover-fd-punters.png' id='hover-punters' />");
        $("#fd-copthorne span").after("<img src='template/hover-fd-copthorne.png' id='hover-copthorne' />");
        $("#fd-river span").after("<img src='template/hover-fd-river.png' id='hover-river' />");
        $("#fd-lime span").after("<img src='template/hover-fd-lime.png' id='hover-lime' />");
        $("#fd-lowry span").after("<img src='template/hover-fd-lowry.png' id='hover-lowry' />");

    },function(){
    
        $("#fd-bridgewater span + img").fadeOut("slow",function(){
              $("#fd-bridgewater span + img").remove();
        });

        $("#fd-cromptons span + img").fadeOut("slow",function(){
              $("#fd-cromptons span + img").remove();
        });

        $("#fd-m30 span + img").fadeOut("slow",function(){
              $("#fd-m30 span + img").remove();
        });

        $("#fd-smiths span + img").fadeOut("slow",function(){
              $("#fd-smiths span + img").remove();
        });

        $("#fd-punters span + img").fadeOut("slow",function(){
              $("#fd-punters span + img").remove();
        });

        $("#fd-copthorne span + img").fadeOut("slow",function(){
              $("#fd-copthorne span + img").remove();
        });

        $("#fd-river span + img").fadeOut("slow",function(){
              $("#fd-river span + img").remove();
        });

        $("#fd-lime span + img").fadeOut("slow",function(){
              $("#fd-lime span + img").remove();
        });

        $("#fd-lowry span + img").fadeOut("slow",function(){
              $("#fd-lowry span + img").remove();
        });

    });
    
    // Chinese hover
    
    $("#fd-chinese").hover(function(){

        $("#fd-chinese").css({ cursor: "pointer" });
        $("#fd-chopsticks span").after("<img src='template/hover-fd-chopsticks.png' id='hover-chopsticks' />");
        $("#fd-pond span").after("<img src='template/hover-fd-pond.png' id='hover-pond' />");
        $("#fd-tung span").after("<img src='template/hover-fd-tung.png' id='hover-tung' />");
        $("#fd-pacifica span").after("<img src='template/hover-fd-pacifica.png' id='hover-pacifica' />");

    },function(){
    
        $("#fd-chopsticks span + img").fadeOut("slow",function(){
              $("#fd-chopsticks span + img").remove();
        });

        $("#fd-pond span + img").fadeOut("slow",function(){
              $("#fd-pond span + img").remove();
        });

        $("#fd-tung span + img").fadeOut("slow",function(){
              $("#fd-tung span + img").remove();
        });

        $("#fd-pacifica span + img").fadeOut("slow",function(){
              $("#fd-pacifica span + img").remove();
        });

    });

    // American hover
    
    $("#fd-american").hover(function(){

        $("#fd-american").css({ cursor: "pointer" });
        $("#fd-exchange span").after("<img src='template/hover-fd-exchange.png' id='hover-exchange' />");
        $("#fd-frankie span").after("<img src='template/hover-fd-frankie.png' id='hover-frankie' />");
        $("#fd-chiquito span").after("<img src='template/hover-fd-chiquito.png' id='hover-chiquito' />");

    },function(){
    
        $("#fd-exchange span + img").fadeOut("slow",function(){
              $("#fd-exchange span + img").remove();
        });

        $("#fd-frankie span + img").fadeOut("slow",function(){
              $("#fd-frankie span + img").remove();
        });

        $("#fd-chiquito span + img").fadeOut("slow",function(){
              $("#fd-chiquito span + img").remove();
        });
    });

    // Indian hover
    
    $("#fd-indian").hover(function(){

        $("#fd-indian").css({ cursor: "pointer" });
        $("#fd-antelope span").after("<img src='template/hover-fd-antelope.png' id='hover-antelope' />");
        $("#fd-bilash span").after("<img src=template/hover-fd-bilash.png' id='hover-bilash' />");
        $("#fd-valley span").after("<img src='template/hover-fd-valley.png' id='hover-valley' />");
        $("#fd-eastzeast span").after("<img src='template/hover-fd-eastzeast.png' id='hover-eastzeast' />");
        
    },function(){
    
        $("#fd-antelope span + img").fadeOut("slow",function(){
              $("#fd-antelope span + img").remove();
        });

        $("#fd-bilash span + img").fadeOut("slow",function(){
              $("#fd-bilash span + img").remove();
        });

        $("#fd-valley span + img").fadeOut("slow",function(){
              $("#fd-valley span + img").remove();
        });

        $("#fd-eastzeast span + img").fadeOut("slow",function(){
              $("#fd-eastzeast span + img").remove();
        });

    });

    // Spanish hover
    
    $("#fd-spanish").hover(function(){

        $("#fd-spanish").css({ cursor: "pointer" });
        $("#fd-ambiente span").after("<img src='template/hover-fd-ambiente.png' id='hover-ambiente' />");
        
    },function(){
    
        $("#fd-ambiente span + img").fadeOut("slow",function(){
              $("#fd-ambiente span + img").remove();
        });

    });

    // Bars and pubs hover
    
    $("#fd-bars").hover(function(){

        $("#fd-bars").css({ cursor: "pointer" });
        $("#fd-coach span").after("<img src='template/hover-fd-coach.png' id='hover-coach' />");
        $("#fd-woodside span").after("<img src='template/hover-fd-woodside.png' id='hover-woodside' />");
        $("#fd-gilbert span").after("<img src='template/hover-fd-gilbert.png' id='hover-gilbert' />");
        $("#fd-barton span").after("<img src='template/hover-fd-barton.png' id='hover-barton' />");
        $("#fd-crescent span").after("<img src='template/hover-fd-crescent.png' id='hover-crescent' />");
        $("#fd-kings span").after("<img src='template/hover-fd-kings.png' id='hover-kings' />");
        $("#fd-oxford span").after("<img src='template/hover-fd-oxford.png' id='hover-oxford' />");
        $("#fd-grapes span").after("<img src='template/hover-fd-grapes.png' id='hover-grapes' />");
        $("#fd-lion span").after("<img src='template/hover-fd-lion.png' id='hover-lion' />");
        $("#fd-lamb span").after("<img src='template/hover-fd-lamb.png' id='hover-lamb' />");
        $("#fd-addy span").after("<img src='template/hover-fd-addy.png' id='hover-addy' />");
        
    },function(){
    
        $("#fd-coach span + img").fadeOut("slow",function(){
              $("#fd-coach span + img").remove();
        });

        $("#fd-woodside span + img").fadeOut("slow",function(){
              $("#fd-woodside span + img").remove();
        });

        $("#fd-gilbert span + img").fadeOut("slow",function(){
              $("#fd-gilbert span + img").remove();
        });

        $("#fd-barton span + img").fadeOut("slow",function(){
              $("#fd-barton span + img").remove();
        });

        $("#fd-crescent span + img").fadeOut("slow",function(){
              $("#fd-crescent span + img").remove();
        });

        $("#fd-kings span + img").fadeOut("slow",function(){
              $("#fd-kings span + img").remove();
        });

        $("#fd-oxford span + img").fadeOut("slow",function(){
              $("#fd-oxford span + img").remove();
        });

        $("#fd-grapes span + img").fadeOut("slow",function(){
              $("#fd-grapes span + img").remove();
        });

        $("#fd-lion span + img").fadeOut("slow",function(){
              $("#fd-lion span + img").remove();
        });

        $("#fd-lamb span + img").fadeOut("slow",function(){
              $("#fd-lamb span + img").remove();
        });

        $("#fd-addy span + img").fadeOut("slow",function(){
              $("#fd-addy span + img").remove();
        });

    });

    // French hover
    
    $("#fd-french").hover(function(){

        $("#fd-french").css({ cursor: "pointer" });
        $("#fd-rouge span").after("<img src='template/hover-fd-rouge.png' id='hover-rouge' />");
        
    },function(){
    
        $("#fd-rouge span + img").fadeOut("slow",function(){
              $("#fd-rouge span + img").remove();
        });

    });

    // Individual hover elements

    $("#fd-addy").hover(function(){
        $("#fd-addy span").after("<img src='template/hover-fd-addy.png' id='hover-addy' />");
    },function(){
        $("#fd-addy span + img").fadeOut("slow",function(){
            $("#fd-addy span + img").remove();
        });
    });
    
    $("#fd-ambiente").hover(function(){
        $("#fd-ambiente span").after("<img src='template/hover-fd-ambiente.png' id='hover-ambiente' />");
    },function(){
        $("#fd-ambiente span + img").fadeOut("slow",function(){
            $("#fd-ambiente span + img").remove();
        });
    });
    
    $("#fd-antelope").hover(function(){
        $("#fd-antelope span").after("<img src='template/hover-fd-antelope.png' id='hover-antelope' />");
    },function(){
        $("#fd-antelope span + img").fadeOut("slow",function(){
            $("#fd-antelope span + img").remove();
        });
    });
    
    $("#fd-barton").hover(function(){
        $("#fd-barton span").after("<img src='template/hover-fd-barton.png' id='hover-barton' />");
    },function(){
        $("#fd-barton span + img").fadeOut("slow",function(){
            $("#fd-barton span + img").remove();
        });
    });
    
    $("#fd-bilash").hover(function(){
        $("#fd-bilash span").after("<img src='template/hover-fd-bilash.png' id='hover-bilash' />");
    },function(){
        $("#fd-bilash span + img").fadeOut("slow",function(){
            $("#fd-bilash span + img").remove();
        });
    });
    
    $("#fd-bridgewater").hover(function(){
        $("#fd-bridgewater span").after("<img src='template/hover-fd-bridgewater.png' id='hover-bridgewater' />");
    },function(){
        $("#fd-bridgewater span + img").fadeOut("slow",function(){
            $("#fd-bridgewater span + img").remove();
        });
    });
    
    $("#fd-chiquito").hover(function(){
        $("#fd-chiquito span").after("<img src='template/hover-fd-chiquito.png' id='hover-chiquito' />");
    },function(){
        $("#fd-chiquito span + img").fadeOut("slow",function(){
            $("#fd-chiquito span + img").remove();
        });
    });
    
    $("#fd-chopsticks").hover(function(){
        $("#fd-chopsticks span").after("<img src='template/hover-fd-chopsticks.png' id='hover-chopsticks' />");
    },function(){
        $("#fd-chopsticks span + img").fadeOut("slow",function(){
            $("#fd-chopsticks span + img").remove();
        });
    });
    
    $("#fd-coach").hover(function(){
        $("#fd-coach span").after("<img src='template/hover-fd-coach.png' id='hover-coach' />");
    },function(){
        $("#fd-coach span + img").fadeOut("slow",function(){
            $("#fd-coach span + img").remove();
        });
    });
    
    $("#fd-copthorne").hover(function(){
        $("#fd-copthorne span").after("<img src='template/hover-fd-copthorne.png' id='hover-copthorne' />");
    },function(){
        $("#fd-copthorne span + img").fadeOut("slow",function(){
            $("#fd-copthorne span + img").remove();
        });
    });
    
    $("#fd-crescent").hover(function(){
        $("#fd-crescent span").after("<img src='template/hover-fd-crescent.png' id='hover-crescent' />");
    },function(){
        $("#fd-crescent span + img").fadeOut("slow",function(){
            $("#fd-crescent span + img").remove();
        });
    });
    
    $("#fd-cromptons").hover(function(){
        $("#fd-cromptons span").after("<img src='template/hover-fd-cromptons.png' id='hover-cromptons' />");
    },function(){
        $("#fd-cromptons span + img").fadeOut("slow",function(){
            $("#fd-cromptons span + img").remove();
        });
    });
    
    $("#fd-dining").hover(function(){
        $("#fd-dining span").after("<img src='template/hover-fd-dining.png' id='hover-dining' />");
    },function(){
        $("#fd-dining span + img").fadeOut("slow",function(){
            $("#fd-dining span + img").remove();
        });
    });
    
    $("#fd-eastzeast").hover(function(){
        $("#fd-eastzeast span").after("<img src='template/hover-fd-eastzeast.png' id='hover-eastzeast' />");
    },function(){
        $("#fd-eastzeast span + img").fadeOut("slow",function(){
            $("#fd-eastzeast span + img").remove();
        });
    });
    
    $("#fd-exchange").hover(function(){
        $("#fd-exchange span").after("<img src='template/hover-fd-exchange.png' id='hover-exchange' />");
    },function(){
        $("#fd-exchange span + img").fadeOut("slow",function(){
            $("#fd-exchange span + img").remove();
        });
    });
    
    $("#fd-felicini").hover(function(){
        $("#fd-felicini span").after("<img src='template/hover-fd-felicini.png' id='hover-felicini' />");
    },function(){
        $("#fd-felicini span + img").fadeOut("slow",function(){
            $("#fd-felicini span + img").remove();
        });
    });
    
    $("#fd-frankie").hover(function(){
        $("#fd-frankie span").after("<img src='template/hover-fd-frankie.png' id='hover-frankie' />");
    },function(){
        $("#fd-frankie span + img").fadeOut("slow",function(){
            $("#fd-frankie span + img").remove();
        });
    });
    
    $("#fd-gilbert").hover(function(){
        $("#fd-gilbert span").after("<img src='template/hover-fd-gilbert.png' id='hover-gilbert' />");
    },function(){
        $("#fd-gilbert span + img").fadeOut("slow",function(){
            $("#fd-gilbert span + img").remove();
        });
    });
    
    $("#fd-grapes").hover(function(){
        $("#fd-grapes span").after("<img src='template/hover-fd-grapes.png' id='hover-grapes' />");
    },function(){
        $("#fd-grapes span + img").fadeOut("slow",function(){
            $("#fd-grapes span + img").remove();
        });
    });
    
    $("#fd-isis").hover(function(){
        $("#fd-isis span").after("<img src='template/hover-fd-isis.png' id='hover-isis' />");
    },function(){
        $("#fd-isis span + img").fadeOut("slow",function(){
            $("#fd-isis span + img").remove();
        });
    });
    
    $("#fd-kings").hover(function(){
        $("#fd-kings span").after("<img src='template/hover-fd-kings.png' id='hover-kings' />");
    },function(){
        $("#fd-kings span + img").fadeOut("slow",function(){
            $("#fd-kings span + img").remove();
        });
    });
    
    $("#fd-lamb").hover(function(){
        $("#fd-lamb span").after("<img src='template/hover-fd-lamb.png' id='hover-lamb' />");
    },function(){
        $("#fd-lamb span + img").fadeOut("slow",function(){
            $("#fd-lamb span + img").remove();
        });
    });
    
    $("#fd-lime").hover(function(){
        $("#fd-lime span").after("<img src='template/hover-fd-lime.png' id='hover-lime' />");
    },function(){
        $("#fd-lime span + img").fadeOut("slow",function(){
            $("#fd-lime span + img").remove();
        });
    });
    
    $("#fd-lion").hover(function(){
        $("#fd-lion span").after("<img src='template/hover-fd-lion.png' id='hover-lion' />");
    },function(){
        $("#fd-lion span + img").fadeOut("slow",function(){
            $("#fd-lion span + img").remove();
        });
    });
    
    $("#fd-lowry").hover(function(){
        $("#fd-lowry span").after("<img src='template/hover-fd-lowry.png' id='hover-lowry' />");
    },function(){
        $("#fd-lowry span + img").fadeOut("slow",function(){
            $("#fd-lowry span + img").remove();
        });
    });
    
    $("#fd-m30").hover(function(){
        $("#fd-m30 span").after("<img src='template/hover-fd-m30.png' id='hover-m30' />");
    },function(){
        $("#fd-m30 span + img").fadeOut("slow",function(){
            $("#fd-m30 span + img").remove();
        });
    });
    
    $("#fd-mambo").hover(function(){
        $("#fd-mambo span").after("<img src='template/hover-fd-mambo.png' id='hover-mambo' />");
    },function(){
        $("#fd-mambo span + img").fadeOut("slow",function(){
            $("#fd-mambo span + img").remove();
        });
    });
    
    $("#fd-milan").hover(function(){
        $("#fd-milan span").after("<img src='template/hover-fd-milan.png' id='hover-milan' />");
    },function(){
        $("#fd-milan span + img").fadeOut("slow",function(){
            $("#fd-milan span + img").remove();
        });
    });
    
    $("#fd-oxford").hover(function(){
        $("#fd-oxford span").after("<img src='template/hover-fd-oxford.png' id='hover-oxford' />");
    },function(){
        $("#fd-oxford span + img").fadeOut("slow",function(){
            $("#fd-oxford span + img").remove();
        });
    });
    
    $("#fd-pacifica").hover(function(){
        $("#fd-pacifica span").after("<img src='template/hover-fd-pacifica.png' id='hover-pacifica' />");
    },function(){
        $("#fd-pacifica span + img").fadeOut("slow",function(){
            $("#fd-pacifica span + img").remove();
        });
    });
    
    $("#fd-pizza").hover(function(){
        $("#fd-pizza span").after("<img src='template/hover-fd-pizza.png' id='hover-pizza' />");
    },function(){
        $("#fd-pizza span + img").fadeOut("slow",function(){
            $("#fd-pizza span + img").remove();
        });
    });
    
    $("#fd-pond").hover(function(){
        $("#fd-pond span").after("<img src='template/hover-fd-pond.png' id='hover-pond' />");
    },function(){
        $("#fd-pond span + img").fadeOut("slow",function(){
            $("#fd-pond span + img").remove();
        });
    });
    
    $("#fd-puccini").hover(function(){
        $("#fd-puccini span").after("<img src='template/hover-fd-pucinni.png' id='hover-pucinni' />");
    },function(){
        $("#fd-puccini span + img").fadeOut("slow",function(){
            $("#fd-puccini span + img").remove();
        });
    });
    
    $("#fd-punters").hover(function(){
        $("#fd-punters span").after("<img src='template/hover-fd-punters.png' id='hover-punters' />");
    },function(){
        $("#fd-punters span + img").fadeOut("slow",function(){
            $("#fd-punters span + img").remove();
        });
    });
    
    $("#fd-river").hover(function(){
        $("#fd-river span").after("<img src='template/hover-fd-river.png' id='hover-river' />");
    },function(){
        $("#fd-river span + img").fadeOut("slow",function(){
            $("#fd-river span + img").remove();
        });
    });
    
    $("#fd-rouge").hover(function(){
        $("#fd-rouge span").after("<img src='template/hover-fd-rouge.png' id='hover-rouge' />");
    },function(){
        $("#fd-rouge span + img").fadeOut("slow",function(){
            $("#fd-rouge span + img").remove();
        });
    });
    
    $("#fd-smiths").hover(function(){
        $("#fd-smiths span").after("<img src='template/hover-fd-smiths.png' id='hover-smiths' />");
    },function(){
        $("#fd-smiths span + img").fadeOut("slow",function(){
            $("#fd-smiths span + img").remove();
        });
    });
    
    $("#fd-tung").hover(function(){
        $("#fd-tung span").after("<img src='template/hover-fd-tung.png' id='hover-tung' />");
    },function(){
        $("#fd-tung span + img").fadeOut("slow",function(){
            $("#fd-tung span + img").remove();
        });
    });
    
    $("#fd-valley").hover(function(){
        $("#fd-valley span").after("<img src='template/hover-fd-valley.png' id='hover-valley' />");
    },function(){
        $("#fd-valley span + img").fadeOut("slow",function(){
            $("#fd-valley span + img").remove();
        });
    });
    
    $("#fd-woodside").hover(function(){
        $("#fd-woodside span").after("<img src='template/hover-fd-woodside.png' id='hover-woodside' />");
    },function(){
        $("#fd-woodside span + img").fadeOut("slow",function(){
            $("#fd-woodside span + img").remove();
        });
    });

});