Question: I'm looking for a solution of adding a value for a style property of an xhtml page component.
It could be control or HTML element both cases suits me fine.

Here's an example of the idea

```
<ctrl:ctrlName ..... style="The_Parameter" />

```

or

```
<div ..... style="The_Parameter" />

```

If someone happens the be familiar with this or any technique that could help, I do appreciate your kind help, BR

Answer: 
```
var hellos = {
    ESP: 'Hola a todos!',
    ENG: 'Hello everybody!'
};

var myLang = 'ESP';

console.log(hellos[myLang]);

```

I don't like putting everything in global scope, and then string accessing window properties; so here is another way to do it.
```
var myLang = "ESP";

var myText = {
    ESP : "Hola a todos!",
    ENG : "Hello everybody!"
}

console.log(myText[myLang]); // This should trace "Hola a todos!"

```