$(document).ready( function()
{
$("#filter").change(function(){
    var filterPath = '';
    switch ($(this).val()){
    case '0':
	break;
	default:
	filterPath = 'filter/'+$(this).val();
	break;
    }
    window.location.href = ENV.base+filterPath;
});
});
ENV = {};
ENV.base = '';