 
function homepage(id,lan){
 var xmlHttp;
 var url='../ajax/homeproduct.php?id='+id+'&lan='+lan;
 if (window.ActiveXObject) { 
  xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
 } 
 else if (window.XMLHttpRequest) { 
  xmlHttp = new XMLHttpRequest();
 } 
 
 xmlHttp.onreadystatechange = function(){
  if(xmlHttp.readyState == 4){
   document.getElementById('product').innerHTML = xmlHttp.responseText;
  }
 }

 xmlHttp.open("GET",url,true);
 xmlHttp.send(null);
}

 
function moveproduct(id,lan){
 var xmlHttp;
 var url='../ajax/moveproduct.php?id='+id+'&lan='+lan;
 if (window.ActiveXObject) { 
  xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
 } 
 else if (window.XMLHttpRequest) { 
  xmlHttp = new XMLHttpRequest();
 } 
 
 xmlHttp.onreadystatechange = function(){
  if(xmlHttp.readyState == 4){
   document.getElementById('moveproduct').innerHTML = xmlHttp.responseText;
  }
 }

 xmlHttp.open("GET",url,true);
 xmlHttp.send(null);
}

function homepage1(id,lan){
 var xmlHttp;
 var url='ajax/homeproduct1.php?id='+id+'&lan='+lan;
 if (window.ActiveXObject) { 
  xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
 } 
 else if (window.XMLHttpRequest) { 
  xmlHttp = new XMLHttpRequest();
 } 
 
 xmlHttp.onreadystatechange = function(){
  if(xmlHttp.readyState == 4){
   document.getElementById('product').innerHTML = xmlHttp.responseText;
  }
 }

 xmlHttp.open("GET",url,true);
 xmlHttp.send(null);
}

function world(id,lan){
 var xmlHttp;
 var url='../ajax/world.php?id='+id+'&lan='+lan;
 if (window.ActiveXObject) { 
  xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
 } 
 else if (window.XMLHttpRequest) { 
  xmlHttp = new XMLHttpRequest();
 } 
 
 xmlHttp.onreadystatechange = function(){
  if(xmlHttp.readyState == 4){
   document.getElementById('world').innerHTML = xmlHttp.responseText;
  }
 }

 xmlHttp.open("GET",url,true);
 xmlHttp.send(null);
}
