//============================================================================================================
function getXMLHTTP() { //fuction to return the xml http object
		var xmlhttp=false;	
		try{
			xmlhttp=new XMLHttpRequest();
		}
		catch(e)	{		
			try{			
				xmlhttp= new ActiveXObject("Microsoft.XMLHTTP");
			}
			catch(e){
				try{
				req = new ActiveXObject("Msxml2.XMLHTTP");
				}
				catch(e1){
					xmlhttp=false;
				}
			}
		}
		 	
		return xmlhttp;
	}
	
	
	
	function showUser(strURL) 
	{		
		
		//alert(strURL);
		strURL_array=strURL.split('&');
		//alert(strURL_array[5]);
		divid_array=strURL_array[5].split('=');
		//alert(divid_array[1]);
		
		image_divid=divid_array[1];
		
		var req = getXMLHTTP();
		//alert(req);
		if (req) 
		{
			//alert(req);
			req.onreadystatechange = function() {
				if (req.readyState == 4) 
				{
					// only if "OK"
					if (req.status == 200) 
					{						
						//alert(req.responseText);
					
						//divid=req.responseText;
						document.getElementById(image_divid).innerHTML=req.responseText;						
					} 
					else 
					{
							alert("There was a problem while using XMLHTTP:\n" + req.statusText);
						
					}
				}
				else
				{
						//document.getElementById(image_divid).innerHTML="<img src='images/loading.gif' border='0'>"
						document.getElementById(image_divid).innerHTML="<br/><span class='redbig'>Feelacon was sent!!</span><br/>"
						return false;
				}
			}			
			req.open("GET", strURL, true);
			req.send(null);
		}
		
	}
	//----------------------------------------------------------------------------
