var xmlHttp;
function createObjectAjax()
{
	xmlHttp = false;
	try
	{
		xmlHttp = new ActiveXObject('Msxml2.XMLHTTP');
	}
	catch (e)
	{
		try
		{
			xmlHttp = new ActiveXObject('Microsoft.XMLHTTP');
		}
		catch (e2)
		{
			xmlHttp = false;
		}
	}
	if (!xmlHttp && typeof XMLHttpRequest != 'undefined')
	{
		xmlHttp = new XMLHttpRequest();
	}
}

function rawurldecode(str)
{         
	var n, strCode, strDecode = ""; 
	for (n = 0; n < str.length; n++)
	{
		if (str.charAt(n) == "%")
		{
			strCode = str.charAt(n + 1) + str.charAt(n + 2);
			strDecode += String.fromCharCode(parseInt(strCode, 16));
			n += 2;
		}
		else
		{
			strDecode += str.charAt(n);
		}
	}
	return strDecode;     
}

