function getParamValue(param,url)
{
    var u = url == undefined ? document.location.href : url;
    var reg = new RegExp('(\\?|&|^)'+param+'=(.*?)(&|$)');
    matches = u.match(reg);
	if(matches == null) {
		retour = -1;
		return retour;
	}
	else {
		return matches[2] != undefined ? decodeURIComponent(matches[2]).replace(/\+/g,' ') : '';
	}
	
}

window.addEvent('domready',function()
{
	maVarRub = getParamValue('index_rubrique');
        if(maVarRub != -1) {
             var boite = document.getElementById('sousMenu_'+maVarRub);
             boite.style.display="block";
        }
});


