function loadurl(dest) 	{try  { 
		// Moz supports XMLHttpRequest. IE uses ActiveX.  
		// browser detction is bad. object detection works for any browser  
		xmlhttp = window.XMLHttpRequest?new XMLHttpRequest():
		new ActiveXObject("Microsoft.XMLHTTP"); 
		} 

	catch (e) 
		{ 
		window.location="view.php";
		// browser doesn't support ajax. handle however you want  
		} 

	// the xmlhttp object triggers an event everytime the status changes  
	// triggered() function handles the events  

	xmlhttp.onreadystatechange = triggered; 

	// open takes in the HTTP method and url.  
	xmlhttp.open("GET", dest, true); 
	// send the request. if this is a POST request we would have  
	// sent post variables: send("name=aleem&gender=male");  

	// Moz is fine with just send(); but  
	// IE expects a value here, hence we do send(null);  
	xmlhttp.send(null); 
	} 



	function triggered() 
		{ 
		// if the readyState code is 4 (Completed)  
		// and http status is 200 (OK) we go ahead and get the responseText  
		// other readyState codes:  
		// 0=Uninitialised 1=Loading 2=Loaded 3=Interactive  
		if ((xmlhttp.readyState == 4) && (xmlhttp.status == 200)) 
			{ 
			// xmlhttp.responseText object contains the response.  
			document.getElementById("condoslide").innerHTML = xmlhttp.responseText;
			} 
		}


function loadurl2(dest2) 	{try  { 
		// Moz supports XMLHttpRequest. IE uses ActiveX.  
		// browser detction is bad. object detection works for any browser  
		xmlhttp2 = window.XMLHttpRequest?new XMLHttpRequest():
		new ActiveXObject("Microsoft.XMLHTTP"); 
		} 

	catch (e) 
		{ 
		// browser doesn't support ajax. handle however you want  
		} 

	// the xmlhttp object triggers an event everytime the status changes  
	// triggered2() function handles the events  

	xmlhttp2.onreadystatechange = triggered2; 

	// open takes in the HTTP method and url.  
	xmlhttp2.open("GET", dest2, true); 
	// send the request. if this is a POST request we would have  
	// sent post variables: send("name=aleem&gender=male");  

	// Moz is fine with just send(); but  
	// IE expects a value here, hence we do send(null);  
	xmlhttp2.send(null); 
	} 



	function triggered2() 
		{ 
		// if the readyState code is 4 (Completed)  
		// and http status is 200 (OK) we go ahead and get the responseText  
		// other readyState codes:  
		// 0=Uninitialised 1=Loading 2=Loaded 3=Interactive  
		if ((xmlhttp2.readyState == 4) && (xmlhttp2.status == 200)) 
			{ 
			// xmlhttp2.responseText object contains the response.  
			document.getElementById("condoslide2").innerHTML = xmlhttp2.responseText;
			} 
		}
