function brand_onchange_country(div,catid,extra)
{
var url="loadcountry.php?regionid="+catid+"&extra="+extra;
//alert (url);
var oXmlHttp = zXmlHttp.createRequest();
     oXmlHttp.open("get",url,true);
     oXmlHttp.onreadystatechange = function () {
        if (oXmlHttp.readyState == 4) {
            if (oXmlHttp.status == 200) {
                div = document.getElementById(div);				
                div.innerHTML = oXmlHttp.responseText;
                div.style.display = "";
            }
        }
    }
    oXmlHttp.send(null);
}
function brand_onchange_country2(div,catid,extra)
{
var url="loadcountry2.php?regionid="+catid+"&extra="+extra;
//alert (url);
var oXmlHttp = zXmlHttp.createRequest();
     oXmlHttp.open("get",url,true);
     oXmlHttp.onreadystatechange = function () {
        if (oXmlHttp.readyState == 4) {
            if (oXmlHttp.status == 200) {
                div = document.getElementById(div);				
                div.innerHTML = oXmlHttp.responseText;
                div.style.display = "";
            }
        }
    }
    oXmlHttp.send(null);
}
function brand_onchange_city(div,catid,extra)
{
var url="loadcity.php?country="+catid+"&extra="+extra;
//alert (url);
var oXmlHttp = zXmlHttp.createRequest();
     oXmlHttp.open("get",url,true);
     oXmlHttp.onreadystatechange = function () {
        if (oXmlHttp.readyState == 4) {
            if (oXmlHttp.status == 200) {
                div = document.getElementById(div);				
                div.innerHTML = oXmlHttp.responseText;
                div.style.display = "";
            }
        }
    }
    oXmlHttp.send(null);
}
function brand_onchange_city2(div,catid,extra)
{
var url="loadcity2.php?country="+catid+"&extra="+extra;

var oXmlHttp = zXmlHttp.createRequest();
     oXmlHttp.open("get",url,true);
     oXmlHttp.onreadystatechange = function () {
        if (oXmlHttp.readyState == 4) {
            if (oXmlHttp.status == 200) {
                div = document.getElementById(div);				
                div.innerHTML = oXmlHttp.responseText;
                div.style.display = "";
            }
        }
    }
    oXmlHttp.send(null);
}

function brand_onchange_activities(div,catid,extra)
{
var url="loadactivities.php?country="+catid+"&extra="+extra;
//alert (url);
var oXmlHttp = zXmlHttp.createRequest();
     oXmlHttp.open("get",url,true);
     oXmlHttp.onreadystatechange = function () {
        if (oXmlHttp.readyState == 4) {
            if (oXmlHttp.status == 200) {
                div = document.getElementById(div);				
                div.innerHTML = oXmlHttp.responseText;
                div.style.display = "";
            }
        }
    }
    oXmlHttp.send(null);
}
