﻿// JScript File

//the below function returns the XmlHttpObject
function GetXmlHttpObject()
{ 
	var objXMLHttp=null
	if (window.XMLHttpRequest)
	{
		objXMLHttp=new XMLHttpRequest()
	}
	else
		if (window.ActiveXObject)
		{
			objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
		}
	return objXMLHttp
}


// function is used to set imagesource.
/*
function ShowImage(id,imagename)
{
    if(document.getElementById(id) != null)
    {
        document.getElementById(id).src=imagename;
    }
       
}
			*/