var xmlHttp2

function showMyTags(type)
{

xmlHttp2=GetXmlHttpObject2(type)

if (xmlHttp2==null)
 {
 alert ("Browser does not support HTTP Request")
 return
 } 

 var url="../tags.php?type=" + type;

 xmlHttp2.onreadystatechange = stateChanged3
 xmlHttp2.open("POST",url,true)
 xmlHttp2.send(null)
} 

function stateChanged3()
{ 
if (xmlHttp2.readyState==4 || xmlHttp2.readyState=="complete")
 { 
 document.getElementById("page-loader-ani2").style.visibility = 'hidden';
 document.getElementById("page-loader-ani2").style.display = 'none'; 
   switch(xmlHttp2.type) {
 	case "alpha":
 	document.getElementById("alpha").innerHTML=xmlHttp2.responseText;
 	break;
 	case "size":
 	document.getElementById("size").innerHTML=xmlHttp2.responseText;
 	break;
   }
 } else {
 document.getElementById("page-loader-ani2").style.visibility = 'visible';
 document.getElementById("page-loader-ani2").style.display = 'block';  
 } 
}

function GetXmlHttpObject2(type)
{
var xmlHttp2=null;
try
 {
 // Firefox, Opera 8.0+, Safari
 xmlHttp2=new XMLHttpRequest();
 xmlHttp2.type = type;
 }
catch (e)
 {
 // Internet Explorer
 try
  {
  xmlHttp2=new ActiveXObject("Msxml2.XMLHTTP");
  }
 catch (e)
  {
  xmlHttp2=new ActiveXObject("Microsoft.XMLHTTP");
  }
 }
return xmlHttp2;
}