/****************************************************************************************
Author:					Noah Bacon
Date Created:				2010.03.29
Last Modification Date:			2010.03.29
Company:					JAHL Datasystems
Site:						C&GG Beads
File name:					remoteScript.js

Overview:
	This file contains some common useful functions for dealing with remote 
	scripting.
****************************************************************************************/
function getXMLHttpRequest() {
	if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari
		return new XMLHttpRequest();
	} else {// code for IE6, IE5
		return new ActiveXObject("Microsoft.XMLHTTP");
	}
}

