// Style
function classStyles(){
    this.style 		= new Array();
    
    // Method 
    this.addStyle = function classStyles_addStyle(nameIndiceStyle,name,element){
        this.style[nameIndiceStyle] = new classStyle(name,element);
    }

    this.getStyle = function classStyles_getStyle(nameIndiceStyle){
        return this.style[nameIndiceStyle];
    }
    this.count = function count(){
        return this.style.length;
    }
}

function classStyle(name,element){
    this.styleName		= name;
    this.styleElement 	= element;
    this.attribute 		= new Array();

    // Method 
    this.addAttribute = function classStyle_addAttribute(nameIndiceAttribute,name,value){
        this.attribute[nameIndiceAttribute] = new classAttribute(name,value);
    }
    
     this.getAttribute = function classStyle_getAttribute(nameIndiceAttribute){
        return this.attribute[nameIndiceAttribute];
    }
}

// Attribute of this style
function classAttribute(name,value){
    this.attName 	= name;
    this.attValue 	= value;
}