		/**
		* Load Ajax Html list country
		*/
		
		function LoadAjax(var_load,id_obj,select) {
			if(var_load != '' && select != '' && id_obj != '') {
				load_time_dm_pop = 0;
				
				var selobj = jQuery('select#'+id_obj).get(0)
				var first = jQuery(selobj).children('option:first').val();
				jQuery('select#'+id_obj).mouseover( function(event) {
					switch(var_load) {
						case 'dm_pop':
							if(load_time_dm_pop < 1 ) { 
								loadlist(selobj,'/include/eng/popup/ajax/country.php?getlist=country&current='+first,'country',select,id_obj,var_load); 
							}
							break;
					}
				});
			}
			

		}
		
		function loadlist(selobj,url,nameattr,select,id_obj,var_load) {
			
			jQuery.getJSON(url,{},function(data) {
				// sort cause of Opera/chrome/IE/safari
				var html = '';
				var opt = new Array();
				var opt2 = new Array();
				jQuery.each(data[0], function(i,obj) {
					opt[opt.length++] = new fill_data(i,obj + ' (+' + i + ')');
				});
				opt.sort(SortByValue);
				
				jQuery.each(data[1], function(i,obj) {
					opt2[opt2.length++] = new fill_data(i,obj + ' (+' + i + ')');
				});
				opt2.sort(SortByValue);
				var key_search = '';
				jQuery.each(opt2, function(i,obj) {
					key_search = obj.Key;
				});
				jQuery.each(opt, function(i,obj) {			
					if(obj.Key == key_search) {
						html += '<option selected="selected" value="' + obj.Key + '">' + obj.Value + '</option>';
					} else {
						html += '<option value="' + obj.Key + '">'+ obj.Value + '</option>';
					}
				});
				jQuery(selobj).html(html);

				switch(var_load) {
					case 'dm_pop':
						load_time_dm_pop++;
						break;
				}
			});
			return false;
		}
		function fill_data(key, value){
			this.Key = key;
			this.Value = value;
		}
		function SortByValue(a,b){
			var x = a.Value.toLowerCase();
			var y = b.Value.toLowerCase();
			return ((x < y) ? -1 : ((x > y) ? 1 :0));
		}
		
