1
////-->Ajax
    function makeRequest(url,Place,img,displaystr,iframe,poplay)
    {
			if(!img)
				img = "./images/loadingAnimation.gif";
			string = '<table width="100%" border="0" height="100%"><tr><td height="100%" align="center" valign="middle"><img src='+img+' ></td>  </tr></table>';
			if(displaystr)
				string += displaystr;
			document.getElementById(Place).innerHTML = string;
        	var http_request = false;
        	if (window.XMLHttpRequest)
        	{ // Mozilla, Safari, ...
            http_request = new XMLHttpRequest();
            if (http_request.overrideMimeType)
            {
                http_request.overrideMimeType('text/xml');
            }
        	}
        	else if (window.ActiveXObject)
        	{ // IE
            try
            {
                http_request = new ActiveXObject("Msxml2.XMLHTTP");
            }
            catch (e)
            {
                try
                {
                    http_request = new ActiveXObject("Microsoft.XMLHTTP");
                } catch (e) {}
            }
        	}
        	if (!http_request)
        	{
            alert('Giving up :( Cannot create an XMLHTTP instance');
            return false;
        	}
        	
        	http_request.onreadystatechange = function() { alertContents(http_request,Place,iframe,poplay); };
        	http_request.open('GET', url, true);
        	http_request.send(null);
        	
    }
    function alertContents(http_request,Place,iframe,poplay)
    {

        if (http_request.readyState == 4)
        {
            if (http_request.status == 200)
            {
                
                document.getElementById(Place).innerHTML=http_request.responseText;
                if (poplay)
                {
                	document.getElementById(poplay).style.visibility='visible';
                	document.getElementById(iframe).style.visibility='visible';
					
					
				    }
            }
            else
            {
                alert('There was a problem with the request.');
            }
			
        }
        //alert('aaaa');
		
    }
//-->End Ajax

