// JavaScript Document

	var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src=\'" + gaJsHost + "google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E"));

	try {
	var pageTracker = _gat._getTracker("UA-2897652-1");
	pageTracker._trackPageview();
	} catch(err) {};

	function set_region(cont, country, state)
	{
		$.ajax({	
		type: "POST",
		url: "include/set_region.php",
		data: 'cont='+encodeURIComponent(cont)+'&country='+encodeURIComponent(country)+'&state='+encodeURIComponent(state)+'',
		dataType: 'json',	// expecting json
		success: function(msg){
			if(msg.msg=='0') {
				window.location.reload(true);
				//window.location='listing_frame.php';
			}		
		}
		});
	}
	

