//For Popular items Module
var xmlHttpobj4
function OSPopularItemList()
{ 
xmlHttpobj4=GetXmlHttpObject4();
if (xmlHttpobj4==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url="include/functions.asp?fcat=2";
xmlHttpobj4.onreadystatechange=stateChangedfunhtml;
xmlHttpobj4.open("GET",url,true);
xmlHttpobj4.send(null);
}

function stateChangedfunhtml() 
{ 


if (xmlHttpobj4.readyState==4)
	{ 
	document.getElementById("OSPopularItemList").innerHTML=xmlHttpobj4.responseText;
	}
}
function GetXmlHttpObject4()
{
var xmlHttpobj4=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttpobj4=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttpobj4=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttpobj4=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttpobj4;

}

//Ajax for Popular items end//

//For LeftbagsIndex Module
var xmlHttpobj5
function LeftBagsIndexNavigation(cid)
{ 
xmlHttpobj5=GetXmlHttpObject5();
if (xmlHttpobj5==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url5="include/functions.asp?fcat=1&cid="+cid;
xmlHttpobj5.onreadystatechange=stateChangedfun5;
xmlHttpobj5.open("GET",url5,true);
xmlHttpobj5.send(null);
}

function stateChangedfun5() 
{ 
if (xmlHttpobj5.readyState==4)
	{ 
	document.getElementById("LeftIndexNavigation").innerHTML=xmlHttpobj5.responseText;
	}
}
function GetXmlHttpObject5()
{
var xmlHttpobj5=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttpobj5=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttpobj5=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttpobj5=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttpobj5;

}

//Ajax for LeftIndex end//



//For LeftIndex Module
var xmlHttpobj2
function LeftIndexNavigation(cid)
{ 
xmlHttpobj2=GetXmlHttpObject2();
if (xmlHttpobj2==null)
  {
  alert ("Your browser does not support AJAX!");
  return;
  } 
var url2="include/functions.asp?fcat=1&cid="+cid;
xmlHttpobj2.onreadystatechange=stateChangedfun1;
xmlHttpobj2.open("GET",url2,true);
xmlHttpobj2.send(null);
}

function stateChangedfun1() 
{ 
if (xmlHttpobj2.readyState==4)
	{ 
	document.getElementById("LeftIndexNavigation").innerHTML=xmlHttpobj2.responseText;
	}
}
function GetXmlHttpObject2()
{
var xmlHttpobj2=null;
try
  {
  // Firefox, Opera 8.0+, Safari
  xmlHttpobj2=new XMLHttpRequest();
  }
catch (e)
  {
  // Internet Explorer
  try
    {
    xmlHttpobj2=new ActiveXObject("Msxml2.XMLHTTP");
    }
  catch (e)
    {
    xmlHttpobj2=new ActiveXObject("Microsoft.XMLHTTP");
    }
  }
return xmlHttpobj2;

}

//Ajax for LeftIndex end//











   
    

        	


