/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

function setTheme( theme ) {
    var url = location.href;
    if (url == 'http://www.twa.es/') {
        url = url + '?thm=' + theme;
    } else {
        url = url + 'thm=' + theme;
    }
    location.href = url;
}