function VehicleTypes() {
    this.bussy = false;
}
VehicleTypes.prototype = new DXMLHttpRequestShell();
VehicleTypes.constructor = VehicleTypes;
VehicleTypes.prototype.onLoad = function() {
    this.bussy = false;
    
    if (this.getResponseXML()) {
        var rootNode = (document.all)? this.getResponseXML().firstChild.nextSibling : this.getResponseXML().firstChild;
        if (rootNode.nodeName == "childnodes") {
	        var resultData = this.getAllData(rootNode);
	        populateChildNodes(resultData);
        }
    }
}
VehicleTypes.prototype.getChildNodes = function(lang, parentId) {
    if (!this.bussy && parentId != "null") {
        this.bussy = true;
        
        this.init();
        
        this.fastGetUrl(BASE_URL + lang + "/get/vehicletypes/childnodes/" + parentId);
        
        return true;
    } else {
        return false;
    }
}
