function GetXmlHttp()
	{
 		var xmlhttp;
 		if(window.XMLHttpRequest)
  		xmlhttp=new XMLHttpRequest();
 		else
 		{
   			try
   			{
     			xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");
   			}
   			catch(E)
   			{
     			try
      			{
        			xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
      			}
      			catch(E)
      			{
         			xmlhttp=false;
      			}
   			}
 		}
  		return xmlhttp;
	}
	
function getURl()
{
	var locstring=String(location.href);
	var startIndex = locstring.lastIndexOf('/');
	var otherstr=locstring.substring(0,(startIndex+1));
	return otherstr;
}