function getElement(id){
    return document.getElementById(id);
}

function showValue(obj){
    var main_parent = getElement("tabs");
    var max_child = main_parent.childNodes.length - 1;
    var id = obj.id.replace("tab_name_","tab_value_");
    
    for(var i=0;i<=max_child;i++){ // check the containers of the tabs child object's state
        var child = main_parent.childNodes[i];
        if(child.className && child.className.search(" tab_actual_right") != -1){
            child.className = child.className.replace(" tab_actual_right","");
            child.firstChild.className = child.firstChild.className.replace(" tab_actual_left","");
        }
    }                                                     
    getElement("show_value").innerHTML = getElement(id).innerHTML;
    obj.className = obj.className + " tab_actual_left";
    obj.parentNode.className = obj.parentNode.className + " tab_actual_right";
}

function filterLoader(obj){
	var url = obj.options[obj.options.selectedIndex].value;
	if(url != '-' &&url != ''){
		window.location.href = url;
	}
}