// JavaScript Document

	function getHTTPObject()

	{

		var xmlhttp;

		try

		{

			xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");

		}

		catch (e)

		{

			try 

			{

				xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");

			}

			catch (E)

			{

				xmlhttp = false;

			}

		}

		if (!xmlhttp && typeof XMLHttpRequest != 'undefined')

		{

			try

			{

				xmlhttp = new XMLHttpRequest();

			}

			catch (e)

			{

				xmlhttp = false;

			}

		}

		return xmlhttp;

	}

	function handleHttpRealtorResponse()

	{

	}

	function get_Classifieds(temp)

	{	

		// AJAX module to load the Classifieds

		

		//var urltoget = "http://localhost/aasthi/getClassifieds.php"+temp;

		

		var urltoget = "/getClassifieds.php"+temp;

		

		httpR = new getHTTPObject();

		if (httpR)

		{

			httpR.open("GET", urltoget, true);

			httpR.send(null);

			httpR.onreadystatechange = function handleHttpRealtorResponse() {

				if (httpR.readyState == 4)

				{

					document.getElementById("classifiedone").innerHTML = "";

					document.getElementById("classifiedone").innerHTML = httpR.responseText;

				}

			}

		}

	}