function ua_ajax(divs,params){
var target_id="ajax";
var ajax_url="/ua_ajax.php?divs=" + divs+"&"+params+"&nc=" + new Date().getTime();
var div_array=divs; div_array=div_array.split('|');
jQuery.each(div_array, function(key1,div_id1){
jQuery('#'+div_id1).html('
');
});
jQuery.ajax({
url: ajax_url,
dataType: "json",
success: function(html){
if (typeof(html)=="object"){
jQuery.each(html.divs, function(key,div_id){
var c_data='html.data.'+div_id;
if(jQuery('#'+div_id)){
jQuery('#'+div_id).html(eval(c_data));
}
});
}
}
});
}
function SetDeliveryCountry(aa) {
alert(aa);
}
function SetDeliveryService(aa) {
alert(aa);
}
function getID(objectId) {
if (document.getElementById && document.getElementById(objectId)) {
return document.getElementById(objectId);
} else if (document.all && document.all(objectId)) {
return document.all(objectId);
} else {
return false;
}
}
function AjaxGET(div_name,params,run) {
var http = false;
if(navigator.appName == "Microsoft Internet Explorer") {
http = new ActiveXObject("Microsoft.XMLHTTP");
} else {
http = new XMLHttpRequest();
}
http.abort();
http.open("GET", "/ajax.php?" + params, true);
http.onreadystatechange=function() {
getID(div_name).innerHTML = '