function getFuncs() {
    checkJS();
    geoLoc();
}

//google.load("search", "1");
function geoLoc() {
    //Commented out to prevent javascript errors
/*
    var country = google.loader.ClientLocation.address.country;
    var allSection = document.getElementById("changeLocAll");
    var header = document.getElementById("changeLocHeader");

    //Show certain info based on country
    if (country.toLowerCase() == "united kingdom") {
        header.innerHTML = "<img src=\"/_images/london2012/london2012_text.gif\" border=\"0\" alt=\"London 2012\" />";
        //header.innerHTML = "<h2>London 2012</h2>";
        allSection.innerHTML = "<a href=\"/locations/uk/london2012/\"><img src=\"/_images/london2012_supplier_logo_gr.gif\" style=\"float: right; margin: 5px; vertical-align:text-bottom;\" alt=\"the London 2012 Olympic Games provider logo\" /></a> \n <p>In February 2009, the London Organising Committee of the Olympic Games and Paralympic Games (LOCOG) appointed us as the official legal services provider to the London 2012 Olympic Games and Paralympic Games.</p> \n <a href=\"/locations/uk/london2012/\" title=\"Read about our involvement in London 2012\">Read about our involvement in London 2012</a>";
    }
    */
}

function goToPage(dd) {
    var ind = dd.selectedIndex;
    if (ind == 0) {
        return; 
    }
    var url = dd.options[ind].value;
    document.location.href = url;
}


function checkJS() {
    document.getElementById("go_country").style.display = 'none';
    document.getElementById("go_practice").style.display = 'none';
    document.getElementById("go_industry").style.display = 'none';
    document.getElementById("country").style.width = '260px';
    document.getElementById("practice").style.width = '260px';
    document.getElementById("industry").style.width = '260px';
}

