

var sottocategoria = false;

function slowsottocategorie(categoria) {


sottocategoria = false;

if (window.XMLHttpRequest) { // Mozilla, Safari,...

sottocategoria = new XMLHttpRequest();

if (sottocategoria.overrideMimeType) {
sottocategoria.overrideMimeType('text/html');
// See note below about this line
}


} else if (window.ActiveXObject) { // IE
try {
sottocategoria = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
sottocategoria = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {}
}

}

if (!sottocategoria) {
            alert('Giving up :( Cannot create an XMLHTTP instance');
            return false;
        }
        sottocategoria.onreadystatechange = sottocategoriaContents;
        sottocategoria.open('post', '/_tools/_ajax/sottocategorie.lasso?categoria='+escape(categoria), 'true');
        sottocategoria.send(null);
		

}

function sottocategoriaContents() {

        if (sottocategoria.readyState == 4) {
            if (sottocategoria.status == 200) {
                document.getElementById('view_sottocategorie').innerHTML = sottocategoria.responseText;
				
            }
        }

    }
	
