 
function ajaxFunction(cat,subcat)
{
document.getElementById('divsub').innerHTML="";
document.getElementById('divsub1').style.display="block";
var xmlHttp;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }
  xmlHttp.onreadystatechange=function()
    {
    if(xmlHttp.readyState==4)
      {
	  	document.getElementById('divsub1').style.display="none";
	  document.getElementById('divsub').innerHTML=xmlHttp.responseText;
       
      }
    }
  xmlHttp.open("get","../../files/html/sellers/ajax_cat.php?typ=1&ajax=1&cat="+cat +"&subcat=" +subcat,true);
  xmlHttp.send(null);
  }
 
 
var loaded1=false;
var loaded2=false
function ajaxFunction1(vt )
{
 
 
document.getElementById('makdiv').innerHTML="";
document.getElementById('makdiv1').style.display="block";
var xmlHttp;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }
  xmlHttp.onreadystatechange=function()
    {
    if(xmlHttp.readyState==4)
      {
	  loaded1=true;
	  	document.getElementById('makdiv1').style.display="none";
	  document.getElementById('makdiv').innerHTML=xmlHttp.responseText;
       
      }
    }
  xmlHttp.open("get","../../files/html/sellers/ajax_cat.php?ajax=1&typ=2 &make1="+vt ,true);
  xmlHttp.send(null);
  }
 
function ajaxFunction2( vt)
{
document.getElementById('moddiv').innerHTML="";
document.getElementById('moddiv1').style.display="block";
var xmlHttp;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttp=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    try
      {
      xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
    catch (e)
      {
      alert("Your browser does not support AJAX!");
      return false;
      }
    }
  }
  xmlHttp.onreadystatechange=function()
    {
    if(xmlHttp.readyState==4)
      {
	  loaded2=true
	  	document.getElementById('moddiv1').style.display="none";
	  document.getElementById('moddiv').innerHTML=xmlHttp.responseText;
       
      }
    }
  xmlHttp.open("get","../../files/html/sellers/ajax_cat.php?ajax=1&typ=3&model1="+vt ,true);
  xmlHttp.send(null);
  }

 