function country_sel(){
	$.post("../ip_country_xml_sel.php", {}, function(data){
		if(data.length >0) {
			select_cbo_by_value('country_user',data);
			cur_sel();
		}
	});
}


function cur_sel() {
	$.post("../curr_ajax.php", {}, function(data){
		if(data.length >0) {
//			alert (data);
			select_cbo_by_value('currency',data);
		}
	});
}

function select_cbo_by_value(id, v) { 
	var cbo=document.getElementById(id); 
	for(var i=0; i<cbo.length; i++)	{ 
		if(cbo.options[i].value==v)	{ 
			cbo.selectedIndex=i; 
			return; 
		} 
	} 
}