function focus_control(content){
   var indicator = document.getElementById("indicator");
   var focus_c = document.getElementById("focus");
   var focus_txt_sub = document.getElementById("focus_txt_sub");
   if(content == "1"){
     indicator.style.top = "-20px";
     focus_c.style.background = "url('../../../__data/assets/image/0013/131017/Ambition-Survey-infocus.jpg') no-repeat";
     focus_txt_sub.innerHTML = "Global opportunities";
     focus_txt_sub.style.top = "0px";
   } else if(content == "2"){
     indicator.style.top = "16px";
     focus_c.style.background = "url('../../../__data/assets/image/0004/102874/A-Focus-On_OCT_1.jpg') no-repeat";
     focus_txt_sub.innerHTML = "Audit discounting";
     focus_txt_sub.style.top = "40px";
   } else if(content == "3"){
     indicator.style.top = "52px";
     focus_c.style.background = "url('../../../__data/assets/image/0006/138669/Automotive-B-and-Sfocuson.jpg') no-repeat";
     focus_txt_sub.innerHTML = "Buying & selling checklists";
     focus_txt_sub.style.top = "77px";
   } else if(content == "4"){
     indicator.style.top = "88px";
     focus_c.style.background = "url('../../../__data/assets/image/0011/137594/AUS-Service2020_focuson.jpg') no-repeat";
     focus_txt_sub.innerHTML = "Service 2020";
     focus_txt_sub.style.top = "115px";
   }
}

function show_people(){
  var xmlHttp=GetXmlHttpObject();
  var url = "../../../../_designs/bdo_com_au/nested_content/home/find-a-partner"
  var params = "status=ok";
  xmlHttp.open("POST", url, true);

  xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  xmlHttp.setRequestHeader("Content-length", params.length);
  xmlHttp.setRequestHeader("Connection", "close");
	
  xmlHttp.onreadystatechange = function() {
    if(xmlHttp.readyState == 4 && xmlHttp.status == 200) {
      var response = xmlHttp.responseText;
      var container = document.getElementById("people_service_line");
      container.innerHTML = response;
      if(container.style.display == "none"){
        container.style.display = "";
      } else {
        container.style.display = "none";
      }
    }
  }
  xmlHttp.send(params);	
}

function GetXmlHttpObject(){
  var xmlHttp=null;
  try{
  	xmlHttp=new XMLHttpRequest();
  } catch (e){
  try{
  	xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
  } catch (e){
  	xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
}
return xmlHttp;
}
