
/****************************************************************
* file: 	ajaxtoy.js
* author:	toy
* date:		13jan09
* re:		toys ajax lib
*
* rev history
* [toy 13jan09]		orig version
*****************************************************************/
var $J = jQuery.noConflict();
var spinner = "<img src='/images/spinner.gif' border='0'>";

function GetXmlHttpObject()
{
	var xmlHttp=null;

	// Firefox, Opera 8.0+, Safari
	try {
		xmlHttp=new XMLHttpRequest();
	}
	catch (e)
	{
		// Internet Explorer
		try {
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		}
		catch (e) {
			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		}
	}
	return xmlHttp;
}

